Takis the Fox! (One Blast Demo)

[Open Assets] Takis the Fox! (One Blast Demo) One Blast Demo

This content may be freely modified and/or maintained by anyone.
bro is not a cave diver 💀 😭
srb20014.gif
 
Last edited:
I'm a bit confused how this mod is both marked as [Open Assets] but also has "Modify: ASK ME - Maintain: NO"?

Anyway, I was trying to look into why v2.2.14/2.2.15 broke this mod, or at least why the enemy ragdolls break - while I don't know the actual reason its behaviour changed between versions, MT_TAKIS_BADNIK_RAGDOLL in 1-LUA_init.lua having S_PLAY_WAIT as its spawn state seems to be the main issue.
MT_TAKIS_BADNIK_RAGDOLL is the representation of a launched enemy, which is given the enemy's last used sprite when it spawns. However, S_PLAY_WAIT has a set duration, which after 16 tics will loop back into itself, setting the sprite to SPR_PLAY and frame to SPR2_WAIT, which doesn't have a skin set if the enemy wasn't originally using a player skin. This causes the object to turn into a green Super Sonic as that's the fallback sprite for when SPR_PLAY has nothing to use.
Because the ragdoll's sprite changes into a player sprite, Takis' scripting gets confused and tries to reference skin information that isn't there, which causes an error and the script to stop functioning. This can be fixed by changing MT_TAKIS_BADNIK_RAGDOLL's spawnstate = S_PLAY_WAIT into a -1 duration state, like spawnstate = S_PLAY_DEAD or spawnstate = S_INVISIBLE.

TL;DR:
Go to mobjinfo[MT_TAKIS_BADNIK_RAGDOLL] in Lua/1-LUA_init.lua and change S_PLAY_WAIT to S_INVISIBLE to stop the Super Sonics that infinitely spawn debris until the game runs out of memory
 
Last edited:
luigi budd updated Takis the Fox! (Dynamite Demo!) with a new update entry:

2.2.14 Compatible!

I've fixed the ragdolls causing lag on 2.2.14+, and I decided to update the Dynamite Demo to both celebrate the 2 year anniversary (June 11, 2023), and to celebrate Takis' return in a new addon I'm working on!

View attachment 173620 Late 2023

View attachment 173623 Dynamite Demo v1.6.1 (4-2-2024)

View attachment 173626 Today


This addon sure...

Read the rest of this update entry...
 

Who is viewing this thread (Total: 2, Members: 0, Guests: 2)

Back
Top