Raised This Month: $95 Target: $400
 23% 

AMXx EntMod/Stripper2 Update


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   twistedeuphoria (82)
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 02-27-2005 , 03:14   AMXx EntMod/Stripper2 Update
Reply With Quote #1

Ent Manipulation, v1.20

Update:
Fixed:
Stupid bug where server looped over and over.
Stripper2 is now fully functional

Added:
ent_load <filename> - Loads a file

ent_find [distance] - finds all ents within distance, and returns them.

ent_find_specific [string] [type] [distance]
Put in a string, like "ts_groundweapon", a type like "classname", and a distance, and it will return all of that type inside the distance.

ent_god [classname/ent] - God's an ent

ent_set <key> <value> - Set var of entity you are looking at
ent_set_specific <classname/ent> <key> <value> - Set var of an entity

I'll be adding simple movement functions soon.


Ent Manip:
This plugin allows you to alter entities extensively, both on server start, and during run time. Many of the run-time commands are down, as I am recoding them from scratch. Thanks to JJkiller for the other run-time commands.

NOTE: This plugin requires a re-worked fun module file called "fun_stocks". It is availible at the bottom of this post.
Edit by ConnorMcLeod
File removed because it was containing lots of errors
End of edition


EntMod -currently "light"-
This plugin allows you to modify entities during run-time, using ent_ commands.

It differs from EntMod by drunkenfool on the fact that, as of current, there is only very limited commands for modifying the position of entities (due to lack of time). This will be resolved quite soon however, and you do have a few commands for manipulating entities, so have fun till the update.

Stripper2:
This plugin allows you to add and remove entities as they spawn into the server on map reload, so it is exactly as if they had always been there, along with add new precaches, and even remove precache functions.

All of this is done through two files, stripper2.cfg and precache2.cfg, located in your AMXX config folder, or map specific files.

Included is documentation for editing those files to render the functionality desired.
Attached Files
File Type: txt documentation.txt (5.8 KB, 5081 views)
File Type: sma Get Plugin or Get Source (entmanip.sma - 1743 views - 40.1 KB)
__________________

Last edited by ConnorMcLeod; 01-05-2012 at 18:57. Reason: Removed .inc file, ~6000 DLs reset.
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
Bry
Member
Join Date: Mar 2004
Old 02-27-2005 , 07:20  
Reply With Quote #2

sounds good
Bry is offline
holycow
Junior Member
Join Date: Oct 2004
Location: San Francisco, Ca
Old 02-27-2005 , 09:17  
Reply With Quote #3

So how is this different from the Stripper2 AMX Module that's already out? (http://www.planethalflife.com/botman/stripper2.shtml)

Is this just an amx plugin version of the module?
holycow is offline
Send a message via AIM to holycow
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 02-27-2005 , 13:38  
Reply With Quote #4

How do I put this...
A. That's not an AMX module
B. That's a MetaMod plugin
C. That's the original MetaMod plugin I based this off of.
D. You idiot.

Now that we've established what Stripper2, the original plugin by BotMan for MetaMod is, what is this plugin?

A. This is an AMXX plugin.
B. This is not a .dll file, and thus not a module, or MetaMod plugin.
C. This plugin adds the functionality of the original MetaMod plugin without a new .dll, it just hooks into AMXX
D. Since it is AMXX, anyone can alter it easily, and it will be updated with new features as I see fit.

Once again, you said the original MetaMod plugin by BotMan as an AMX module. God thats pretty stupid on your part.

Anyway, this is an AMXX plugin adaptation of the Stripper2 MetaMod plugin, but with tons more features. Have fun.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
TotalNoobScripter
Senior Member
Join Date: Aug 2004
Old 02-27-2005 , 14:51  
Reply With Quote #5

so for instance, removing an entity can be done like this?
Code:
REMOVE
{
classname omg_dam_ent
chance 100
}
If thats all, that is really, really, really kickass.
TotalNoobScripter is offline
Send a message via AIM to TotalNoobScripter
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 02-27-2005 , 14:56  
Reply With Quote #6

Thats all it is for removing all entities of omg_dam_ent.

That will not, however, unprecache the model used by omg_dam_ent.

So to obliterate it entirely, you have to find the model, unprecache its model in precache2.cfg, and then delete the ent in stripper2.cfg

So for instance, if you wanted to remove those cars in meck, for space for EntMod, you could do it ^^ (thats what I do tbh)
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
TotalNoobScripter
Senior Member
Join Date: Aug 2004
Old 02-27-2005 , 17:35  
Reply With Quote #7

so all ents of the class name?

i.e. classname func_train would mean everything that is a func_train will be removed?

Note: wtf does mod_numforname: User! read the manual included with AMXX_STRIPPER to answer all not found mean?
TotalNoobScripter is offline
Send a message via AIM to TotalNoobScripter
TotalNoobScripter
Senior Member
Join Date: Aug 2004
Old 02-27-2005 , 17:54  
Reply With Quote #8

I fixed my mod_numforname error. If anyone else gets that, you have to change the defined NEW_USER to new newuser[255] and format it as a string.

EDIT EDIT EDIT: That diddnt work either... now attemptign somethign else.
TotalNoobScripter is offline
Send a message via AIM to TotalNoobScripter
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 02-27-2005 , 21:20  
Reply With Quote #9

I have absolutely no idea what the hell your talking about.

Code:
REMOVE
{
classname omg_dam_ent
chance 100
}
Means all omg_dam_ent are removed.


Code:
REMOVE
{
classname omg_dam_ent
chance 80
}
means 80 percent of omg_dam_ent are removed.
Its done by probability (soon I will add an origin option)

Quote:
Note: wtf does mod_numforname: User! read the manual included with AMXX_STRIPPER to answer all not found mean?
I have absolutely no idea what the hell your talking about.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
TotalNoobScripter
Senior Member
Join Date: Aug 2004
Old 02-27-2005 , 23:19  
Reply With Quote #10

*realized it diddnt copy paste allt he way..*

when i start my server, i get the following.

Error: mod_numforname: User! Read the manual included with AMXX_STRIPPER to answer all questions. Have fun ^^ - Melanie Maye
TotalNoobScripter is offline
Send a message via AIM to TotalNoobScripter
Reply


Thread Tools
Display Modes

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:19.


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