[MAPPING] (SOLVED)Damaging swimmable 3d floor?
- FranckyFox2468
- Forum Regular
- Posts: 180
- Joined: Sat May 07, 2016 8:30 pm
[MAPPING] (SOLVED)Damaging swimmable 3d floor?
Currently wondering, is it possible to make a swimmable 3d floor that provides constant damage as you are swimming in it similar to classic damaging floor? I've been trying to give some sector damage to the 3d floor but it doesn"t seem to do much. Just wondering if the technique is actually possible and perhaps i am just doing wrong or if its just not possible.
Last edited by FranckyFox2468 on Thu Mar 09, 2017 5:42 pm, edited 1 time in total.
[MAPPING] Re: Damaging swimmable 3d floor?
Make sure to set the dummy/control sector to have damage.
- FranckyFox2468
- Forum Regular
- Posts: 180
- Joined: Sat May 07, 2016 8:30 pm
[MAPPING] Re: Damaging swimmable 3d floor?
its there but once in the water nothing is happeing, making the water is fine my issue is that i can't make damage working. For info i am using GZDoom builder
[MAPPING] Re: Damaging swimmable 3d floor?
Upload the map? Or part of it?
- SwordGrunt
- Forum Regular
- Posts: 377
- Joined: Thu Jun 07, 2012 8:43 pm
[MAPPING] Re: Damaging swimmable 3d floor?
I think you'll need some ACS for this, as the damaging special will only damage you when you are standing on the floor. Try using "player enters sector" to trigger a script that sets a variable to true and then checks every 32 tics if that variable is still true; if so, damage the player, else, terminate the script. And have a "player leaves sector" actor to trigger a second script that sets that variable to false, thus stopping the damage. This should work if you use it on the control (dummy) sector though I've personally never tried it.
[MAPPING] Re: Damaging swimmable 3d floor?
Nah, Ru5sK1ng's method works fine. You add the damage flag to the dummy sector and whenever you're inside of it it will assume you're ontop of it.
FranckyFox2468 must've done something wrong if it doesn't work.
FranckyFox2468 must've done something wrong if it doesn't work.
- FranckyFox2468
- Forum Regular
- Posts: 180
- Joined: Sat May 07, 2016 8:30 pm
[MAPPING] Re: Damaging swimmable 3d floor?
I tend not liking to share my work until i am perfectly comfortable with its current state (cause i already got my work stolen in the past). Guess i can try with some screenshots:
Here's the floor with the 3d sector:
here's the dummy's sector properties:
Here's the floor with the 3d sector:
here's the dummy's sector properties:
[MAPPING] Re: Damaging swimmable 3d floor?
In the effects section, give a damage flag to the special value.
- FranckyFox2468
- Forum Regular
- Posts: 180
- Joined: Sat May 07, 2016 8:30 pm
[MAPPING] Re: Damaging swimmable 3d floor?
It works, but i would've liked to have more control on the damage type and the flow of the damage timer/damage. But i guess its not possible? :/Fused wrote:In the effects section, give a damage flag to the special value.
edit: I tried the script "Sector damage" on the dummy sector but it doesn't seem to do anything.
Code: Select all
script 3 ENTER
{
delay (3);
SectorDamage (9, 1, "None", true, DAMAGE_NONPLAYERS);
restart;
}
I got that solved. But the help was greatly appreciated eitherway
[MAPPING] Re: Damaging swimmable 3d floor?
Cool. As a final thing I advice you to change ENTER to OPEN in your script. Not doing so will make it possible for the script to trigger 64 times. I guess it will also multiply damage by 64 times then.FranckyFox2468 wrote: I got that solved. But the help was greatly appreciated eitherway
- FranckyFox2468
- Forum Regular
- Posts: 180
- Joined: Sat May 07, 2016 8:30 pm
[MAPPING] Re: Damaging swimmable 3d floor?
Thanks for the info!Fused wrote:Cool. As a final thing I advice you to change ENTER to OPEN in your script. Not doing so will make it possible for the script to trigger 64 times. I guess it will also multiply damage by 64 times then.FranckyFox2468 wrote: I got that solved. But the help was greatly appreciated eitherway