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

Ent manipulation


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:         
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 01-03-2005 , 16:03   Ent manipulation
Reply With Quote #1

This plugin allows you to set various options onto an entity directly, or to all entities of a certain classname. It also allows you to remove by the same standards.

amx_set_ent <key> <value>
Takes the ent your looking at, and sets a certain value onto a certain key, for it. Xen_tree does not make a good player model btw.

amx_set_all <classname> <key> <value>
Same as above, but for a whole classname

amx_remove_ent

amx_remove_all <classname>

I'm pretty sure you can figure those two out.

I'll work on making like...moving, and getting an entities settings later.
Also, this works using Dispatch's. In order to get the keys thT are required to use this, open up FakeMeta constants, and scroll down until you see an enum containing lots of data that starts with "pev_". Rip off the pev_ and you can use it with this plugin.

Example:
pev_origin becomes origin
pev_rendermode becomes rendermode.
ect ect
Attached Files
File Type: sma Get Plugin or Get Source (ent_set.sma - 9831 views - 1.7 KB)
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
sub
Senior Member
Join Date: Nov 2004
Location: Morristown, New Jersey
Old 01-03-2005 , 20:17  
Reply With Quote #2

can this edit the classname of and ent too?
sub is offline
Send a message via AIM to sub Send a message via MSN to sub
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 01-03-2005 , 20:27  
Reply With Quote #3

It can modify ANY option, availible in the pev or engine list.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 01-05-2005 , 14:52  
Reply With Quote #4

Choose a category. How about development...
Johnny got his gun is offline
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 01-05-2005 , 18:43  
Reply With Quote #5

K.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
UchihaSkills
Senior Member
Join Date: May 2013
Location: Germany
Old 02-13-2014 , 17:18   Re: Ent manipulation
Reply With Quote #6

I dont understand this plugin, can u explain it a bit better
UchihaSkills is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 02-13-2014 , 17:21   Re: Ent manipulation
Reply With Quote #7

Quote:
Originally Posted by UchihaSkills View Post
I dont understand this plugin, can u explain it a bit better
This thread is 9 years old.

You really need to stop doing this.

https://forums.alliedmods.net/showth...62#post2099762
https://forums.alliedmods.net/showth...40#post2099840
https://forums.alliedmods.net/showth...96#post2099896
https://forums.alliedmods.net/showth...14#post2099914
__________________

Last edited by ddhoward; 02-13-2014 at 17:24.
ddhoward is offline
UchihaSkills
Senior Member
Join Date: May 2013
Location: Germany
Old 02-13-2014 , 17:24   Re: Ent manipulation
Reply With Quote #8

Doing what?
UchihaSkills is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 02-13-2014 , 17:25   Re: Ent manipulation
Reply With Quote #9

Bumping/Replying to threads that are several years old.
__________________

Last edited by ddhoward; 02-13-2014 at 17:25.
ddhoward is offline
UchihaSkills
Senior Member
Join Date: May 2013
Location: Germany
Old 02-13-2014 , 17:27   Re: Ent manipulation
Reply With Quote #10

I wanted to know what this plugin do
UchihaSkills 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:33.


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