king
  • king
  • 100% (Exalted)
  • Major Topic Starter
10 years ago
How to set a units guardrange?

Thx. in advance.
Sponsor
acidbrain
10 years ago
This has something to do with it...

AIData.ini

AIData
  GuardInnerModifierAI                = 1.1     ;The radius modifier to vision which a guarding 
  (AI Controlled) unit will agressively attack

  GuardOuterModifierAI                = 1.333   ;The radius modifier to vision which a guarding 
 (AI Controlled) unit will chase after

  GuardInnerModifierHuman             = 1.8 ;1.1     ;The radius modifier to vision which a
  guarding (Human Controlled) unit will agressively attack

  GuardOuterModifierHuman             = 2.2 ;1.333   ;The radius modifier to vision which a
  guarding (Human Controlled) unit will chase after
End

If im not mistaking you can also adjust the VisionRange in the object code
Panem et kirkinses
king
  • king
  • 100% (Exalted)
  • Major Topic Starter
10 years ago
Gameanater
10 years ago
Guard range is also determined by the unit's vision range. For example, make the GLA Stinger Soldier controllable and give him the GenericCommandSet and have him guard. You will see that by default, the guard range is huuuuuge.
Any old friends still on here can add me on discord @jcdenton2187. I'm far more likely to respond there.