Sonic Heroes/Relocatable Editing (PC)
From Sonic Retro
SCHG: Sonic Heroes |
---|
Main Article |
Mechanic Editing |
DOL Editing |
Model Editing |
Collision Format Model Format |
Level Editing |
Camera Editing |
Particle Editing |
Particle Editing |
Sound Editing |
Music List |
SCHG How-Tos |
Custom Object Material Effect Tutorial |
The relocatables contain data for Special Stages that isn't in the main executable for the PC game. Each relocatable file is named with the stage number and ends with lnd.rel. For their file offsets, see the relocatable file offsets page.
Contents
Parameters
This documentation is incomplete. If you are more experienced with SP relocatables in Heroes and know what other parameters do, feel free to add it in this section.
Animation Speed
This sets how fast the property animation plays after the visibility byte for each object entry in the data. They are stored as little endian float values and the higher the float value is, the faster that will play.
Material parameters
Materials are given to objects as stage properties including tubes, lights and even metal rings. This list shows logical bytes that render an effect and how they work.
Value | Effect | Result |
---|---|---|
01 | Alpha | |
02 | Additive Alpha | |
04 | Alpha (No Culling) | |
06 | Additive Alpha (No Culling) | |
08 | Normal | |
10 | Alpha (Custom) |
Positions
Like the object layouts, it is possible to move the property to another position but it does not move the collision along with it. Unlike the layout files, the position floats in the rel files are little endian.
Part Visibility
A parameter given to an object in the data tells the game to make a property part visible in a certain part of the special stage. For example, if the ID is set from 02 to 01, then the model that originally appears on the second part can be seen if in the beginning of the special stage, but will disappear if outside of that part.
References