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

Commit 2c800fe

Browse files
committed
Craft-related fixes and balancing
1 parent ddc449a commit 2c800fe

File tree

10 files changed

+26
-44
lines changed

10 files changed

+26
-44
lines changed

Base.rte/Craft/Dropships/DropshipMK1.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1442,7 +1442,7 @@ AddActor = Attachable
14421442

14431443
AddActor = ACDropShip
14441444
PresetName = Dropship MK1
1445-
Description = Trade Star's reliable and safe dropship. Its tough armor can withstand numerous hits while delivering or transporting troops to the field. Its powerful thrusters allow it to carry even very heavy loads. Equipped with two underslung machine gun turrets.
1445+
Description = Trade Star's reliable and safe dropship. Its tough armor can withstand numerous hits while transporting troops to the field. Its powerful thrusters allow it to carry even very heavy loads. Equipped with two underslung machine gun turrets.
14461446
AddToGroup = Craft
14471447
Mass = 2400
14481448
MaxInventoryMass = 800
@@ -1547,7 +1547,7 @@ AddActor = ACDropShip
15471547
CrashSound = SoundContainer
15481548
CopyOf = Metal Body Blunt Hit Large
15491549
CanLand = 0
1550-
GibImpulseLimit = 24000
1550+
GibImpulseLimit = 32000
15511551
GibBlastStrength = 50
15521552
GibWoundLimit = 80
15531553
GibSound = SoundContainer

Base.rte/Craft/Rockets/MK2/RocketMK2.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,9 @@ AddActor = ACRocket
560560
BodyHitSound = SoundContainer
561561
CopyOf = Metal Body Blunt Hit
562562
Health = 100
563+
StableVelocityThreshold = Vector
564+
X = 200
565+
Y = 200
563566
ImpulseDamageThreshold = 9000
564567
AimDistance = 30
565568
Perceptiveness = 0.3

Base.rte/Craft/Shared/AttachableTurret.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ function Update(self)
6060
end
6161
--Check that the target isn't obscured by terrain
6262
local aimTrace = SceneMan:ShortestDistance(self.Pos, aimTarget.Pos, SceneMan.SceneWrapsX);
63-
local terrCheck = SceneMan:CastStrengthRay(self.Pos, aimTrace, 30, Vector(), 5, 0, SceneMan.SceneWrapsX);
64-
if terrCheck == false then
63+
if not SceneMan:CastStrengthRay(self.Pos, aimTrace, 30, Vector(), 5, 0, SceneMan.SceneWrapsX) then
6564
self.RotAngle = aimTrace.AbsRadAngle;
6665
--Debug: visualize aim trace
6766
if self.showAim then

Base.rte/Craft/StorageCrate/Crate.ini

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ AddEffect = MOSRotating
1313
SpriteOffset = Vector
1414
X = -12
1515
Y = -6
16-
AngularVel = 6
16+
AngularVel = 1
1717
AtomGroup = AtomGroup
1818
AutoGenerate = 1
1919
Material = Material
@@ -34,7 +34,7 @@ AddEffect = MOSRotating
3434
SpriteOffset = Vector
3535
X = -10
3636
Y = -12
37-
AngularVel = 6
37+
AngularVel = 1
3838
AtomGroup = AtomGroup
3939
AutoGenerate = 1
4040
Material = Material
@@ -168,19 +168,13 @@ AddActor = ACRocket
168168
CopyOf = Drop Crate Body Gib A
169169
Offset = Vector
170170
X = 0
171-
Y = 10
171+
Y = -11
172172
AddGib = Gib
173173
GibParticle = MOSRotating
174174
CopyOf = Drop Crate Body Gib B
175175
Offset = Vector
176-
X = 0
177-
Y = 0
178-
AddGib = Gib
179-
GibParticle = MOSRotating
180-
CopyOf = Drop Crate Body Gib A
181-
Offset = Vector
182-
X = 0
183-
Y = 10
176+
X = 1
177+
Y = 5
184178
AddGib = Gib
185179
GibParticle = MOPixel
186180
CopyOf = Spark Yellow 1
@@ -204,7 +198,7 @@ AddActor = ACRocket
204198
MinVelocity = 1
205199
AddGib = Gib
206200
GibParticle = MOSParticle
207-
CopyOf = Gib Metal Rust Micro A
201+
CopyOf = Gib Military Tiny A
208202
Count = 8
209203
Spread = 2.25
210204
MaxVelocity = 15

Base.rte/Craft/StorageCrate/DropCrate.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ function Update(self)
2525
local damage = impulse/(actor.GibImpulseLimit * 0.1 + actor.Material.StructuralIntegrity * 10);
2626
actor.Health = damage > 0 and actor.Health - damage or actor.Health;
2727
end
28-
self:SwapNextInventory(actor, true);
2928
end
3029
end
3130
if self.GibTimer:IsPastSimTimeLimit() then

Base.rte/Scripts/Global/BulkyDropships.lua

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1+
function BulkyDropshipsScript:StartScript()
2+
self.multiplier = 0.35;
3+
end
14
function BulkyDropshipsScript:UpdateScript()
25
for actor in MovableMan.AddedActors do
36
if not actor:NumberValueExists("BulkyDropshipsScript") then
47
actor:SetNumberValue("BulkyDropshipsScript", 1);
58
if IsACDropShip(actor) then
69
local dropship = ToACDropShip(actor);
7-
dropship.MaxEngineAngle = 7;
8-
dropship.LateralControlSpeed = 1;
10+
dropship.MaxEngineAngle = dropship.MaxEngineAngle * self.multiplier;
11+
dropship.LateralControlSpeed = dropship.LateralControlSpeed * self.multiplier;
12+
dropship.HatchDelay = dropship.HatchDelay/self.multiplier;
913
end
1014
end
1115
end

Dummy.rte/Craft/Dropships/Dropship.ini

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1237,7 +1237,6 @@ AddActor = ACDropShip
12371237
GetsHitByMOs = 1
12381238
ScriptPath = Base.rte/AI/DropShipAI.lua
12391239
ScriptPath = Base.rte/Craft/Shared/ScuttleExplosions.lua
1240-
ScriptPath = Dummy.rte/Craft/Dropships/DummyDropShipAI.lua
12411240
SpriteFile = ContentFile
12421241
FilePath = Dummy.rte/Craft/Dropships/HullA.png
12431242
FrameCount = 1
@@ -1268,6 +1267,7 @@ AddActor = ACDropShip
12681267
Status = 2
12691268
Health = 100
12701269
ImpulseDamageThreshold = 9000
1270+
MaxEngineAngle = 10
12711271
StableVelocityThreshold = Vector
12721272
X = 220
12731273
Y = 220
@@ -1304,7 +1304,6 @@ AddActor = ACDropShip
13041304
ParentOffset = Vector
13051305
X = 3
13061306
Y = -13
1307-
AutoStabilize = 0 // the upper thrusters are controlled from the lua script
13081307
HatchDoorSwingRange = Matrix
13091308
AngleDegrees = 28
13101309
HatchDelay = 200
@@ -1328,7 +1327,7 @@ AddActor = ACDropShip
13281327
CopyOf = Metal Body Blunt Hit Large
13291328
CanLand = 0
13301329
GibBlastStrength = 50
1331-
GibImpulseLimit = 18000
1330+
GibImpulseLimit = 24000
13321331
GibWoundLimit = 60
13331332
GibSound = SoundContainer
13341333
CopyOf = Ship Explosion

Dummy.rte/Craft/Dropships/DummyDropShipAI.lua

Lines changed: 0 additions & 22 deletions
This file was deleted.

Dummy.rte/Craft/Rockets/Rocklet.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,9 @@ AddEffect = ACRocket
327327
BodyHitSound = SoundContainer
328328
CopyOf = Metal Body Blunt Hit
329329
Health = 100
330+
StableVelocityThreshold = Vector
331+
X = 160
332+
Y = 160
330333
ImpulseDamageThreshold = 6000
331334
AimDistance = 30
332335
CharHeight = 90

Ronin.rte/Craft/Rocket/RocketMK1.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ AddActor = ACRocket
115115
BodyHitSound = SoundContainer
116116
CopyOf = Metal Body Blunt Hit
117117
Health = 100
118+
StableVelocityThreshold = Vector
119+
X = 180
120+
Y = 180
118121
ImpulseDamageThreshold = 8000
119122
AimDistance = 30
120123
Perceptiveness = 0.3

0 commit comments

Comments
 (0)