Deathmatch Simulator (03/01/20 - Build 03.1 p4)

For Total Conversions and projects that don't otherwise fall under the other categories.
Forum rules
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.

Re: Deathmatch Simulator (03/01/20 - Build 03.1 p4)

Postby neoworm » Tue Jan 14, 2020 4:29 pm

Can I borrow that bit of code? I would really like to learn some monsters to politely die when thrown to lava.
User avatar
neoworm
 
Joined: 23 Sep 2005
Location: Czech Republic

Re: Deathmatch Simulator (03/01/20 - Build 03.1 p4)

Postby Gez » Tue Jan 14, 2020 5:02 pm

The simplest is probably to have them call A_CheckTerrain regularly. Something like overriding the tick function to call A_CheckTerrain every 32 tics.
Gez
 
 
 
Joined: 06 Jul 2007

Re: Deathmatch Simulator (03/01/20 - Build 03.1 p4)

Postby Kinsie » Tue Jan 14, 2020 7:43 pm

neoworm wrote:Can I borrow that bit of code? I would really like to learn some monsters to politely die when thrown to lava.
Go ahead!

Gez wrote:The simplest is probably to have them call A_CheckTerrain regularly. Something like overriding the tick function to call A_CheckTerrain every 32 tics.
I don't know how A_CheckTerrain works exactly because it's native, but the wiki suggests it only works with two specific sector specials, while DM Sim's implementation handles custom UDMF sector damage amounts and intervals by getting the data from the sector itself.
User avatar
Kinsie
A Concept Utterly Obsolete
 
Joined: 22 Oct 2004
Location: MAP33
Discord: Find Me...
Twitch ID: thekinsie

Previous

Return to TCs, Full Games, and Other Projects

Who is online

Users browsing this forum: iWonder and 15 guests