Making 'Prop' Entities

From The DarkMod Wiki
Revision as of 13:51, 21 June 2007 by Springheel (talk | contribs)
Jump to navigationJump to search

Prop entities are stored in tdm_prop_wearable_items.def and tdm_prop_items.def. 'Wearable_items' are things an AI might wear (headgear, belt-buckles, etc), while 'prop_items' are for things an AI would carry or attached to a belt (weapons, torches, keys, potions, etc).

An entity definition for a prop item looks like this:

entityDef prop_spectacles {
	"inherit"		 "func_static"
	"model"		 "models/darkmod/props/wearables/spectacles.ase"
	"joint"		 "Head"
	"solid" 	"0"
	"origin"		 "4 -5.5 0"
	"angles"		 "85 -85 3"
	"remove"		 "0"
}