Not sure if this is even possible, but I'd like to be able to create a 3D floor that does damage when you walk on it. I've tried using
Sector_SetDamage (tag, value, mode);
On both the control/model sector and the container sector. Neither made the floor do damage. However, the script was working because walking into the control sector or the floor of the container sector did damage me. I need to set the damage via a script because it will be switched on and off. Is this supposed to be possible?
Oh, and would an editing forum or something be useful for queries like these?
[fixed]3D Floors doing damage - how?
Moderator: Graf Zahl
-
- Developer
- Posts: 4753
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
-
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
-
- Developer
- Posts: 4753
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
Not for me anyway. 
Try the attached. Here's the script:
Jump on to the 3D floor and you can walk on it quite happily. Crouch into the exposed control sector and you will die instantly.

Try the attached. Here's the script:
Code: Select all
#include "zcommon.acs"
script 201 OPEN
{
print (s:"Script running.");
Sector_SetDamage (2, 999, 17);
}