Actions

SCHG

Sonic Heroes/Relocatable Editing (PC)

From Sonic Retro

SCHG: Sonic Heroes
Main Article
Mechanic Editing
DOL Editing
EXE Editing
Music Pointers
Relocatable Editing (PC)
::::File Offsets
Model Editing
Model Format
Collision Format
Level Editing
Camera Editing
Indirect Editing
Level List
Object Editing
Object Porting
Visibility Editing
Particle Editing
Particle Editing
Sound Editing
Sound Editing
Music List
Voices
SCHG How-Tos
Custom Object Material Effect Tutorial
Level Editing 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.

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.
SH Special Stage Material Parameters.png

Value Effect Result
01 Alpha SH Special Stage Property Material Param 1.png
02 Additive Alpha SH Special Stage Property Material Param 2.png
04 Alpha (No Culling) SH Special Stage Property Material Param 3.png
06 Additive Alpha (No Culling) SH Special Stage Property Material Param 4.png
08 Normal SH Special Stage Property Material Param 5.png
10 Alpha (Custom) SH Special Stage Property Material Param 1.png

Positions

SH Special Stage Property Position.png

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

An invisible tube on one part of this pathway.

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.

Sonic Community Hacking Guide
General
Sonic Music Hacking Guide | SonED2 Manual
Game-Specific
Sonic the Hedgehog (16-bit) | Sonic the Hedgehog (8-bit) | Sonic Eraser | Sonic CD (prototype 510) | Sonic CD | Sonic CD (PC) | Sonic 2 (Nick Arcade prototype) | Sonic 2 (Simon Wai prototype) | Sonic 2 (16-bit) | Sonic 2 (8-bit) | Sonic 2 & Knuckles | Dr. Robotnik's Mean Bean Machine | Sonic Triple Trouble | Sonic 3 | Sonic & Knuckles | Sonic 3 & Knuckles | Sonic & Knuckles Collection | Sonic Crackers | Sonic 3D: Flickies' Island | Chaotix | Sonic R PC | Sonic Jam 6 | Sonic Advance | Sonic Advance 2 | Sonic Advance 3 | Sonic Battle | Sonic Adventure | Sonic Adventure DX: Director's Cut | Sonic Adventure DX: PC | Sonic Adventure (2010) | Sonic Adventure 2 | Sonic Adventure 2: Battle | Sonic Adventure 2 (PC) | Sonic Heroes | Shadow the Hedgehog | Sonic Riders | Sonic the Hedgehog (2006) | Sonic & Sega All-Stars Racing | Sonic Unleashed (Xbox 360/PS3) | Sonic Generations
Legacy Guides
The Nemesis Hacking Guides The Esrael Hacking Guides
ROM: Sonic 1 | Sonic 2 | Sonic 2 Beta | Sonic 3

Savestate: Sonic 1 | Sonic 2 Beta/Final | Sonic 3

Sonic 1 (English / Portuguese) | Sonic 2 Beta (English / Portuguese) | Sonic 2 and Knuckles (English / Portuguese)
Move to Sega Retro
Number Systems (or scrap) | Assembly Hacking Guide | Subroutine Equivalency List | 68000 Instruction Set | 68000 ASM-to-Hex Code Reference | VDP Documentation | Official Sega 32X Documentation | Official Mega-CD Documentation | Official Sega Mega Drive Documentation