Difference between revisions of "AI War 2:Special Mechanics"

From Arcen Wiki
Jump to navigation Jump to search
Line 35: Line 35:
 
Ion damage is a special form of radiation that affects ships of a lower mark level than the attacker.  Notably, a weapon with ion damage '''can only hit ships that have a lower mark level than itself'''.  Ion weapons also '''cannot hit markless ships'''.
 
Ion damage is a special form of radiation that affects ships of a lower mark level than the attacker.  Notably, a weapon with ion damage '''can only hit ships that have a lower mark level than itself'''.  Ion weapons also '''cannot hit markless ships'''.
  
The greater the difference in mark levels between the attacker and the defender, the more damage the attacker does.  However, defending ships with a sufficiently high albedo are also immune to ion damage.  The ion weapon has a rating on itself that states what maximum albedo it is able to hit; so not all ion weapons are equal.
+
The greater the difference in mark levels between the attacker and the defender, the more damage the attacker does.  However, defending ships with a sufficiently high [[AI War 2: Units of Measurement#Albedo|albedeo]] are also immune to ion damage.  The ion weapon has a rating on itself that states what maximum [[AI War 2: Units of Measurement#Albedo|albedeo]] it is able to hit; so not all ion weapons are equal.
  
 
Another inequality between ion weapons is just how much damage they do based on the difference in mark levels.  Some may only have a 20% ion damage rating, and thus do 20% damage to a ship that is 1 level below them, 40% to a ship that is two levels below them, and 40% damage to a ship three levels below them, etc.  Another weapon may have an 80% ion damage rating, and thus do 80% damage to a ship that is 1 level below them, and 100% damage to a ship that is 2 levels below them.  The amount of damage caps out at 100%.
 
Another inequality between ion weapons is just how much damage they do based on the difference in mark levels.  Some may only have a 20% ion damage rating, and thus do 20% damage to a ship that is 1 level below them, 40% to a ship that is two levels below them, and 40% damage to a ship three levels below them, etc.  Another weapon may have an 80% ion damage rating, and thus do 80% damage to a ship that is 1 level below them, and 100% damage to a ship that is 2 levels below them.  The amount of damage caps out at 100%.
Line 50: Line 50:
 
*** An ion weapon with a rating of 20% that is two levels above the ship would deal 100 damage, thus dropping the target's hull points to 140.
 
*** An ion weapon with a rating of 20% that is two levels above the ship would deal 100 damage, thus dropping the target's hull points to 140.
  
Reminder: if a potential target's albedo is higher than the ion system is rated for, OR the potential target's mark level is greater than or equal to the firing ship, OR the target is markless, then the ion weapon can't even fire at the target.
+
Reminder: if a potential target's [[AI War 2: Units of Measurement#Albedo|albedeo]] is higher than the ion system is rated for, OR the potential target's mark level is greater than or equal to the firing ship, OR the target is markless, then the ion weapon can't even fire at the target.
  
 
'''Modders:'''
 
'''Modders:'''
Line 58: Line 58:
 
You must also define ion_damage_to_albedo_less_than as being some value between 0 and 1.  If this is not defined, the default value is 0 and thus the ion weapon will not be able to hit anything and will never fire!  Ideally this ion_damage_to_albedo_less_than should be something like 0.5 at most, in order to not allow ion weapons to insta-kill Arks and similar high-quality ships.  That gets to feeling kinda funky.
 
You must also define ion_damage_to_albedo_less_than as being some value between 0 and 1.  If this is not defined, the default value is 0 and thus the ion weapon will not be able to hit anything and will never fire!  Ideally this ion_damage_to_albedo_less_than should be something like 0.5 at most, in order to not allow ion weapons to insta-kill Arks and similar high-quality ships.  That gets to feeling kinda funky.
  
That said, you could define something with a super low damage per mark level (0.05 for example for 5% damage per mark level difference), and then an albedo rating of 1 (so that it can hit absolutely any ship), and then you've got a pretty interesting gun that's powerful against low-level ships, particularly so against higher-health or higher-shield ships (since it's all percentage-based), but not insta-killy at all.  So there are cases where you might do all sorts of things.
+
That said, you could define something with a super low damage per mark level (0.05 for example for 5% damage per mark level difference), and then an [[AI War 2: Units of Measurement#Albedo|albedeo]] rating of 1 (so that it can hit absolutely any ship), and then you've got a pretty interesting gun that's powerful against low-level ships, particularly so against higher-health or higher-shield ships (since it's all percentage-based), but not insta-killy at all.  So there are cases where you might do all sorts of things.
  
 
== Vampirism (Self-Healing) ==
 
== Vampirism (Self-Healing) ==

Revision as of 11:19, 10 August 2018

Cloaking

~*~

Tachyon Beams

~*~

Tractor Beams

~*~

Gravity Fields

~*~

Bubble Forcefields

~*~

Personal Shields

~*~

Engine Stun

~*~

Paralysis

~*~

Ion Damage

Ion damage is a special form of radiation that affects ships of a lower mark level than the attacker. Notably, a weapon with ion damage can only hit ships that have a lower mark level than itself. Ion weapons also cannot hit markless ships.

The greater the difference in mark levels between the attacker and the defender, the more damage the attacker does. However, defending ships with a sufficiently high albedeo are also immune to ion damage. The ion weapon has a rating on itself that states what maximum albedeo it is able to hit; so not all ion weapons are equal.

Another inequality between ion weapons is just how much damage they do based on the difference in mark levels. Some may only have a 20% ion damage rating, and thus do 20% damage to a ship that is 1 level below them, 40% to a ship that is two levels below them, and 40% damage to a ship three levels below them, etc. Another weapon may have an 80% ion damage rating, and thus do 80% damage to a ship that is 1 level below them, and 100% damage to a ship that is 2 levels below them. The amount of damage caps out at 100%.

What exactly is the "damage percentage" based off of?

  • If the defending ship has any shield points at the moment, then it is based off the percentage of the maximum shield points that ship could have.
    • So if a ship has 250 max hull points and 200 max shield points, and currently has 250 hull points and 10 shield points...
      • An ion weapon with a rating of 100% would do 200 damage to the ship, thus causing the target ship's shield points to drop to 0, and the ship's hull points to drop to 60.
      • An ion weapon with a rating of 20% that is two levels above the ship would deal 80 damage, thus causing the shield points to drop to 0 and the hull points to drop to 180.
  • If the defending point has no shield points at the moment (regardless of whether their max shield points is above zero), then it is based off the percentage of the maximum hull points that ship could have.
    • So if a ship has 250 max hull points and 200 max shield points, and currently has 240 hull points and 0 shield points...
      • An ion weapon with a rating of 100% would do 250 damage to the ship, thus killing the target.
      • An ion weapon with a rating of 20% that is two levels above the ship would deal 100 damage, thus dropping the target's hull points to 140.

Reminder: if a potential target's albedeo is higher than the ion system is rated for, OR the potential target's mark level is greater than or equal to the firing ship, OR the target is markless, then the ion weapon can't even fire at the target.

Modders:

Define the ion_percentage_per_mark_level_lower on the system in question as being a floating point value between 0 and 1. A value of 1 would be a rating of 100% per mark level, as noted above, whereas a value of 0.2 would be a rating of 20% per mark level, as noted above.

You must also define ion_damage_to_albedo_less_than as being some value between 0 and 1. If this is not defined, the default value is 0 and thus the ion weapon will not be able to hit anything and will never fire! Ideally this ion_damage_to_albedo_less_than should be something like 0.5 at most, in order to not allow ion weapons to insta-kill Arks and similar high-quality ships. That gets to feeling kinda funky.

That said, you could define something with a super low damage per mark level (0.05 for example for 5% damage per mark level difference), and then an albedeo rating of 1 (so that it can hit absolutely any ship), and then you've got a pretty interesting gun that's powerful against low-level ships, particularly so against higher-health or higher-shield ships (since it's all percentage-based), but not insta-killy at all. So there are cases where you might do all sorts of things.

Vampirism (Self-Healing)

When these ships damage another ship, they also heal themselves. Depending on the strength of their vampirism, they may heal by just a portion of the damage they damage dealt, or could even do a magnified amount of healing.

This first repairs hull health, and then if the hull is fully repaired it will start repairing the shield health (personal or bubble, if present) of the ship.

Modders:

Simply define self_healing_portion on the system in question. A value of 1 will do equal healing to the attacker that it did damage to the defender. Note that a ship's health can't be increased above 0. A value of 0.5 would heal the attacker by half the amount of damage it dealt, and a value of 2 would do twice the healing compared to the damage it dealt.

Self-Damage

When these ships damage another ship, they also damage themselves. Depending on the strength of their self-damage, they may do just a portion of that damage to themselves, or could even do a magnified amount of damage to themselves.

As with any normal sort of damage, this will first damage the shield health of the personal or bubble forcefield that the attacker has, and then it will switch over to damaging the hull of that ship after that.

Note that if another ship is protecting the attacker via a bubble forcefield , that doesn't cause the attacker to damage the external bubble forcefield protecting it. The attacker can only damage itself, whether that be its own shields or hull.

An attacker WILL kill itself eventually if it attacks enough, and it will consider this essentially the normal cost of doing business, so to speak. It won't hold back when an attack would cause it to kill itself.

Modders:

Simply define self_damage_portion on the system in question. A value of 1 will do equal damage to the attacker and defender. A value of 0.5 would do half damage to the attacker, and a value of 2 would do twice damage to the attacker.

Repairs To Ships (Engineering)

These ships are able to heal other ships that are damaged.

Modders:

To set up a ship as able to assist, you must define an assist_range on the ship. Most engineers use VeryTiny3, or Tiny3 if you want it to be a bit larger. As the mark level of the ship increases, the range will automatically increase by the assist_range_multiplier that is defined on the central MarkLevel definitions that you can see in GameData/Configuration/Balance_MarkLevel.

You also must define at least one metal flow sub-node on the entity. In most cases, you will actually want to define multiple. The purposes available are as follows:

  • RepairingHullsOfFriendlies lets you repair the hulls of ships.
  • ReplacingLocalSquadLosses lots you repair dead sub-squads on multi-sub-squad ships. Without this, even if you have RepairingHullsOfFriendlies, you can't fully repair a ship that has lost a subsquad.
  • RepairingShieldsOfFriendlies lets you repair the personal or bubble shields of ships.
  • RepairingEnginesOfFriendlies lets you remove engine stun from ships.

Rebuilding

These ships are able to rebuild ships that have been destroyed and turned into burnt-out husks of themselves. This goes for things like golems that die and turn inactive, and things like turrets as well (this is a convenience so that you don't have to manually rebuild your turret placements every time one dies -- you just have to have rebuilders handy and then pay for the metal costs).

Modders:

To set up a ship as able to rebuild, you must define an assist_range on the ship, with the same notes on that as are on repair/assistance above.

You also must define a metal flow sub-node of the entity with a purpose of RebuildingRemains.

Assisting Ship Construction (Also Engineering)

These ships are able to speed up the construction of ships that are either self-building or which are being constructed via a queue inside a space dock or similar. This ability is typically on engineers, but can be given to other ships as well.

Modders:

To set up a ship as able to assist construction, you must define an assist_range on the ship, with the same notes on that as are on repair/assistance above.

You also must define a metal flow sub-node of the entity with a purpose of AssistConstruction.

Claiming Neutral Entities

These ships are able to go over to neutral ships or structures (anything from golems or other ships that are capturable to simple metal harvester spots) and repair them to turn your team color and start working for you.

Modders:

To set up a ship as able to claim neutral entities, you must define an assist_range on the ship, with the same notes on that as are on repair/assistance above.

You also must define a metal flow sub-node of the entity with a purpose of ClaimingNeutrals.

Spawning Drone Ships

~*~