AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Set Health (https://forums.alliedmods.net/showthread.php?t=73994)

MrBlip 07-22-2008 21:08

Re: Set Health
 
DOD:S or TF2? I would guess TF2 because that's the only time that command should be called.

Edit: I think I found the problem. I'll try to have it working with all the other stuff by the end of the night.

MrBlip 07-22-2008 23:09

Re: Set Health
 
Minor update to version 1.2.1 so it's usable in TF2.
  • Hopefully fixed the SetEntProp error
  • Setting a players health in TF2 to 0 should make them explode, all other mods should change their health to 1.
I'll get to the back burner stuff when I'm not so tired.

Unrealomega 07-23-2008 03:22

Re: Set Health
 
Yeah, sorry. I shouldn't have made that post so useless. :P Yeah, it was TF2.

It's still giving the unknown command, but with a different error:
Code:

L 07/23/2008 - 00:24:47: [SM] Plugin encountered error 15: Array index is out of bounds
L 07/23/2008 - 00:24:47: [SM] Displaying call stack trace for plugin "sm_sethealth.smx":
L 07/23/2008 - 00:24:47: [SM]  [0]  Line 74, /home/groups/alliedmodders/forums/files/3/9/2/6/9/29157.attach::Command_SetHealth()

If you need a server to test on, I wouldn't mind letting you use our TF2 server.

EDIT: Seems it's only the engineer that gives me the unknown command. All the other classes work fine.

MrBlip 07-23-2008 14:43

Re: Set Health
 
Ok, once more, with feeling.

Updated to version 1.2.2
  • Fixed health on engineer not working
bl4nk tested this on a TF2 server he had running and reported it works fine.

Unrealomega, if you could PM me any contact info (steam friends name, server IP, etc.) I can send the next version your way to make sure it absolutely works.

Quote:

Originally Posted by CaffeinePowered (Post 656654)
Hm, I wonder if this could be modified to roll back the +50 health on pyros from the back burner...

I've decided that I'm going make this a separate plugin itself.

Lebson506th 07-23-2008 15:23

Re: Set Health
 
Why only explode on TF2?

MrBlip 07-23-2008 16:25

Re: Set Health
 
All other mods don't support 'explode' the way TF2 does. I guess I could have used kill for the other mods, but isn't that was sm_slay is for?

DontWannaName 07-23-2008 16:27

Re: Set Health
 
There was ma_explode in mani but thats using effects like sparks and sounds at the same time.

Lebson506th 07-23-2008 17:51

Re: Set Health
 
Yea, that's the kind of thing i was thinking about. But if that is too much, don't worry about it =)

MrBlip 07-23-2008 20:30

Re: Set Health
 
It is a little to much for me at the moment. I might make it as a learning experience later on though, if someone else hasn't at that point.

Unrealomega 07-23-2008 21:17

Re: Set Health
 
Works great now. Good job.


All times are GMT -4. The time now is 16:42.

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