Raised This Month: $51 Target: $400
 12% 

[ANY] Entity and properties Tool


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
honorcode23
BANNED
Join Date: Mar 2010
Location: Chile
Old 09-03-2010 , 20:10   [ANY] Entity and properties Tool
Reply With Quote #1

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!
Attached Files
File Type: sp Get Plugin or Get Source (property_collector.sp - 684 views - 2.9 KB)
File Type: sp Get Plugin or Get Source (entity_tool.sp - 711 views - 2.9 KB)
honorcode23 is offline
Sammy-ROCK!
Senior Member
Join Date: Jun 2008
Location: Near Mrs.Lag
Old 09-03-2010 , 20:21   Re: [ANY] Entity and properties Tool
Reply With Quote #2

Why not specify the entity index? It would make the plugin far more powerfull.
Sammy-ROCK! is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode