19,588
edits
m (Iritscen moved page Adding spawnable characters to XML:Adding spawnable characters without leaving a redirect: consistency with other XML-based tutorials) |
m (formatting tweak) |
||
Line 1: | Line 1: | ||
Extract the BINACJBOCharacter.oni file as xml. For example you want to add Muro to Level 1. Use a GUI or the | Extract the BINACJBOCharacter.oni file as xml. For example you want to add Muro to Level 1. Use a GUI to do this, or the CLI command <code>OniSplit.exe extract:xml extractdir path_to\level1_Final\BINACJBOCharacter.oni</code>. Next extract the BINACJBOCharacter.oni file from the level that contains Muro, such as level19. In the BINACJBOCharacter.xml file search for Muro and you will get this: | ||
<Object Id="8733" Type="CHAR"> | <Object Id="8733" Type="CHAR"> | ||
Line 73: | Line 73: | ||
</Object> | </Object> | ||
Copy this entire section to the level1's BINACJBOCharacter.xml file. At this point you can either adjust the settings of Muro, or keep it as is. To convert the BINACJBOCharacter.xml file to Oni format use the | Copy this entire section to the level1's BINACJBOCharacter.xml file. At this point you can either adjust the settings of Muro, or keep it as is. To convert the BINACJBOCharacter.xml file to Oni format, use the command <code>OniSplit.exe -create convertdir path_to\BINACJBOCharacter.xml</code>. | ||
==Hex editing version== | ==Hex editing version== |