• 0

    posted a message on Access Turrets 'Yaw Arc'

    Hi everyone,

    I want to build siege mode tanks that can only fire in an arc in front of them (i.e. not the whole radius circle). After looking through the data editor, i found this can be done by modifying the 'Yaw arc' field in the Siege tank (siege mode) unit, in the turret subsection of the object explorer. However, the 'Yaw arc' is the same for all siege tanks and some of them need to 'stare' at different angles.

    So my questions are the following:

    • Do you see any other way to force tanks to fire only on a defined arc?
    • If there is no other way, do you know how to modify the 'Yaw arc' field of the turret in game ? (I tried to include some custom script in the triggers, but i couldn't find any details in the API on the UNIT structure)

    Thanks in advance !

    N.B: I could also create 4 or more types of siege tanks with modified 'Yaw Arc' according to the angles i need, but it does not feel like the right solution :p

    Posted in: Miscellaneous Development
  • To post a comment, please or register a new account.