WeaponModuleTemplates.csv: Difference between revisions
(Created page with "The Assets/GameCore/ModuleTemplates/WeaponModuleTemplates.csv Controls rate of fire, range, targeting priority, damage, and everything else for all weapons. Orbital Abilities...") |
(Added information for WeaponModuleTemplates) |
||
Line 1: | Line 1: | ||
The Assets/GameCore/ModuleTemplates/WeaponModuleTemplates.csv | The Assets/GameCore/ModuleTemplates/WeaponModuleTemplates.csv file controls rate of fire, range, targeting priority, damage, and everything else for all weapons. Orbital Abilities and healing weapons are also included here. There are a number of fields in this file, many of which are unintuitive, which I will be explaining here. | ||
To check what weapon a unit or structure has, refer to the relevant .Module file. This is advised as many of the internal reference names for weapons are vague and unclear as to what they are for. | |||
'''InternalName''': The internal reference named in the UnitModule or BuildingModule files which determines which units/buildings have what weapons. | |||
'''DisplayName:''' Refers to a line in the Asset/UIText/ModuleText.csv file, determining the in-game name of the weapon when hovering over the unit. | |||
'''Description:''' Refers to a line in the Asset/UIText/ModuleText.csv file, determining the in-game tooltip of the weapon when hovering over the icon. | |||
'''UpdateFunction''': Determines the type of weapon, being drawn from game code. Certain weapon types have different profiles and requirements that need to be configured in a certain way. This changes the meaning of certain values in this file. | |||
'''Rate of Fire - Cooldown:''' How often the weapon fires. | |||
'''Shots per Volley''': How many shots are fired before the Cooldown applies. | |||
'''Duration or Interpulse Cooldown''': This field has differing affects depending on what weapon type it is. Duration is how long the continuous beam weapon fires for, Interpulse Cooldown is delay inbetween the shots that make up a volley. | |||
'''Targetting Priority''': Determines which unit types the weapon will prioritise. 1 is the highest priority, 5 is the lowest, 0 means can't target that unit type. Tier 0 is drones. Unless it's a turreted weapon, the weapon priority needs to match the priority of that unit in the SteeringModuleTemplates.csv. Don't leave a gap in priority numbers such as "1,2,4,5" . | |||
'''Firing Arc & Swivel Clamp''': Determines the firing arc of a weapon, most weapons will have minimal firing arc, requiring the unit to rotate to face a target, but turrets will have wide arcs as they rotate. | |||
'''AP Rating:''' The amount of armor-piercing a weapon has. 1 represents 5% armor piercing, so a target with 20% damage reduction will be negated by 4 armor. | |||
'''Weapon Type''': Determines the weapon type, this needs to match the corresponding UpdateFunction or the weapon can be broken. | |||
'''Impact Type''': How the damage is applied. this needs to match the corresponding Weapon Type and UpdateFunction or the weapon can be broken | |||
'''Motion Path Type''': The type of projectile/animation used by the weapon. The number references a hard coded value. This needs to match corresponding weapon types and update functions or the weapon can be broken. | |||
'''Required Energy or Quanta''': Quanta used per cast if it's an Orbital Ability, or energy drained from unit when weapon is fired. | |||
'''WeaponVisual:''' References a line in the '''\GameCore\WeaponVisual.csv''' file, which determines the visual effect and alignment used. | |||
'''MissileLocation''': References a line in the '''\GameCore\MissileLocations.csv''' file which determines the alignment of each missile is fired from in a missile or multi-barrelled weapon. | |||
'''Quanta Per Cast''': How much an Orbital Ability ramps up in price each time it is used. 0.25 means the ability will cost +25% when it used each time. | |||
Note, there will be multiple weapons for an Orbital Ability. For example, the cast ability "weapon" and the weapon then used by that Orbital Ability. Have a look for which one has a Quanta cost if you are unsure. |
Revision as of 10:25, 6 February 2018
The Assets/GameCore/ModuleTemplates/WeaponModuleTemplates.csv file controls rate of fire, range, targeting priority, damage, and everything else for all weapons. Orbital Abilities and healing weapons are also included here. There are a number of fields in this file, many of which are unintuitive, which I will be explaining here.
To check what weapon a unit or structure has, refer to the relevant .Module file. This is advised as many of the internal reference names for weapons are vague and unclear as to what they are for.
InternalName: The internal reference named in the UnitModule or BuildingModule files which determines which units/buildings have what weapons.
DisplayName: Refers to a line in the Asset/UIText/ModuleText.csv file, determining the in-game name of the weapon when hovering over the unit.
Description: Refers to a line in the Asset/UIText/ModuleText.csv file, determining the in-game tooltip of the weapon when hovering over the icon.
UpdateFunction: Determines the type of weapon, being drawn from game code. Certain weapon types have different profiles and requirements that need to be configured in a certain way. This changes the meaning of certain values in this file.
Rate of Fire - Cooldown: How often the weapon fires.
Shots per Volley: How many shots are fired before the Cooldown applies.
Duration or Interpulse Cooldown: This field has differing affects depending on what weapon type it is. Duration is how long the continuous beam weapon fires for, Interpulse Cooldown is delay inbetween the shots that make up a volley.
Targetting Priority: Determines which unit types the weapon will prioritise. 1 is the highest priority, 5 is the lowest, 0 means can't target that unit type. Tier 0 is drones. Unless it's a turreted weapon, the weapon priority needs to match the priority of that unit in the SteeringModuleTemplates.csv. Don't leave a gap in priority numbers such as "1,2,4,5" .
Firing Arc & Swivel Clamp: Determines the firing arc of a weapon, most weapons will have minimal firing arc, requiring the unit to rotate to face a target, but turrets will have wide arcs as they rotate.
AP Rating: The amount of armor-piercing a weapon has. 1 represents 5% armor piercing, so a target with 20% damage reduction will be negated by 4 armor.
Weapon Type: Determines the weapon type, this needs to match the corresponding UpdateFunction or the weapon can be broken.
Impact Type: How the damage is applied. this needs to match the corresponding Weapon Type and UpdateFunction or the weapon can be broken
Motion Path Type: The type of projectile/animation used by the weapon. The number references a hard coded value. This needs to match corresponding weapon types and update functions or the weapon can be broken.
Required Energy or Quanta: Quanta used per cast if it's an Orbital Ability, or energy drained from unit when weapon is fired.
WeaponVisual: References a line in the \GameCore\WeaponVisual.csv file, which determines the visual effect and alignment used.
MissileLocation: References a line in the \GameCore\MissileLocations.csv file which determines the alignment of each missile is fired from in a missile or multi-barrelled weapon.
Quanta Per Cast: How much an Orbital Ability ramps up in price each time it is used. 0.25 means the ability will cost +25% when it used each time.
Note, there will be multiple weapons for an Orbital Ability. For example, the cast ability "weapon" and the weapon then used by that Orbital Ability. Have a look for which one has a Quanta cost if you are unsure.