Nukage! (Harm / Poison)

Make games! Discuss those games here.

Moderators: Bob the Hamster, marionline, SDHawk

Post Reply
User avatar
Spazman
Slime Knight
Posts: 241
Joined: Sun Jul 17, 2011 1:46 am
Location: Online, somewhere.
Contact:

Nukage! (Harm / Poison)

Post by Spazman »

This is a bit of a problem I'm trying to work out at the moment; not just with the Doom RPG (Which I have yet to hear back from MJohnson, who has the code), but for my other project, Mecha-NiX.

What I have, as a bit of a small training map, basically shows the player around though a virtual obstacle course, with the player using items to aid him as he reaches the end of it.

My problem, though, is trying to figure out how to make certain items, such as a Radiation suit for travelling through nuclear-waste / harm tile areas, reducing / stopping the effects of health damage, and radiation poisoning (which I also need help figuring out how to do.)

Now, the harm tiles work perfectly, damaging the player in small amounts as he / she traverses through it. What I'm trying to do with it, as a greater cost, is make it apply a radiation-poisoning counter to the player(s). I'm not exactly sure how to get this in, though I'm thinking it may be something simple.

Any help that could be given would be most appreciated : >
User avatar
BMR
Metal King Slime
Posts: 3310
Joined: Mon Feb 27, 2012 2:46 pm
Location: The Philippines
Contact:

Post by BMR »

It might be a bit clunky, but you could possibly define those areas as zones. And using the eachstep plotscript, you could check if the player is in said zone, and if such is the case, add to the radiation counter using a script. That way, you'd have more fine control over it compared to using harm tiles. You might even be able to do away with using the harm tiles altogether.

But then again, it's one in the morning, and I might not be thinking straight...
Being from the third world, I reserve the right to speak in the third person.

Using Editor version wip 20170527 gfx_sdl+fb music_sdl
TMC
Metal King Slime
Posts: 4101
Joined: Sun Apr 10, 2011 9:19 am

Post by TMC »

Yes, use zones instead of harm tiles. Zones are the natural replacement for harm tiles. I was even thinking of replacing (translating) harm tiles to zones.

Well, I guess BMR has covered it already.
Post Reply