Flags can be assigned for ship behavior. These can be used either as an add-on to the COMMAND feature on blocks, or as faction-wide flags in factions.lua.
Control General Behavior:
NONE
INACTIVE
– Become a vegetable. HANGOUT
– Used to make the Anisoptera ship spin in circles. 😉
PACIFIST
– Never attack even when attacked. PEACEFUL
– Never initiate attack. Farmers are the only peaceful faction.CAUTIOUS
– Initiate attack less easily. Farmers are the only cautious faction.FORGIVING
– Stop attacking more easily. Farmer, Bees,and Sentinel are Not forgiving.SOCIAL
– Call for help when attacked. Terran, Farmers and Contestants have this flag.FLOCKING
– Align with nearby allies. Farmers and Tinkrell use flocking.RECKLESS
– Run away less. The Reds are reckless.AGGRESSIVE
– Initiate attack more easily. Crystalline, Tinkrell and Bees are aggressive.WANDER
– Wander randomly if nothing else to do ( recommended ). All factions use this flag.HATES_PLANTS
– Kill plants if in range. Bees and Spikey Plants have this flag. Borg used to, but it was removed at some point.DODGES
– Dodge projectiles. Most of the vanilla factions have this by default. Used by ships in Tournament mode.ATTACK
– Special flag for tournament mode, attack ruthlessly. Ships with in the campaign with ATTACK will not try to reproduce or collect resources. NO_PARENT
– Don’t follow leader. The Spikey Plant faction uses this flag. Perhaps so the ships wander more.
Control Weapon Behavior:
SMART_FIRE
– Use spread fire when enemy is expected to dodge. Used by ships in Tournament Mode.RIPPLE_FIRE
– Use ripple fire on weapons.SPREAD_FIRE
– Use spread fire on weapons.POINT_DEFENSE
– Act like a point defense drone.BAD_AIM
– Aim poorly. The Reds have this flag.
These are available via the menu in the Bindings palette:
ALWAYS_KITE
– Always attack from max range.ALWAYS_RUSH
– Always attack at closest range regardless of incoming damage.ALWAYS_MANEUVER
– Always dodging while attacking.
Other:
METAMORPHOSIS
– Ai will occasionally change blueprints. The Red faction uses this flag. Occasionally they will transform. TRACTOR_TRANSIENT
– Grab blocks from the environment and use them. Terrans, Farmers, Tinkrell and Contestants have this flag.
These are used internally in the campaign and are meant to work with player interactions:
FOLLOWER
– Follows player.CHILDREN_SET
– Don’t change children – set by player.BLUEPRINT_SET
– Don’t change blueprint – set by player. FIRE_AT_WILL
– Ignore parent ship target.