Staredit Network

Staredit Network -> Modding Assistance -> GRPs - Rotation
Report, edit, etc...Posted by SubFocus on 2006-11-11 at 05:17:53
Hey. Okay, so I'm working on some GRPs, and I need to know what angle each unit turns for each frame. I know from frame 0 to 1 it's a 10 degree turn, but somewhere along the way to frame 16, the degree of the turn seems to change. Can someone help me here?
Report, edit, etc...Posted by TheNomad on 2006-11-11 at 06:45:07
QUOTE(SubFocus @ Nov 11 2006, 01:17 PM)
Hey. Okay, so I'm working on some GRPs, and I need to know what angle each unit turns for each frame. I know from frame 0 to 1 it's a 10 degree turn, but somewhere along the way to frame 16, the degree of the turn seems to change. Can someone help me here?
[right][snapback]587001[/snapback][/right]


QUOTE(According to DatEdit)
Angle within which the weapon can be fired without waiting for the unit's graphics to turn. 128 = 180 degrees.


So 180º / 2 = 90º -> 90º = 64; 64 / 4 = 16 -> 90º / 4 ~= 22.5º

... Therefore, 16 should be 22.5º, which is half of a 45º turn smile.gif
Report, edit, etc...Posted by SubFocus on 2006-11-11 at 14:23:38
So... I rotate EVERY frame by 10º except for Frame 16? Or... I rotate each one by 22.5º?
Report, edit, etc...Posted by ShadowFlare on 2006-11-11 at 22:16:41
There are 32 different directions when you include flipped frames, so the difference in angles should be 360º / 32 which equals 11.25º
Report, edit, etc...Posted by Lord_Agamemnon(MM) on 2006-11-11 at 22:40:20
Only for air units, though. For some reason, ground units have 1 unique, 2 and 3 the same, 4 and 5 the same, etc. I think Blizzard just got lazy, but I couldn't tell you what the degree difference between them is. Sorry, but I hope this helps even a bit.
Report, edit, etc...Posted by SubFocus on 2006-11-11 at 23:34:35
Yeah, thanks guys. Everything is cool now. Back to my lair to make some more .GRP's.
Next Page (1)