Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 07/04/09 04:07

Shade
Member
From: OH, USA
Registered: 06/08/08

How to add characters to a level?

I'm having difficulties on adding a new character to a level. I'm testing some of my mods in the dream lab level, And I can't seem to spawn a character. I'm trying to spawn evilkonoko and I'm putting down ai2_spawn evilkonoko but nothing happens. I'm trying to make evilkonoko and Muro with teams, what am I doing wrong? Can anyone help me with this problem? Thanks. Sorry for asking questions.

Last edited by Shade (07/04/09 04:07)

Offline

#2 07/04/09 07:07

Iritscen
Moderator
From: NC, USA
Registered: 10/22/07

Re: How to add characters to a level?

Did you know that spawning a character sends them to a preset place in the level?  The coordinates are specified in the BINACJBOCharacter file for that level.  To be exact, the BSL for a level might actually spawn a character (to that default place) and them teleport them to a flag or send them on patrol, so the coordinates in the BINA file might not be where they show up.

Anyway, the preset spawn location doesn't really matter if you just use "chr_teleport [ai_name or script_id] flag_id" to send the AI to where you want them to be.  See the famous flag topic, http://oni.bungie.org/community/forum/v … hp?id=819, if you don't know how to find the location of a flag or make your own.


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

#3 07/04/09 07:07

Shade
Member
From: OH, USA
Registered: 06/08/08

Re: How to add characters to a level?

Iritscen wrote:

Did you know that spawning a character sends them to a preset place in the level?  The coordinates are specified in the BINACJBOCharacter file for that level.  To be exact, the BSL for a level might actually spawn a character (to that default place) and them teleport them to a flag or send them on patrol, so the coordinates in the BINA file might not be where they show up.

Anyway, the preset spawn location doesn't really matter if you just use "chr_teleport [ai_name or script_id] flag_id" to send the AI to where you want them to be.  See the famous flag topic, http://oni.bungie.org/community/forum/v … hp?id=819, if you don't know how to find the location of a flag or make your own.


Thanks for the help, I'll be sure to check around it later smile

Offline

#4 07/11/09 16:07

Shade
Member
From: OH, USA
Registered: 06/08/08

Re: How to add characters to a level?

Iritscen wrote:

Did you know that spawning a character sends them to a preset place in the level?  The coordinates are specified in the BINACJBOCharacter file for that level.  To be exact, the BSL for a level might actually spawn a character (to that default place) and them teleport them to a flag or send them on patrol, so the coordinates in the BINA file might not be where they show up.

Anyway, the preset spawn location doesn't really matter if you just use "chr_teleport [ai_name or script_id] flag_id" to send the AI to where you want them to be.  See the famous flag topic, http://oni.bungie.org/community/forum/v … hp?id=819, if you don't know how to find the location of a flag or make your own.

Hey sorry for late reply, How can you open the BINACJBOCharacter Files?

Offline

#5 07/11/09 16:07

Iritscen
Moderator
From: NC, USA
Registered: 10/22/07

Re: How to add characters to a level?

Use the "OniSplit -extract:xml" command on them.  XML is plain-text, so at that point you'll know what to do.


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

#6 07/11/09 16:07

Shade
Member
From: OH, USA
Registered: 06/08/08

Re: How to add characters to a level?

Iritscen wrote:

Use the "OniSplit -extract:xml" command on them.  XML is plain-text, so at that point you'll know what to do.

Wow that was fast, OniSplit? Can you tell me how to get it or how to use it? Sorry for asking to much I'm still learning tongue

Offline

#7 07/11/09 16:07

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

Re: How to add characters to a level?

Onisplit: http://wiki.oni2.net/Onisplit

A basic xml tutorial: http://wiki.oni2.net/XML_basic_tutorial  Note: some things have changed with the new implementation of AE

Last edited by EdT (07/11/09 16:07)

Offline

#8 07/11/09 16:07

Shade
Member
From: OH, USA
Registered: 06/08/08

Re: How to add characters to a level?

EdT wrote:

k, Thanks EdT your a good help.

Offline

#9 07/11/09 16:07

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

Re: How to add characters to a level?

You're welcome, but you are quick.  I added a link to an xml tutorial in my previous post.

Offline

#10 07/13/09 11:07

Shade
Member
From: OH, USA
Registered: 06/08/08

Re: How to add characters to a level?

EdT wrote:

You're welcome, but you are quick.

Your right about that one O_o

Offline

Board footer

Powered by FluxBB