Skip to content

Commit ec441e0

Browse files
committed
touch up turret stuff
1 parent ca19251 commit ec441e0

15 files changed

+88
-44
lines changed

Data/Base.rte/Sounds.ini

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,27 @@ AddSoundContainer = SoundContainer
588588
AddSound = ContentFile
589589
FilePath = Base.rte/Sounds/Mechanisms/Doors/BackgroundDoorClose.flac
590590

591+
AddSoundContainer = SoundContainer
592+
PresetName = Large Generic Servo Start
593+
AttenuationStartDistance = 200
594+
SoundOverlapMode = Restart
595+
AddSound = Base.rte/Sounds/Mechanisms/LargeGenericServoStart1.flac
596+
AddSound = Base.rte/Sounds/Mechanisms/LargeGenericServoStart2.flac
597+
AddSound = Base.rte/Sounds/Mechanisms/LargeGenericServoStart3.flac
598+
599+
AddSoundContainer = SoundContainer
600+
PresetName = Large Generic Servo Loop
601+
AttenuationStartDistance = 200
602+
LoopSetting = -1
603+
AddSound = Base.rte/Sounds/Mechanisms/LargeGenericServoLoop1.flac
604+
605+
AddSoundContainer = SoundContainer
606+
PresetName = Large Generic Servo End
607+
AttenuationStartDistance = 200
608+
SoundOverlapMode = Restart
609+
AddSound = Base.rte/Sounds/Mechanisms/LargeGenericServoEnd1.flac
610+
AddSound = Base.rte/Sounds/Mechanisms/LargeGenericServoEnd2.flac
611+
AddSound = Base.rte/Sounds/Mechanisms/LargeGenericServoEnd3.flac
591612

592613
AddSoundContainer = SoundContainer
593614
PresetName = Crash Woosh
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.

Data/Browncoats.rte/Actors/Turrets/Thunderer/Thunderer.ini

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -64,21 +64,13 @@ AddEffect = MOSRotating
6464
MaxVelocity = 110
6565
InheritsVel = 0.5
6666
LifeVariation = 0.20
67-
AddGib = Gib
68-
GibParticle = MOPixel
69-
CopyOf = Air Blast
70-
Count = 50
71-
MinVelocity = 89
72-
MaxVelocity = 90
73-
InheritsVel = 0.3
74-
SpreadMode = 1
7567
AddGib = Gib
7668
GibParticle = MOSParticle
7769
CopyOf = Fire Puff Small
7870
PresetName = Cannon Smoke 1
7971
AirResistance = 0.2
8072
AirThreshold = 4
81-
Count = 15
73+
Count = 5
8274
Spread = 3.1
8375
MaxVelocity = 50
8476
MinVelocity = 5
@@ -90,7 +82,7 @@ AddEffect = MOSRotating
9082
PresetName = Cannon Smoke 2
9183
AirResistance = 0.16
9284
AirThreshold = 3
93-
Count = 15
85+
Count = 5
9486
Spread = 3.1
9587
MaxVelocity = 50
9688
MinVelocity = 5
@@ -102,7 +94,7 @@ AddEffect = MOSRotating
10294
PresetName = Cannon Smoke 3
10395
AirResistance = 0.12
10496
AirThreshold = 2
105-
Count = 15
97+
Count = 5
10698
Spread = 3.1
10799
MaxVelocity = 50
108100
MinVelocity = 5
@@ -114,14 +106,6 @@ AddEffect = MOSRotating
114106
Count = 1
115107
MaxVelocity = 1
116108
InheritsVel = 0.3
117-
AddGib = Gib
118-
GibParticle = MOPixel
119-
CopyOf = Particle Very Heavy Digger Damage
120-
Count = 25
121-
MaxVelocity = 50
122-
MinVelocity = 25
123-
InheritsVel = 0.3
124-
SpreadMode = 1
125109
GibWoundLimit = 1
126110
GibImpulseLimit = 150
127111

@@ -1117,6 +1101,8 @@ AddActor = ACrab
11171101
SpriteOffset = Vector
11181102
X = 0
11191103
Y = 0
1104+
AddCustomValue = NumberValue
1105+
AIIdleAimTime = 10000
11201106
EntryWound = AEmitter
11211107
CopyOf = Dent Metal
11221108
ExitWound = AEmitter
@@ -1311,7 +1297,6 @@ AddActor = ACrab
13111297
// GibSound = SoundContainer
13121298
// AddSound = ContentFile
13131299
// FilePath = Base.rte/Cool explosion sound here
1314-
ForcedHFlip = 1
13151300

13161301
AddTerrainObject = TerrainObject
13171302
PresetName = AA-50 Thunderer Placement Left
@@ -1336,6 +1321,7 @@ AddTerrainObject = TerrainObject
13361321
PresetName = AA-50 Thunderer B Pinned
13371322
PinStrength = 5000
13381323
Buyable = 0
1324+
ForcedHFlip = 1
13391325
Offset = Vector
13401326
X = 18
13411327
Y = 10
@@ -1363,8 +1349,7 @@ AddTerrainObject = TerrainObject
13631349
PresetName = AA-50 Thunderer A Pinned
13641350
PinStrength = 5000
13651351
Buyable = 0
1352+
ForcedHFlip = 0
13661353
Offset = Vector
13671354
X = 0
13681355
Y = 12
1369-
Rotation = Matrix
1370-
AngleDegrees = 180

Data/Browncoats.rte/Actors/Turrets/Thunderer/ThundererBase.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ function Create(self)
1212
end
1313

1414
self.AIMode = Actor.AIMODE_SENTRY;
15+
16+
for att in self.Attachables do
17+
att.ForcedHFlip = self.ForcedHFlip;
18+
end
1519
end
1620

1721
function Update(self)

0 commit comments

Comments
 (0)