Moving in Impetus

Moving in Impetus

Share and discuss visual creations and creation practices like texturing, modelling and musing on the meaning of life.

Moderators: MR.D, Moderators

Post Reply
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10454
Joined: 24 Jan 2006, 21:12

Moving in Impetus

Post by PicassoCT »

Can i make a unit move in Pushes, meaning, a sort of contractionphase, followed by a short sprint and that in a repeating cycle? Could that be broken by microing comands every second? Or is there a dirty-workaround to archieve that, like a deploying or selfstunning unit?
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: Moving in Impetus

Post by CarRepairer »

Perhaps the jumpjet gadget could be modified to achieve this with little effort. Remove jump arc, give unit shortrange jump and 0 walking speed.

Edit: Nah, that won't work with move commands. Just manipulate the cob maxspeed value at regular intervals. Lua can do so as well but only if your anim script is lua.
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10454
Joined: 24 Jan 2006, 21:12

Re: Moving in Impetus

Post by PicassoCT »

Thx, carRepairer, that will help alot with the beefeater.

So for a example, i set maxspeed=2;
wait for 1 Second, then set maxspeed=0.2;
wait for 2 Seconds, the reset maxspeed.

Hope it will look snakelike, if i make the unit do a 1/8 Turn left or right, everytime maxspeed changes
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Moving in Impetus

Post by AF »

You could trick the user into thinking it using the animation.

Aka move the front of the snake backards by the forward speed of the unit, then move the back of the snake backwards by the units speed, giving the illusion of inching forward bit by bit when its actually continuous motion
Post Reply

Return to “Art & Modelling”