SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > SRB2 Discussion > Bug Reports

Thread Tools Search this Thread
Old 10-10-2017   #1
Backseat Developer
Rumia1's Avatar
Default Objects with the flags MF_SOLID and MF_SPRING behave strangely when mass is set to 0

As the title states, objects with the flags MF_SOLID and MF_SPRING have odd effects when their mass is set to 0. Among these effects are randomly setting the state of the player to spinning, similar to the effects of landing while jumping with a momz of 0.

More notably though is that they break analog mode when spun into or jumped on. The camera rotation buttons stop functioning and only tilt the camera slightly left or slightly right, and the turn left and turn right buttons or mouse move make the player strafe.

These effects last until either the player toggles analog mode off and on again or loads a new map, simply retrying the stage does not fix these issues.

A demonstration WAD for this effect using a modified crawla is attached in the post but this can also be seen in Dirk's horizontal springs wad and in SUBARASHII's Sapphire Frost Zone by Glaber.
Attached Files
File Type: zip (507 Bytes, 110 views)
Originally Posted by Cirno

Last edited by Rumia1; 10-11-2017 at 05:25 AM.
Rumia1 is offline   Reply With Quote
Old 10-23-2017   #2
Lach's Avatar

Hey there. I needed to make a fix for this issue for the Horizontal Springs mod, so I thought I'd share it here as well, in case anyone is interested. This Lua script basically restores the player's pflags to them after hitting an object with MF_SPRING and MF_SOLID with a mass of 0. It's intended to be included as a lump in map wads, but you can also add it as a standalone, for instance if you're playing a SUBARASHII netgame.
Lach is online now   Reply With Quote
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 02:10 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.