This repository was archived by the owner on Jan 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +37
-14
lines changed
Techion.rte/Devices/Weapons/LaserRifle Expand file tree Collapse file tree 5 files changed +37
-14
lines changed Original file line number Diff line number Diff line change @@ -224,32 +224,55 @@ AddDevice = HDFirearm
224
224
AddGib = Gib
225
225
GibParticle = MOPixel
226
226
CopyOf = Spark Yellow 1
227
- Count = 14
228
- Spread = 2.25
229
- MaxVelocity = 20
230
- MinVelocity = 8
227
+ Count = 10
228
+ MaxVelocity = 18
229
+ MinVelocity = 6
231
230
AddGib = Gib
232
231
GibParticle = MOPixel
233
232
CopyOf = Spark Yellow 2
234
- Count = 12
235
- Spread = 2.25
236
- MaxVelocity = 20
237
- MinVelocity = 8
233
+ Count = 10
234
+ MaxVelocity = 18
235
+ MinVelocity = 6
238
236
AddGib = Gib
239
237
GibParticle = MOSParticle
240
- CopyOf = Gib Metal Rust Micro A
241
- Count = 6
242
- Spread = 2.25
238
+ CopyOf = Gib Panel White Micro A
239
+ Count = 5
243
240
MaxVelocity = 15
244
241
MinVelocity = 5
245
242
AddGib = Gib
246
243
GibParticle = MOSParticle
247
244
CopyOf = Gib Metal Grey Micro A
248
- Count = 8
249
- Spread = 2.25
245
+ Count = 7
250
246
MaxVelocity = 15
251
247
MinVelocity = 5
248
+ AddGib = Gib
249
+ GibParticle = MOSParticle
250
+ CopyOf = Gib Panel White Tiny A
251
+ AddGib = Gib
252
+ GibParticle = MOSParticle
253
+ CopyOf = Gib Metal Grey Tiny A
254
+ AddGib = Gib
255
+ GibParticle = MOSParticle
256
+ CopyOf = Gib Glass Micro A
257
+ Offset = Vector
258
+ X = -5
259
+ Y = -1
260
+ AddGib = Gib
261
+ GibParticle = MOSParticle
262
+ CopyOf = Gib Glass Micro A
263
+ Offset = Vector
264
+ X = 9
265
+ Y = -1
252
266
AddGib = Gib
253
267
GibParticle = MOSRotating
254
268
CopyOf = Gib Device Small L
269
+ Offset = Vector
270
+ X = 5
271
+ Y = 0
272
+ AddGib = Gib
273
+ GibParticle = MOSRotating
274
+ CopyOf = Gib Device Small I
275
+ Offset = Vector
276
+ X = -11
277
+ Y = -1
255
278
GibWoundLimit = 5
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ function Update(self)
47
47
local moID = SceneMan :GetMOIDPixel (hitPos .X , hitPos .Y );
48
48
if moID ~= rte .NoMOID and moID ~= self .ID then
49
49
local mo = ToMOSRotating (MovableMan :GetMOFromID (moID ));
50
- if self .penetrationStrength / strengthFactor >= mo .Material .StructuralIntegrity then
50
+ if self .penetrationStrength / strengthFactor >= mo .Material .StructuralIntegrity or math.random ( self . penetrationStrength ) > mo . Material . StructuralIntegrity then
51
51
local moAngle = - mo .RotAngle * mo .FlipFactor ;
52
52
53
53
local woundName = mo :GetEntryWoundPresetName ();
You can’t perform that action at this time.
0 commit comments