-
-
Notifications
You must be signed in to change notification settings - Fork 418
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version bump for Modularisation Weapon
- Loading branch information
1 parent
56821ed
commit ddd1943
Showing
85 changed files
with
17,629 additions
and
0 deletions.
There are no files selected for viewing
321 changes: 321 additions & 0 deletions
321
Mods/Weapon-Modularisation-SK-Armory/1.5/Defs/NewGuns.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,321 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<Defs> | ||
<ThingDef ParentName="BaseGun_LongBarreled"> | ||
<defName>Gun_HK417Gun</defName> | ||
<label>HK417</label> | ||
<description>The HK417 is an extremely accurate battle rifle. Equipped with the right sights, it's a top-tier designated marksman rifle. Swap out for a long barrel, and you got yourself a sniper rifle. The proprietary transparent polymer magazine only comes in the 20-round size and cannot be upgraded. | ||
Type: 7.62x51mm Battle / Marksman Rifle | ||
Pros: Power / Excellent range and accuracy / Manageable recoil | ||
Cons: Small proprietary clip / Slow to aim</description> | ||
<graphicData> | ||
<texPath>Things/Weapons/HK417</texPath> | ||
<graphicClass>Graphic_Single</graphicClass> | ||
<drawSize>(1.3,1.3)</drawSize> | ||
</graphicData> | ||
<soundInteract>Interact_Rifle</soundInteract> | ||
<statBases> | ||
<MarketValue>2250</MarketValue> | ||
<SightsEfficiency>1.1</SightsEfficiency> | ||
<ShotSpread>0.04</ShotSpread> | ||
<SwayFactor>1.1</SwayFactor> | ||
<RangedWeapon_Cooldown>0.86</RangedWeapon_Cooldown> | ||
<Bulk>11</Bulk> | ||
<Mass>5.5</Mass> | ||
</statBases> | ||
<weaponTags> | ||
<li>RF4</li> | ||
<li>AdvancedGun</li> | ||
<li>IndustrialGunAdvanced</li> | ||
<li>TierThreeRifle</li> | ||
<li>CE_AI_Rifle</li> | ||
</weaponTags> | ||
<thingCategories> | ||
<li>Rifles</li> | ||
</thingCategories> | ||
<verbs> | ||
<li Class="CombatExtended.VerbPropertiesCE"> | ||
<recoilAmount>1.4</recoilAmount> | ||
<verbClass>CombatExtended.Verb_ShootCE</verbClass> | ||
<hasStandardCommand>true</hasStandardCommand> | ||
<defaultProjectile>Bullet_762x51mmNATO_FMJ</defaultProjectile> | ||
<warmupTime>1.1</warmupTime> | ||
<range>55</range> | ||
<burstShotCount>4</burstShotCount> | ||
<ticksBetweenBurstShots>4</ticksBetweenBurstShots> | ||
<soundCast>Shot_AssaultRifle</soundCast> | ||
<soundCastTail>GunTail_Medium</soundCastTail> | ||
<muzzleFlashScale>9</muzzleFlashScale> | ||
</li> | ||
</verbs> | ||
<modExtensions> | ||
<li Class="CombatExtended.GunDrawExtension"> | ||
<DrawSize>1.3,1.3</DrawSize> | ||
</li> | ||
</modExtensions> | ||
<comps> | ||
<li Class="CombatExtended.CompProperties_FireModes"> | ||
<aiUseBurstMode>FALSE</aiUseBurstMode> | ||
<aiAimMode>AimedShot</aiAimMode> | ||
<aimedBurstShotCount>3</aimedBurstShotCount> | ||
</li> | ||
<li Class="CombatExtended.CompProperties_AmmoUser"> | ||
<magazineSize>20</magazineSize> | ||
<reloadTime>2.3</reloadTime> | ||
<ammoSet>AmmoSet_762x51mmNATO</ammoSet> | ||
</li> | ||
<!-- Attachmant stuff --> | ||
<li Class="RW_NodeTree.CompProperties_ChildNodeProccesser"> | ||
<TextureSizeFactor>320</TextureSizeFactor> | ||
<TextureFilterMode>Point</TextureFilterMode> | ||
<ExceedanceFactor>2</ExceedanceFactor> | ||
<ExceedanceOffset>1</ExceedanceOffset> | ||
</li> | ||
<li Class="RW_ModularizationWeapon.CompProperties_ModularizationWeapon"> | ||
<setRandomPartWhenCreate>true</setRandomPartWhenCreate> | ||
<attachmentProperties> | ||
<li> | ||
<id>ModAR_Sight</id> | ||
<name>sight</name> | ||
<UITexPath>ui/icons/AttachmentIcon/AttachmentIcon_Scope</UITexPath> | ||
<postion>(-0.0208,0.1,0.0247)</postion> | ||
<scale>(0.845,0,0.845)</scale> | ||
<allowEmpty>true</allowEmpty> | ||
<filter> | ||
<thingDefs> | ||
<li>Module_ACOG</li> | ||
<li>Module_HoloSight</li> | ||
<li>Module_RedDotSight</li> | ||
<li>Module_SniperScope</li> | ||
<li>Module_AdvSniperScope</li> | ||
</thingDefs> | ||
</filter> | ||
</li> | ||
<li> | ||
<id>ModAR_UnderBarrel</id> | ||
<name>under barrel</name> | ||
<UITexPath>ui/icons/AttachmentIcon/AttachmentIcon_Underbarrel</UITexPath> | ||
<verbPropertiesObjectPatchByChildPart Default="false" /> | ||
<postion>(0.0897,0.1,0)</postion> | ||
<scale>(0.975,0,0.975)</scale> | ||
<allowEmpty>true</allowEmpty> | ||
<filter> | ||
<thingDefs> | ||
<li>Module_Bipod</li> | ||
<li>Module_UBGL</li> | ||
<li>Module_MasterKey</li> | ||
<li>Module_VerticalGrip</li> | ||
<li>Module_AngledGrip</li> | ||
</thingDefs> | ||
</filter> | ||
<allowedExtraCompType> | ||
<li>CombatExtended.BipodComp</li> | ||
<li>CombatExtended.CompUnderBarrel</li> | ||
</allowedExtraCompType> | ||
</li> | ||
<li> | ||
<id>ModAR_Receiver</id> | ||
<name>chamber</name> | ||
<UITexPath>ui/icons/AttachmentIcon/AttachmentIcon_Receiver</UITexPath> | ||
<postion>(0,0.1,0)</postion> | ||
<allowEmpty>true</allowEmpty> | ||
<filter> | ||
<thingDefs> | ||
<li>Module_AR_Chamber</li> | ||
</thingDefs> | ||
</filter> | ||
</li> | ||
<li> | ||
<id>ModAR_Muzzle</id> | ||
<name>muzzle</name> | ||
<UITexPath>ui/icons/AttachmentIcon/AttachmentIcon_Muzzle</UITexPath> | ||
<postion>(0.42,0.1,0)</postion> | ||
<scale>(0.975,0,0.975)</scale> | ||
<allowEmpty>true</allowEmpty> | ||
<filter> | ||
<thingDefs> | ||
<li>Module_Silencer</li> | ||
<li>Module_MuzzleBrake</li> | ||
<li>Module_MuzzleCompensator</li> | ||
<li>Module_FlashHider</li> | ||
<li>Module_AR_LongBarrel</li> | ||
<!-- <li>Module_Bayonet</li> --> | ||
</thingDefs> | ||
</filter> | ||
</li> | ||
</attachmentProperties> | ||
<compGetGizmosExtraAllowedCompType> | ||
<li>CombatExtended.CompAmmoUser</li> | ||
<li>CombatExtended.CompFireModes</li> | ||
</compGetGizmosExtraAllowedCompType> | ||
<compPropertiesInitializeCompType> | ||
<li>CombatExtended.CompAmmoUser</li> | ||
<li>CombatExtended.CompFireModes</li> | ||
</compPropertiesInitializeCompType> | ||
<compPropertiesCreateInstanceCompType> | ||
<li>CombatExtended.CompFireModes</li> | ||
</compPropertiesCreateInstanceCompType> | ||
</li> | ||
<!-- end attachment stuff--> | ||
</comps> | ||
<smeltProducts> | ||
<AdvRifle_Component>1</AdvRifle_Component> | ||
<Weapon_Parts>6</Weapon_Parts> | ||
</smeltProducts> | ||
</ThingDef> | ||
|
||
|
||
|
||
<ThingDef ParentName="BaseGun_ShortBarreled"> | ||
<defName>Gun_Glock17Gun</defName> | ||
<label>Glock 17</label> | ||
<description>A sturdy, repliable handgun which set an industry standard. It's got a bit of recoil so it's harder to reqacquire targets. Its frame is made of a durable, lightweight polymer. | ||
Type: 9mm Pistol | ||
Pros: Magazine and scope options / Mass | ||
Cons: Only average performance</description> | ||
<graphicData> | ||
<texPath>Things/Weapons/Glock17</texPath> | ||
<graphicClass>Graphic_Single</graphicClass> | ||
</graphicData> | ||
<soundInteract>Interact_Revolver</soundInteract> | ||
<statBases> | ||
<MarketValue>350</MarketValue> | ||
<SightsEfficiency>0.9</SightsEfficiency> | ||
<ShotSpread>0.12</ShotSpread> | ||
<SwayFactor>1.2</SwayFactor> | ||
<RangedWeapon_Cooldown>0.29</RangedWeapon_Cooldown> | ||
<Bulk>2</Bulk> | ||
<Mass>0.7</Mass> | ||
</statBases> | ||
<weaponTags> | ||
<li>PT2</li> | ||
<li>Gun</li> | ||
<li>TierTwoPistol</li> | ||
<li>CE_Sidearm</li> | ||
<li>CE_AI_Pistol</li> | ||
<li>CE_OneHandedWeapon</li> | ||
</weaponTags> | ||
<weaponClasses> | ||
<li>RangedLight</li> | ||
</weaponClasses> | ||
<thingCategories> | ||
<li>Pistols</li> | ||
</thingCategories> | ||
<verbs> | ||
<li Class="CombatExtended.VerbPropertiesCE"> | ||
<verbClass>CombatExtended.Verb_ShootCE</verbClass> | ||
<hasStandardCommand>true</hasStandardCommand> | ||
<defaultProjectile>Bullet_9x19mmPara_FMJ</defaultProjectile> | ||
<warmupTime>0.22</warmupTime> | ||
<range>28</range> | ||
<soundCast>RF_ShotAT2K</soundCast> | ||
<soundCastTail>GunTail_Light</soundCastTail> | ||
<muzzleFlashScale>9</muzzleFlashScale> | ||
</li> | ||
</verbs> | ||
<comps> | ||
<li Class="CombatExtended.CompProperties_FireModes"> | ||
<aiUseBurstMode>FALSE</aiUseBurstMode> | ||
<aiAimMode>AimedShot</aiAimMode> | ||
</li> | ||
<li Class="CombatExtended.CompProperties_AmmoUser"> | ||
<magazineSize>10</magazineSize> | ||
<reloadTime>1.5</reloadTime> | ||
<ammoSet>AmmoSet_9x19mmPara</ammoSet> | ||
</li> | ||
|
||
<li Class="RW_NodeTree.CompProperties_ChildNodeProccesser"> | ||
<TextureSizeFactor>256</TextureSizeFactor> | ||
<TextureFilterMode>Point</TextureFilterMode> | ||
<ExceedanceFactor>2</ExceedanceFactor> | ||
<ExceedanceOffset>1</ExceedanceOffset> | ||
</li> | ||
<li Class="RW_ModularizationWeapon.CompProperties_ModularizationWeapon"> | ||
<setRandomPartWhenCreate>true</setRandomPartWhenCreate> | ||
<attachmentProperties> | ||
<li> | ||
<id>ModAP_Magazine</id> | ||
<name>magazine</name> | ||
<UITexPath>ui/icons/AttachmentIcon/AttachmentIcon_Mag</UITexPath> | ||
<postion>(-0.094,-0.1,-0.066)</postion> | ||
<scale>(-1,1,1)</scale> | ||
<defultThing>Module_HvySMGAngled15_MagClip</defultThing> | ||
<allowEmpty>true</allowEmpty> | ||
<filter> | ||
<thingDefs> | ||
<li>Module_HvySMGAngled15_MagClip</li> | ||
<li>Module_HvySMGAngled_MagClip</li> | ||
<li>Module_HvySNG_MagDrum</li> | ||
</thingDefs> | ||
</filter> | ||
<!-- <randomThingDefWeights> | ||
<Module_HvySMGAngled15_MagClip>1</Module_HvySMGAngled15_MagClip> | ||
<Module_HvySMGAngled_MagClip>1</Module_HvySMGAngled_MagClip> | ||
</randomThingDefWeights> --> | ||
<verbPropertiesObjectPatchByChildPart Default="false" /> | ||
</li> | ||
<li> | ||
<id>ModAP_Sight</id> | ||
<name>sight</name> | ||
<UITexPath>ui/icons/AttachmentIcon/AttachmentIcon_Scope</UITexPath> | ||
<postion>(0.122,0.1,0.035)</postion> | ||
<allowEmpty>true</allowEmpty> | ||
<filter> | ||
<thingDefs> | ||
<li>Module_ACOG</li> | ||
<li>Module_HoloSight</li> | ||
<li>Module_RedDotSight</li> | ||
</thingDefs> | ||
</filter> | ||
</li> | ||
<li> | ||
<id>ModAP_Muzzle</id> | ||
<name>muzzle</name> | ||
<UITexPath>ui/icons/AttachmentIcon/AttachmentIcon_Muzzle</UITexPath> | ||
<postion>(0.258,-0.1,0.051)</postion> | ||
<scale>(0.75,0,0.75)</scale> | ||
<allowEmpty>true</allowEmpty> | ||
<filter> | ||
<thingDefs> | ||
<li>Module_Silencer</li> | ||
<li>Module_MuzzleBrake</li> | ||
<li>Module_MuzzleCompensator</li> | ||
<li>Module_FlashHider</li> | ||
</thingDefs> | ||
</filter> | ||
</li> | ||
<li> | ||
<id>ModAP_Stock</id> | ||
<name>stock</name> | ||
<UITexPath>ui/icons/AttachmentIcon/AttachmentIcon_Stock</UITexPath> | ||
<postion>(-0.422,0.1,-0.155)</postion> | ||
<scale>(1,1,-1)</scale> | ||
<allowEmpty>true</allowEmpty> | ||
<filter> | ||
<thingDefs> | ||
<li>Module_HvySMG_WireStock</li> | ||
</thingDefs> | ||
</filter> | ||
</li> | ||
</attachmentProperties> | ||
<compGetGizmosExtraAllowedCompType> | ||
<li>CombatExtended.CompAmmoUser</li> | ||
<li>CombatExtended.CompFireModes</li> | ||
</compGetGizmosExtraAllowedCompType> | ||
<compPropertiesInitializeCompType> | ||
<li>CombatExtended.CompAmmoUser</li> | ||
<li>CombatExtended.CompFireModes</li> | ||
</compPropertiesInitializeCompType> | ||
<compPropertiesCreateInstanceCompType> | ||
<li>CombatExtended.CompFireModes</li> | ||
</compPropertiesCreateInstanceCompType> | ||
</li> | ||
|
||
</comps> | ||
<smeltProducts> | ||
<Pistol_Component>1</Pistol_Component> | ||
<Weapon_Parts>1</Weapon_Parts> | ||
</smeltProducts> | ||
</ThingDef> | ||
|
||
|
||
</Defs> |
68 changes: 68 additions & 0 deletions
68
...n-Modularisation-SK-Armory/1.5/Defs/RecipeDef_Weapons_NewGuns/Recipes_Weapons_Pistols.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Defs> | ||
|
||
<RecipeDef ParentName="RangedWeaponRecipeBase"> | ||
<defName>BuildGun_Glock17Gun</defName> | ||
<label>Build Glock 17</label> | ||
<description>Build a Glock 17 pistol. A sturdy, repliable handgun which set an industry standard. It's got a bit of recoil so it's harder to reqacquire targets.\nCaliber: .45 ACP</description> | ||
<jobString>Building Glock 17.</jobString> | ||
<workAmount>9100</workAmount> | ||
<skillRequirements> | ||
<Crafting>4</Crafting> | ||
</skillRequirements> | ||
<ingredients> | ||
<li> | ||
<filter> | ||
<thingDefs> | ||
<li>Pistol_Component</li> | ||
</thingDefs> | ||
</filter> | ||
<count>1</count> | ||
</li> | ||
<li> | ||
<filter> | ||
<thingDefs> | ||
<li>Weapon_Parts</li> | ||
</thingDefs> | ||
</filter> | ||
<count>1</count> | ||
</li> | ||
<li> | ||
<filter> | ||
<thingDefs> | ||
<li>ComponentIndustrial</li> | ||
</thingDefs> | ||
</filter> | ||
<count>10</count> | ||
</li> | ||
<li> | ||
<filter> | ||
<thingDefs> | ||
<li>Plastic</li> | ||
</thingDefs> | ||
</filter> | ||
<count>25</count> | ||
</li> | ||
</ingredients> | ||
<products> | ||
<Gun_Glock17Gun>1</Gun_Glock17Gun> | ||
</products> | ||
<fixedIngredientFilter> | ||
<thingDefs> | ||
<li>Pistol_Component</li> | ||
<li>Weapon_Parts</li> | ||
<li>ComponentIndustrial</li> | ||
<li>Plastic</li> | ||
</thingDefs> | ||
<categories> | ||
<li>SLDBar</li> | ||
<li>USLDBar</li> | ||
</categories> | ||
</fixedIngredientFilter> | ||
<recipeUsers> | ||
<li>WeaponCraftingWorkTable</li> | ||
</recipeUsers> | ||
<researchPrerequisite>Gunsmithing</researchPrerequisite> | ||
</RecipeDef> | ||
|
||
</Defs> |
Oops, something went wrong.