Talk:Adding spawnable characters: Difference between revisions
m (Iritscen moved page AE talk:Adding spawnable characters to Talk:Adding spawnable characters without leaving a redirect: Tutorials don't need to be in AE namespace.) |
m (link fix) |
||
Line 2: | Line 2: | ||
Get the AE Tools Beta: | Get the AE Tools Beta: | ||
http://oni.bungie.org | http://oni.bungie.org/forum/viewtopic.php?id=674 | ||
Put the app AETools and the folder AETools_Data, in your Oni folder. | Put the app AETools and the folder AETools_Data, in your Oni folder. |
Revision as of 18:59, 3 August 2020
Note these instructions are for Mac users.
Get the AE Tools Beta: http://oni.bungie.org/forum/viewtopic.php?id=674
Put the app AETools and the folder AETools_Data, in your Oni folder.
Start AETools, click on the Export Tab, select the checkbox "Export as .xml file", then click on the button "Export .oni file". Browse to the level19_Final folder and select the file BINACJBOCharacter.oni.
You will see in the Message Center box: "The file can be found at Oni/AETools_Data/XMLfiles" Go to that folder in the Finder and first rename it to BINACJBOCharacterLevel19.xml, now open the file in a text editor.
Search for muro_generic, you will see something like this:
<Object Id="8733" Type="CHAR"> <Header> <Flags>0</Flags> <Position>-112.0837 1486 -2619.775</Position> <Rotation>0 171.3265 0</Rotation> </Header> <OSD> <Flags>NotInitiallyPresent Omniscient Boss</Flags> <Class>muro_generic</Class> <Name>Muro</Name> <Weapon /> <Scripts> <Spawn /> <Die>check_death2</Die> <Combat /> <Alarm /> <Hurt /> <Defeated /> <OutOfAmmo /> <NoPath /> </Scripts> <AdditionalHealth>0</AdditionalHealth> <Job> <Type>None</Type> <PatrolPathId>0</PatrolPathId> </Job> <Behaviors> <CombatId>0</CombatId> <MeleeId>30</MeleeId> <NeutralId>0</NeutralId> </Behaviors> <Inventory> <Ammo> <Use>1</Use> <Drop>0</Drop> </Ammo> <EnergyCell> <Use>1</Use> <Drop>0</Drop> </EnergyCell> <Hypo> <Use>0</Use> <Drop>0</Drop> </Hypo> <Shield> <Use>0</Use> <Drop>0</Drop> </Shield> <Invisibility> <Use>0</Use> <Drop>0</Drop> </Invisibility> </Inventory> <Team>Syndicate</Team> <InitialAmmo>100</InitialAmmo> <Alert> <Initial>Low</Initial> <Minimal>Low</Minimal> <JobStarting>Low</JobStarting> <Investigating>Low</Investigating> </Alert> <AlarmGroups>0</AlarmGroups> <Pursuit> <Strong>4</Strong> <Weak>1</Weak> <StrongSeen>4</StrongSeen> <WeakSeen>4</WeakSeen> <Lost>0</Lost> </Pursuit> </OSD> </Object>
You will need to copy all this info to spawn Muro in another level.
Now go back to AETools, do the same process, this time for the level you want to add Muro. Go back to the XMLfiles folder and open BINACJBOCharacter.xml in the text editor.
Go to the end of the file, the last 2 lines are:
</ObjectCollection> </Oni>
Paste all the info about Muro right before the line "</ObjectCollection>" and save.
Go to the levelx_Final folder where you want to add Muro and backup the file "BINACJBOCharacter.oni" somewhere safe, be sure to note which level that file belongs to.
Go to AETools and select the Import tab. There is a drop down menu with the words "Select the level in which you want to install the .oni file" next to it. So select that level.
Click the "Import source file" button and browse to the XMLfiles folder and select the file "BINACJBOCharacter.xml".
You should see the in the Message Center "Please rebuild levelx_Final. Now use the drop down menu right above the Message Center and "Select Level to rebuild"