Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 26/5/08 23:52

Gumby
Member
From: Seattle, WA, USA
Registered: 30/8/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 27/5/08 4:03

paradox-01
Member
From: Germany
Registered: 14/1/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 (27/5/08 4:08)

Offline

#3 27/5/08 11:59

Gumby
Member
From: Seattle, WA, USA
Registered: 30/8/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 (27/5/08 12:15)


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 2/6/08 10:58

love_Oni
Member
From: Da Nang, Vietnam
Registered: 10/5/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 (2/6/08 10:59)


The Boy Who Knew Too Much tongue

Offline

#5 2/6/08 14:48

paradox-01
Member
From: Germany
Registered: 14/1/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 (3/6/08 2:19)

Offline

#6 3/6/08 2:22

paradox-01
Member
From: Germany
Registered: 14/1/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 3/6/08 20:16

Gumby
Member
From: Seattle, WA, USA
Registered: 30/8/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 18/1/09 14:43

Melodyman
Member
Registered: 25/1/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 18/1/09 20:04

Your_Mom
Member
From: Canada
Registered: 31/1/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 21/1/09 15:24

demos_kratos
Member
From: Russia, Volzhskiy
Registered: 13/8/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