ZDaemon Forum Index ZDaemon
Client/Server DOOM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[ACS] Sector_SetDamage damage type (and interval, leaky)

 
Post new topic   Reply to topic    ZDaemon Forum Index -> Implemented Requests
View previous topic :: View next topic  
Author Message
Aeyesx
Dominating!


Joined: 13 Oct 2012

PostPosted: Sat Apr 14, 2018 9:01 pm    Post subject: [ACS] Sector_SetDamage damage type (and interval, leaky) Reply with quote

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 Rolling Eyes
Back to top
View user's profile Send private message Send e-mail
Krawa
There is a limit


Joined: 23 Nov 2008
Location: #SDA

PostPosted: Sun Oct 14, 2018 12:37 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Aeyesx
Dominating!


Joined: 13 Oct 2012

PostPosted: Sun Oct 14, 2018 1:32 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Aeyesx
Dominating!


Joined: 13 Oct 2012

PostPosted: Sun Oct 14, 2018 6:23 pm    Post subject: Reply with quote

I didnt realized that there is MOD_FIRE... nevermind Smile this can be closed because it works as inteded Smile
Back to top
View user's profile Send private message Send e-mail
Krawa
There is a limit


Joined: 23 Nov 2008
Location: #SDA

PostPosted: Sun Oct 14, 2018 6:24 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    ZDaemon Forum Index -> Implemented Requests All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group