From 9967613f0c08800115553ff1db25f417c4e6f24a Mon Sep 17 00:00:00 2001 From: Robin Chang Date: Tue, 31 Mar 2020 21:00:51 +0800 Subject: [PATCH 1/2] Update More Vanilla Turrets (WIP) --- .../MVT_CE_Patch_Ammo_Shells.xml | 102 +++ .../MVT_CE_Patch_Buildings_Security.xml | 748 ++++++++++++++++++ 2 files changed, 850 insertions(+) create mode 100644 Patches/More Vanilla Turrets/MVT_CE_Patch_Ammo_Shells.xml create mode 100644 Patches/More Vanilla Turrets/MVT_CE_Patch_Buildings_Security.xml diff --git a/Patches/More Vanilla Turrets/MVT_CE_Patch_Ammo_Shells.xml b/Patches/More Vanilla Turrets/MVT_CE_Patch_Ammo_Shells.xml new file mode 100644 index 0000000000..3ac46a9fed --- /dev/null +++ b/Patches/More Vanilla Turrets/MVT_CE_Patch_Ammo_Shells.xml @@ -0,0 +1,102 @@ + + + + + + +
  • + More Vanilla Turrets 1.1 +
  • + + + +
  • + Defs + + + + AmmoSet_81mmMortarShell_Plasma + + + Bullet_81mmMortarShell_Plasma + + + + + Shell_Plasma + + + ThirdParty/More Vanilla Turrets/PlasmaMortarShell + Graphic_Single + + + 237 + 6.5 + 8.17 + + Plasma + Bullet_81mmMortarShell_Plasma + + + + Bullet_81mmMortarShell_Plasma + + + ThirdParty/More Vanilla Turrets/PlasmaMortarProj + Graphic_Single + + + Bomb + 524 + 0 + 0 + 5 + true + 0.75 + true + GiantExplosion + Explosion_GiantBomb + + + + + MakeShell_Plasma + + Craft 5 81mm Plasma mortar shells. + Making 81mm Plasma mortar shells. + 49200 + +
  • + + +
  • Plasteel
  • + + + 120 + +
  • + + +
  • ComponentIndustrial
  • + + + 2 + + + + +
  • Plasteel
  • +
  • ComponentIndustrial
  • +
    +
    + + 5 + + + + + + +
    +
    +
    \ No newline at end of file diff --git a/Patches/More Vanilla Turrets/MVT_CE_Patch_Buildings_Security.xml b/Patches/More Vanilla Turrets/MVT_CE_Patch_Buildings_Security.xml new file mode 100644 index 0000000000..c7979971cd --- /dev/null +++ b/Patches/More Vanilla Turrets/MVT_CE_Patch_Buildings_Security.xml @@ -0,0 +1,748 @@ + + + + + + +
  • + More Vanilla Turrets 1.1 +
  • + + + +
  • + Gun_GunComplex + + 0.36 + 1 + 0.01 + 1.59 + 18.54 + + + 1.25 + CombatExtended.Verb_ShootCE + true + Bullet_50BMG_FMJ + 1.1 + 86 + 6 + 10 + Shot_Minigun + GunTail_Medium + + true + + 18 + Mounted + + + 100 + 7.8 + AmmoSet_50BMG + + + FALSE + SuppressFire + 5 + +
  • + +
  • + Defs/ThingDef[defName="GunComplex"]/specialDisplayRadius + + 86 + +
  • + + + +
  • + Gun_RocketComplex + + 1.50 + 2.23 + 0.2 + 2.16 + 14.71 + + + 0 + CombatExtended.Verb_ShootCE + true + Bullet_83mmSMAW_HEAT + 2.09 + 48 + 3 + InfernoCannon_Fire + GunTail_Heavy + true + false + 30 + + true + + Mounted + + + 5 + 8.6 + AmmoSet_83mmSMAW + + + FALSE + AimedShot + true + +
  • + +
  • + Defs/ThingDef[defName="RocketComplex"]/specialDisplayRadius + + 48 + +
  • + + + +
  • + Gun_TurretMilitary + + 0.36 + 1 + 0.02 + 2.13 + 37.08 + + + 0.83 + CombatExtended.Verb_ShootCE + true + Bullet_50BMG_FMJ + 1.1 + 86 + 6 + 20 + Shot_AssaultRifle + GunTail_Medium + 9 + Mounted + + + 200 + 15.6 + AmmoSet_50BMG + + + FALSE + AimedShot + 10 + true + true + +
  • + +
  • + Defs/ThingDef[defName="MilitaryTurretGun"]/specialDisplayRadius + + 86 + +
  • + + + +
  • + Gun_TurretMilitaryManned + + 0.36 + 1 + 0.02 + 2.13 + 37.08 + + + 0.83 + CombatExtended.Verb_ShootCE + true + Bullet_50BMG_FMJ + 1.1 + 126 + 6 + 20 + Shot_AssaultRifle + GunTail_Medium + 9 + Mounted + + + 200 + 15.6 + AmmoSet_50BMG + + + FALSE + AimedShot + 10 + true + true + +
  • + +
  • + Defs/ThingDef[defName="MilitaryTurretGunManned"]/specialDisplayRadius + + 86 + +
  • + + + +
  • + Gun_TurretShredder + + 0.35 + 1.00 + 0.14 + 2.02 + 10.66 + + + 0.34 + CombatExtended.Verb_ShootCE + true + Bullet_12Gauge_Buck + 0.6 + 20 + 3 + 4 + Shot_Shotgun + GunTail_Medium + 18 + Mounted + false + + true + + + + 100 + 4.9 + AmmoSet_12Gauge + + + TRUE + AimedShot + 4 + true + true + +
  • + +
  • + Defs/ThingDef[defName="ShredderTurretGun"]/specialDisplayRadius + + 20 + +
  • + + + +
  • + Gun_TurretShredderManned + + 0.35 + 1.00 + 0.14 + 2.02 + 10.66 + + + 0.34 + CombatExtended.Verb_ShootCE + true + Bullet_12Gauge_Buck + 0.6 + 20 + 3 + 4 + Shot_Shotgun + GunTail_Medium + 18 + Mounted + false + + true + + + + 100 + 4.9 + AmmoSet_12Gauge + + + TRUE + AimedShot + 4 + true + true + +
  • + +
  • + Defs/ThingDef[defName="ShredderTurretGunManned"]/specialDisplayRadius + + 20 + +
  • + + + +
  • + Gun_TurretPrecision + + 0.37 + 1 + 0.01 + 1.32 + 28.72 + + + 1.80 + CombatExtended.Verb_ShootCE + true + Bullet_25x137mmNATO_Sabot + 1.4 + 89 + 6 + 5 + Shot_SniperRifle + GunTail_Medium + + true + + 45 + Mounted + + + 100 + 7.8 + AmmoSet_25x137mmNATO + + + FALSE + AimedShot + 3 + +
  • + +
  • + Defs/ThingDef[defName="PrecisionTurretGun"]/specialDisplayRadius + + 89 + +
  • + + + +
  • + Gun_TurretPrecisionManned + + 0.37 + 1 + 0.01 + 1.32 + 28.72 + + + 1.80 + CombatExtended.Verb_ShootCE + true + Bullet_25x137mmNATO_Sabot + 1.4 + 89 + 6 + 5 + Shot_SniperRifle + GunTail_Medium + + true + + 45 + Mounted + + + 100 + 7.8 + AmmoSet_25x137mmNATO + + + FALSE + AimedShot + 3 + +
  • + +
  • + Defs/ThingDef[defName="PrecisionTurretGunManned"]/specialDisplayRadius + + 89 + +
  • + + + +
  • + Gun_BlastCharge + + 0.36 + 1 + 0.09 + 0.99 + 12.9 + + + 1.58 + CombatExtended.Verb_ShootCE + true + Bullet_40x53mmGrenade_HE + 1.1 + 40 + 5 + 6 + 3 + Mortar_LaunchA + GunTail_Heavy + 20 + Mounted + + + 48 + 7.8 + AmmoSet_40x53mmGrenade + + + FALSE + AimedShot + 3 + true + +
  • + +
  • + Defs/ThingDef[defName="BlastTurretGun"]/specialDisplayRadius + + 40 + +
  • + + + +
  • + Gun_BlastChargeManned + + 0.36 + 1 + 0.09 + 0.99 + 12.9 + + + 1.58 + CombatExtended.Verb_ShootCE + true + Bullet_40x53mmGrenade_HE + 1.1 + 40 + 5 + 6 + 3 + Mortar_LaunchA + GunTail_Heavy + 20 + Mounted + + + 48 + 7.8 + AmmoSet_40x53mmGrenade + + + FALSE + AimedShot + 3 + true + +
  • + +
  • + Defs/ThingDef[defName="BlastTurretGunManned"]/specialDisplayRadius + + 40 + +
  • + + + +
  • + Gun_VulcanCannon + + 0.36 + 1 + 0.01 + 1.20 + 20.27 + + + 1.80 + CombatExtended.Verb_ShootCE + true + Bullet_20x102mmNATO_Sabot + 4.1 + 62 + 6 + 1 + 40 + Shot_Minigun + GunTail_Heavy + 6 + Mounted + + + 100 + 7.8 + AmmoSet_20x102mmNATO + + + FALSE + AimedShot + 20 + true + true + +
  • + +
  • + Defs/ThingDef[defName="VulcanCannon"]/specialDisplayRadius + + 62 + +
  • + + + +
  • + Gun_VulcanCannonManned + + 0.36 + 1 + 0.01 + 1.20 + 20.27 + + + 1.80 + CombatExtended.Verb_ShootCE + true + Bullet_20x102mmNATO_Sabot + 4.1 + 62 + 4 + 1 + 40 + Shot_Minigun + GunTail_Heavy + 6 + Mounted + + + 100 + 7.8 + AmmoSet_20x102mmNATO + + + FALSE + AimedShot + 20 + true + true + +
  • + +
  • + Defs/ThingDef[defName="VulcanCannonManned"]/specialDisplayRadius + + 62 + +
  • + +
  • + Defs/ThingDef[ + defName="VulcanCannon" or + defName="VulcanCannonManned" + ]/passability + + + PassThroughOnly + +
  • + +
  • + Defs/ThingDef[ + defName="VulcanCannon" or + defName="VulcanCannonManned" + ] + + + 200 + +
  • + + + +
  • + Artillery_DevastatorBomb + + CombatExtended.Verb_ShootMortarCE + false + true + Bullet_81mmMortarShell_Plasma + 1.2 + 20 + 500 + 5 + ChargeLance_Fire + GunTail_Heavy + 55 + 1 + false + 0.2 + + true + + + + 25 + 5 + AmmoSet_81mmMortarShell_Plasma + +
  • + +
  • + Defs/ThingDef[defName = "Artillery_DevastatorBomb"]/comps + +
  • + +
  • 30
  • +
  • 50
  • +
  • 70
  • +
  • 90
  • + + + + + +
  • + Defs/ThingDef[defName="Turret_DevastatorMortarBomb"]/building/turretBurstCooldownTime + + 15 + +
  • + +
  • + Defs/ThingDef[defName="Bullet_81mmMortarShell_Plasma"]/graphicData/texPath + + Things/Building/Security/DevastatorShell + +
  • + + + + + +
  • + Defs/ThingDef[ + defName="GunComplex" or + defName="RocketComplex" or + defName="MilitaryTurretGun" or + defName="MilitaryTurretGunManned" or + defName="ShredderTurretGun" or + defName="ShredderTurretGunManned" or + defName="PrecisionTurretGun" or + defName="PrecisionTurretGunManned" or + defName="BlastTurretGun" or + defName="BlastTurretGunManned" or + defName="VulcanCannon" or + defName="VulcanCannonManned" or + defName="Turret_DevastatorMortarBomb" + ]/thingClass + + CombatExtended.Building_TurretGunCE + +
  • + +
  • + Defs/ThingDef[ + defName="MilitaryTurretGun" or + defName="MilitaryTurretGunManned" or + defName="ShredderTurretGun" or + defName="ShredderTurretGunManned" or + defName="PrecisionTurretGun" or + defName="PrecisionTurretGunManned" or + defName="BlastTurretGun" or + defName="BlastTurretGunManned" + ]/fillPercent + + 0.85 + +
  • + +
  • + Defs/ThingDef[ + defName="GunComplex" or + defName="RocketComplex" or + defName="MilitaryTurretGun" or + defName="MilitaryTurretGunManned" or + defName="ShredderTurretGun" or + defName="ShredderTurretGunManned" or + defName="PrecisionTurretGun" or + defName="PrecisionTurretGunManned" or + defName="BlastTurretGun" or + defName="BlastTurretGunManned" or + defName="VulcanCannon" or + defName="VulcanCannonManned" + ]/comps/li[@Class = "CompProperties_Refuelable"] +
  • + +
  • + Defs/ThingDef[ + defName="GunComplex" or + defName="RocketComplex" or + defName="MilitaryTurretGun" or + defName="MilitaryTurretGunManned" or + defName="ShredderTurretGun" or + defName="ShredderTurretGunManned" or + defName="PrecisionTurretGun" or + defName="PrecisionTurretGunManned" or + defName="BlastTurretGun" or + defName="BlastTurretGunManned" or + defName="VulcanCannon" or + defName="VulcanCannonManned" + ]/statBases + + 1 + 1 + +
  • + +
  • + Defs/ResearchProjectDef[defName="VulcanCannon"]/prerequisites/li[text()="MultibarrelWeapons"] +
  • + +
    +
    +
    \ No newline at end of file From 46e7e71415b9d236d5a5f9be7d5c8d8448ff05e9 Mon Sep 17 00:00:00 2001 From: Robin Chang Date: Tue, 31 Mar 2020 21:02:17 +0800 Subject: [PATCH 2/2] Uncomment success=Always from More Vanilla Turret patches --- Patches/More Vanilla Turrets/MVT_CE_Patch_Ammo_Shells.xml | 2 +- .../More Vanilla Turrets/MVT_CE_Patch_Buildings_Security.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Patches/More Vanilla Turrets/MVT_CE_Patch_Ammo_Shells.xml b/Patches/More Vanilla Turrets/MVT_CE_Patch_Ammo_Shells.xml index 3ac46a9fed..a4f833d102 100644 --- a/Patches/More Vanilla Turrets/MVT_CE_Patch_Ammo_Shells.xml +++ b/Patches/More Vanilla Turrets/MVT_CE_Patch_Ammo_Shells.xml @@ -1,7 +1,7 @@ - + Always
  • diff --git a/Patches/More Vanilla Turrets/MVT_CE_Patch_Buildings_Security.xml b/Patches/More Vanilla Turrets/MVT_CE_Patch_Buildings_Security.xml index c7979971cd..50c04541af 100644 --- a/Patches/More Vanilla Turrets/MVT_CE_Patch_Buildings_Security.xml +++ b/Patches/More Vanilla Turrets/MVT_CE_Patch_Buildings_Security.xml @@ -1,7 +1,7 @@ - + Always