Skip to content

Commit

Permalink
Give T3 MAA dummy weapons
Browse files Browse the repository at this point in the history
the cybran maa doesnt need one, it needs a different fix, which i think
is done my icecreamer.
the sera aa had its weapons swapped around so the ground one is primary
the uef/aeon ones got dummy weapons
  • Loading branch information
Exotic-Retard authored and aeoncleanse committed Dec 20, 2016
1 parent e350269 commit de904da
Show file tree
Hide file tree
Showing 3 changed files with 129 additions and 60 deletions.
34 changes: 34 additions & 0 deletions units/dalk003/DALK003_unit.bp
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
UnitBlueprint {
AI = { -- this is important - it stops it at the correct range on attack move
GuardScanRadius = 35, --make this a bit more than the weapon range, it needs time to stop
}, --30 would stop it just outside of acu range; deceiver stops eariler cos acu omni range is larger, and deceiver aoe is also larger
Audio = {
AmbientMove = Sound {
Bank = 'UAL',
Expand Down Expand Up @@ -219,6 +222,37 @@ UnitBlueprint {
Level5 = 75,
},
Weapon = {
{ -- special dummy weapon to make the unit stop a certain distance away
AutoInitiateAttackCommand = false,
CannotAttackGround = false,
Damage = 0,
DamageFriendly = false,
DamageType = 'Normal',
DisplayName = 'Target Tracker',
FireTargetLayerCapsTable = { --what the unit will stop for - shields dont need to stop for air units
Land = 'Air|Land|Water',
Water = 'Air|Land|Water',
},
MaxRadius = 33, -- this is the range the unit will try to stop at. change GuardScanRadius as well.
RackBones = {
{
MuzzleBones = {
'Turret', -- when moving to new unit, update these to something that exists on the unit
},
RackBone = 'Turret',
},
},
RateOfFire = 0.5,
ReTargetOnMiss = false,
TargetCheckInterval = 0.1,
TargetPriorities = {
'ALLUNITS',
},
TargetRestrictDisallow = 'UNTARGETABLE',
Turreted = false,
SlavedToBody = false,
WeaponCategory = 'Missile',
},
{
AlwaysRecheckTarget = true,
Audio = {
Expand Down
34 changes: 33 additions & 1 deletion units/delk002/DELK002_unit.bp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
UnitBlueprint {
AI = {
AI = { -- this is important - it stops it at the correct range on attack move
GuardScanRadius = 35, --make this a bit more than the weapon range, it needs time to stop
TargetBones = {
'Turret',
},
Expand Down Expand Up @@ -215,6 +216,37 @@ UnitBlueprint {
Level5 = 75,
},
Weapon = {
{ -- special dummy weapon to make the unit stop a certain distance away
AutoInitiateAttackCommand = false,
CannotAttackGround = false,
Damage = 0,
DamageFriendly = false,
DamageType = 'Normal',
DisplayName = 'Target Tracker',
FireTargetLayerCapsTable = { --what the unit will stop for - shields dont need to stop for air units
Land = 'Air|Land|Water',
Water = 'Air|Land|Water',
},
MaxRadius = 33, -- this is the range the unit will try to stop at. change GuardScanRadius as well.
RackBones = {
{
MuzzleBones = {
'Turret', -- when moving to new unit, update these to something that exists on the unit
},
RackBone = 'Turret',
},
},
RateOfFire = 0.5,
ReTargetOnMiss = false,
TargetCheckInterval = 0.1,
TargetPriorities = {
'ALLUNITS',
},
TargetRestrictDisallow = 'UNTARGETABLE',
Turreted = false,
SlavedToBody = false,
WeaponCategory = 'Missile',
},
{
AlwaysRecheckTarget = true,
Audio = {
Expand Down
121 changes: 62 additions & 59 deletions units/dslk004/DSLK004_unit.bp
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
UnitBlueprint {
AI = { -- this is important - it stops it at the correct range on attack move
GuardScanRadius = 35, --make this a bit more than the weapon range, it needs time to stop
}, --30 would stop it just outside of acu range; deceiver stops eariler cos acu omni range is larger, and deceiver aoe is also larger
Audio = {
AmbientMove = Sound {
Bank = 'XSL',
Expand Down Expand Up @@ -231,8 +234,7 @@ UnitBlueprint {
Level5 = 75,
},
Weapon = {
{
AlwaysRecheckTarget = true,
{
AboveWaterTargetsOnly = true,
Audio = {
Fire = Sound {
Expand All @@ -243,80 +245,77 @@ UnitBlueprint {
},
AutoInitiateAttackCommand = false,
BallisticArc = 'RULEUBA_None',
BeamCollisionDelay = 0.01,
BeamLifetime = 0.6,
CannotAttackGround = true,
BeamCollisionDelay = 0.05,
BeamLifetime = 0.4,
CollideFriendly = false,
ContinuousBeam = false,
Damage = 200,
Damage = 75,
DamageFriendly = false,
DamageRadius = 1,
DamageType = 'Normal',
DisplayName = 'Unstable Phason Laser',
DisplayName = 'Unstable Phason Laser 2',
FireTargetLayerCapsTable = {
Land = 'Air',
Land = 'Land',
},
FiringRandomness = 0,
FiringTolerance = 2,
Label = 'PhasonBeamAir',
FiringTolerance = 0,
Label = 'PhasonBeamGround',
LeadTarget = false,
MaxRadius = 48,
MaxRadius = 28,
MinRadius = 0,
MuzzleChargeDelay = 0,
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
RackBones = {
{
MuzzleBones = {
'muzzle01',
'muzzle02',
},
RackBone = 'muzzle01',
RackBone = 'muzzle02',
},
},
RackFireTogether = false,
RackRecoilDistance = 0,
RackReloadTimeout = 0,
RackSalvoChargeTime = 0,
RackSalvoReloadTime = 5,
RackSalvoReloadTime = 0,
RackSalvoSize = 1,
RackSlavedToTurret = false,
RangeCategory = 'UWRC_AntiAir',
RateOfFire = 1,
ReTargetOnMiss = true,
RangeCategory = 'UWRC_DirectFire',
RateOfFire = 0.25,
RequireTime = 0,
SlavedToBody = false,
TargetCheckInterval = 0.7,
TargetPriorities = {
'SPECIALHIGHPRI',
'AIR MOBILE HIGHPRIAIR',
'AIR MOBILE TECH3 BOMBER',
'AIR MOBILE BOMBER',
'AIR MOBILE GROUNDATTACK',
'AIR MOBILE TRANSPORTATION',
'AIR MOBILE',
'TECH3 MOBILE',
'TECH2 MOBILE',
'TECH1 MOBILE',
'STRUCTURE DEFENSE',
'SPECIALLOWPRI',
'ALLUNITS',
},
TargetRestrictDisallow = 'UNTARGETABLE',
TrackingRadius = 1.15,
TurretBoneMuzzle = 'muzzle01',
TurretBonePitch = 'muzzle01',
TurretBoneYaw = 'muzzle01',
TurretBoneMuzzle = 'muzzle02',
TurretBonePitch = 'muzzle02',
TurretBoneYaw = 'muzzle02',
TurretDualManipulators = false,
TurretPitch = 30,
TurretPitchRange = 180,
TurretPitch = 0,
TurretPitchRange = 60,
TurretPitchSpeed = 1000,
TurretYaw = 0,
TurretYawRange = 180,
TurretYawSpeed = 1000,
Turreted = true,
WeaponCategory = 'Anti Air',
WeaponRepackTimeout = 4,
WeaponUnpackAnimation = '/units/DSLK004/DSLK004_updummy.sca',
WeaponCategory = 'Direct Fire',
WeaponRepackTimeout = 4,
WeaponUnpackAnimation = '/units/DSLK004/DSLK004_unpack.sca',
WeaponUnpackAnimationRate = 3.8,
WeaponUnpackLocksMotion = false,
WeaponUnpacks = true,
},
{
{
AlwaysRecheckTarget = true,
AboveWaterTargetsOnly = true,
Audio = {
Fire = Sound {
Expand All @@ -327,71 +326,75 @@ UnitBlueprint {
},
AutoInitiateAttackCommand = false,
BallisticArc = 'RULEUBA_None',
BeamCollisionDelay = 0.05,
BeamLifetime = 0.4,
BeamCollisionDelay = 0.01,
BeamLifetime = 0.6,
CannotAttackGround = true,
CollideFriendly = false,
ContinuousBeam = false,
Damage = 75,
Damage = 200,
DamageFriendly = false,
DamageRadius = 1,
DamageType = 'Normal',
DisplayName = 'Unstable Phason Laser 2',
DisplayName = 'Unstable Phason Laser',
FireTargetLayerCapsTable = {
Land = 'Land',
Land = 'Air',
},
FiringTolerance = 0,
Label = 'PhasonBeamGround',
FiringRandomness = 0,
FiringTolerance = 2,
Label = 'PhasonBeamAir',
LeadTarget = false,
MaxRadius = 28,
MaxRadius = 48,
MinRadius = 0,
MuzzleChargeDelay = 0,
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
RackBones = {
{
MuzzleBones = {
'muzzle02',
'muzzle01',
},
RackBone = 'muzzle02',
RackBone = 'muzzle01',
},
},
RackFireTogether = false,
RackRecoilDistance = 0,
RackReloadTimeout = 0,
RackSalvoChargeTime = 0,
RackSalvoReloadTime = 0,
RackSalvoReloadTime = 5,
RackSalvoSize = 1,
RackSlavedToTurret = false,
RangeCategory = 'UWRC_DirectFire',
RateOfFire = 0.25,
RangeCategory = 'UWRC_AntiAir',
RateOfFire = 1,
ReTargetOnMiss = true,
RequireTime = 0,
SlavedToBody = false,
TargetCheckInterval = 0.7,
TargetPriorities = {
'SPECIALHIGHPRI',
'TECH3 MOBILE',
'TECH2 MOBILE',
'TECH1 MOBILE',
'STRUCTURE DEFENSE',
'AIR MOBILE HIGHPRIAIR',
'AIR MOBILE TECH3 BOMBER',
'AIR MOBILE BOMBER',
'AIR MOBILE GROUNDATTACK',
'AIR MOBILE TRANSPORTATION',
'AIR MOBILE',
'SPECIALLOWPRI',
'ALLUNITS',
},
TargetRestrictDisallow = 'UNTARGETABLE',
TrackingRadius = 1.15,
TurretBoneMuzzle = 'muzzle02',
TurretBonePitch = 'muzzle02',
TurretBoneYaw = 'muzzle02',
TurretBoneMuzzle = 'muzzle01',
TurretBonePitch = 'muzzle01',
TurretBoneYaw = 'muzzle01',
TurretDualManipulators = false,
TurretPitch = 0,
TurretPitchRange = 60,
TurretPitch = 30,
TurretPitchRange = 180,
TurretPitchSpeed = 1000,
TurretYaw = 0,
TurretYawRange = 180,
TurretYawSpeed = 1000,
Turreted = true,
WeaponCategory = 'Direct Fire',
WeaponRepackTimeout = 4,
WeaponUnpackAnimation = '/units/DSLK004/DSLK004_unpack.sca',
WeaponCategory = 'Anti Air',
WeaponRepackTimeout = 4,
WeaponUnpackAnimation = '/units/DSLK004/DSLK004_updummy.sca',
WeaponUnpackAnimationRate = 3.8,
WeaponUnpackLocksMotion = false,
WeaponUnpacks = true,
Expand Down

0 comments on commit de904da

Please sign in to comment.