This repository was archived by the owner on Jul 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Exporting
knot126 edited this page May 8, 2022
·
6 revisions
Once you have created a stage and saved it as a Blender file, you need to export it as a Smash Hit stage XML file.
Go to File -> Export and then chose either Segment (.xml.mp3) or Compressed Segment (.xml.gz.mp3). Compressed segments will take less space in the APK, but they will be harder to edit by hand later.
There are many export options exposed through the export dialogue that you can tweak to your preference. The defaults try to produce a segment that looks as much like Smash Hit's exporter as possible, but this does not always work.
- Segment strech: This will attempt to stretch the segment length without also streching any of the smaller boxes. This is meant for supporting Smash Hit VR without putting in additional effort to redesign the stages to be comfortable there; however, it can be useful for making stages easier or harder in general, too.
-
Box baking: This controls how boxes will be made visible in the segment since Smash Hit does pre-computation of geometry that needs to be replicated or worked around.
-
Mesh: This will use Blender Tools Mesh Bake to create a
.meshfile alongside the segment XML. As of Smash Hit Blender Tools 1.99.15, this looks almost like Smash Hit during normal gameplay, except for missing vertex lighting. -
Stone hack: This will use a custom
stoneobstacle to create the visible boxes. The boxes will not be able to have tiles and only colour can be replicated. A stone obstacle must be present in the Smash Hit APK.[Note 1] - None: Does not try to make boxes visible. This is useful when you just want to export the segment and .
-
Mesh: This will use Blender Tools Mesh Bake to create a
-
Template: The full path to the
templates.xml.mp3file in your Smash Hit APK, required to properly bake mesh files when the segment uses templates. If you aren't using templates with boxes or are using the stone hack, then this can be left blank. If you are using APK Editor Studio on Windows or Linux, this feild will automatically fill with the path to thetemplates.xml.mp3file in the Smash Hit APK that you currently have open in APK Editor Studio.
- Export options will not be saved when you close Blender. Try not to edit the options too much.
- This setting is retained for segments that used older versions of Blender Tools (pre-1.99.x) which either did not have mesh baking (pre-0.107.x) or did not have accurate mesh baking.
Created by the Blender Tools Documentation Authors. Licenced under the Creative Commons Zero licence.