Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/templates/template_formation.xml
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | <Obstruction> | ||||
<DisableBlockPathfinding>false</DisableBlockPathfinding> | <DisableBlockPathfinding>false</DisableBlockPathfinding> | ||||
<DeleteUponConstruction>false</DeleteUponConstruction> | <DeleteUponConstruction>false</DeleteUponConstruction> | ||||
</Obstruction> | </Obstruction> | ||||
<Ownership/> | <Ownership/> | ||||
<Position> | <Position> | ||||
<Altitude>0</Altitude> | <Altitude>0</Altitude> | ||||
<Anchor>upright</Anchor> | <Anchor>upright</Anchor> | ||||
<Floating>false</Floating> | <Floating>false</Floating> | ||||
<FloatDepth>0.0</FloatDepth> | <FloatDepth>0</FloatDepth> | ||||
<TurnRate>3.0</TurnRate> | <TurnRate>3</TurnRate> | ||||
bb: Not happy with this value, since it fixes it for all formation compositions. I guess we can… | |||||
</Position> | </Position> | ||||
<Trader> | <Trader> | ||||
<GainMultiplier>0.75</GainMultiplier> | <GainMultiplier>0.75</GainMultiplier> | ||||
</Trader> | </Trader> | ||||
<UnitAI> | <UnitAI> | ||||
<DefaultStance>aggressive</DefaultStance> | <DefaultStance>aggressive</DefaultStance> | ||||
<FormationController>true</FormationController> | <FormationController>true</FormationController> | ||||
<FleeDistance>12.0</FleeDistance> | <FleeDistance>12.0</FleeDistance> | ||||
Show All 10 Lines |
Wildfire Games · Phabricator
Not happy with this value, since it fixes it for all formation compositions. I guess we can code it away by computing the actual rotation of the formation assuming empty space, by the speeds and turnrates of the members. But will call it out of scope for now.