This section will explain to you how to use the e_add command in Ent Mod:

 

Command Use:

e_add

 

The e_add command is a highly customizable and specific way to spawn entities. It should only be used if you are sure what you are doing. An example of how to use this would be adding an ammo pack in TFC. You would run the command:

e_add info_tfgoal:origin:%HERE%:no_grenades_1:1:g_e:1:g_a:1:goal_state:2:mdl:models/backpack.mdl:noise:weapons/scock1.wav:health:255:wait:1

 

This spawns an info_tfgoal with the following key/values:

Key Value
origin %HERE%
no_grenades_1 1
g_e 1
g_a 1
goal_state 2
mdl models/backpack.mdl
noise weapons/scock1.wav
health 255
wait 1

%HERE% gets replaced with our current origin. The effect of this command will be a grenade pack at our location with the backpack model that plays the scock1.wav sound and respawns every second.

 

Note: Use no quotations around the parameters of this command. You can use quotations in one of the keys or values if you want the quotation to be part of that key or value.