Raised This Month: $ Target: $400
 0% 

[CS:GO] Entity KeyValues


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Pyro_
Senior Member
Join Date: Oct 2013
Old 12-15-2013 , 04:05   [CS:GO] Entity KeyValues
Reply With Quote #1

Sorry if this is in wrong section.

I have been looking at entity control for csgo in sourcemod. And I found that in hammer and the valve wiki that entity key values have a display name, e.g. "FX Amount"; but when using DispatchKeyValue() they have a different name e.g "renderamt". Where can I find all these actual names ("renderamt")?
Pyro_ is offline
xf117
Senior Member
Join Date: Mar 2010
Location: Russia
Old 12-15-2013 , 05:01   Re: [CS:GO] Entity KeyValues
Reply With Quote #2

Well, Valve Hammer Editor is one of the places to look at. If you uncheck the 'Smart editing' (or something) box, you will see raw kv name.
xf117 is offline
Send a message via ICQ to xf117
Pyro_
Senior Member
Join Date: Oct 2013
Old 12-15-2013 , 05:30   Re: [CS:GO] Entity KeyValues
Reply With Quote #3

Quote:
Originally Posted by xf117 View Post
Well, Valve Hammer Editor is one of the places to look at. If you uncheck the 'Smart editing' (or something) box, you will see raw kv name.
Thanks!
Pyro_ is offline
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 12-15-2013 , 13:56   Re: [CS:GO] Entity KeyValues
Reply With Quote #4

You can also use sm_dump_datamaps to read through the datamap list, which also contains inputs, outputs, and keyvalues -- most of which can alternatively be set using SetEntProp*, or, more importantly, retrieved using GetEntProp*.
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
MasterOfTheXP 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 11:31.


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