SRB2 Message Board  

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

Closed Thread
 
Thread Tools Search this Thread
Old 10-25-2020   #1
S0nic1983
Just a dude :D
 
S0nic1983's Avatar
Default Hook "MobjSpawn" Doesn't Scale The objects!

Hello! I have a problem with the "MobjSpawn" hook. The fact is that the object stupidly does not perceive the P_SetScale function and the Userdata Structure "mobj.scale". Now I can show you a ScreenShot with a proof of how it was before 2.2.8 and how it was now
Before 2.2.8:
Click image for larger version

Name:	srb20004.gif
Views:	45
Size:	4.88 MB
ID:	40879
And how looking now:
Click image for larger version

Name:	srb20221.gif
Views:	45
Size:	6.63 MB
ID:	40880
As you saw, the Boss looked bigger in "Before 2.2.8".
Now I'll show you the script:
Click image for larger version

Name:	HookProblem.png
Views:	42
Size:	3.3 KB
ID:	40878
Please fix it somehow.
__________________
Just a Dude

Last edited by Monster Iestyn; 10-25-2020 at 09:29 PM.
S0nic1983 is offline  
Old 10-25-2020   #2
Monster Iestyn
Fangtastic
Administrator
 
Monster Iestyn's Avatar
Default

Known bug. It turns out this broke when we added a "scale" option for map things for UDMF, which overrides any scales set in MobjSpawn hook at map load.

If it helps to know though, you can probably work around the bug for now using the MapThingSpawn hook instead.
__________________
My page stuffed full of MIDI goodness!
The Hitchhiker's Guide to the Robo-Hoodiverse
Timeline of Sonic Robo Blast History!

That's an uppercase i, not a lowercase L, for the record. Also, it's pronounced "Yes-tin".
Monster Iestyn is offline  
Old 10-26-2020   #3
S0nic1983
Just a dude :D
 
S0nic1983's Avatar
Default

Quote:
Originally Posted by Monster Iestyn View Post
Known bug. It turns out this broke when we added a "scale" option for map things for UDMF, which overrides any scales set in MobjSpawn hook at map load.

If it helps to know though, you can probably work around the bug for now using the MapThingSpawn hook instead.
Yes, i understand, but this doesn't work in "objectplace" command. That's strange.
__________________
Just a Dude
S0nic1983 is offline  
Old 2 Weeks Ago   #4
Lach
he/him
Moderator
 
Lach's Avatar
Default

This should be fixed for 2.2.9. https://git.do.srb2.org/STJr/SRB2/merge_requests/1251
Lach is offline  
Closed Thread
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:22 AM.


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