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

Commit 5344d94

Browse files
GacyrGacyr
authored andcommitted
Changed Leg MaxLength to explicit Contracted and Extended offsets
Changed LFGLeg, LBGLeg, RFGLeg and RBGLeg calls in lua to the fully spelled out word. Also fixed a bug where LFGLeg was there twice instead of RightFGLeg Multiplied dropship main engine joint strengths and gib impulse limits by ~2.5 so they don't break all the time. The real problem is that emitters transfer forces a lot more strongly now, but I'm ini illiterate so I dunno what the best way to fix that in this case is Changed retro thrusters' joint strengths and gib impulse limits to 0 so they don't detach/blow up. Using 10000 in place of infinite (0) is hacky, unless it's actually a deliberate choice, in which case it should be changed back Changed MountedMO to MountedDevice for crabs Upped dummy dreadnought gun joint stiffness and gib impulse limit so it can actually fire succesfully. My values are probably overkill though.
1 parent 82facb2 commit 5344d94

File tree

10 files changed

+38
-27
lines changed

10 files changed

+38
-27
lines changed

Base.rte/AI/HumanBehaviors.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2710,7 +2710,7 @@ function HumanBehaviors.ThrowTarget(AI, Owner, Abort)
27102710
end
27112711
elseif MO.ClassName == "ACrab" then
27122712
AI.Target = ToACrab(MO)
2713-
local Legs = AI.Target.LFGLeg or AI.Target.LFGLeg or AI.Target.LBGLeg or AI.Target.RFGLeg -- the legs
2713+
local Legs = AI.Target.LeftFGLeg or AI.Target.RightFGLeg or AI.Target.LeftBGLeg or AI.Target.RightFGLeg -- the legs
27142714
if Legs then
27152715
AimPoint = Legs.Pos
27162716
end

Base.rte/Actors/Shared.ini

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ AddActor = Leg
1313
CopyOf = Null AtomGroup
1414
JointStrength = 10000
1515
JointStiffness = 0.1
16-
MaxLength = 1
16+
ContractedOffset = Vector
17+
X = 0.5
18+
Y = 0
19+
ExtendedOffset = Vector
20+
X = 1
21+
Y = 0
1722
MoveSpeed = 1
1823

1924

Base.rte/Craft/Dropships/DropshipMK1.ini

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ AddEffect = AEmitter
815815
JointOffset = Vector
816816
X = 17
817817
Y = 0
818-
JointStrength = 1800
818+
JointStrength = 4500
819819
JointStiffness = 1.0
820820
DrawAfterParent = 1
821821
EntryWound = AEmitter
@@ -869,7 +869,7 @@ AddEffect = AEmitter
869869
Flash = Attachable
870870
CopyOf = Jet Flame A
871871
FlashOnlyOnBurst = 0
872-
GibImpulseLimit = 2100
872+
GibImpulseLimit = 5000
873873
GibWoundLimit = 30
874874
GibSound = SoundContainer
875875
CopyOf = Crash Woosh
@@ -1055,7 +1055,7 @@ AddEffect = AEmitter
10551055
Resolution = 7
10561056
Depth = 4
10571057
DeepCheck = 0
1058-
JointStrength = 1800
1058+
JointStrength = 4500
10591059
JointStiffness = 1.0
10601060
JointOffset = Vector
10611061
X = -16
@@ -1109,7 +1109,7 @@ AddEffect = AEmitter
11091109
Flash = Attachable
11101110
CopyOf = Jet Flame A
11111111
FlashOnlyOnBurst = 0
1112-
GibImpulseLimit = 2100
1112+
GibImpulseLimit = 5000
11131113
GibWoundLimit = 30
11141114
GibSound = SoundContainer
11151115
CopyOf = Crash Woosh
@@ -1334,7 +1334,7 @@ AddEffect = AEmitter
13341334
Resolution = 3
13351335
Depth = 5
13361336
DeepCheck = 0
1337-
JointStrength = 10000
1337+
JointStrength = 0
13381338
JointStiffness = 1
13391339
DrawAfterParent = 1
13401340
AddEmission = Emission
@@ -1373,7 +1373,7 @@ AddEffect = AEmitter
13731373
Flash = Attachable
13741374
CopyOf = Muzzle Flash Pistol
13751375
FlashOnlyOnBurst = 0
1376-
GibImpulseLimit = 1
1376+
GibImpulseLimit = 0
13771377
AddGib = Gib
13781378
GibParticle = MOSParticle
13791379
CopyOf = Gib Metal Grey Tiny A

Base.rte/Craft/Shared.ini

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@ AddEffect = Leg
2020
CopyOf = Null AtomGroup
2121
JointStrength = 10000
2222
JointStiffness = 0.1
23-
MaxLength = 1
23+
ContractedOffset = Vector
24+
X = 0.5
25+
Y = 0
26+
ExtendedOffset = Vector
27+
X = 1
28+
Y = 0
2429
MoveSpeed = 1
2530
WillIdle = 0
2631

@@ -105,7 +110,7 @@ AddEffect = AEmitter
105110
Resolution = 3
106111
Depth = 5
107112
DeepCheck = 0
108-
JointStrength = 10000
113+
JointStrength = 0
109114
JointStiffness = 1
110115
DrawAfterParent = 1
111116
AddEmission = Emission
@@ -144,7 +149,7 @@ AddEffect = AEmitter
144149
Flash = Attachable
145150
CopyOf = Muzzle Flash Pistol
146151
FlashOnlyOnBurst = 0
147-
GibImpulseLimit = 1
152+
GibImpulseLimit = 0
148153
AddGib = Gib
149154
GibParticle = MOSParticle
150155
CopyOf = Gib Metal Grey Tiny A
@@ -178,7 +183,7 @@ AddEffect = AEmitter
178183
Resolution = 3
179184
Depth = 5
180185
DeepCheck = 0
181-
JointStrength = 10000
186+
JointStrength = 0
182187
JointStiffness = 1
183188
JointOffset = Vector
184189
X = -1
@@ -223,7 +228,7 @@ AddEffect = AEmitter
223228
Flash = Attachable
224229
CopyOf = Muzzle Flash Pistol
225230
FlashOnlyOnBurst = 0
226-
GibImpulseLimit = 1
231+
GibImpulseLimit = 0
227232
AddGib = Gib
228233
GibParticle = MOSParticle
229234
CopyOf = Gib Metal Grey Tiny A

Coalition.rte/Actors/Mecha/BlastRunner/BlastRunner.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ AddActor = Turret
215215
JointOffset = Vector
216216
X = 0
217217
Y = 0
218-
MountedMO = HDFirearm
218+
MountedDevice = HDFirearm
219219
CopyOf = Blast Runner Digger
220220

221221

Coalition.rte/Actors/Mecha/GatlingDrone/GatlingDrone.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ AddActor = Turret
430430
ParentOffset = Vector
431431
X = 0
432432
Y = -3
433-
MountedMO = HDFirearm
433+
MountedDevice = HDFirearm
434434
CopyOf = Coalition Drone Gatling Gun Mobile
435435
ParentOffset = Vector
436436
X = 0

Dummy.rte/Actors/Mecha/Dreadnought/Dreadnought.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ AddDevice = HDFirearm
228228
Resolution = 4
229229
Depth = 10
230230
DeepCheck = 1
231-
JointStrength = 80
231+
JointStrength = 800
232232
JointStiffness = 0.5
233233
JointOffset = Vector
234234
X = 0
@@ -294,7 +294,7 @@ AddDevice = HDFirearm
294294
EjectionOffset = Vector
295295
X = -5
296296
Y = 4
297-
GibImpulseLimit = 0.1
297+
GibImpulseLimit = 1000
298298
GibWoundLimit = 8
299299
// GibSound = SoundContainer
300300
// CopyOf = Bone Crack
@@ -663,7 +663,7 @@ AddActor = Turret
663663
X = 0
664664
Y = 10
665665
DrawAfterParent = 1
666-
MountedMO = HDFirearm
666+
MountedDevice = HDFirearm
667667
CopyOf = Dreadnought Nailer
668668
ParentOffset = Vector
669669
X = 8

Dummy.rte/Actors/Turrets/SmallTurret/SmallTurret.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ AddActor = Turret
278278
X = 0
279279
Y = -1
280280
DrawAfterParent = 1
281-
MountedMO = HDFirearm
281+
MountedDevice = HDFirearm
282282
CopyOf = Small Turret Nailer
283283
ParentOffset = Vector
284284
X = 5

Dummy.rte/Craft/Dropships/Dropship.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ AddEffect = AEmitter
714714
JointOffset = Vector
715715
X = 0
716716
Y = -14
717-
JointStrength = 800
717+
JointStrength = 2000
718718
JointStiffness = 1.0
719719
DrawAfterParent = 0
720720
EntryWound = AEmitter
@@ -765,7 +765,7 @@ AddEffect = AEmitter
765765
Flash = Attachable
766766
CopyOf = Jet Flame A
767767
FlashOnlyOnBurst = 0
768-
GibImpulseLimit = 1000
768+
GibImpulseLimit = 2500
769769
GibWoundLimit = 20
770770
GibSound = SoundContainer
771771
CopyOf = Crash Woosh
@@ -873,7 +873,7 @@ AddEffect = AEmitter
873873
JointOffset = Vector
874874
X = 0
875875
Y = -14
876-
JointStrength = 800
876+
JointStrength = 2000
877877
JointStiffness = 1.0
878878
DrawAfterParent = 0
879879
EntryWound = AEmitter
@@ -924,7 +924,7 @@ AddEffect = AEmitter
924924
Flash = Attachable
925925
CopyOf = Jet Flame A
926926
FlashOnlyOnBurst = 0
927-
GibImpulseLimit = 1000
927+
GibImpulseLimit = 2500
928928
GibWoundLimit = 20
929929
GibSound = SoundContainer
930930
CopyOf = Crash Woosh
@@ -1126,7 +1126,7 @@ AddEffect = AEmitter
11261126
Flash = Attachable
11271127
CopyOf = Muzzle Flash Pistol
11281128
FlashOnlyOnBurst = 0
1129-
GibImpulseLimit = 1
1129+
GibImpulseLimit = 0
11301130
AddGib = Gib
11311131
GibParticle = MOSParticle
11321132
CopyOf = Gib Metal Grey Tiny A

Dummy.rte/Craft/Rockets/Rocklet.ini

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ AddEffect = AEmitter
181181
Resolution = 3
182182
Depth = 5
183183
DeepCheck = 0
184-
JointStrength = 10000
184+
JointStrength = 0
185185
JointStiffness = 1
186186
DrawAfterParent = 1
187187
EmissionOffset = Vector
@@ -223,7 +223,7 @@ AddEffect = AEmitter
223223
Flash = Attachable
224224
CopyOf = Muzzle Flash Pistol
225225
FlashOnlyOnBurst = 0
226-
GibImpulseLimit = 1
226+
GibImpulseLimit = 0
227227
AddGib = Gib
228228
GibParticle = MOSParticle
229229
CopyOf = Gib Metal Grey Tiny A
@@ -243,7 +243,7 @@ AddEffect = AEmitter
243243
FilePath = Base.rte/Null.bmp
244244
AtomGroup = AtomGroup
245245
CopyOf = Null AtomGroup
246-
JointStrength = 10000
246+
JointStrength = 0
247247
JointStiffness = 1
248248
DrawAfterParent = 1
249249
AddEmission = Emission
@@ -288,6 +288,7 @@ AddEffect = AEmitter
288288
BurstScale = 1
289289
BurstTriggered = 1
290290
BurstSpacing = 100
291+
GibImpulseLimit = 0
291292

292293

293294
AddEffect = ACRocket

0 commit comments

Comments
 (0)