Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 12/08/07 03:12

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Ota?

Is there any way to switch the bot models?

I want to use this with the 7th edition upgrade to have mukade vs oni vs muro vs whoever...or something uber like that ^_^


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#2 12/08/07 06:12

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

Re: Ota?

If you are on PC, then you can shapeshift bots. Here's how (taken from the readme of the "fixed TCTF HQ").
Previous versions may require you to edit key_config.txt to "bind fkey9 to start_record" and "bind fkey10 to stop_record"

HOW TO USE SPECIALS ?
0.    You can enable the arena's special functions by pressing F9
    (or whatever key you use for recording the player's moves)

0bis.    Be sure you stop movie recording (default is F10) as soon as
    you don't need the special function.
    Else you will get buffer overflow and Oni will "Blam!"

0ter.    You must also keep the number of "saved_filmXXX.dat" files small !

1.    Arena cycler : press (F9,) F3 (, F10) to transfer the arena to the next area

1bis.    F3 from within an active menu restarts the current area.

1ter.    Don't restart an area until all players have finished entering the arena.

2.    The menu is enabled with (F9,) F2. Then repeatedly pressing F2 cycles through :
        BOT CYCLER : use this to apply cheat codes to bots
        TOOLS OF DEATH : use this to select the gun mode
        TIME/FRAG LIMIT : use this to choose a time/frag limit
        AIR QUALITY : use this to set the air quality
        TODAY'S SPECIALS : use this to toggle "DRAIN YOU"
        (BACK TO GAME)
    In each of those menus, CREEP BACK cycles the current setting.
        BOT CYCLER : CREEP BACK = next player
        TOOLS OF DEATH : CREEP BACK = next gun mode
        TIME/FRAG LIMIT : CREEP BACK = next time/frag limit
        AIR QUALITY : CREEP BACK = next air quality
        TODAY'S SPECIALS : CREEP BACK = "DRAIN YOU" ON/OFF

2bis.    In BOT CYCLER, F2 is only effective if you're in control of PLAYER 0

If you have steady preferences for the lineup of the characters, you can use chr_set_class in the scripts (or ask me).

Be sure to make some videos available smile  Oh, and her name's not Oni, for sake's sake.

Last edited by geyser (12/08/07 06:12)


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

#3 12/08/07 18:12

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Ota?

Geez...according to the board I made the post at 0:00...my thinking wasnt that good...

Where did that readme come from?

Is there another OTA website other than http://edt.oni2.net/ota.html?

Anyways, I'll test this out...


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#4 12/08/07 19:12

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

Re: Ota?

gumby: Here the OTA versions for PC:
http://wiki.oni2.net/ONK:OTA

The ones on my website edt.oni2.net are modified to work on Macs, so I don't think I enabled the Bot Cycler, since it doesn't work on Macs.

Offline

#5 12/08/07 20:12

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Ota?

oh, thanks ^_^

Also, I noticed while poking around there is an OTA2...is that working?

---

Does chr_set_class work in the console? I tried it, and in the end all i did was end up crashing the game when I set it to 1 in an act of futility...

I think that your arena_teams.bsd script could be made more change friendly...if its possible to set variables...

IE In the beginning (i dont know if such a command exists, or its syntax)

set konoko_generic friend_1
set tctf_trooper friend_2

etc.

then instead of having specific character names that need to be edited twice, you put friendly_1 in that space and reference the variable

---

Is that possible?

Someime I'd like to learn the script language of Oni...is it based off of C, or what?

Last edited by Gumby (12/08/07 21:12)


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#6 12/09/07 17:12

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

Re: Ota?

chr_set_class(int char_id, string ONCC_name) works fine (I recommend providing the name of the ONCC rather than its integer ID).
You shouldn't "set it to 1", as it's not a variable. That one is actually quite crashy if you don't supply valid arguments, so don't do that.

instead of having specific character names that need to be edited twice, you put friendly_1 in that space and reference the variable

Makes me happy to hear that from you, man. I've been planning to do that for ages, but never had the heart to actually sit down and rescript the bloody thing
(not that it's hard, but it asks for a release, and a release asks for more features, some of which I also have planned out but never implemented because, etc).
Least of all did I expect a "fellow scripter" to suggest that kind of improvement. I must say your insight into BSL and OTA in particular is quite promising indeed.
It'll be my pleasure to answer any question of yours regarding BSL, and it'd be an honor if you improved OTA and/or ported it to as many areas as possible smile

Last edited by geyser (12/09/07 17:12)


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

#7 08/22/11 15:08

onirulez
Member
From: United Kingdom, Tooting
Registered: 01/21/10

Re: Ota?

Im just having problems switching arenas.


"Your mine!"

Offline

#8 08/23/11 00:08

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Ota?

Holy blast from the past batman!


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#9 08/24/11 05:08

onirulez
Member
From: United Kingdom, Tooting
Registered: 01/21/10

Re: Ota?

What...Gumby?


"Your mine!"

Offline

#10 08/24/11 11:08

Lukas Kreator
Member
Registered: 05/07/10

Re: Ota?

This thread is very old, the last post was from 2007! You should create new threads.

Offline

#11 08/24/11 15:08

onirulez
Member
From: United Kingdom, Tooting
Registered: 01/21/10

Re: Ota?

Holy sh....woah im soooo sorryyy!!!!


"Your mine!"

Offline

Board footer

Powered by FluxBB