View previous topic :: View next topic |
Author |
Message |
Aeyesx Dominating!
Joined: 13 Oct 2012
|
Posted: Sat Apr 14, 2018 9:01 pm Post subject: [ACS] Sector_SetDamage damage type (and interval, leaky) |
|
|
Hi,
This reguest is plainly about this function.
https://zdoom.org/wiki/Sector_SetDamage
Which works only partially.
The parameters 4:interval and 5: Leaky aren't implemented.
and the parameter 3:mod is used to specifiy damage type and corresponding message. For example you wan't to make lava with mod type 13 which will correctly printout "%player melted" but it forgets to specify FIREDAMAGE and thus you cannot make player enter "Burning death frame". By default DOOM doesn't have such frame, but you can define it in custom pwad.
I'll post demo wad later, I promise |
|
Back to top |
|
|
Krawa There is a limit
Joined: 23 Nov 2008 Location: #SDA
|
Posted: Sun Oct 14, 2018 12:37 pm Post subject: |
|
|
Sector_SetDamage: parameter interval and leaky added for 1.10.06.
Sector_SetDamage_test1.wad
And yeah demo wad for MOD_SLIME (13) and FIREDAMAGE please.
"Typical" means-of-death work. |
|
Back to top |
|
|
Aeyesx Dominating!
Joined: 13 Oct 2012
|
Posted: Sun Oct 14, 2018 1:32 pm Post subject: |
|
|
Uber-epic-awesome!
There you go
Sector_SetDamage_test2.wad
Summon "Firebomb" to get instantly killed and enter FireDeath states.
(quick, dirty hack of hexen actor)
ACS Sector_SetDamage does not alllow you to enter FireDeath state. |
|
Back to top |
|
|
Aeyesx Dominating!
Joined: 13 Oct 2012
|
Posted: Sun Oct 14, 2018 6:23 pm Post subject: |
|
|
I didnt realized that there is MOD_FIRE... nevermind this can be closed because it works as inteded |
|
Back to top |
|
|
Krawa There is a limit
Joined: 23 Nov 2008 Location: #SDA
|
Posted: Sun Oct 14, 2018 6:24 pm Post subject: |
|
|
After some investigations you have to set MOD to MOD_FIRE.
That changes the death sprites to FireDeath.
Sector_SetDamage_test4.wad |
|
Back to top |
|
|
|