Referenced by 'entity_name->item.attribute'
|
Name |
Type |
Notes |
|
ammo |
char * |
type of ammo to use |
|
classname |
char * |
name when spawning it |
|
count_width |
int |
number of digits to display by icon |
|
drop |
void |
function called when entity dropped |
|
flags |
int |
type of pickup :
|
|
icon |
char * |
filename of icon |
|
info |
void * |
? unused |
|
pickup |
qboolean |
function called when entity picked up |
|
pickup_name |
char * |
displayed onscreen when item picked up |
|
pickup_sound |
char * |
filename of sound to play when picked up |
|
precaches |
char * |
string containing all models, sounds etc. needed by this item |
|
quantity |
int |
ammo gained by item/ammo used per shot by item |
|
tag |
int |
? unused |
|
use |
void |
function called when entity used |
|
view_model |
char * |
filename of model when being held |
|
weaponthink |
void |
used for weapon animation and firing |
|
world_model |
char * |
filename of model when item is sitting on level |
|
world_model_flags |
int |
copied to 'ent->s.effects' (see s.effects for values) |