Staredit Network > Forums > Modding Discussion > Topic: Information on orders.dat fields
Information on orders.dat fields
Apr 3 2016, 12:54 pm
By: Neiv  

Apr 3 2016, 12:54 pm Neiv Post #1



I had a need to figure out what the orders.dat unknowns do, so might as well document that here:
  • Unknown 4 - If set, overrides subunit's order as well when the main unit is ordered.
    Otherwise subunit's order doesn't change when issuing this order to the main unit.
  • Unknown 7 - If set, and the unit is shift-queued a waypoint path, the unit will slow down at each waypoint. Otherwise the unit only slows down at the end. (The exact behaviour is to slow down if there are no additional waypoints when the current order is started to be executed.)
  • Unknown 9 - If the unit is disabled with a spell (Lockdown/Maelstrom/Stasis), it is targeting a unit, and this flag is set, it will keep targeting once the spell wears off. Otherwise it will lose its target. If the unit is targeting ground, it will keep the target regardless of this flag's state.
  • Unknown 10/Can be obstructed - If the unit is a ground unit, targeting ground will cause the target to be clipped to the closest walkable position. Interestingly this flag is set for maelstrom, which makes it annoying to hit flying units on top of unwalkable terrain. <.<
  • Unknown 11 - If the unit is damaged by an attacker it cannot attack back, and this flag is set, it will interrupt the order to run away from the attacker. Ai-controlled units may disregard this flag in some situations.

Other unknowns are unused, bw only reads them in debug/beta builds for some assertions:
  • Unknown 2 - The order is a secondary order.
  • Unknown 3 - Non-subunits should be able to execute this order.
  • Unknown 5 - Subunits should be able to execute this order.
  • Unknown 12 - Order requires an unit that is able to move.




None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
Please log in to shout.


Members Online: Burlagn06, Roy