Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 37e0df8

Browse files
committed
Buff Browncoat Flash; minor edits to other Browncoat weapons and used flame fx
1 parent 46ec2cf commit 37e0df8

File tree

7 files changed

+18
-14
lines changed

7 files changed

+18
-14
lines changed

Base.rte/Effects/Pyro.ini

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -980,14 +980,16 @@ AddEffect = MOSParticle
980980
FilePath = Base.rte/Effects/Pyro/FireBlastSmallB.bmp
981981
Mass = 0.49
982982
LifeTime = 600
983-
GlobalAccScalar = -0.6
984-
AirResistance = 0.05
983+
GlobalAccScalar = -0.4
984+
AirResistance = 0.04
985985
AirThreshold = 3
986986

987987

988988
AddEffect = MOSParticle
989989
CopyOf = Flame Smoke 2
990990
PresetName = Flame Smoke 2 Glow
991+
LifeTime = 700
992+
AirResistance = 0.03
991993
ScreenEffect = ContentFile
992994
FilePath = Base.rte/Effects/Glows/FireGlow1.bmp
993995
EffectStartTime = 1
@@ -1175,7 +1177,7 @@ AddAmmo = MOSRotating
11751177
AddEffect = MOSParticle
11761178
PresetName = Flame 1 Hurt
11771179
GlobalAccScalar = 0.9
1178-
AirResistance = 0.05
1180+
AirResistance = 0.04
11791181
AirThreshold = 1
11801182
RestThreshold = -1
11811183
Mass = 0.98

Browncoats.rte/Devices/Weapons/Flash/Flash.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ AddAmmo = AEmitter
110110
Mass = 4
111111
LifeTime = 2500
112112
AirResistance = 0.005
113-
AirThreshold = 15
113+
AirThreshold = 20
114114
RestThreshold = -1
115115
HitsMOs = 1
116116
GetsHitByMOs = 0
@@ -218,7 +218,7 @@ AddAmmo = AEmitter
218218
AddGib = Gib
219219
GibParticle = MOPixel
220220
CopyOf = Grenade Fragment Gray
221-
Count = 15
221+
Count = 16
222222
Spread = 3.1
223223
MinVelocity = 50
224224
MaxVelocity = 75
@@ -227,7 +227,7 @@ AddAmmo = AEmitter
227227
AddGib = Gib
228228
GibParticle = MOPixel
229229
CopyOf = Grenade Fragment Yellow
230-
Count = 15
230+
Count = 16
231231
Spread = 3.1
232232
MinVelocity = 50
233233
MaxVelocity = 75
@@ -393,7 +393,7 @@ AddDevice = HDFirearm
393393
ShakeRange = 4
394394
SharpShakeRange = 2
395395
NoSupportFactor = 2
396-
ParticleSpreadRange = 30
396+
ParticleSpreadRange = 20
397397
ShellSpreadRange = 0
398398
ShellAngVelRange = 0
399399
MuzzleOffset = Vector

Browncoats.rte/Devices/Weapons/Flash/Flash.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
function Create(self)
22
self.fireVel = 30;
3+
self.spread = math.rad(self.ParticleSpreadRange);
34

45
self.rocketCount = 4;
56

6-
self.searchRange = FrameMan.PlayerScreenWidth * 0.3;
7+
self.searchRange = 100 + FrameMan.PlayerScreenWidth * 0.3;
78
self.searchTimer = Timer();
89
self.searchTimer:SetSimTimeLimitMS(250);
9-
self.lockThreshold = 1;
10+
self.lockThreshold = 2;
1011

1112
--The following timer prevents a glitch where you can fire twice by putting the gun inside the inventory while charging
1213
self.inventorySwapTimer = Timer();
@@ -40,7 +41,7 @@ function Update(self)
4041
if self.searchTimer:IsPastSimTimeLimit() then
4142
self.searchTimer:Reset();
4243

43-
local searchPos = self.Pos + Vector(self.searchRange * 0.8 * self.FlipFactor, 0):RadRotate(self.RotAngle);
44+
local searchPos = self.Pos + Vector(self.searchRange * 0.75 * self.FlipFactor, 0):RadRotate(self.RotAngle);
4445
local lastTargetCount = #self.targets;
4546
self.targets = {};
4647

@@ -110,7 +111,6 @@ function Update(self)
110111
self.targets = {};
111112
end
112113
if self.FiredFrame then
113-
local spread = math.rad(self.ParticleSpreadRange);
114114
local rocketNumber = self.RoundInMagCount + 1;
115115

116116
local rocket = CreateAEmitter("Particle Browncoat Rocket");
@@ -124,7 +124,7 @@ function Update(self)
124124
end
125125
end
126126
rocket.Pos = self.MuzzlePos + Vector(0, (rocketNumber - self.rocketCount * 0.5)):RadRotate(self.RotAngle);
127-
rocket.Vel = self.Vel + Vector(self.fireVel * RangeRand(0.9, 1.1) * self.FlipFactor, 0):RadRotate(self.RotAngle - ((spread * 0.5) - (rocketNumber/self.rocketCount) * spread) * self.FlipFactor);
127+
rocket.Vel = self.Vel + Vector(self.fireVel * RangeRand(0.9, 1.1) * self.FlipFactor, 0):RadRotate(self.RotAngle - ((self.spread * 0.5) - (rocketNumber/self.rocketCount) * self.spread) * self.FlipFactor);
128128
rocket.RotAngle = rocket.Vel.AbsRadAngle;
129129
rocket.AngularVel = math.cos(rocket.Vel.AbsRadAngle) * 5;
130130
rocket.Team = self.Team;

Browncoats.rte/Devices/Weapons/Heatlance/Heatlance.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ AddAmmo = AEmitter
5555
LifeVariation = 0.10
5656
Spread = 0.05
5757
MaxVelocity = 35
58-
MinVelocity = 20
58+
MinVelocity = 25
5959
PushesEmitter = 0
6060
ParticlesPerMinute = 0
6161
BurstSize = 1

Browncoats.rte/Devices/Weapons/Magmaul/Magmaul.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ AddDevice = HDFirearm
135135
HitsMOs = 0
136136
GetsHitByMOs = 1
137137
ScriptPath = Base.rte/Devices/Shared/Scripts/TrajectoryGuide.lua
138+
AddCustomValue = NumberValue
139+
TrajectoryGuideBlastRadius = 30
138140
ScriptPath = Browncoats.rte/Devices/Weapons/Magmaul/Magmaul.lua
139141
SpriteFile = ContentFile
140142
FilePath = Browncoats.rte/Devices/Weapons/Magmaul/Magmaul.bmp
@@ -146,7 +148,7 @@ AddDevice = HDFirearm
146148
CopyOf = Dent Metal
147149
ExitWound = AEmitter
148150
CopyOf = Dent Metal
149-
GoldValue = 110
151+
GoldValue = 90
150152
AtomGroup = AtomGroup
151153
AutoGenerate = 1
152154
Material = Material
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)