I need help with my bos file

I need help with my bos file

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
kbutt
Posts: 9
Joined: 18 Jun 2006, 07:53

I need help with my bos file

Post by kbutt »

I don't know what is wrong with my script, I pretty much did copy pasta from another working script (core ak from AA5.0 mod, probably the same script other mods use for ak), and put in my animations for my model. Scriptor is giving these errors when compiling:

Error (48): Unknown Identifier walklegs [C:\Spring\mods\SpringWork\modwip\scripts\GUNCOM.BOS ]
Error (92): Unknown Identifier SmokeUnit [C:\Spring\mods\SpringWork\modwip\scripts\GUNCOM.BOS ]
Error (100): Unknown Identifier healthpercent [C:\Spring\mods\SpringWork\modwip\scripts\GUNCOM.BOS ]
Error (101): Expected condition [C:\Spring\mods\SpringWork\modwip\scripts\GUNCOM.BOS ]

Here is my bos file.
http://files.filefront.com//;7375947;;/
Thanks in advance!

Oh, and sorry if this is in the wrong section, wasn't sure where I should post this...
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

The mod discussion area would better help you.
Last edited by smoth on 29 Apr 2007, 12:18, edited 1 time in total.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

moved to mods
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »


walk()
{
if( bMoving )
{
Turn rarm to x-axis -2184 speed<-7281>;
Turn larm to x-axis 3276 speed<10922>;
Move lfoot to y-axis -9 speed[4];
Move lfoot to z-axis 0 speed[-23];
Move head to y-axis 21 speed[1];
Move head to z-axis 2 speed[-1];
Sleep 300;
}
if( bMoving )
{
Turn rarm to x-axis 1638 speed<12743>;
Turn larm to x-axis -1820 speed<-16990>;
Move lfoot to y-axis -11 speed[-8];
Move lfoot to z-axis 3 speed[13];
Move head to y-axis 21 speed[-1];
Move head to z-axis 3 speed[1];
Sleep 300;
}
if( bMoving )
{
Turn rarm to x-axis -2366 speed<-13349>;
Turn larm to x-axis 2912 speed<15777>;
Move lfoot to z-axis 5 speed[6];
Move rfoot to y-axis -7 speed[10];
Move rfoot to z-axis 5 speed[-10];
Move head to y-axis 22 speed[3];
Move head to z-axis 2 speed[-1];
Sleep 299;
}

} you were missing this bracket


walklegs()
{
if( bMoving )
{
Turn rarm to x-axis -2184 speed<-7281>;
Turn larm to x-axis 3276 speed<10922>;
Move lfoot to y-axis -9 speed[4];
Move lfoot to z-axis 0 speed[-23];
Move head to y-axis 21 speed[1];
Move head to z-axis 2 speed[-1];
Sleep 300;
}
if( bMoving )
{
Turn rarm to x-axis 1638 speed<12743>;
Turn larm to x-axis -1820 speed<-16990>;
Move lfoot to y-axis -11 speed[-8];
Move lfoot to z-axis 3 speed[13];
Move head to y-axis 21 speed[-1];
Move head to z-axis 3 speed[1];
Sleep 300;
}
if( bMoving )
{
Turn rarm to x-axis -2366 speed<-13349>;
Turn larm to x-axis 2912 speed<15777>;
Move lfoot to z-axis 5 speed[6];
Move rfoot to y-axis -7 speed[10];
Move rfoot to z-axis 5 speed[-10];
Move head to y-axis 22 speed[3];
Move head to z-axis 2 speed[-1];
Sleep 299;
}
if( bMoving )
{
Turn rarm to x-axis 0 speed<7888>;
Turn larm to x-axis 0 speed<-9709>;
Move rfoot to y-axis -11 speed[-11];
Move rfoot to z-axis 7 speed[8];
Move head to y-axis 21 speed[-3];
Move head to z-axis 3 speed[1];
Sleep 300;
}

} and this one


you also spell saber, "sabre" in your peice list.


enjoy.

kbutt
Posts: 9
Joined: 18 Jun 2006, 07:53

Post by kbutt »

thank you! :lol:
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

No problem, good luck with your unit.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

code tags ftw even (or should I say definitely) if the text in it can't be pink.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

I wish there was a better code tag which doesn't replace tabs with spaces and would allow you change the fontsize.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

Tobi wrote:code tags ftw even (or should I say definitely) if the text in it can't be pink.
the code tags on my forum have colors :)
Post Reply

Return to “Game Development”