Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 20/2/13 22:02

morgwin
Member
From: UK
Registered: 3/5/10

Spawn Friendly character?

I was wondering is it possible for someone to create a script/mod for Oni that spawns a friendly TCTF trooper to help Konoko?


Thanks smile

Last edited by morgwin (20/2/13 22:08)

Offline

#2 20/2/13 22:57

EdT
Moderator
From: Los Angeles, CA
Registered: 13/1/07
Website

Re: Spawn Friendly character?

If you have installed Anniversary Edition, you can try this mod:
http://mods.oni2.net/node/105

Offline

#3 21/2/13 0:27

morgwin
Member
From: UK
Registered: 3/5/10

Re: Spawn Friendly character?

Thanks, Will this work in more then one level?

Offline

#4 21/2/13 0:28

Lithium
Member
From: Colorado
Registered: 17/10/08

Re: Spawn Friendly character?

It only works in the last level.. I think Samer made something to add Casey in other levels.


Oni IRC | Kumite! Kumite! Kumite!

Offline

#5 21/2/13 0:44

morgwin
Member
From: UK
Registered: 3/5/10

Re: Spawn Friendly character?

Is there a way to actually spawn a character? for example with a key command?

Offline

#6 21/2/13 5:46

Samer
Member
From: Lebanon
Registered: 4/9/09
Website

Re: Spawn Friendly character?

To spawn characters at any level it needs some custom modding related tutorials are found here http://oni.bungie.org/community/forum/v … hp?id=1873
Crazy casey adds casey (red haired guy) at the final level, it rquires that you install casey though.
Sam mega pack conversion adds casey to the first 3 levels as a partner .. But this pack requires you install several other characters.
You can try junkyard or arena levels by leus these mods allow you to use the command to spawn whatever character you want (and choose whether you want it a foe or teammate) however that only works in those custom levels not in all of them.

I should point out however some of these mentioned mods have been recently updated to work with the upcoming anniversary edition, so they may not work for the current one.(you can wait for the new AE if you like where installing those mods will become much easier)

Last edited by Samer (21/2/13 5:50)


Join our Oni Facebook Group
Check My YouTube Channel for my Oni Videos.
Check My Wiki page for all my stuff

Offline

#7 21/2/13 8:45

morgwin
Member
From: UK
Registered: 3/5/10

Re: Spawn Friendly character?

Thanks for the replies, I will try the tutorial. I prefer to try things myself first. What line would i add in the xml to make the NPC actually follow would i change the "Patrol" command and if so to what?. I can get him to spawn and attack enemies successfully but sill can't get him to follow.

Last edited by morgwin (21/2/13 16:27)

Offline

#8 22/2/13 0:07

Samer
Member
From: Lebanon
Registered: 4/9/09
Website

Re: Spawn Friendly character?

To follow you need a script bsl command not an xml modification .. You use this command
ai2_followme [ai_name:string | script_id:int] - tells an AI to follow the player - example: ai2_followme s2_t05 (s2_t05 or whatever the character's name in the xml is)
you can type that to the command line in game or add it to bsl file making a package ..

Last edited by Samer (22/2/13 0:08)


Join our Oni Facebook Group
Check My YouTube Channel for my Oni Videos.
Check My Wiki page for all my stuff

Offline

#9 22/2/13 9:38

morgwin
Member
From: UK
Registered: 3/5/10

Re: Spawn Friendly character?

Thanks.

Offline

Board footer

Powered by FluxBB