Raised This Month: $ Target: $400
 0% 

Unbreakable ENTs


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Pete Hobson
Junior Member
Join Date: May 2006
Old 01-30-2007 , 21:16   Unbreakable ENTs
Reply With Quote #1

Well, when starting up my server all the ENTs including windows were unbreakable, godded, godmoded, whatever you want to say.

I'm running AMXX v1.01 (Because that's what a plugin of mine runs on)

I'm also on "The Specialists" which is a mod for half-life (Obviously)


I would like them to be breakable and was wondering if anyone could send me a .sma file or the code which would be compatible for AMXX v1.01 to make the breakable.

Also, that same plugin I run disables kicking, I'd like to know if you guys could also send me something that will re-enable it even though another plugin disables it.


This would all be a GREAT help, the reason I can't take out the kicking is because this plugin I have is over a year old and I don't have the .sma anymore for it, and I'm not so sure how I go about re-enabling the kicking when it's disabled because of ANOTHER plugin.


Thanks in advance, since I'm sure I'll have a reply soon.








Pete Hobson
__________________
My last signature was not completley moronic.
Pete Hobson is offline
Send a message via AIM to Pete Hobson Send a message via MSN to Pete Hobson
Defillbert
AMX Mod X Donor
Join Date: Aug 2006
Old 01-30-2007 , 21:37   Re: Unbreakable ENTs
Reply With Quote #2

Its not AMX but google ENTED
It lets you edit the health for the specific entities that you want to be ungodded.
Defillbert is offline
Pete Hobson
Junior Member
Join Date: May 2006
Old 01-30-2007 , 21:45   Re: Unbreakable ENTs
Reply With Quote #3

The problem is that when the map starts, something is MAKING the ent's be unbreakable. Not the map itself. So I need some kind of code to backfire that.
__________________
My last signature was not completley moronic.

Last edited by Pete Hobson; 01-30-2007 at 21:53.
Pete Hobson is offline
Send a message via AIM to Pete Hobson Send a message via MSN to Pete Hobson
Old 01-30-2007, 23:37
Defillbert
This message has been deleted by Defillbert. Reason: Didnt read full first post
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 01-31-2007 , 06:57   Re: Unbreakable ENTs
Reply With Quote #5

Quote:
Originally Posted by Pete Hobson View Post
The problem is that when the map starts, something is MAKING the ent's be unbreakable. Not the map itself. So I need some kind of code to backfire that.
No, you need to find what's doing this and edit that.
[ --<-@ ] Black Rose is offline
Pete Hobson
Junior Member
Join Date: May 2006
Old 01-31-2007 , 15:53   ...
Reply With Quote #6

I told you, I'm pretty sure it's the plugin in which I only have the .amxx because It's over a year old. I can't edit it without a .sma, and there's not a good enough decompiler out there.
__________________
My last signature was not completley moronic.
Pete Hobson is offline
Send a message via AIM to Pete Hobson Send a message via MSN to Pete Hobson
Pete Hobson
Junior Member
Join Date: May 2006
Old 01-31-2007 , 19:44   Re: Unbreakable ENTs
Reply With Quote #7

I'm finding it hard to believe that none of the coders know how to do this.

I mean I'm not the one to talk, buy seriously, if you guys know I really would like your help :/


/me begs
__________________
My last signature was not completley moronic.
Pete Hobson is offline
Send a message via AIM to Pete Hobson Send a message via MSN to Pete Hobson
over_mind
Member
Join Date: Aug 2006
Location: Cajun Country!
Old 01-31-2007 , 20:29   Re: Unbreakable ENTs
Reply With Quote #8

Pete you need to be more specific. Are you running a TSRP server? Are you using a certain out-dated tutorial on how to make a TSRP server that I know of? 1.01 is quite old man, you need to upgrade.
over_mind is offline
Send a message via AIM to over_mind Send a message via MSN to over_mind
Defillbert
AMX Mod X Donor
Join Date: Aug 2006
Old 01-31-2007 , 22:48   Re: Unbreakable ENTs
Reply With Quote #9

I myself find it hard to believe that the .sma isn't available on the web; have you tried using the search function, or even google?
Defillbert is offline
Ryu2877
Member
Join Date: Sep 2006
Location: China
Old 02-01-2007 , 00:51   Re: Unbreakable ENTs
Reply With Quote #10

if you confirm this estate is made by plugin, well then, the underside maybe can help you:
Code:
#include <amxmodx>
#include <fakemeta>
#define PLUGIN_NAME "resetenthealth"
#define PLUGIN_VERSION "0.1"
#define PLUGIN_AUTHOR "CZ*Ryu"
#define MAXPLAYERS 32
new const sClassname[] = "classname"
new const sFuncBreakable[] = "func_breakable"
new const sFuncPushable[] = "func_pushable"
public plugin_init()
{
 register_plugin(PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR)
 
 set_task(2.0, "task_reset_EntHealth")
}
public task_reset_EntHealth()
{
 new ent = -1
 while ( (ent = engfunc(EngFunc_FindEntityByString, ent, sClassname, sFuncBreakable)) > MAXPLAYERS )
 {
  set_pev(ent, pev_takedamage, DAMAGE_YES)
  set_pev(ent, pev_health, 1.0)
 }
 ent = -1
 while ( (ent = engfunc(EngFunc_FindEntityByString, ent, sClassname, sFuncPushable)) > MAXPLAYERS )
 {
  set_pev(ent, pev_takedamage, DAMAGE_YES)
  set_pev(ent, pev_health, 1.0)
 }
}

Last edited by Ryu2877; 02-01-2007 at 00:56.
Ryu2877 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 00:45.


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