Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 10/9/07 21:34

ONIrules
Member
Registered: 4/9/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 10/9/07 23:07

Loser
Member
From: somewhere in da Czech Republic
Registered: 14/1/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 (10/9/07 23:28)


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

Offline

#3 11/9/07 19:19

ONIrules
Member
Registered: 4/9/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 (11/9/07 19:26)

Offline

#4 11/9/07 20:21

geyser
Member
From: beyond the veil
Registered: 14/1/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 (11/9/07 20:37)


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 14/9/07 10:20

ONIrules
Member
Registered: 4/9/07

Re: Computer controlling KONOKO

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

Offline

#6 10/11/07 12:38

geyser
Member
From: beyond the veil
Registered: 14/1/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