Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 09/10/07 21:09

ONIrules
Member
Registered: 09/04/07

Computer controlling KONOKO

Oni is getting boring to me because every mission or arena is always Konoko. Even you use the cheat code
SHAPESHIFTER to change character you don't see Konoko around. Is it possible to have a computer to
control Konoko while I am an another character in a level. I would love to see Konoko doing random
animation instead of "us" controlling Konoko.

Offline

#2 09/10/07 23:09

Loser
Member
From: somewhere in da Czech Republic
Registered: 01/14/07

Re: Computer controlling KONOKO

I would love to see Konoko doing random
animation instead of "us" controlling Konoko.

You can see it here. I am the TCTF cop first, then I am copfem. Konoko is driven by Oni AI system, she is following me around the level.

This is not global feature. If you know what is OUP (Oni UnPacker) then tell me which level you want to have AI Konoko and I will post the instructions for you.

If you meant your post like you want AI Konoko to go through level- well, that is possible, but I don't have time for such a big project right now. Ask EdT or geyser (sorry if there is someone else who can do that and I didn't mention you, just tell us), they will help you.
                                                                                                                                                  Loser

P.S.1:

Even you use the cheat code
SHAPESHIFTER to change character you don't see Konoko around

What about Dreamlab level and Mai vs Mai duel ???

P.S.2: For geyser- I know that I should write AI2 system. But I think that just AI is enough. Simply character controled by PC.

Last edited by Loser (09/10/07 23:09)


"I am just a mere reflection of what I would be."

Offline

#3 09/11/07 19:09

ONIrules
Member
Registered: 09/04/07

Re: Computer controlling KONOKO

Well the Dream Lab does have konoko but the level is really short.
I want to do Chapter 6 TCTF Regional HQ like want you did. Instead of playing the orginal script I changed
it to Oni Team Arena. The one that 2 teams name FISH and FISH EATER.

Last edited by ONIrules (09/11/07 19:09)

Offline

#4 09/11/07 20:09

geyser
Member
From: beyond the veil
Registered: 01/14/07
Website

Re: Computer controlling KONOKO

If you don't care for what Konoko does, i.e., if you don't need her to behave as a clever sidekick, then it's very easy. You just shapeshift any character to Konoko.
In all the later, stable releases of OTA, you can shapeshift all the AI-controlled characters, see here: http://fr.youtube.com/watch?v=ADfFa063Uh8
Other than focusing to a character and shapeshifting him (a PC-only feature), you can use the chr_set_class function (also PC-only).
chr_set_class addresses the character by characted ID (spawn-dependent) and the ONCC by ID (level-dependent) or ONCC name.
So the way you do it: make sure the character you want to be Konoko is character 1 (or something else you can guarantee).
Then call chr_set_class(1,konoko_generic) (instead of konoko_generic use whatever the name of Konoko's ONCC is)
For example, see the hacks and scripts for Evil Konoko here: http://wiki.oni2.net/index.php/ONK:Konoko#Evil_Konoko

As for the sidekick hack, it is fairly simple. Loser already explained it on this forum.
http://oni.bungie.org/community/forum/v … d=306#p306
And EdT made it work on his Mac by following the instructions. You could do the same.
http://oni.bungie.org/community/forum/v … 1466#p1466

I'm sure you didn't mean making the AI Konoko able to clear a level on her own.
It would require much work and be pretty much pointless.

Last edited by geyser (09/11/07 20:09)


Behold the power of that which is yet unborn! For the swirling images that flow forth from the Chrysalis are only a shadow of the sleeper's true power.

Offline

#5 09/14/07 10:09

ONIrules
Member
Registered: 09/04/07

Re: Computer controlling KONOKO

I still don't understand. Can you give me an example of a script?

Offline

#6 11/10/07 12:11

geyser
Member
From: beyond the veil
Registered: 01/14/07
Website

Re: Computer controlling KONOKO

Not sure if you still need this, but if you only want to "shapeshift an enemy to Konoko", then

For example, see the hacks and scripts for Evil Konoko here: http://wiki.oni2.net/index.php/ONK:Konoko#Evil_Konoko

should be enough to get you started. You can also have a look at THIS (neuro script).


Behold the power of that which is yet unborn! For the swirling images that flow forth from the Chrysalis are only a shadow of the sleeper's true power.

Offline

Board footer

Powered by FluxBB