Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
November 22, 2024, 08:13:52 PM
News:
Trouble in Terrorist Town
?
Site here
,
forum here
.
Zombie Master
|
Other
|
Trouble in Terrorist Town
| Topic:
Search Box
Pages: [
1
]
Author
Topic: Search Box (Read 3004 times)
phoenixf129
Poster
Posts: 476
I Rise from the Ashes.
«
on:
February 09, 2011, 07:15:12 PM »
How would i make a search box appear within the Search menu, Like Armor, appear for a custom item i have created?
Software Upgrade Paradox - If you improve a piece of software enough times, you eventually ruin it.
Mr. Gash
Poster
Posts: 382
www.nonerdsjustgeeks.com
«
Reply #1 on:
February 09, 2011, 09:09:31 PM »
Quote from: phoenixf129 on February 09, 2011, 07:15:12 PM
How would i make a search box appear within the Search menu, Like Armor, appear for a custom item i have created?
-snip-
I facepalmed when I realized.
«
Last Edit: February 09, 2011, 10:07:49 PM by Mr. Gash
»
Bad King Urgrain
Administrator
Posts: 12276
«
Reply #2 on:
February 09, 2011, 09:43:14 PM »
In cl_search.lua, look at how body armor is handled. Start in ReceiveRagdollSearch. You'll note how a table called "search" is constructed there using the info received from the server when searching a body. This table is processed into displayable data (text, icon) in the PreprocSearch function.
It is not trivial code, as a whole pile of data is turned into a different pile of data.
Pages
: [
1
]
Zombie Master
|
Other
|
Trouble in Terrorist Town
| Topic:
Search Box
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Other
-----------------------------
=> Trouble in Terrorist Town
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Powered by SMF 1.1.21
|
SMF © 2015, Simple Machines
Page created in 0.01 seconds with 18 queries.
Loading...