Difference between revisions of "Starward Rogue:XML - EntitySystem Definitions"
Jump to navigation
Jump to search
(→drone) |
|||
Line 28: | Line 28: | ||
== Sub-Nodes == | == Sub-Nodes == | ||
− | === drone === | + | ==== drone ==== |
specifies the entities that can spawn from this system; see drones_are_finite and drones_are_guards | specifies the entities that can spawn from this system; see drones_are_finite and drones_are_guards |
Revision as of 18:38, 21 November 2015
Overview
These are not ships -- they're just guns or whatever. They're how a ship actually does something like shoot or trigger an ability, generally.
An example
<system name="PlayerDirected_Minigun" category="PlayerDirectedWeapon" is_player_main_weapon="true" shot_type="BulletPointedBlue" damage_type="Ballistic" attack_power="14" fire_rate="0.4" range_actual="500" shots_per_salvo="1" shot_speed="1200" flagship_ability_type="DirectFireWeapon" targeting_logic="Direct" image_name="MantaGun" quality_tier="0" > </system>
Attributes
Sub-Nodes
drone
specifies the entities that can spawn from this system; see drones_are_finite and drones_are_guards
Attributes:
- type (entity)
- the type of entity to spawn
- count (int)
- if drones are finite, this is the number of this type of entity that can be spawned from this system. Otherwise this is just the relative frequency at which this type of entity will be spawned from this system.