-
Notifications
You must be signed in to change notification settings - Fork 14
Spline Editor (Heroes)
Igor Seabra edited this page Aug 7, 2020
·
4 revisions
Open the Spline Editor from the Mod Loader Config Editor. This editor is used to create splines (rails, autoloops and ball paths) for Sonic Heroes. They are replaced using the Reloaded II Stage Injector.
- Use the Add button to import a spline from an OBJ file. You can export splines as OBJ from any 3d tool.
- The vertices in the file, in order, will be read as a spline.
- You can import multiple files at once.
- For each spline, you can choose one of 4 types: null (which effectively disables the spline), autoloops, rails and ball paths (tubes used in Casino Park and BINGO Highway).
- HPP will try to guess the spline path based on the OBJ file name! If "loop", "rail" or "ball" are present in the OBJ file name, the corresponding type will be set.
- The splines can be seen in the view if the option is checked. Make sure to click on Save Splines after importing or editing them.
- Use the Delete button to remove the selected spline.
- Splines are saved to the Splines.json file located in the same directory as your Mod Loader Config Editor Stage.json file (a new one will be created if it doesn't exist).
- View Here will place HPP's view at the selected point or spline.
Each spline point has two rotation values: pitch (which controls the inclination of the point) and roll (which controls which side is "up" in the spline). Use AutoPitch to automatically set the pitch values for:
- AutoPitch Point: only the selected point.
- AutoPitch Spline: only the selected splines.
- AutoPitch All: all splines.
It's not possible to automatically determine roll.
Note that not all levels have spline loaders, meaning you can't add splines for them. These are the levels which did not contain splines originally (such as Sea Gate and Egg Hawk).
You can use the EXE Extractor to get Splines from the Tsonic_win.exe file.