Skip to content

Commit

Permalink
Rebalance
Browse files Browse the repository at this point in the history
Rebalanced thermobarics, added FSX and Prometheum to bulk goods trader,
added binoculars recipe, fixed secondary explosion description
  • Loading branch information
NoImageAvailable committed Apr 28, 2016
1 parent 67f4ed1 commit 7c35691
Show file tree
Hide file tree
Showing 9 changed files with 181 additions and 133 deletions.
Binary file modified Assemblies/CombatRealism.dll
Binary file not shown.
256 changes: 149 additions & 107 deletions Defs/ModHelperDefs/ModHelper.xml
Original file line number Diff line number Diff line change
@@ -1,123 +1,165 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>

<ModHelperDef>
<defName>CombatRealism</defName>
<ModName>CombatRealism</ModName>
<minCCLversion>0.13.0</minCCLversion>
<ModHelperDef>
<defName>CombatRealism</defName>
<ModName>CombatRealism</ModName>
<minCCLversion>0.13.0</minCCLversion>
<SpecialInjectors>
<li>Combat_Realism.Detours.DetourInjector</li>
<li>Combat_Realism.ITabInjector</li>
<li>Combat_Realism.AmmoInjector</li>
<li>Combat_Realism.ITabInjector</li>
<li>Combat_Realism.AmmoInjector</li>
</SpecialInjectors>
<ThingComps>
<li>
<compProps>
<compClass>CommunityCoreLibrary.CompPawnGizmo</compClass>
</compProps>
<targetDefs>
<li>Human</li>
</targetDefs>
</li>
<li>
<compProps>
<compClass>Combat_Realism.CompSuppressable</compClass>
</compProps>
<targetDefs>
<li>Human</li>
</targetDefs>
</li>
<li>
<compProps>
<compClass>Combat_Realism.CompInventory</compClass>
</compProps>
<targetDefs>
<li>Human</li>
<li>Mechanoid_Centipede</li>
<li>Mechanoid_Scyther</li>
</targetDefs>
</li>
<li>
<compProps Class="CommunityCoreLibrary.CompProperties_ShearableRenameable">
<compClass>CommunityCoreLibrary.CompShearableRenameable</compClass>
<growthLabel>Chemical fullness</growthLabel>
<shearIntervalDays>5</shearIntervalDays>
<woolAmount>5</woolAmount>
<woolDef>FSX</woolDef>
</compProps>
<targetDefs>
<li>Boomalope</li>
</targetDefs>
</li>
</ThingComps>
<TraderKinds>
<li>
<targetDef>Orbital_Misc_PirateMerchant</targetDef>
<stockGenerators>
<li Class="StockGenerator_Tag">
<tradeTag>CR_Ammo</tradeTag>
<countRange>
<min>500</min>
<max>1000</max>
</countRange>
<thingDefCountRange>
<ThingComps>
<li>
<compProps>
<compClass>CommunityCoreLibrary.CompPawnGizmo</compClass>
</compProps>
<targetDefs>
<li>Human</li>
</targetDefs>
</li>
<li>
<compProps>
<compClass>Combat_Realism.CompSuppressable</compClass>
</compProps>
<targetDefs>
<li>Human</li>
</targetDefs>
</li>
<li>
<compProps>
<compClass>Combat_Realism.CompInventory</compClass>
</compProps>
<targetDefs>
<li>Human</li>
<li>Mechanoid_Centipede</li>
<li>Mechanoid_Scyther</li>
</targetDefs>
</li>
<li>
<compProps Class="CommunityCoreLibrary.CompProperties_ShearableRenameable">
<compClass>CommunityCoreLibrary.CompShearableRenameable</compClass>
<growthLabel>Chemical fullness</growthLabel>
<shearIntervalDays>5</shearIntervalDays>
<woolAmount>5</woolAmount>
<woolDef>FSX</woolDef>
</compProps>
<targetDefs>
<li>Boomalope</li>
</targetDefs>
</li>
</ThingComps>
<TraderKinds>
<li>
<targetDef>Orbital_Misc_PirateMerchant</targetDef>
<stockGenerators>
<li Class="StockGenerator_Tag">
<tradeTag>CR_Ammo</tradeTag>
<countRange>
<min>500</min>
<max>1000</max>
</countRange>
<thingDefCountRange>
<min>-1</min>
<max>4</max>
</thingDefCountRange>
</li>
</stockGenerators>
</li>
<li>
<targetDef>Caravan_Outlander_PirateMerchant</targetDef>
<stockGenerators>
<li Class="StockGenerator_Tag">
<tradeTag>CR_Ammo</tradeTag>
<countRange>
<min>100</min>
<max>200</max>
</countRange>
<thingDefCountRange>
</thingDefCountRange>
</li>
</stockGenerators>
</li>
<li>
<targetDef>Caravan_Outlander_PirateMerchant</targetDef>
<stockGenerators>
<li Class="StockGenerator_Tag">
<tradeTag>CR_Ammo</tradeTag>
<countRange>
<min>100</min>
<max>200</max>
</countRange>
<thingDefCountRange>
<min>-1</min>
<max>2</max>
</thingDefCountRange>
</li>
</stockGenerators>
</li>
<li>
<targetDef>Orbital_Misc_CombatSupplier</targetDef>
<stockGenerators>
<li Class="StockGenerator_Tag">
<tradeTag>CR_Ammo</tradeTag>
<countRange>
<min>2000</min>
<max>5000</max>
</countRange>
<price>Cheap</price>
<thingDefCountRange>
</thingDefCountRange>
</li>
</stockGenerators>
</li>
<li>
<targetDef>Orbital_Misc_CombatSupplier</targetDef>
<stockGenerators>
<li Class="StockGenerator_Tag">
<tradeTag>CR_Ammo</tradeTag>
<countRange>
<min>2000</min>
<max>5000</max>
</countRange>
<price>Cheap</price>
<thingDefCountRange>
<min>3</min>
<max>9</max>
</thingDefCountRange>
</li>
</stockGenerators>
</li>
<li>
<targetDef>Caravan_Outlander_CombatSupplier</targetDef>
<stockGenerators>
<li Class="StockGenerator_Tag">
<tradeTag>CR_Ammo</tradeTag>
<countRange>
<min>500</min>
<max>2000</max>
</countRange>
<price>Cheap</price>
<thingDefCountRange>
</thingDefCountRange>
</li>
</stockGenerators>
</li>
<li>
<targetDef>Caravan_Outlander_CombatSupplier</targetDef>
<stockGenerators>
<li Class="StockGenerator_Tag">
<tradeTag>CR_Ammo</tradeTag>
<countRange>
<min>500</min>
<max>2000</max>
</countRange>
<price>Cheap</price>
<thingDefCountRange>
<min>2</min>
<max>5</max>
</thingDefCountRange>
</li>
</stockGenerators>
</li>
</TraderKinds>
</ModHelperDef>
</thingDefCountRange>
</li>
</stockGenerators>
</li>
<li>
<targetDef>Caravan_Outlander_BulkGoods</targetDef>
<stockGenerators>
<li Class="StockGenerator_SingleDef">
<thingDef>FSX</thingDef>
<price>Normal</price>
<countRange>
<min>-120</min>
<max>70</max>
</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Prometheum</thingDef>
<price>Normal</price>
<countRange>
<min>-120</min>
<max>70</max>
</countRange>
</li>
</stockGenerators>
</li>
<li>
<targetDef>Orbital_Misc_BulkGoods</targetDef>
<stockGenerators>
<li Class="StockGenerator_SingleDef">
<thingDef>FSX</thingDef>
<price>Normal</price>
<countRange>
<min>-300</min>
<max>300</max>
</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Prometheum</thingDef>
<price>Normal</price>
<countRange>
<min>-300</min>
<max>300</max>
</countRange>
</li>
</stockGenerators>
</li>
</TraderKinds>
</ModHelperDef>

</Defs>
7 changes: 6 additions & 1 deletion Defs/ThingDefs/Weapons_Spotting.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</projectile>
</ThingDef>

<ThingDef ParentName="BaseHumanGun">
<ThingDef ParentName="BaseMakeableGun">
<defName>Gun_BinocularsRadio</defName>
<label>binoculars</label>
<description>A pair of binoculars and a portable radio. Useful to coordinate artillery strikes.\n\nUsing this on a target will mark it, removing the indirect fire penalty from any artillery pieces targeting it. Additionally, any directed fire will use the aiming accuracy and efficiency of the spotter, rather than the artillery operator to determine final accuracy.</description>
Expand All @@ -27,10 +27,15 @@
<canBeSpawningInventory>false</canBeSpawningInventory>
<soundInteract>InteractRifle</soundInteract>
<statBases>
<WorkToMake>10500</WorkToMake>
<MarketValue>650</MarketValue>
<AimEfficiency>1.25</AimEfficiency>
<RangedWeapon_Cooldown>0.5</RangedWeapon_Cooldown>
</statBases>
<costList>
<Steel>100</Steel>
<Components>4</Components>
</costList>
<verbs>
<li Class="Combat_Realism.VerbPropertiesCR">
<verbClass>Combat_Realism.Verb_MarkForArtilleryCR</verbClass>
Expand Down
27 changes: 15 additions & 12 deletions Defs/ThingDefs_Ammo/Projectiles_Advanced.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
<!-- ==================== 30x64mm Fuel Cell ========================== -->

<ThingDef Name="Base30x64mmFuelBullet" ParentName="BaseBullet" Abstract="true">
<thingClass>Combat_Realism.ProjectileCR_Explosive</thingClass>
<graphicData>
<texPath>Things/Projectile/InfernoCannonShot</texPath>
<graphicClass>Graphic_Single</graphicClass>
Expand All @@ -31,6 +30,7 @@

<ThingDef ParentName="Base30x64mmFuelBullet">
<defName>Bullet_30x64mmFuel_Incendiary</defName>
<thingClass>Combat_Realism.ProjectileCR_Explosive</thingClass>
<label>incendiary bolt</label>
<projectile>
<damageDef>Flame</damageDef>
Expand All @@ -44,29 +44,32 @@
<defName>Bullet_30x64mmFuel_Thermobaric</defName>
<label>thermobaric bolt</label>
<projectile>
<damageDef>Bomb</damageDef>
<damageDef>Thermobaric</damageDef>
<damageAmountBase>100</damageAmountBase>
<explosionRadius>2.0</explosionRadius>
<soundExplode>MortarBomb_Explode</soundExplode>
</projectile>
<comps>
<li Class="Combat_Realism.CompProperties_ExplosiveCR">
<explosionDamage>20</explosionDamage>
<explosionDamageDef>Flame</explosionDamageDef>
<explosionDamage>50</explosionDamage>
<explosionDamageDef>Thermobaric</explosionDamageDef>
<explosionRadius>2.0</explosionRadius>
<soundExplode>MortarBomb_Explode</soundExplode>
<damageAdjacentTiles>true</damageAdjacentTiles>
</li>
</comps>
</ThingDef>

<ThingDef ParentName="Base30x64mmFuelBullet">
<defName>Bullet_30x64mmFuel_Foam</defName>
<thingClass>Combat_Realism.ProjectileCR_Explosive</thingClass>
<label>foam bolt</label>
<projectile>
<damageDef>Extinguish</damageDef>
<damageAmountBase>50</damageAmountBase>
<explosionRadius>5.0</explosionRadius>
<postExplosionSpawnThingDef>FilthFireFoam</postExplosionSpawnThingDef>
<explosionSpawnChance>1</explosionSpawnChance>
<damageAdjacentTiles>true</damageAdjacentTiles>
</projectile>
</ThingDef>

Expand All @@ -75,24 +78,24 @@
<ThingDef ParentName="BaseBullet" >
<defName>Bullet_80x256mmFuel_Thermobaric</defName>
<label>inferno cannon shell</label>
<thingClass>Combat_Realism.ProjectileCR_Explosive</thingClass>
<graphicData>
<texPath>Things/Projectile/InfernoCannonShot</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>TransparentPostLight</shaderType>
</graphicData>
<projectile>
<speed>180</speed>
<damageDef>Bomb</damageDef>
<damageAmountBase>250</damageAmountBase>
<explosionRadius>6.0</explosionRadius>
<damageDef>Thermobaric</damageDef>
<damageAmountBase>200</damageAmountBase>
<damageAdjacentTiles>true</damageAdjacentTiles>
</projectile>
<comps>
<li Class="Combat_Realism.CompProperties_ExplosiveCR">
<explosionDamage>40</explosionDamage>
<explosionDamageDef>Flame</explosionDamageDef>
<explosionRadius>6.0</explosionRadius>
<explosionDamage>100</explosionDamage>
<explosionDamageDef>Thermobaric</explosionDamageDef>
<explosionRadius>4.0</explosionRadius>
<soundExplode>MortarBomb_Explode</soundExplode>
<damageAdjacentTiles>true</damageAdjacentTiles>
</li>
</comps>
</ThingDef>
Expand Down
Loading

0 comments on commit 7c35691

Please sign in to comment.