You are not logged in.
Pages: 1
So I created my character and I can use her with all the custom moves I gave her as I wish, however I wanted to see how it would work as an AI, so I modified a melee profile.oni and a BINACJBOCharacter.oni for the tctf headquarter level. My character spawns well but once she gets in combat, oni crashes. Added some combos to the melee profile (I don't remember that the melee profil file is called), and add copied one of these:
<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>Naomi</Class>
<Name>naomi</Name>
<Weapon />
<Scripts>
<Spawn />
<Die></Die>
<Combat />
<Alarm />
<Hurt />
<Defeated />
<OutOfAmmo />
<NoPath />
</Scripts>
<AdditionalHealth>0</AdditionalHealth>
<Job>
<Type>None</Type>
<PatrolPathId>0</PatrolPathId>
</Job>
<Behaviors>
<CombatId>0</CombatId>
<MeleeId>43</MeleeId>
<NeutralId>0</NeutralId>
</Behaviors>
<Inventory>
<Ammo>
<Use>0</Use>
<Drop>3</Drop>
</Ammo>
<EnergyCell>
<Use>0</Use>
<Drop>3</Drop>
</EnergyCell>
<Hypo>
<Use>1</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>
And modified to what you see above except for the alert and pursuit because I copied those from RED_HARD_1. So can anyone tell me what I did wrong?
Offline
You should make small changes at a time and see where it breaks.
E.g. test your CHAR as Ai with an original MELE id. If it's good continue with a cloned id with only a few changes.
Last edited by paradox-01 (11/28/15 04:11)
Offline
Pages: 1