SRB2 Message Board  

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

Reply
 
Thread Tools Search this Thread
Old 12-14-2019   #1
Fred
Formerly known as 'Neo'
 
Fred's Avatar
Default Exit camera focuses on wrong signpost

I have a signpost at (18688, -15744), angle 105. When I touch the exit sector, the camera goes way out of bounds before panning to the correct position. (If noclip is off, it gets stuck resetting itself.)

Tried using devmode to scrape some more info but there appears to be no camera info in any of the pages.

EDIT: on second thought where the hell did sonic go
EDIT: on third thought the camera is panning all the way over to a different exit sector, to be continued


Okay I figured it out. It turns out the same exit sector was split into two different locations on the map, and the camera was always picking the same signpost to focus on, regardless of where you actually were in the level.

Fixed it by duplicating the exit sector and keeping only one signpost in each. This report is probably invalid I guess.
Attached Thumbnails
Click image for larger version

Name:	srb20000.gif
Views:	30
Size:	2.32 MB
ID:	23446  

Last edited by Fred; 12-14-2019 at 10:15 PM.
Fred is offline   Reply With Quote
Old 12-14-2019   #2
FuriousFox
AKA FuriousFox
Developer
 
FuriousFox's Avatar
Default

Does this map have multiple sign posts? If so it's probably picking the wrong one to focus on.
FuriousFox is offline   Reply With Quote
Old 12-14-2019   #3
Fred
Formerly known as 'Neo'
 
Fred's Avatar
Default

Yeah, beat me to it. That's exactly what was happening.
Fred is offline   Reply With Quote
Old 12-15-2019   #4
Lach
nanananananananananananan a
Developer
 
Lach's Avatar
Default

I implemented the signpost camera changes. I'm posting this information here in case anyone else encountering this issue stumbles upon this thread while searching for solutions!

When in an exit sector, the game will attempt to spin any signs within that sector. The first sign it finds is the one the player's camera will target. If it doesn't find one, it will then search for signs across the whole level, and again target the first one it finds. Long story short, if you have a level with multiple end signs, make sure they're in separate exit sectors, and also make sure they're actually inside said sectors! Also ensure that the camera is able to pan over to the sign from the player's position without hitting a wall, lest it get stuck there.
Lach is offline   Reply With Quote
Reply
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 08:26 PM.


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