Forum

> > Stranded II > Mods > Drive: animation
Forums overviewStranded II overview Mods overviewLog in to reply

English Drive: animation

7 replies
To the start Previous 1 Next To the start

old Drive: animation

Rafael13BR
User Off Offline

Quote
Hi, I just registered on the website.

I'm having a problem creating new drives: with the drive animation I want to do I do not want it to have animation and it behaves just like the native one. Even removing animation from the codes. At the time I put the unit on the floor of the publisher even so he says that there is no animation knowing that I do not want with animation. More without animation

Please help!

old Re: Drive: animation

JasJack67
Super User Off Offline

Quote
Do you mean you want to "ride" a "unit" and not move?

I do not think I can understand the question.

old JasJack67

Rafael13BR
User Off Offline

Quote
Yes my unit has no legs so it does not need to have animation
can you help me?

old Re: Drive: animation

JasJack67
Super User Off Offline

Quote
Before I can maybe help I have to ask. . .What possible unit would you ride and not move on? and . . . Why ride it at all if it does not move? I am simply curious.

old JasJack67

Rafael13BR
User Off Offline

Quote
My unit is a fat one. very fat. And I want him to walk more without any animation. Of walking, of dying, etc.
It means he floats on the map the problem even putting him in the game.
Always the game closes and says that: the unit needs animation
Then it should have some code to speak that no_animation without animation

old Re: Drive: animation

JasJack67
Super User Off Offline

Quote
Is it a model you made yourself? Or got off the internet? If so, I would say it's animation is not working with the blitz engine. That I can not help you with.

However, if it is a proper working unit with a proper animation I might be able to help.

1) Go to the units.inf and open it.
2) Scroll to the unit in question, the fat unit.
3) Look for the following variables under it's ID=#:
1
2
3
4
ani_move=22,26,0.13
ani_die=27,33,0.15
ani_idle1=1,7,0.08
ani_idle2=8,12,0.08

4)Change the last number to 0's like this...the "animation speed" is now 0.
1
2
3
4
ani_move=22,26,0
ani_die=27,33,0
ani_idle1=1,7,0
ani_idle2=8,12,0

Now the animation should remain "still". If you do not have these variables under the units ID that is why you get an error "unit has no animation". You should also know how many "frames" the animation is. . .if 1-3 is MOVE 3-4 is DIE and 5-7 is IDLE and you use the numbers 10,12,0.5 it will probable throw the same error. . .cuz there is NO 8,9,10,11 or even 12 animation frame.

p.s. you may have to use something like 0.001 and make it so slow it "appears" still. A 0 or 0.0 may throw a error I never tested this.

p.p.s. If you want the unit to appear in the same moving position you can make them all the same "animation frames" like this:
1
2
3
4
ani_move=22,22,0
ani_die=22,22,0
ani_idle1=22,22,0
ani_idle2=22,22,0
edited 3×, last 27.06.17 03:46:56 am

old Re: Drive: animation

Rafael13BR
User Off Offline

Quote
thank you guys. But now I know what to do. But thank you for trying to help me.
edited 3×, last 30.06.17 03:52:09 am
To the start Previous 1 Next To the start
Log in to reply Mods overviewStranded II overviewForums overview