Mass Merge Sectors?

Status
Not open for further replies.

Metal96

Member
Hello again,
Relatively off-topic question, but is there any way for SRB2DB to automatically find identical sectors and merge them, instead of having to go through and find them oneself? Or can one write a script to do this?
 
Indeed it is, but it's hidden in SRB2DB, which in retrospect was not really necessary (it's in plain view in Workbench!). Hold Ctrl and Shift before bringing up the menu, and keep holding them while you click the "Find Identical Sectors" menu item (or whatever it's called).

The reason it's hidden, and the reason for the warning that it will give you, is that there are some obscure situations where merging identical sectors will potentially break special effects, namely those that rely on the global geometry of the sector. Things to be wary of are speed pads and certain sorts of moving FOF.
 
With that in mind, I usually don't merge them all in one clean sweep and just gradually go through "Find Identical Sectors" instead. For most maps it doesn't take that long.
 
Status
Not open for further replies.

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

Back
Top