Skip to content

Commit

Permalink
Added gun, audio. Tweaked damage values.
Browse files Browse the repository at this point in the history
  • Loading branch information
Epicguru committed May 28, 2020
1 parent 6d2f5b5 commit 56aca72
Show file tree
Hide file tree
Showing 43 changed files with 130 additions and 15 deletions.
1 change: 1 addition & 0 deletions Credits.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ Sound Effects & Music - Freesound.org users:
-Anomaex (Huge explosion N2 mine)
-JavierZumer (Railgun charge)
-dpren (Railgun charge/fire, gun shoot sounds)
-SuperPhat (Devastator sniper rifle)

All sounds used were posted under the Creative Commons or Attribution liscences.
42 changes: 39 additions & 3 deletions Defs/Factions/Pawn Kinds/UltratechPawns.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
<itemQuality>Normal</itemQuality>
<backstoryCryptosleepCommonality>0.2</backstoryCryptosleepCommonality>
<maxGenerationAge>55</maxGenerationAge>
<combatEnhancingDrugsChance>0.25</combatEnhancingDrugsChance>
<combatEnhancingDrugsCount>0~3</combatEnhancingDrugsCount>
<combatEnhancingDrugsChance>0.15</combatEnhancingDrugsChance>
<combatEnhancingDrugsCount>0~1</combatEnhancingDrugsCount>
<biocodeWeaponChance>0.2</biocodeWeaponChance>
<inventoryOptions>
<skipChance>0.80</skipChance> <!-- Chance to have Hyper Components: 2 in 10 -->
<!-- <skipChance>0</skipChance> Chance to have Hyper Components: 2 in 10 -->
<subOptionsChooseOne>
<li>
<thingDef>HyperComponent_AA</thingDef>
Expand Down Expand Up @@ -161,6 +161,42 @@
<defName>UltratechSniper_AA</defName>
</PawnKindDef>

<!-- Elite sniper implementation. Uses only spacer nad ultra sniper rifles.-->
<PawnKindDef ParentName="UltratechSniperBase_AA">
<defName>UltratechSniperAdvanced_AA</defName>
<label>ultratech elite sniper</label>
<combatPower>155</combatPower>
<gearHealthRange>0.7~3.0</gearHealthRange>
<apparelTags>
<li>IndustrialAdvanced</li>
<li>IndustrialMilitaryAdvanced</li>
<li>SpacerMilitary</li>
</apparelTags>
<apparelMoney>1200~2500</apparelMoney>
<apparelAllowHeadgearChance>0.1</apparelAllowHeadgearChance>
<weaponMoney>3500~7000</weaponMoney>
<weaponTags>
<li>SniperRifleSpacer</li>
<li>SniperRifleUltra</li>
</weaponTags>
<techHediffsRequired>
<li>ArchotechEye</li>
</techHediffsRequired>
<inventoryOptions>
<skipChance>0.7</skipChance>
<subOptionsChooseOne>
<li>
<thingDef>Silver</thingDef>
<countRange>90~260</countRange>
</li>
<li>
<thingDef>MedicineUltratech</thingDef>
<countRange>0~1</countRange>
</li>
</subOptionsChooseOne>
</inventoryOptions>
</PawnKindDef>

<!-- Basic melee soldier. Uses powerful melee weapons, and has boosted speed due to gear and implants. Abstract to allow death acidifer version (dlc only?)-->
<PawnKindDef Name="UltratechMeleeBase_AA" ParentName="UltratechSoldierBase_AA" Abstract="True">
<label>ultratech slasher</label>
Expand Down
6 changes: 4 additions & 2 deletions Defs/Factions/Ultratech.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,11 @@
<kindDef>Combat</kindDef>
<options>
<UltratechMelee_AA>4</UltratechMelee_AA>
<UltratechMeleeAdvanced_AA>2</UltratechMeleeAdvanced_AA>
<UltratechSniper_AA>6</UltratechSniper_AA>
<UltratechSniperAdvanced_AA>4</UltratechSniperAdvanced_AA>
<UltratechGunner_AA>10</UltratechGunner_AA>
<UltratechGunnerAdvanced_AA>10</UltratechGunnerAdvanced_AA>
<UltratechMeleeAdvanced_AA>2</UltratechMeleeAdvanced_AA>
<UltratechGunnerAdvanced_AA>8</UltratechGunnerAdvanced_AA>
</options>
</li>
<li>
Expand All @@ -81,6 +82,7 @@
<Town_Councilman>10</Town_Councilman> -->
<UltratechMelee_AA>5</UltratechMelee_AA>
<UltratechSniper_AA>8</UltratechSniper_AA>
<UltratechSniperAdvanced_AA>4</UltratechSniperAdvanced_AA>
<UltratechGunner_AA>10</UltratechGunner_AA>
<UltratechGunnerAdvanced_AA>8</UltratechGunnerAdvanced_AA>
<UltratechMeleeAdvanced_AA>4</UltratechMeleeAdvanced_AA>
Expand Down
17 changes: 8 additions & 9 deletions Defs/Items/Guns/DevastatorSniperRifle.xml
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>

<ThingDef ParentName="AntimatterGunBase_AA">
<ThingDef ParentName="AntimatterGunUncraftableBase_AA">
<defName>DevastatorSniperRifle_AA</defName>
<label>devastator sniper rifle</label>
<description>A heavy antimatter weapon that deals huge damage over very long ranges.
This weapon incorporates archotech technology. Even with a good understanding of Antimatter tech, this is still incredibly advanced, and can't be crafted using any known means.</description>
<graphicData>
<texPath>AntimatterAnnihilation/Weapons/AntimatterSniperRifle</texPath>
<texPath>AntimatterAnnihilation/Weapons/DSR</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<equippedAngleOffset>33.5</equippedAngleOffset>
<weaponTags>
<li>SniperRifleSpacer</li>
<li>SniperRifleUltra</li>
</weaponTags>
<statBases>
<WorkToMake>55000</WorkToMake>
<Mass>3.9</Mass>
<Mass>7</Mass>
<AccuracyTouch>0.5</AccuracyTouch>
<AccuracyShort>0.6</AccuracyShort>
<AccuracyMedium>0.9</AccuracyMedium>
Expand All @@ -29,9 +28,9 @@ This weapon incorporates archotech technology. Even with a good understanding of
<verbClass>Verb_Shoot</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Bullet_DevastatorSniperRifle_AA</defaultProjectile>
<warmupTime>2.5</warmupTime>
<warmupTime>3.5</warmupTime>
<range>65</range>
<soundCast>Shot_AntimatterBlaster_AA</soundCast>
<soundCast>Shot_HeavySniper_AA</soundCast>
<soundCastTail>GunTail_Heavy</soundCastTail>
<muzzleFlashScale>12</muzzleFlashScale>
</li>
Expand Down Expand Up @@ -67,9 +66,9 @@ This weapon incorporates archotech technology. Even with a good understanding of
<projectile>
<damageDef>Annihilate_AA</damageDef>
<stoppingPower>3</stoppingPower>
<damageAmountBase>35</damageAmountBase>
<damageAmountBase>55</damageAmountBase>
<armorPenetrationBase>0.85</armorPenetrationBase>
<speed>75</speed>
<speed>200</speed>
</projectile>
</ThingDef>

Expand Down
18 changes: 17 additions & 1 deletion Defs/Sounds/Shots.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<SoundDef>
<defName>Shot_AntimatterBlaster_AA</defName>
<context>MapOnly</context>
<maxSimultaneous>1</maxSimultaneous>
<maxSimultaneous>2</maxSimultaneous>
<subSounds>
<li>
<grains>
Expand All @@ -16,6 +16,22 @@
</subSounds>
</SoundDef>

<SoundDef>
<defName>Shot_HeavySniper_AA</defName>
<context>MapOnly</context>
<maxSimultaneous>2</maxSimultaneous>
<subSounds>
<li>
<grains>
<li Class="AudioGrain_Clip">
<clipPath>AntimatterAnnihilation/HeavySniper</clipPath>
</li>
</grains>
<pitchRange>0.95~1</pitchRange>
</li>
</subSounds>
</SoundDef>

<SoundDef>
<defName>Melee_GalvaknucklesDischarge_AA</defName>
<context>MapOnly</context>
Expand Down
Binary file added Sounds/AntimatterAnnihilation/HeavySniper.ogg
Binary file not shown.
57 changes: 57 additions & 0 deletions Source/Content/Audacity/HeavySniper.aup
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<?xml version="1.0" standalone="no" ?>
<!DOCTYPE project PUBLIC "-//audacityproject-1.3.0//DTD//EN" "http://audacity.sourceforge.net/xml/audacityproject-1.3.0.dtd" >
<project xmlns="http://audacity.sourceforge.net/xml/" projname="HeavySniper_data" version="1.3.0" audacityversion="2.1.3" sel0="0.0000000000" sel1="0.0000000000" vpos="0" h="0.0000000000" zoom="927.0967741935" rate="48000.0" snapto="off" selectionformat="hh:mm:ss + milliseconds" frequencyformat="Hz" bandwidthformat="octaves">
<tags/>
<wavetrack name="514228__superphat__sniper-rifle" channel="0" linked="1" mute="0" solo="0" height="150" minimized="0" isSelected="1" rate="48000" gain="1.0" pan="0.0">
<waveclip offset="0.00000000">
<sequence maxsamples="262144" sampleformat="262159" numsamples="122400">
<waveblock start="0">
<simpleblockfile filename="e0000199.au" len="122400" min="-0.988556" max="0.988556" rms="0.131748"/>
</waveblock>
</sequence>
<envelope numpoints="0"/>
</waveclip>
</wavetrack>
<wavetrack name="514228__superphat__sniper-rifle" channel="1" linked="0" mute="0" solo="0" height="150" minimized="0" isSelected="1" rate="48000" gain="1.0" pan="0.0">
<waveclip offset="0.00000000">
<sequence maxsamples="262144" sampleformat="262159" numsamples="122400">
<waveblock start="0">
<simpleblockfile filename="e0000ede.au" len="122400" min="-0.988556" max="0.988556" rms="0.125386"/>
</waveblock>
</sequence>
<envelope numpoints="0"/>
</waveclip>
</wavetrack>
<wavetrack name="440147__dpren__scifi-gun-mega-charge-cannon" channel="0" linked="1" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="192000" gain="0.630957" pan="0.0">
<waveclip offset="0.00000000">
<sequence maxsamples="262144" sampleformat="262159" numsamples="462243">
<waveblock start="0">
<simpleblockfile filename="e000034f.au" len="188561" min="-1.0" max="1.0" rms="0.226426"/>
</waveblock>
<waveblock start="188561">
<simpleblockfile filename="e0000851.au" len="136841" min="-0.206144" max="0.254214" rms="0.062355"/>
</waveblock>
<waveblock start="325402">
<simpleblockfile filename="e0000c7e.au" len="136841" min="-0.028617" max="0.028266" rms="0.006187"/>
</waveblock>
</sequence>
<envelope numpoints="0"/>
</waveclip>
</wavetrack>
<wavetrack name="440147__dpren__scifi-gun-mega-charge-cannon" channel="1" linked="0" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="192000" gain="0.630957" pan="0.0">
<waveclip offset="0.00000000">
<sequence maxsamples="262144" sampleformat="262159" numsamples="462243">
<waveblock start="0">
<simpleblockfile filename="e0000e21.au" len="188561" min="-1.0" max="1.0" rms="0.232017"/>
</waveblock>
<waveblock start="188561">
<simpleblockfile filename="e0000fe3.au" len="136841" min="-0.205647" max="0.274318" rms="0.040816"/>
</waveblock>
<waveblock start="325402">
<simpleblockfile filename="e0000176.au" len="136841" min="-0.014816" max="0.013628" rms="0.002937"/>
</waveblock>
</sequence>
<envelope numpoints="0"/>
</waveclip>
</wavetrack>
</project>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Source/Content/Models/Items.blend
Binary file not shown.
4 changes: 4 additions & 0 deletions Wiki/English/Thing_DevastatorSniperRifle_AA.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
AlwaysSpoiler:true
ENDTAGS

#This gun cannot be crafted, and is only available as a rare drop from Ultratech raiders.#

0 comments on commit 56aca72

Please sign in to comment.