Simple tool to correct animations when resizing units

Simple tool to correct animations when resizing units

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
User avatar
tyran_nick
Posts: 47
Joined: 07 Mar 2010, 12:42

Simple tool to correct animations when resizing units

Post by tyran_nick »

Here is a simple tool to update all "move to" commands in bos scripts when you scale a 3do or s3o file. If for instance you scale a unit in upsring by 1.2 (for all x, y, z; essentially making it 20% bigger) all "move to" animations break and need to be manually corrected by multiplying all existing numbers by 1.2. "Turn to" commands are obviously unaffected. This tool does this automatically. It parses the BOS file line-by-line and multiplies all "move to" commands by a user defined scaling factor, correcting the unit animation.

Image

Download:
http://tinyurl.com/3xcsxmt
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: Simple tool to correct animations when resizing units

Post by zwzsg »

You can also change the linear constant in Scriptor.
User avatar
tyran_nick
Posts: 47
Joined: 07 Mar 2010, 12:42

Re: Simple tool to correct animations when resizing units

Post by tyran_nick »

Is it again the default linear constant * new scaling factor?
Post Reply

Return to “Game Development”