Make Saltern driveable (#4257)

* Broadphase refactor (content)

* Shuttle jank

* Fixes

* Testing jank

* Features and things

* Balance stuffsies

* AHHHHHHHHHHHHHHHH

* Mass and stuff working

* Fix drops

* Another balance pass

* Balance AGEN

* Add in stuff for rotating shuttles for debugging

* Nothing to see here

* Testbed stuffsies

* Fix some tests

* Fixen test

* Try fixing map

* Shuttle movement balance pass

* lasaggne

* Basic Helmsman console working

* Slight docking cleanup

* Helmsman requires power

* Basic shuttle test

* Stuff

* Fix computations

* Add shuttle console to saltern

* Rename helmsman to shuttleconsole

* Final stretch

* More tweaks

* Fix piloting prediction for now.
This commit is contained in:
metalgearsloth
2021-07-21 21:15:12 +10:00
committed by GitHub
parent 55087a6f16
commit 500b9cb1ea
44 changed files with 1042 additions and 1601 deletions

View File

@@ -136,7 +136,7 @@
alertType: PilotingShuttle
category: Piloting
onClick: !type:StopPiloting { }
icon: /Textures/Interface/Alerts/Buckle/buckled.png
icon: /Textures/Interface/Alerts/piloting.png
name: Piloting Shuttle
description: You are piloting a shuttle. Click the alert to stop.

View File

@@ -8,6 +8,7 @@
components:
- type: Tag
tags:
- CanPilot
- FootstepSound
- type: Reactive
reactions:
@@ -253,6 +254,7 @@
- type: Sprite
netsync: false
drawdepth: Mobs
noRot: true
# TODO BODY Turn these into individual body parts?
layers:
- map: ["enum.HumanoidVisualLayers.Chest"]

View File

@@ -1,33 +0,0 @@
- type: entity
id: PilotSeatChair
parent: BaseStructure
name: pilot seat
description: The pilot seat of a prestigious battle cruiser.
components:
- type: Sprite
sprite: Structures/Furniture/furniture.rsi
state: shuttle_chair
- type: Physics
bodyType: Static
fixtures:
- shape:
!type:PhysShapeAabb
bounds: "-0.5,-0.25,0.5,0.25"
mask:
- Impassable
- VaultImpassable
- SmallImpassable
- type: InteractionOutline
- type: Damageable
resistances: metallicResistances
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 100
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- type: ShuttleController
- type: Strap
position: Stand

View File

@@ -199,3 +199,26 @@
MaterialWoodPlank:
min: 1
max: 1
- type: entity
name: pilot seat
id: ChairPilotSeat
parent: SeatBase
description: The pilot seat of a prestigious ship.
components:
- type: Anchorable
- type: Rotatable
- type: Sprite
sprite: Structures/Furniture/furniture.rsi
state: shuttle_chair
netsync: false
- type: Physics
bodyType: Static
fixtures:
- shape:
!type:PhysShapeAabb
bounds: "-0.45, -0.45, 0.05, 0.45"
mask:
- Impassable
- VaultImpassable
- SmallImpassable

View File

@@ -12,6 +12,17 @@
- type: entity
parent: ComputerBase
id: ComputerShuttleBase
name: shuttle console
description: Used to pilot a shuttle.
abstract: true
components:
- type: ShuttleConsole
- type: ApcPowerReceiver
powerLoad: 200
- type: entity
parent: ComputerShuttleBase
id: ComputerShuttle
name: shuttle console
description: Used to pilot a shuttle.
@@ -23,7 +34,7 @@
screen: shuttle
- type: entity
parent: ComputerBase
parent: ComputerShuttleBase
id: ComputerShuttleSyndie
name: syndicate shuttle console
description: Used to pilot a syndicate shuttle.
@@ -79,7 +90,7 @@
- key: enum.ResearchClientUiKey.Key
type: ResearchClientBoundUserInterface
- type: ApcPowerReceiver
load: 200
powerLoad: 200
priority: Low
- type: Computer
board: ResearchComputerCircuitboard

View File

@@ -8,6 +8,7 @@
- type: Sprite
netsync: false
sprite: Structures/Storage/closet.rsi
noRot: true
layers:
- state: generic
- state: generic_door

View File

@@ -1,6 +1,9 @@
- type: Tag
id: BotanySharp
- type: Tag
id: CanPilot
- type: Tag
id: ConveyorAssembly