Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions Data/Base.rte/Actors/Mecha/AADrone/Drone.ini
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,21 @@ AddDevice = HDFirearm
Flash = Attachable
CopyOf = Muzzle Flash SMG
FireSound = SoundContainer
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/Fire1.flac
AttenuationStartDistance = 165
SoundSelectionCycleMode = All
AddSoundSet = SoundSet
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/Shot1.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/Shot2.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/Shot3.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/Shot4.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/Shot5.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/Shot6.flac
EmptySound = SoundContainer
AddSound = ContentFile
FilePath = Base.rte/Sounds/Devices/EmptyClick1.flac
Expand Down
7 changes: 7 additions & 0 deletions Data/Ronin.rte/Devices/Shared.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
///////////////////////////////////////////////////////////////////////
// Devices Shared Assets

AddSoundContainer = SoundContainer
PresetName = Last Round Ronin
AddSound = Ronin.rte/Devices/Shared/Sounds/LastRound1.flac
AddSound = Ronin.rte/Devices/Shared/Sounds/LastRound2.flac
AddSound = Ronin.rte/Devices/Shared/Sounds/LastRound3.flac
AttenuationStartDistance = 140


AddSoundContainer = SoundContainer
PresetName = Bottle Break
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
84 changes: 71 additions & 13 deletions Data/Ronin.rte/Devices/Weapons/AK47/AK47.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
///////////////////////////////////////////////////////////////////////
// AK47 Sounds

AddSoundContainer = SoundContainer
PresetName = Mech Ronin AK-47
Volume = 0.75
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/Mech1.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/Mech2.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/Mech3.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/Mech4.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/Mech5.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/Mech6.flac

///////////////////////////////////////////////////////////////////////
// AK47 Ammo

Expand Down Expand Up @@ -112,6 +131,7 @@ AddDevice = HDFirearm
HitsMOs = 0
GetsHitByMOs = 1
ScriptPath = Base.rte/Devices/Shared/Scripts/RecoilTilt.lua
ScriptPath = Ronin.rte/Devices/Weapons/AK47/AK47.lua
SpriteFile = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/AK47.png
IconFile = ContentFile
Expand Down Expand Up @@ -159,25 +179,63 @@ AddDevice = HDFirearm
Flash = Attachable
CopyOf = Muzzle Flash Pistol
FireSound = SoundContainer
AttenuationStartDistance = 175
PitchVariation = 0.05
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/Fire1.flac
AttenuationStartDistance = 165
SoundSelectionCycleMode = All
AddSoundSet = SoundSet
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/Shot1.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/Shot2.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/Shot3.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/Shot4.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/Shot5.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/Shot6.flac
FireEchoSound = SoundContainer
AttenuationStartDistance = 200
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/Echo.flac
AttenuationStartDistance = 250
SoundOverlapMode = Restart
Volume = 0.35
AddSoundSet = SoundSet
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/Tail1.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/Tail2.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/Tail3.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/Tail4.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/Tail5.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/Tail6.flac
EmptySound = SoundContainer
AddSound = ContentFile
FilePath = Base.rte/Sounds/Devices/EmptyClick1.flac
AttenuationStartDistance = 125
AddSoundSet = SoundSet
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/EmptyClick1.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/EmptyClick2.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/EmptyClick3.flac
ReloadStartSound = SoundContainer
AttenuationStartDistance = 115
AttenuationStartDistance = 120
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/ReloadStart1.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/ReloadStart2.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/ReloadStart.flac
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/ReloadStart3.flac
ReloadEndSound = SoundContainer
AttenuationStartDistance = 125
AttenuationStartDistance = 140
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/ReloadEnd1.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/ReloadEnd2.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/ReloadEnd.flac
FilePath = Ronin.rte/Devices/Weapons/AK47/Sounds/ReloadEnd3.flac
RateOfFire = 650
ReloadTime = 1920
FullAuto = 1
Expand Down
25 changes: 25 additions & 0 deletions Data/Ronin.rte/Devices/Weapons/AK47/AK47.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
function OnFire(self)
-- Higher pitch and volume as you approach empty
self.mechSound.Pitch = 1;
self.mechSound.Volume = 1;

local parent = self:GetRootParent();
if IsActor(parent) and ToActor(parent):IsPlayerControlled() then
if self.RoundInMagCount < 11 then
self.mechSound.Pitch = 1.1 + (11 - self.RoundInMagCount)/100;
self.mechSound.Volume = 1.3 + (11 - self.RoundInMagCount)/25;
end
end

self.mechSound:Play(self.Pos);

if self.RoundInMagCount == 0 then
self.lastRoundSound:Play(self.Pos);
end
end

function Create(self)
self.mechSound = CreateSoundContainer("Mech Ronin AK-47", "Ronin.rte");
self.lastRoundSound = CreateSoundContainer("Last Round Ronin", "Ronin.rte");
self.lastRoundSound.Pitch = 0.75;
end
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.
121 changes: 109 additions & 12 deletions Data/Ronin.rte/Devices/Weapons/K98K/K98K.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,48 @@
///////////////////////////////////////////////////////////////////////
// K98K Sounds


AddSoundContainer = SoundContainer
PresetName = Ronin Kar98 Bolt Pull Sound
PresetName = Bolt Back Ronin Kar98
AttenuationStartDistance = 120
AddSound = Ronin.rte/Devices/Weapons/K98K/Sounds/BoltBack1.flac
AddSound = Ronin.rte/Devices/Weapons/K98K/Sounds/BoltBack2.flac
AddSound = Ronin.rte/Devices/Weapons/K98K/Sounds/BoltBack3.flac
AddSound = Ronin.rte/Devices/Weapons/K98K/Sounds/BoltBack4.flac

AddSoundContainer = SoundContainer
PresetName = Bolt Forward Ronin Kar98
AttenuationStartDistance = 120
AddSound = Ronin.rte/Devices/Weapons/K98K/Sounds/BoltForward1.flac
AddSound = Ronin.rte/Devices/Weapons/K98K/Sounds/BoltForward2.flac
AddSound = Ronin.rte/Devices/Weapons/K98K/Sounds/BoltForward3.flac
AddSound = Ronin.rte/Devices/Weapons/K98K/Sounds/BoltForward4.flac

AddSoundContainer = SoundContainer
PresetName = Round In Ronin Kar98
AttenuationStartDistance = 120
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Chamber.flac
Volume = 0.75
AddSound = Ronin.rte/Devices/Weapons/K98K/Sounds/RoundIn1.flac
AddSound = Ronin.rte/Devices/Weapons/K98K/Sounds/RoundIn2.flac
AddSound = Ronin.rte/Devices/Weapons/K98K/Sounds/RoundIn3.flac
AddSound = Ronin.rte/Devices/Weapons/K98K/Sounds/RoundIn4.flac
AddSound = Ronin.rte/Devices/Weapons/K98K/Sounds/RoundIn5.flac

AddSoundContainer = SoundContainer
PresetName = Chamber Ronin Kar98
AttenuationStartDistance = 120
AddSound = Ronin.rte/Devices/Weapons/K98K/Sounds/Chamber1.flac
AddSound = Ronin.rte/Devices/Weapons/K98K/Sounds/Chamber2.flac
AddSound = Ronin.rte/Devices/Weapons/K98K/Sounds/Chamber3.flac

AddSoundContainer = SoundContainer
PresetName = Pre Ronin Kar98
AttenuationStartDistance = 120
AddSound = Ronin.rte/Devices/Weapons/K98K/Sounds/Pre1.flac
AddSound = Ronin.rte/Devices/Weapons/K98K/Sounds/Pre2.flac
AddSound = Ronin.rte/Devices/Weapons/K98K/Sounds/Pre3.flac
AddSound = Ronin.rte/Devices/Weapons/K98K/Sounds/Pre4.flac
AddSound = Ronin.rte/Devices/Weapons/K98K/Sounds/Pre5.flac
AddSound = Ronin.rte/Devices/Weapons/K98K/Sounds/Pre6.flac


///////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -74,10 +110,6 @@ AddDevice = HDFirearm
Mass = 12
HitsMOs = 0
GetsHitByMOs = 1
ScriptPath = Base.rte/Devices/Shared/Scripts/ShotgunReload.lua
ScriptPath = Base.rte/Devices/Shared/Scripts/RecoilTilt.lua
AddCustomValue = NumberValue
RecoilAngleVariation = 0.1
ScriptPath = Ronin.rte/Devices/Weapons/K98K/K98K.lua
SpriteFile = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/K98K.png
Expand Down Expand Up @@ -125,12 +157,77 @@ AddDevice = HDFirearm
Magazine = Magazine
CopyOf = Magazine Ronin Kar98
Flash = Attachable
CopyOf = Muzzle Flash Pistol
CopyOf = Muzzle Flash Shotgun
FireSound = SoundContainer
AttenuationStartDistance = 200
PitchVariation = 0.05
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Fire1.flac
SoundSelectionCycleMode = All
AddSoundSet = SoundSet
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Shot1.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Shot2.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Shot3.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Shot4.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Shot5.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Shot6.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Shot7.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Shot8.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Shot9.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Shot10.flac
AddSoundSet = SoundSet
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Mech1.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Mech2.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Mech3.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Mech4.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Mech5.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Mech6.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Mech7.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Mech8.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Mech9.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Mech10.flac
FireEchoSound = SoundContainer
AttenuationStartDistance = 250
SoundOverlapMode = Restart
Volume = 0.45
AddSoundSet = SoundSet
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Tail1.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Tail2.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Tail3.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Tail4.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Tail5.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Tail6.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Tail7.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Tail8.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Tail9.flac
AddSound = ContentFile
FilePath = Ronin.rte/Devices/Weapons/K98K/Sounds/Tail10.flac
EmptySound = SoundContainer
AddSound = ContentFile
FilePath = Base.rte/Sounds/Devices/EmptyClick1.flac
Expand Down
Loading