TA: Kingdoms Forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Welcome to TA: Kingdoms
 
HomePortalGallerySearchLatest imagesRegisterLog in

 

 Units Animations (Scripts)

Go down 
3 posters
AuthorMessage
DeeKay
Administrator
DeeKay


Posts : 531
Reputation : 26
Join date : 2011-03-19
Age : 25
Location : Brazil - SP

Units Animations (Scripts) Empty
PostSubject: Units Animations (Scripts)   Units Animations (Scripts) EmptyThu Feb 02, 2012 9:04 am

Hey guys.

I'm making a new cannoer, but I don't know how to make the animation, I put the correct name of the pieces from the 3do, to the scriptor, so I put it in the game, but it doesn't have animations... The original animation doesn't works too... Only when the cannoneer attacks, then only the cannon move, the cannoneer continues without animation. :/

Images of my cannoer :
https://2img.net/r/ihimg/photo/my-images/846/imagemlolh.png/ - In 3do builder
https://2img.net/r/ihimg/photo/my-images/252/pgtak2012020211593390.png/ - In game
https://2img.net/r/ihimg/f/210/pgtak2012013013252234.png/ - In game

Thanks!

--Edit--
Idk if I'm gonna finish this cannoneer one day... If someone was waiting for this cannoneer, say for me, and I will finish it. ^^'


Last edited by DK-Manolo on Sun Feb 17, 2013 9:11 pm; edited 1 time in total
Back to top Go down
http://alltakdownloads.6te.net/
Vaerun

Vaerun


Posts : 103
Reputation : 0
Join date : 2008-08-09

Units Animations (Scripts) Empty
PostSubject: Re: Units Animations (Scripts)   Units Animations (Scripts) EmptyFri Feb 03, 2012 5:09 pm

Hello Henrique,

The animation problem stems from a bug in the scriptor program. To fix this, go to this part of the script:
MoveWatcher()
{
set-signal-mask SIG_MOVE;
while( TRUE )
{
moving = get CURRENT_SPEED > 5 OR direction;
sleep 100;
}
return;
}

See where it says get CURRENT_SPEED > 5, have to put parenthesis around the get CURRENT_SPEED to isolate the variable.
Ex:

moving = (get CURRENT_SPEED) > 5 OR direction;

Save and recompile the *.bos to *.cob and the animation should be there.
Back to top Go down
DeeKay
Administrator
DeeKay


Posts : 531
Reputation : 26
Join date : 2011-03-19
Age : 25
Location : Brazil - SP

Units Animations (Scripts) Empty
PostSubject: Re: Units Animations (Scripts)   Units Animations (Scripts) EmptySat Feb 04, 2012 1:44 pm

Yay! It Works! Thanks...

Now the man has animation. =)
BUT the wheels not... :'(


Last edited by DK-Manolo on Sun Feb 17, 2013 9:12 pm; edited 1 time in total
Back to top Go down
http://alltakdownloads.6te.net/
Vaerun

Vaerun


Posts : 103
Reputation : 0
Join date : 2008-08-09

Units Animations (Scripts) Empty
PostSubject: Re: Units Animations (Scripts)   Units Animations (Scripts) EmptySat Feb 04, 2012 2:17 pm

Hello Henrique,

Ok, the wheels do not have anims, but the man does. It seems the wheels are under a script set name Superwheelspinner or something, and it has a variable "get this variable".
Scriptor does not recognize that variable unfortunately. However, instead of using scriptor, use sciripteditor from the TAK french site and decompile and recompile with that program and it should fix the anims.
Back to top Go down
DeeKay
Administrator
DeeKay


Posts : 531
Reputation : 26
Join date : 2011-03-19
Age : 25
Location : Brazil - SP

Units Animations (Scripts) Empty
PostSubject: Re: Units Animations (Scripts)   Units Animations (Scripts) EmptySat Feb 04, 2012 2:34 pm

Hmm... Thanks again but I can't compile, ScriptEditor gets an error: "line 1573 unknow identifier weapon_launch_now". =/

Btw... Wheels don't have anims?? =P

The wheels spin...


Last edited by DK-Manolo on Sun Feb 17, 2013 9:14 pm; edited 1 time in total
Back to top Go down
http://alltakdownloads.6te.net/
DeeKay
Administrator
DeeKay


Posts : 531
Reputation : 26
Join date : 2011-03-19
Age : 25
Location : Brazil - SP

Units Animations (Scripts) Empty
PostSubject: Re: Units Animations (Scripts)   Units Animations (Scripts) EmptyMon Feb 06, 2012 7:03 am

\o/

I fixed the wheels, the error was here (SuperDynamicWheelSpinner):

Func_Var_5 = get 29 * 100 / 62 * Func_Var_4;
Func_Var_6 = get 29 * 100 / 70 * Func_Var_4;
Func_Var_7 = get 29 * 100 / 62 * Func_Var_3;
Func_Var_8 = get 29 * 100 / 70 * Func_Var_3;

and I just put the parethesis around "get 29":

Func_Var_5 = (get 29) * 100 / 62 * Func_Var_4;
Func_Var_6 = (get 29) * 100 / 70 * Func_Var_4;
Func_Var_7 = (get 29) * 100 / 62 * Func_Var_3;
Func_Var_8 = (get 29) * 100 / 70 * Func_Var_3;

but I can't make my new person move... Razz

I put in "walk ()" function, commands like: move crnh to x-axis [5] now;
And nothing happens. Sad

Help pls!


Last edited by DK-Manolo on Sun Feb 17, 2013 9:16 pm; edited 1 time in total
Back to top Go down
http://alltakdownloads.6te.net/
DeeKay
Administrator
DeeKay


Posts : 531
Reputation : 26
Join date : 2011-03-19
Age : 25
Location : Brazil - SP

Units Animations (Scripts) Empty
PostSubject: Re: Units Animations (Scripts)   Units Animations (Scripts) EmptyMon Feb 06, 2012 5:58 pm

HAHAHAHAHA

I find the error, it was in the pieces. Wink

THANKS THANKS THANKS THANKS!!! Razz


Last edited by DK-Manolo on Sun Feb 17, 2013 9:17 pm; edited 1 time in total (Reason for editing : Sorry, double posting =D)
Back to top Go down
http://alltakdownloads.6te.net/
Sage
Lead Designer of The New Era Expansion Project
Sage


Posts : 1225
Reputation : 8
Join date : 2008-08-02
Age : 37
Location : West Haven

Units Animations (Scripts) Empty
PostSubject: Re: Units Animations (Scripts)   Units Animations (Scripts) EmptyMon Feb 13, 2012 8:20 pm

Haha it looks pretty cool.
Back to top Go down
https://takuniverse.webs.com/
DeeKay
Administrator
DeeKay


Posts : 531
Reputation : 26
Join date : 2011-03-19
Age : 25
Location : Brazil - SP

Units Animations (Scripts) Empty
PostSubject: Re: Units Animations (Scripts)   Units Animations (Scripts) EmptySun Feb 19, 2012 11:35 am

Yeah... Thanks! Very Happy

But it's boring to do alone lol...

--Edit--
Maybe that's why I stopped doing it =D
Back to top Go down
http://alltakdownloads.6te.net/
Sponsored content





Units Animations (Scripts) Empty
PostSubject: Re: Units Animations (Scripts)   Units Animations (Scripts) Empty

Back to top Go down
 
Units Animations (Scripts)
Back to top 
Page 1 of 1
 Similar topics
-
» map scripts
» testing map scripts
» Scripts for the New Era Voice Overs
» Map Scripts Elder Than Mine Ones
» Scripts for mods/races

Permissions in this forum:You cannot reply to topics in this forum
TA: Kingdoms Forums :: GENERAL :: General Chat-
Jump to: