Skip to content

Commit

Permalink
Fix 0 damage on Overcharge weapons
Browse files Browse the repository at this point in the history
Added the new overcharge array to unit blueprint
  • Loading branch information
Uveso authored and aeoncleanse committed Oct 31, 2018
1 parent 5070a63 commit f0e7d37
Show file tree
Hide file tree
Showing 5 changed files with 120 additions and 0 deletions.
36 changes: 36 additions & 0 deletions BlackOpsFAF-ACUs/units/EAL0001/EAL0001_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -1660,6 +1660,18 @@ UnitBlueprint {
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
MuzzleVelocity = 25,
Overcharge = {
energyMult = 0.9, -- for old game version.
commandDamage = 400, -- for old game version.
structureDamage = 800, -- for old game version.
maxDamage = 15000, -- for old game version.
minDamage = 1500, -- for old game version.
BaseDamage = 1000,
BaseEnergy = 500,
DamagePerCharge = 1000,
EnergyPerCharge = 500,
MaxCharges = 11,
},
OverChargeWeapon = true,
ProjectileId = '/projectiles/ADFOverCharge01/ADFOverCharge01_proj.bp',
ProjectileLifetimeUsesMultiplier = 2,
Expand Down Expand Up @@ -1730,6 +1742,18 @@ UnitBlueprint {
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
MuzzleVelocity = 25,
Overcharge = {
energyMult = 0.9, -- for old game version.
commandDamage = 400, -- for old game version.
structureDamage = 800, -- for old game version.
maxDamage = 15000, -- for old game version.
minDamage = 1500, -- for old game version.
BaseDamage = 1000,
BaseEnergy = 500,
DamagePerCharge = 1000,
EnergyPerCharge = 500,
MaxCharges = 11,
},
ProjectileId = '/projectiles/ADFOverCharge01/ADFOverCharge01_proj.bp',
ProjectileLifetimeUsesMultiplier = 2,
RackBones = {
Expand Down Expand Up @@ -2404,6 +2428,18 @@ UnitBlueprint {
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
MuzzleVelocity = 30,
Overcharge = {
energyMult = 0.9, -- for old game version.
commandDamage = 400, -- for old game version.
structureDamage = 800, -- for old game version.
maxDamage = 15000, -- for old game version.
minDamage = 1500, -- for old game version.
BaseDamage = 1000,
BaseEnergy = 500,
DamagePerCharge = 1000,
EnergyPerCharge = 500,
MaxCharges = 11,
},
ProjectileLifetimeUsesMultiplier = 1.15,
RackBones = {
{
Expand Down
24 changes: 24 additions & 0 deletions BlackOpsFAF-ACUs/units/EEL0001/EEL0001_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -1810,6 +1810,18 @@ UnitBlueprint {
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
MuzzleVelocity = 25,
Overcharge = {
energyMult = 0.9, -- for old game version.
commandDamage = 400, -- for old game version.
structureDamage = 800, -- for old game version.
maxDamage = 15000, -- for old game version.
minDamage = 1500, -- for old game version.
BaseDamage = 1000,
BaseEnergy = 500,
DamagePerCharge = 1000,
EnergyPerCharge = 500,
MaxCharges = 11,
},
OverChargeWeapon = true,
ProjectileId = '/projectiles/TDFOverCharge01/TDFOverCharge01_proj.bp',
ProjectileLifetimeUsesMultiplier = 2,
Expand Down Expand Up @@ -1887,6 +1899,18 @@ UnitBlueprint {
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
MuzzleVelocity = 25,
Overcharge = {
energyMult = 0.9, -- for old game version.
commandDamage = 400, -- for old game version.
structureDamage = 800, -- for old game version.
maxDamage = 15000, -- for old game version.
minDamage = 1500, -- for old game version.
BaseDamage = 1000,
BaseEnergy = 500,
DamagePerCharge = 1000,
EnergyPerCharge = 500,
MaxCharges = 11,
},
ProjectileId = '/projectiles/TDFOverCharge01/TDFOverCharge01_proj.bp',
ProjectileLifetimeUsesMultiplier = 2,
RackBones = {
Expand Down
24 changes: 24 additions & 0 deletions BlackOpsFAF-ACUs/units/ERL0001/ERL0001_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -1697,6 +1697,18 @@ UnitBlueprint {
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
MuzzleVelocity = 25,
Overcharge = {
energyMult = 0.9, -- for old game version.
commandDamage = 400, -- for old game version.
structureDamage = 800, -- for old game version.
maxDamage = 15000, -- for old game version.
minDamage = 1500, -- for old game version.
BaseDamage = 1000,
BaseEnergy = 500,
DamagePerCharge = 1000,
EnergyPerCharge = 500,
MaxCharges = 11,
},
OverChargeWeapon = true,
ProjectileId = '/projectiles/CDFCannonMolecularOvercharge01/CDFCannonMolecularOvercharge01_proj.bp',
ProjectileLifetimeUsesMultiplier = 2,
Expand Down Expand Up @@ -1766,6 +1778,18 @@ UnitBlueprint {
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
MuzzleVelocity = 25,
Overcharge = {
energyMult = 0.9, -- for old game version.
commandDamage = 400, -- for old game version.
structureDamage = 800, -- for old game version.
maxDamage = 15000, -- for old game version.
minDamage = 1500, -- for old game version.
BaseDamage = 1000,
BaseEnergy = 500,
DamagePerCharge = 1000,
EnergyPerCharge = 500,
MaxCharges = 11,
},
ProjectileId = '/projectiles/CDFCannonMolecularOvercharge01/CDFCannonMolecularOvercharge01_proj.bp',
ProjectileLifetimeUsesMultiplier = 2,
ProjectilesPerOnFire = 1,
Expand Down
24 changes: 24 additions & 0 deletions BlackOpsFAF-ACUs/units/ESL0001/ESL0001_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -1739,6 +1739,18 @@ UnitBlueprint {
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
MuzzleVelocity = 25,
Overcharge = {
energyMult = 0.9, -- for old game version.
commandDamage = 400, -- for old game version.
structureDamage = 800, -- for old game version.
maxDamage = 15000, -- for old game version.
minDamage = 1500, -- for old game version.
BaseDamage = 1000,
BaseEnergy = 500,
DamagePerCharge = 1000,
EnergyPerCharge = 500,
MaxCharges = 11,
},
OverChargeWeapon = true,
ProjectileId = '/projectiles/SDFChronatronCannon02/SDFChronatronCannon02_proj.bp',
ProjectileLifetimeUsesMultiplier = 2,
Expand Down Expand Up @@ -1810,6 +1822,18 @@ UnitBlueprint {
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
MuzzleVelocity = 25,
Overcharge = {
energyMult = 0.9, -- for old game version.
commandDamage = 400, -- for old game version.
structureDamage = 800, -- for old game version.
maxDamage = 15000, -- for old game version.
minDamage = 1500, -- for old game version.
BaseDamage = 1000,
BaseEnergy = 500,
DamagePerCharge = 1000,
EnergyPerCharge = 500,
MaxCharges = 11,
},
ProjectileId = '/projectiles/SDFChronatronCannon02/SDFChronatronCannon02_proj.bp',
ProjectileLifetimeUsesMultiplier = 2,
RackBones = {
Expand Down
12 changes: 12 additions & 0 deletions BlackOpsFAF-Unleashed/units/BAL0402/BAL0402_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,18 @@ UnitBlueprint {
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
MuzzleVelocity = 30,
Overcharge = {
energyMult = 0.9, -- for old game version.
commandDamage = 400, -- for old game version.
structureDamage = 800, -- for old game version.
maxDamage = 15000, -- for old game version.
minDamage = 1500, -- for old game version.
BaseDamage = 1000,
BaseEnergy = 500,
DamagePerCharge = 1000,
EnergyPerCharge = 500,
MaxCharges = 11,
},
ProjectileLifetimeUsesMultiplier = 1.15,
RackBones = {
{
Expand Down

0 comments on commit f0e7d37

Please sign in to comment.