Some error help in BoR :)

22 May 2007 19:13
***First question solved, skip to EDIT3 unless you want to learn from my mistake ***

Hey everyone just noticed BoR here the other day and figured i'd give it a try.
Anyway, seeing as i'd like to figure the functions out before doing any "massive" projects, i attempted porting Ryu from street fighter into BoR.
So far so good.

The animations where all good, and i managed to follow the instructions in the html to write the .txt files, offsets and so forth.

now then, i packed it up (i left out some of the "special attacks" seeing as im focusing on just getting basic movement working, so what i've done is made the walk, idle, pain, get, jump, fall, rise, land, attack and a special attack.) and gave it a whirl in BoR.

And well so far so good, the menu shows the player as expected, i can boot a level up with him and he can move around, jump, grab things, punch and special attack without problems.
Now then, i tried getting hit a bit and pain works as well, as do fall and rise.

Then after quitting, and re-entering - it's started giving me errors at random times.
I know its something with my animation file but i cant seem to figure out excactly what it is.
The error i get is: FATAL: tried to set animation with invalid address (Ryu, 15) - at other times its (Ryu,

Im not excactly sure where to look, i figured it would be either line number or animation number but i dont have any that go that high (highest i have is 6).

Any ideas?

edit: added attack2 and attack3, also figured i should mention that he is listed as a player type.


Edit2 - gosh, do i feel silly now.
By reading the instuctions (ver. 1,2) i had come to the conclusion that you could just input the actions you wanted your hero to do, such as attack and whatnot. Seems that was my problem i haddent added the grab part, and that was apparently what was acting up. So i never figured out why the error msg was called what it was, but i figured out the problem

edit3 - what about the shoot function? aint that avalible for players or what?, i've tried everything from practically naming every gif, every txt file and all names regarding the item i want to be fired from the players hands to h and i still get cache errors.

Here's as it is now:
Models.txt:
know Hado data/chars/misc/hado.txt

Ryu.txt
load    Hado

hado.txt
name Hado
health 1
type enemy (i have tried both with player and enemy neither worked.)
shadow 0

anim idle
loop 1
delay 6
offset 75 93
attack 40 56 65 30 10 1
frame data/chars/misc/hado1.gif
frame data/chars/misc/hado2.gif
frame data/chars/misc/hado3.gif
frame data/chars/misc/hado2.gif

Any ideas?
Will sleep on it and hope to see some replies by tomorrow! (well, later today -.- its 40 minutes past midnight right now, so i apologize if theres been a horrid ammount of spelling mistakes in this, almost novel length post.)

Quote
Miracle Fighting Level!
Avatar
23 May 2007 00:22
In normal BOR, player characters can't use projectiles, only enemies can. However OpenBOR, which is an updated version of the engine by several really nice people allows you to have players with projectiles and much more. I'm not sure how most of it works, as I haven't done any modding in ages, but I'm sure someone else can tell you how.

Also, a tip that makes things a bit easier when starting. Instead of writing brand new text files, copy an existing one and edit as you go along. That way, you can test it continuously and won't miss out on any key animations if you haven't done them yet (they'll just be of another character's).

Quote
23 May 2007 07:36
Thats almost what i did i more or less just copied Kula's and adjusted where i needed, though i did it 1 animation at a time .

Quote
Miracle Fighting Level!
Avatar
23 May 2007 11:07
MartyVej wrote:
Thats almost what i did i more or less just copied Kula's and adjusted where i needed, though i did it 1 animation at a time .

That's exactly what I did. I took Kula's file and did it gradually. I think the jump animations were the last ones I did when I made my characters.

Quote
23 May 2007 11:17
last ones i did for ryu was the jump attack, and the only reason i stuffed that in as well was the biker enemies had to be able to defeat those, rest is working fine right now (and looking rather sweet started work now on some other characters, naturally not ripped this time around.), except the throw thing if you hit the move keys in the direct your throwing, even though the character dosent move he will get hit by the enemy he's throwing

But if you can learn to avoid moving while throwing its awesome.

Quote
26 May 2007 05:40
To prevent heroes from getting hit while throwing an enemy, I usually doesn't give bbox in their throw animation and I also set the throw animation long enough so by the time throw is finished, thrown enemy would have been far enough not to hit heroes.

Quote
1st post, lol!
Avatar
26 May 2007 10:49
Sorry OOT,
Bloodbane, are you Dwi Pronodewo?
Please reply my message

Quote
Copyright © Senile Team. All rights reserved. | About Senile Team | Contact us
Dreamcast™ is a registered trademark of SEGA Corporation. WiiWare, Wii and the Wii logo are trademarks of Nintendo.