Making an undamagable tank with MG


(Siemnov) #1

Hi,

I’ve been trying many ways to make an undamagable tank with a working MG on top, but so far nothing really worked. The tank does NOT have to move at all, it just sits there, allowing access to the MG.
I tried setting the healthkey to 0, but then the MG isn’t mountable anymore. I tried placing another weapclip brush around the script_mover brush, but it seems you can’t mount the tank anymore then or see it’s health info (which is a possitive thing actually :rolleyes: ). I haven’t come up with any other ideas…
It’s kind of the idea of a damaged tank, unable to ride or get damaged any further, but with a still functioning MG.

Isn’t there an easy way of doing this? Thanks in advance.


(LaggingTom) #2

Delete the health key.


(Siemnov) #3

Ehmm, without the healthkey, the tank can’t be mounted anymore. That’s the same effect as health 0. So changing the health key really won’t go. Maybe there’s some other way of creating a mountable MG?


(LaggingTom) #4

Well, try this in the script where you script_mover is:

death
{
	trigger self (some random thing)
}

Make sure the ressurectable spawnflag is checked.


(Siemnov) #5

Hmm, that’s a nice trick :smiley:
Good idea, I’ll use that!
Thanks a lot!


(Siemnov) #6

Ok, it was a good idea to look in the scriptsection, but you’re solution didn’t really work for some reason. Maybe it’s the syntax?
Anyway, while looking for the right code to make that work, I ran into this:
setdamagable entity 0|1
Well, I tried that and it works perfectly now! Thanks anyway! :smiley:


(duke'ku) #7

If all else fails, you could set it to dynamite only and set it’s health to something large enough that it couldn’t be blown up in 30 minutes :slight_smile: