Skip to content

Commit f91ba32

Browse files
committed
just alex' reactive shield implemented proper
1 parent 41f5c86 commit f91ba32

15 files changed

+218
-184
lines changed

Data/Browncoats.rte/Devices/Shields/Eruptor/Eruptor.ini

Lines changed: 15 additions & 176 deletions
Original file line numberDiff line numberDiff line change
@@ -84,191 +84,25 @@ AddEffect = MOSRotating
8484
GibWoundLimit = 5
8585

8686

87-
////
88-
89-
AddEffect = MOPixel
90-
PresetName = Browncoat Incendiary Shrapnel Heavy
91-
ScriptPath = Browncoats.rte/Devices/Shared/IncendiaryBulletHeavy.lua
92-
Mass = 0.15
93-
RestThreshold = 500
94-
LifeTime = 120
95-
Sharpness = 20
96-
AirResistance = 0.02
97-
HitsMOs = 1
98-
GetsHitByMOs = 0
99-
WoundDamageMultiplier = 0.25
100-
Color = Color
101-
R = 210
102-
G = 198
103-
B = 178
104-
Atom = Atom
105-
Material = Material
106-
CopyOf = Bullet Metal
107-
TrailColor = Color
108-
R = 210
109-
G = 198
110-
B = 178
111-
TrailLength = 3
112-
ScreenEffect = ContentFile
113-
FilePath = Base.rte/Effects/Glows/FireGlowTiny.png
114-
EffectStartTime = 0
115-
EffectStopTime = 250
116-
EffectStartStrength = 0.75
117-
EffectStopStrength = 0.4
118-
119-
AddEffect = MOPixel
120-
PresetName = Browncoat Incendiary Shrapnel Light
121-
ScriptPath = Browncoats.rte/Devices/Shared/IncendiaryBulletLight.lua
122-
Mass = 0.1
123-
RestThreshold = 500
124-
LifeTime = 180
125-
Sharpness = 15
126-
AirResistance = 0.02
127-
HitsMOs = 1
128-
GetsHitByMOs = 0
129-
WoundDamageMultiplier = 0.2
130-
Color = Color
131-
R = 210
132-
G = 198
133-
B = 178
134-
Atom = Atom
135-
Material = Material
136-
CopyOf = Bullet Metal
137-
TrailColor = Color
138-
R = 210
139-
G = 198
140-
B = 178
141-
TrailLength = 3
142-
ScreenEffect = ContentFile
143-
FilePath = Base.rte/Effects/Glows/FireGlowTiny.png
144-
EffectStartTime = 0
145-
EffectStopTime = 250
146-
EffectStartStrength = 0.5
147-
EffectStopStrength = 0.2
148-
149-
AddEffect = AEmitter
150-
CopyOf = Dent Metal No Spark
151-
PresetName = Browncoat Reactive Armor
152-
AddEmission = Emission
153-
EmittedParticle = MOPixel
154-
CopyOf = Browncoat Incendiary Shrapnel Light
155-
LifeVariation = 0.3
156-
Spread = 0.3
157-
MaxVelocity = 40
158-
MinVelocity = 25
159-
AddEmission = Emission
160-
EmittedParticle = MOPixel
161-
CopyOf = Browncoat Incendiary Shrapnel Light
162-
LifeVariation = 0.2
163-
Spread = 0.6
164-
MaxVelocity = 40
165-
MinVelocity = 25
166-
AddEmission = Emission
167-
EmittedParticle = MOPixel
168-
CopyOf = Spark Yellow 2
169-
LifeVariation = 0.1
170-
Spread = 1.2
171-
MaxVelocity = 8
172-
MinVelocity = 4
173-
AddEmission = Emission
174-
EmittedParticle = MOSParticle
175-
CopyOf = Tiny Smoke Ball 1
176-
LifeVariation = 0.1
177-
Spread = 1.2
178-
MaxVelocity = 8
179-
MinVelocity = 4
180-
AddEmission = Emission
181-
EmittedParticle = MOSParticle
182-
CopyOf = Tiny Smoke Ball 1
183-
LifeVariation = 0.1
184-
Spread = 1.2
185-
MaxVelocity = 8
186-
MinVelocity = 4
187-
BurstSound = SoundContainer
188-
CopyOf = Metal Penetration Hit
189-
JointStrength = 100000
190-
JointStiffness = 0.0
191-
EmissionEnabled = 1
192-
EmissionsIgnoreThis = 1
193-
ParticlesPerMinute = 0
194-
BurstSize = 3
195-
BurstTriggered = 1
196-
EmissionDamage = 0
197-
198-
AddEffect = AEmitter
199-
CopyOf = Browncoat Reactive Armor
200-
PresetName = Browncoat Reactive Armor Heavy
201-
AddEmission = Emission
202-
EmittedParticle = MOPixel
203-
CopyOf = Browncoat Incendiary Shrapnel Heavy
204-
LifeVariation = 0.3
205-
Spread = 0.3
206-
MaxVelocity = 60
207-
MinVelocity = 35
208-
AddEmission = Emission
209-
EmittedParticle = MOPixel
210-
CopyOf = Browncoat Incendiary Shrapnel Heavy
211-
LifeVariation = 0.3
212-
Spread = 0.3
213-
MaxVelocity = 60
214-
MinVelocity = 35
215-
AddEmission = Emission
216-
EmittedParticle = MOPixel
217-
CopyOf = Browncoat Incendiary Shrapnel Light
218-
LifeVariation = 0.2
219-
Spread = 0.6
220-
MaxVelocity = 40
221-
MinVelocity = 25
222-
AddEmission = Emission
223-
EmittedParticle = MOSParticle
224-
CopyOf = Tiny Smoke Ball 1
225-
LifeVariation = 0.1
226-
Spread = 1.2
227-
MaxVelocity = 8
228-
MinVelocity = 4
229-
AddEmission = Emission
230-
EmittedParticle = MOSParticle
231-
CopyOf = Small Smoke Ball 1
232-
LifeVariation = 0.1
233-
Spread = 1.2
234-
MaxVelocity = 8
235-
MinVelocity = 4
236-
AddEmission = Emission
237-
EmittedParticle = MOSParticle
238-
CopyOf = Small Smoke Ball 1
239-
LifeVariation = 0.1
240-
Spread = 1.2
241-
MaxVelocity = 8
242-
MinVelocity = 4
243-
BurstSound = SoundContainer
244-
CopyOf = Metal Penetration Hit
245-
EmissionEnabled = 1
246-
EmissionsIgnoreThis = 1
247-
ParticlesPerMinute = 0
248-
BurstSize = 2
249-
BurstDamage = 1
250-
BurstTriggered = 1
251-
EmissionDamage = 0
252-
25387
///////////////////////////////////////////////////////////////////////
25488
// Riot Shield
25589

25690
AddEffect = Attachable
257-
PresetName = Browncoat Reactive Plate
91+
PresetName = Reactive Plate Browncoat RS-04
25892
Mass = 2.5
25993
HitsMOs = 0
26094
GetsHitByMOs = 1
26195
CollidesWithTerrainWhileAttached = 1
26296
SpriteFile = ContentFile
263-
FilePath = Browncoats.rte/Devices/Shields/Eruptor/ReactivePlateM.png
97+
FilePath = Browncoats.rte/Devices/Shields/Eruptor/ReactivePlate.png
26498
ScriptPath = Base.rte/Scripts/Shared/RandomFrame.lua
26599
FrameCount = 3
266100
SpriteOffset = Vector
267101
X = -4
268102
Y = -3
269103
AngularVel = 6
270104
EntryWound = AEmitter
271-
CopyOf = Browncoat Reactive Armor Heavy
105+
CopyOf = Wound Browncoat Reactive Armor Heavy
272106
ExitWound = AEmitter
273107
CopyOf = Dent Metal Light
274108
DamageMultiplier = 1
@@ -317,14 +151,17 @@ AddEffect = Attachable
317151
Offset = Vector
318152
X = 1
319153
Y = 4
154+
GibSound = SoundContainer
155+
CopyOf = Browncoat Reactive Armor Impact
320156

321157
AddDevice = HeldDevice
322158
PresetName = RS-04 Eruptor
323159
AddToGroup = Shields
324-
Description = Sheet of metal with several reactive plates attached to the front. The enemy better keep their distance before shooting, less they suffer from the payback
160+
Description = Ballistic shield with reactive-explosive armor plates stuck to the front. Any blow delivered to them will launch hot shrapnel right back at the attacker.
325161
Mass = 8
326162
HitsMOs = 0
327163
GetsHitByMOs = 1
164+
GetsHitByMOsWhenHeld = 1
328165
SpriteFile = ContentFile
329166
FilePath = Browncoats.rte/Devices/Shields/Eruptor/Eruptor.png
330167
IconFile = ContentFile
@@ -334,9 +171,9 @@ AddDevice = HeldDevice
334171
X = -5
335172
Y = -10
336173
EntryWound = AEmitter
337-
CopyOf = Dent Metal Device
174+
CopyOf = Dent Metal Shield
338175
ExitWound = AEmitter
339-
CopyOf = Dent Metal Device
176+
CopyOf = Dent Metal Shield
340177
GoldValue = 45
341178
AtomGroup = AtomGroup
342179
AutoGenerate = 1
@@ -379,22 +216,22 @@ Offsets for FG arm
379216
Y = 4
380217
SharpLength = 50
381218
AddAttachable = Attachable
382-
CopyOf = Browncoat Reactive Plate
219+
CopyOf = Reactive Plate Browncoat RS-04
383220
ParentOffset = Vector
384221
X = 1
385222
Y = 12
386223
AddAttachable = Attachable
387-
CopyOf = Browncoat Reactive Plate
224+
CopyOf = Reactive Plate Browncoat RS-04
388225
ParentOffset = Vector
389226
X = 1
390227
Y = 7
391228
AddAttachable = Attachable
392-
CopyOf = Browncoat Reactive Plate
229+
CopyOf = Reactive Plate Browncoat RS-04
393230
ParentOffset = Vector
394231
X = 1
395232
Y = 2
396233
AddAttachable = Attachable
397-
CopyOf = Browncoat Reactive Plate
234+
CopyOf = Reactive Plate Browncoat RS-04
398235
ParentOffset = Vector
399236
X = 1
400237
Y = -3
@@ -446,4 +283,6 @@ Offsets for FG arm
446283
Spread = 2.25
447284
MaxVelocity = 10
448285
MinVelocity = 1
286+
GibSound = SoundContainer
287+
CopyOf = Metal Gib A
449288
GibWoundLimit = 16

Data/Browncoats.rte/Effects.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
///////////////////////////////////////////////////////////////////////
22
// Effects
33

4-
4+
IncludeFile = Browncoats.rte/Effects/Sounds.ini
55
IncludeFile = Browncoats.rte/Effects/Pyro.ini
66
IncludeFile = Browncoats.rte/Effects/Wounds.ini

Data/Browncoats.rte/Effects/Pyro.ini

Lines changed: 61 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,4 +99,64 @@ AddEffect = MOSParticle
9999
EffectStartTime = 0
100100
EffectStopTime = 400
101101
EffectStartStrength = 0.2
102-
EffectStopStrength = 0.0
102+
EffectStopStrength = 0.0
103+
104+
AddEffect = MOPixel
105+
PresetName = Browncoat Reactive Incendiary Shrapnel Light
106+
ScriptPath = Browncoats.rte/Devices/Shared/IncendiaryBulletLight.lua
107+
Mass = 0.1
108+
RestThreshold = 500
109+
LifeTime = 180
110+
Sharpness = 15
111+
AirResistance = 0.02
112+
HitsMOs = 1
113+
GetsHitByMOs = 0
114+
WoundDamageMultiplier = 0.2
115+
Color = Color
116+
R = 210
117+
G = 198
118+
B = 178
119+
Atom = Atom
120+
Material = Material
121+
CopyOf = Bullet Metal
122+
TrailColor = Color
123+
R = 210
124+
G = 198
125+
B = 178
126+
TrailLength = 3
127+
ScreenEffect = ContentFile
128+
FilePath = Base.rte/Effects/Glows/FireGlowTiny.png
129+
EffectStartTime = 0
130+
EffectStopTime = 250
131+
EffectStartStrength = 0.5
132+
EffectStopStrength = 0.2
133+
134+
AddEffect = MOPixel
135+
PresetName = Browncoat Reactive Incendiary Shrapnel Heavy
136+
ScriptPath = Browncoats.rte/Devices/Shared/IncendiaryBulletHeavy.lua
137+
Mass = 0.15
138+
RestThreshold = 500
139+
LifeTime = 120
140+
Sharpness = 20
141+
AirResistance = 0.02
142+
HitsMOs = 1
143+
GetsHitByMOs = 0
144+
WoundDamageMultiplier = 0.25
145+
Color = Color
146+
R = 210
147+
G = 198
148+
B = 178
149+
Atom = Atom
150+
Material = Material
151+
CopyOf = Bullet Metal
152+
TrailColor = Color
153+
R = 210
154+
G = 198
155+
B = 178
156+
TrailLength = 3
157+
ScreenEffect = ContentFile
158+
FilePath = Base.rte/Effects/Glows/FireGlowTiny.png
159+
EffectStartTime = 0
160+
EffectStopTime = 250
161+
EffectStartStrength = 0.75
162+
EffectStopStrength = 0.4
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
///////////////////////////////////////////////////////////////////////
2+
// Sound Effects
3+
4+
5+
AddSoundContainer = SoundContainer
6+
PresetName = Browncoat Reactive Armor Impact
7+
SoundSelectionCycleMode = 2
8+
AddSoundSet = SoundSet
9+
AddSound = Browncoats.rte/Effects/Sounds/ReactiveArmorImpact1.flac
10+
AddSound = Browncoats.rte/Effects/Sounds/ReactiveArmorImpact2.flac
11+
AddSound = Browncoats.rte/Effects/Sounds/ReactiveArmorImpact3.flac
12+
AddSound = Browncoats.rte/Effects/Sounds/ReactiveArmorImpact4.flac
13+
AddSound = Browncoats.rte/Effects/Sounds/ReactiveArmorImpact5.flac
14+
AddSound = Browncoats.rte/Effects/Sounds/ReactiveArmorImpact6.flac
15+
AddSoundSet = SoundSet
16+
AddSound = Base.rte/Sounds/Penetration/Metal/MetalImpactA1.flac
17+
AddSound = Base.rte/Sounds/Penetration/Metal/MetalImpactA2.flac
18+
AddSound = Base.rte/Sounds/Penetration/Metal/MetalImpactA3.flac
19+
AddSound = Base.rte/Sounds/Penetration/Metal/MetalImpactA4.flac
20+
AddSound = Base.rte/Sounds/Penetration/Metal/MetalImpactA5.flac
21+
AddSound = Base.rte/Sounds/Penetration/Metal/MetalImpactA6.flac
22+
AddSound = Base.rte/Sounds/Penetration/Metal/MetalImpactA7.flac
23+
AddSound = Base.rte/Sounds/Penetration/Metal/MetalImpactA8.flac
24+
AddSound = Base.rte/Sounds/Penetration/Metal/MetalImpactA9.flac
25+
AddSound = Base.rte/Sounds/Penetration/Metal/MetalImpactA10.flac
26+
AddSound = Base.rte/Sounds/Penetration/Metal/MetalImpactA11.flac
27+
AddSound = Base.rte/Sounds/Penetration/Metal/MetalImpactA12.flac
28+
AddSound = Base.rte/Sounds/Penetration/Metal/MetalImpactA13.flac
29+
AddSound = Base.rte/Sounds/Penetration/Metal/MetalImpactA14.flac
30+
AddSound = Base.rte/Sounds/Penetration/Metal/MetalImpactA15.flac
31+
AddSound = Base.rte/Sounds/Penetration/Metal/MetalImpactA16.flac
32+
AddSound = Base.rte/Sounds/Penetration/Metal/MetalImpactA17.flac
33+
AddSound = Base.rte/Sounds/Penetration/Metal/MetalImpactA18.flac
34+
AddSound = Base.rte/Sounds/Penetration/Metal/MetalImpactA19.flac
35+
AddSound = Base.rte/Sounds/Penetration/Metal/MetalImpactA20.flac
36+
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)