An artist's depiction of an Extended Unit Death
I was running through a lot of these addresses for a Terran Marine, and took note on what I thought was happening at some addresses:
59CCB8 19029 [Order] Order Coordinates (Similar to 59CD00)
59CCC0 19031 [Position] Unit Coordinates (Similar to 59CCD0) {X*256, Y*65536}
59CCC4 19032 [Position] Unit Idle Face Point (Connected to attacking) {X*256, Y*65536}
59CCC8 19033 [Movement] Unknown (Sprite Algorithm?)
59CCCC 19034 [Movement] Turn Radius
59CCD4 19036 [Position] X-Axis {X*256}
59CCD8 19037 [Position] Y-Axis {Y*256}
59CCE0 19039 [Movement] Move Acceleration (Related to turning)
59CCE4 19040 [Movement] Move Speed
59CCE8 19041 [Movement] Move Speed On X-Axis (Left = Negative, Right = Positive)
59CCEC 19042 [Movement] Move Speed On Y-Axis (Up = Negative, Down = Positive)
59CD3C 19062 [Order] Stop When Movement Destination Is Determined As Invalid
The accuracy of this is only based on my own observations, though. Some more explanation on some of my observations:
59CCC4 19032 [Position] Unit Idle Face Point (Connected to attacking) {X*256, Y*65536}
When this is set to a certain point, that unit will face in the direction of that point while it idles. This has no effect on the unit when it's moving. By default, it was on the current position of the Marine. When the unit is attacking another unit, this point is set to the unit's target. This is likely used to make a unit face its target when attacking.
59CCC8 19033 [Movement] Unknown (Sprite Algorithm?)
The unit flips out when this is frozen on a specific value. It will have difficulty turning, and will usually be seen walking diagonally instead of facing the direction it is actually walking towards.
59CCCC 19034 [Movement] Turn Radius
Setting this to a low value OR a high value increased the turn radius by a significant amount. If asked to travel a short distance just behind the Marine, he would run in a circle because he couldn't turn sharp enough to get to that exact point. It's like a dog chasing its tail.
59CCD4 19036 [Position] X-Axis {X*256}
59CCD8 19037 [Position] Y-Axis {Y*256}
This appears to be the X and Y coordinates of the unit, and as you can see, it's a bit easier using this than it is to use 59CCD0.
59CD3C 19062 [Order] Stop When Movement Destination Is Determined As Invalid
When this address is frozen and you order a unit to try to walk into water or other invalid terrain, the unit will walk in place when it determines it cannot complete the destination, instead of coming to a full stop.
Post has been edited 1 time(s), last time on Sep 25 2011, 2:27 am by Roy.