Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 05/26/08 23:05

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

Disabling Barabas's special through simple coding.

For soem reason I can't get this to work. Even when removing all other possiblities of failure.

func antistomp {
chr_wait_animation 0 BARABkick_heavy
chr_animate 0 ELICOMkick_heavy
fork antistomp
}

It seems to stop working at the wait_animation part. Through clever placements of dmsgs I have discovered that the function does indeed start, but nothing happens. I don't know what could be going wrong. I have used this system before...


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 05/27/08 04:05

paradox-01
Member
From: Germany
Registered: 01/14/07

Re: Disabling Barabas's special through simple coding.

I copied your code into compound and it's working.

Note that this code is only working for you as shapeshifted Barabas.
If you want the AI to do this you will need to insert his BSL name.

func antistomp {
chr_wait_animation Barabus BARABkick_heavy
chr_animate Barabus ELICOMkick_heavy
fork antistomp
}

Last edited by paradox-01 (05/27/08 04:05)

Offline

#3 05/27/08 11:05

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

Re: Disabling Barabas's special through simple coding.

...gah. I don't know what I was doing wrong then. I was shapshifted as him.

I guess I'll try again.

....well, it works now. Whatever, I must have made a typo the first time.

Last edited by Gumby (05/27/08 12:05)


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 06/02/08 10:06

love_Oni
Member
From: Da Nang, Vietnam
Registered: 05/10/08

Re: Disabling Barabas's special through simple coding.

I've tried and the code worked when I put it in the original script in IGMD folder. But when I put the code in 'arena' script ('arena_main.bsl' of chapter 6), nothing happened. I think the reason is: the Barabas's BSL name in that script isn't 'barabus' (or maybe I put the code in wrong place). If possible, can you tell me the Barabas's BSL name in that 'arena' script?

Last edited by love_Oni (06/02/08 10:06)


The Boy Who Knew Too Much tongue

Offline

#5 06/02/08 14:06

paradox-01
Member
From: Germany
Registered: 01/14/07

Re: Disabling Barabas's special through simple coding.

Characters' BSL names aren't stored in scripts but in binaries, as far as I know.

Barabas is also named "barabus" in "StormOTA1.1.bsl" so maybe you might want to check where you placed the code.
But that is just theory. I try it myself and failed. ^_-

Last edited by paradox-01 (06/03/08 02:06)

Offline

#6 06/03/08 02:06

paradox-01
Member
From: Germany
Registered: 01/14/07

Re: Disabling Barabas's special through simple coding.

Gumby: What script did you modify, an OTA script? Then you could help us.

Offline

#7 06/03/08 20:06

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

Re: Disabling Barabas's special through simple coding.

I modified the renegade script

I'll look into it in about an hour...the friendly teriyaki lady must have given me food poisoning. blah


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

#8 01/18/09 14:01

Melodyman
Member
Registered: 01/25/08

Re: Disabling Barabas's special through simple coding.

jea but nobodey told that after save point and restore game i have to write fork antistomp. only then the move will work! i have to figure out it myself!   for example good move for tctf_swat below.

func antistomp
{

chr_wait_animation 0 TCTCOMcomb_p
sleep 1
chr_animate 0 STRCOMpunch_heavy

fork antistomp

}

Offline

#9 01/18/09 20:01

Your_Mom
Member
From: Canada
Registered: 01/31/07
Website

Re: Disabling Barabas's special through simple coding.

Well..that just changes your punch into a Striker Slam...which makes it kinda OPed...since you can totally spam it now.


droid803sig.jpg

Offline

#10 01/21/09 15:01

demos_kratos
Member
From: Russia, Volzhskiy
Registered: 08/13/08

Re: Disabling Barabas's special through simple coding.

welll... I thought that there is only chr_wait_animtype...


Jente, du er deilig, du er lekker, ihvertfall nå når jeg drikker.
Baby, du har det som trengs, hva er sannsynligheten for at vi to hopper til sengs?
Kan du si meg det? Jeg er ikke så stø i sannsynlighetsregning.

Offline

Board footer

Powered by FluxBB