Making 'Prop' Entities: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
m categorised
No edit summary
Line 1: Line 1:
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).
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).


more to come....
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"
}
 


[[Category:Editing]]
[[Category:Editing]]

Revision as of 13:51, 21 June 2007

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"
}