Scripting help
Posted: Mon Nov 27, 2017 8:17 am
I'm decent at coding, but I'm still not fantastic all these years later. I'm trying to set a script to kill someone... OK let me give a little more context to that.
For the past year or so, I've been working on and off, little by little, on my own version of Hard Doom aptly named "Hard Doom: HellBlade Edition" or alternatively, "Hard Doom: Hard Edition".
One of the many features of this version is that Fast Monsters is stuck permanently on.
This is thanks to a classic "If Then" script that makes sure sv_fastmonsters always equals 1.
If it detects that sv_fastmonsters is disabled, it triggers a rather silly easter-egg (I think that's what it is).
Part of the easter egg includes playing sounds and printing hud messages.
So therein lies my problem. I've tried both DamageThing and Thing_Damage to try and kill the activator.
Another thing that might be adding to the problem is that I'm trying to make this work on a server. Well, it doesn't work on +netgame emulation, anyways.
All help is appreciated, no matter how little.
For the past year or so, I've been working on and off, little by little, on my own version of Hard Doom aptly named "Hard Doom: HellBlade Edition" or alternatively, "Hard Doom: Hard Edition".
One of the many features of this version is that Fast Monsters is stuck permanently on.
This is thanks to a classic "If Then" script that makes sure sv_fastmonsters always equals 1.
If it detects that sv_fastmonsters is disabled, it triggers a rather silly easter-egg (I think that's what it is).
Part of the easter egg includes playing sounds and printing hud messages.
Spoiler: (Open)On the word "DIE!", the player who activated the script gets killed. Originally, I accomplished this by spawning a strong explosion, but my friend (who's been helping me test it every step of the way) told me that it should only kill the activator, and not kill anyone around him.
So therein lies my problem. I've tried both DamageThing and Thing_Damage to try and kill the activator.
Another thing that might be adding to the problem is that I'm trying to make this work on a server. Well, it doesn't work on +netgame emulation, anyways.
All help is appreciated, no matter how little.