Easy to use, will allow you to create, edit and spawn an entity and also you will be able to test any property from your CBaseEntity network class.
Usefull to check an entity behaviour (It's really anoying to keep recompiling codes to just check for one keyvalue or if a property will work or not, so thats why i made this for myself, but decided to share it today
) or if a client property actually works.
Should work on any Source game, but it was tested on Left 4 dead 2 only.
Entity Tool:
-sm_entcreate Will create the entity (CreateEntityByName)
-sm_entkey Will dispatch a key value to the entity <key> <value> (DispatchKeyValue)
-sm_entspawn Will spawn and teleport the entity to your position (DispatchSpawn | TeleportEntity)
-sm_entcancel Will drop and delete the current entity, so you can continue with another one.
-sm_entdone Will drop the entity, but will not delete it.
-sm_entinput Sends an input (AcceptEntityInput)
Property Collector:
As the name says, you can type any property, and the code will retrieve or set the property data into yourself.
-sm_prop Retrieve a property info
Code:
sm_prop [float | int | string | bool] [send | data] [prop name]
-sm_setprop Set a property into yourself
Code:
sm_setprop [float | int | string | bool] [send | data] [prop name] [value]
send = Prop_Send
data = Prop_Data
Hope it helps!