Fixed AI Actions (#31823)
* Updated sprites for AI HUD * Epic test fail * Merged AGhost actions and AI actions together again. * Seperate comms and bugfix. Fixed broadcast.
@@ -51,6 +51,7 @@ entities:
|
|||||||
configurators: []
|
configurators: []
|
||||||
deviceLists: []
|
deviceLists: []
|
||||||
transmitFrequencyId: ShuttleTimer
|
transmitFrequencyId: ShuttleTimer
|
||||||
|
deviceNetId: Wireless
|
||||||
- type: Gravity
|
- type: Gravity
|
||||||
gravityShakeSound: !type:SoundPathSpecifier
|
gravityShakeSound: !type:SoundPathSpecifier
|
||||||
path: /Audio/Effects/alert.ogg
|
path: /Audio/Effects/alert.ogg
|
||||||
|
|||||||
@@ -65,6 +65,7 @@ entities:
|
|||||||
configurators: []
|
configurators: []
|
||||||
deviceLists: []
|
deviceLists: []
|
||||||
transmitFrequencyId: ShuttleTimer
|
transmitFrequencyId: ShuttleTimer
|
||||||
|
deviceNetId: Wireless
|
||||||
- type: DecalGrid
|
- type: DecalGrid
|
||||||
chunkCollection:
|
chunkCollection:
|
||||||
version: 2
|
version: 2
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ entities:
|
|||||||
configurators: []
|
configurators: []
|
||||||
deviceLists: []
|
deviceLists: []
|
||||||
transmitFrequencyId: ShuttleTimer
|
transmitFrequencyId: ShuttleTimer
|
||||||
|
deviceNetId: Wireless
|
||||||
- type: DecalGrid
|
- type: DecalGrid
|
||||||
chunkCollection:
|
chunkCollection:
|
||||||
version: 2
|
version: 2
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ entities:
|
|||||||
configurators: []
|
configurators: []
|
||||||
deviceLists: []
|
deviceLists: []
|
||||||
transmitFrequencyId: ShuttleTimer
|
transmitFrequencyId: ShuttleTimer
|
||||||
|
deviceNetId: Wireless
|
||||||
- type: DecalGrid
|
- type: DecalGrid
|
||||||
chunkCollection:
|
chunkCollection:
|
||||||
version: 2
|
version: 2
|
||||||
|
|||||||
@@ -71,6 +71,7 @@ entities:
|
|||||||
configurators: []
|
configurators: []
|
||||||
deviceLists: []
|
deviceLists: []
|
||||||
transmitFrequencyId: ShuttleTimer
|
transmitFrequencyId: ShuttleTimer
|
||||||
|
deviceNetId: Wireless
|
||||||
- type: DecalGrid
|
- type: DecalGrid
|
||||||
chunkCollection:
|
chunkCollection:
|
||||||
version: 2
|
version: 2
|
||||||
|
|||||||
@@ -70,6 +70,7 @@ entities:
|
|||||||
configurators: []
|
configurators: []
|
||||||
deviceLists: []
|
deviceLists: []
|
||||||
transmitFrequencyId: ShuttleTimer
|
transmitFrequencyId: ShuttleTimer
|
||||||
|
deviceNetId: Wireless
|
||||||
- type: DecalGrid
|
- type: DecalGrid
|
||||||
chunkCollection:
|
chunkCollection:
|
||||||
version: 2
|
version: 2
|
||||||
|
|||||||
@@ -72,6 +72,7 @@ entities:
|
|||||||
configurators: []
|
configurators: []
|
||||||
deviceLists: []
|
deviceLists: []
|
||||||
transmitFrequencyId: ShuttleTimer
|
transmitFrequencyId: ShuttleTimer
|
||||||
|
deviceNetId: Wireless
|
||||||
- type: DecalGrid
|
- type: DecalGrid
|
||||||
chunkCollection:
|
chunkCollection:
|
||||||
version: 2
|
version: 2
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ entities:
|
|||||||
configurators: []
|
configurators: []
|
||||||
deviceLists: []
|
deviceLists: []
|
||||||
transmitFrequencyId: ShuttleTimer
|
transmitFrequencyId: ShuttleTimer
|
||||||
|
deviceNetId: Wireless
|
||||||
- type: DecalGrid
|
- type: DecalGrid
|
||||||
chunkCollection:
|
chunkCollection:
|
||||||
version: 2
|
version: 2
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ entities:
|
|||||||
configurators: []
|
configurators: []
|
||||||
deviceLists: []
|
deviceLists: []
|
||||||
transmitFrequencyId: ShuttleTimer
|
transmitFrequencyId: ShuttleTimer
|
||||||
|
deviceNetId: Wireless
|
||||||
- type: DecalGrid
|
- type: DecalGrid
|
||||||
chunkCollection:
|
chunkCollection:
|
||||||
version: 2
|
version: 2
|
||||||
|
|||||||
@@ -70,6 +70,7 @@ entities:
|
|||||||
configurators: []
|
configurators: []
|
||||||
deviceLists: []
|
deviceLists: []
|
||||||
transmitFrequencyId: ShuttleTimer
|
transmitFrequencyId: ShuttleTimer
|
||||||
|
deviceNetId: Wireless
|
||||||
- type: DecalGrid
|
- type: DecalGrid
|
||||||
chunkCollection:
|
chunkCollection:
|
||||||
version: 2
|
version: 2
|
||||||
|
|||||||
@@ -71,6 +71,7 @@ entities:
|
|||||||
configurators: []
|
configurators: []
|
||||||
deviceLists: []
|
deviceLists: []
|
||||||
transmitFrequencyId: ShuttleTimer
|
transmitFrequencyId: ShuttleTimer
|
||||||
|
deviceNetId: Wireless
|
||||||
- type: DecalGrid
|
- type: DecalGrid
|
||||||
chunkCollection:
|
chunkCollection:
|
||||||
version: 2
|
version: 2
|
||||||
|
|||||||
64
Resources/Prototypes/Actions/station_ai.yml
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
# Actions
|
||||||
|
- type: entity
|
||||||
|
id: ActionJumpToCore
|
||||||
|
name: Jump to core
|
||||||
|
description: Sends your eye back to the core.
|
||||||
|
components:
|
||||||
|
- type: InstantAction
|
||||||
|
itemIconStyle: BigAction
|
||||||
|
icon:
|
||||||
|
sprite: Interface/Actions/actions_ai.rsi
|
||||||
|
state: ai_core
|
||||||
|
event: !type:JumpToCoreEvent
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
id: ActionShowJobIcons
|
||||||
|
name: Show job icons
|
||||||
|
description: Shows job icons for crew members.
|
||||||
|
components:
|
||||||
|
- type: InstantAction
|
||||||
|
itemIconStyle: BigAction
|
||||||
|
icon:
|
||||||
|
sprite: Interface/Actions/actions_ai.rsi
|
||||||
|
state: job_view
|
||||||
|
event: !type:ActionComponentChangeEvent
|
||||||
|
components:
|
||||||
|
- type: ShowJobIcons
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
id: ActionSurvCameraLights
|
||||||
|
name: Toggle camera lights
|
||||||
|
description: Enable surveillance camera lights near wherever you're viewing.
|
||||||
|
components:
|
||||||
|
- type: InstantAction
|
||||||
|
itemIconStyle: BigAction
|
||||||
|
icon:
|
||||||
|
sprite: Interface/Actions/actions_ai.rsi
|
||||||
|
state: camera_light
|
||||||
|
event: !type:RelayedActionComponentChangeEvent
|
||||||
|
components:
|
||||||
|
- type: LightOnCollideCollider
|
||||||
|
- type: FixturesChange
|
||||||
|
fixtures:
|
||||||
|
lightTrigger:
|
||||||
|
shape:
|
||||||
|
!type:PhysShapeCircle
|
||||||
|
radius: 0.35
|
||||||
|
density: 80
|
||||||
|
hard: false
|
||||||
|
layer:
|
||||||
|
- GhostImpassable
|
||||||
|
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
id: ActionAIViewLaws
|
||||||
|
name: View Laws
|
||||||
|
description: View the laws that you must follow.
|
||||||
|
components:
|
||||||
|
- type: InstantAction
|
||||||
|
itemIconStyle: NoItem
|
||||||
|
icon:
|
||||||
|
sprite: Interface/Actions/actions_ai.rsi
|
||||||
|
state: state_laws
|
||||||
|
event: !type:ToggleLawsScreenEvent
|
||||||
|
useDelay: 0.5
|
||||||
@@ -76,6 +76,7 @@
|
|||||||
- type: DeviceNetwork
|
- type: DeviceNetwork
|
||||||
deviceNetId: Wireless
|
deviceNetId: Wireless
|
||||||
receiveFrequencyId: CrewMonitor
|
receiveFrequencyId: CrewMonitor
|
||||||
|
transmitFrequencyId: ShuttleTimer
|
||||||
- type: WirelessNetworkConnection
|
- type: WirelessNetworkConnection
|
||||||
range: 500
|
range: 500
|
||||||
- type: StationLimitedNetwork
|
- type: StationLimitedNetwork
|
||||||
@@ -122,8 +123,8 @@
|
|||||||
description: View a mass scanner interface.
|
description: View a mass scanner interface.
|
||||||
components:
|
components:
|
||||||
- type: InstantAction
|
- type: InstantAction
|
||||||
icon: { sprite: Structures/Machines/parts.rsi, state: box_0 }
|
icon: { sprite: Interface/Actions/actions_ai.rsi, state: mass_scanner }
|
||||||
iconOn: Structures/Machines/parts.rsi/box_2.png
|
iconOn: Interface/Actions/actions_ai.rsi/mass_scanner.png
|
||||||
keywords: [ "AI", "console", "interface" ]
|
keywords: [ "AI", "console", "interface" ]
|
||||||
priority: -10
|
priority: -10
|
||||||
event: !type:ToggleIntrinsicUIEvent { key: enum.RadarConsoleUiKey.Key }
|
event: !type:ToggleIntrinsicUIEvent { key: enum.RadarConsoleUiKey.Key }
|
||||||
@@ -146,8 +147,8 @@
|
|||||||
description: View a crew monitoring interface.
|
description: View a crew monitoring interface.
|
||||||
components:
|
components:
|
||||||
- type: InstantAction
|
- type: InstantAction
|
||||||
icon: { sprite: Structures/Machines/parts.rsi, state: box_0 }
|
icon: { sprite: Interface/Actions/actions_ai.rsi, state: crew_monitor }
|
||||||
iconOn: Structures/Machines/parts.rsi/box_2.png
|
iconOn: Interface/Actions/actions_ai.rsi/crew_monitor.png
|
||||||
keywords: [ "AI", "console", "interface" ]
|
keywords: [ "AI", "console", "interface" ]
|
||||||
priority: -10
|
priority: -10
|
||||||
event: !type:ToggleIntrinsicUIEvent { key: enum.CrewMonitoringUIKey.Key }
|
event: !type:ToggleIntrinsicUIEvent { key: enum.CrewMonitoringUIKey.Key }
|
||||||
@@ -158,8 +159,8 @@
|
|||||||
description: View a station records Interface.
|
description: View a station records Interface.
|
||||||
components:
|
components:
|
||||||
- type: InstantAction
|
- type: InstantAction
|
||||||
icon: { sprite: Structures/Machines/parts.rsi, state: box_0 }
|
icon: { sprite: Interface/Actions/actions_ai.rsi, state: station_records }
|
||||||
iconOn: Structures/Machines/parts.rsi/box_2.png
|
iconOn: Interface/Actions/actions_ai.rsi/station_records.png
|
||||||
keywords: [ "AI", "console", "interface" ]
|
keywords: [ "AI", "console", "interface" ]
|
||||||
priority: -10
|
priority: -10
|
||||||
event: !type:ToggleIntrinsicUIEvent { key: enum.GeneralStationRecordConsoleKey.Key }
|
event: !type:ToggleIntrinsicUIEvent { key: enum.GeneralStationRecordConsoleKey.Key }
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
- ActionJumpToCore
|
- ActionJumpToCore
|
||||||
- ActionShowJobIcons
|
- ActionShowJobIcons
|
||||||
- ActionSurvCameraLights
|
- ActionSurvCameraLights
|
||||||
- ActionViewLaws
|
- ActionAIViewLaws
|
||||||
- type: UserInterface
|
- type: UserInterface
|
||||||
interfaces:
|
interfaces:
|
||||||
enum.RadarConsoleUiKey.Key:
|
enum.RadarConsoleUiKey.Key:
|
||||||
@@ -54,57 +54,14 @@
|
|||||||
toggleAction: ActionAGhostShowCrewMonitoring
|
toggleAction: ActionAGhostShowCrewMonitoring
|
||||||
enum.GeneralStationRecordConsoleKey.Key:
|
enum.GeneralStationRecordConsoleKey.Key:
|
||||||
toggleAction: ActionAGhostShowStationRecords
|
toggleAction: ActionAGhostShowStationRecords
|
||||||
|
- type: CrewMonitoringConsole
|
||||||
|
- type: GeneralStationRecordConsole
|
||||||
|
- type: DeviceNetwork
|
||||||
|
deviceNetId: Wireless
|
||||||
|
receiveFrequencyId: CrewMonitor
|
||||||
|
- type: RadarConsole
|
||||||
|
followEntity: false
|
||||||
|
|
||||||
# Actions
|
|
||||||
- type: entity
|
|
||||||
id: ActionJumpToCore
|
|
||||||
name: Jump to core
|
|
||||||
description: Sends your eye back to the core.
|
|
||||||
components:
|
|
||||||
- type: InstantAction
|
|
||||||
itemIconStyle: BigAction
|
|
||||||
icon:
|
|
||||||
sprite: Interface/Actions/actions_ai.rsi
|
|
||||||
state: ai_core
|
|
||||||
event: !type:JumpToCoreEvent
|
|
||||||
|
|
||||||
- type: entity
|
|
||||||
id: ActionShowJobIcons
|
|
||||||
name: Show job icons
|
|
||||||
description: Shows job icons for crew members.
|
|
||||||
components:
|
|
||||||
- type: InstantAction
|
|
||||||
itemIconStyle: BigAction
|
|
||||||
icon:
|
|
||||||
sprite: Interface/Misc/job_icons.rsi
|
|
||||||
state: Captain
|
|
||||||
event: !type:ActionComponentChangeEvent
|
|
||||||
components:
|
|
||||||
- type: ShowJobIcons
|
|
||||||
|
|
||||||
- type: entity
|
|
||||||
id: ActionSurvCameraLights
|
|
||||||
name: Toggle camera lights
|
|
||||||
description: Enable surveillance camera lights near wherever you're viewing.
|
|
||||||
components:
|
|
||||||
- type: InstantAction
|
|
||||||
itemIconStyle: BigAction
|
|
||||||
icon:
|
|
||||||
sprite: Interface/Actions/actions_ai.rsi
|
|
||||||
state: camera_light
|
|
||||||
event: !type:RelayedActionComponentChangeEvent
|
|
||||||
components:
|
|
||||||
- type: LightOnCollideCollider
|
|
||||||
- type: FixturesChange
|
|
||||||
fixtures:
|
|
||||||
lightTrigger:
|
|
||||||
shape:
|
|
||||||
!type:PhysShapeCircle
|
|
||||||
radius: 0.35
|
|
||||||
density: 80
|
|
||||||
hard: false
|
|
||||||
layer:
|
|
||||||
- GhostImpassable
|
|
||||||
|
|
||||||
# Ai
|
# Ai
|
||||||
- type: entity
|
- type: entity
|
||||||
|
|||||||
@@ -35,6 +35,7 @@
|
|||||||
- type: ExtensionCableReceiver
|
- type: ExtensionCableReceiver
|
||||||
- type: Screen
|
- type: Screen
|
||||||
- type: DeviceNetwork
|
- type: DeviceNetwork
|
||||||
|
deviceNetId: Wireless
|
||||||
receiveFrequencyId: ShuttleTimer
|
receiveFrequencyId: ShuttleTimer
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 269 B After Width: | Height: | Size: 524 B |
|
Before Width: | Height: | Size: 309 B After Width: | Height: | Size: 572 B |
|
After Width: | Height: | Size: 419 B |
|
Before Width: | Height: | Size: 295 B After Width: | Height: | Size: 575 B |
BIN
Resources/Textures/Interface/Actions/actions_ai.rsi/job_view.png
Normal file
|
After Width: | Height: | Size: 508 B |
|
After Width: | Height: | Size: 909 B |
@@ -21,6 +21,18 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "state_laws"
|
"name": "state_laws"
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
"name": "station_records"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "mass_scanner"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "job_view"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "comms_console"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 241 B After Width: | Height: | Size: 315 B |
|
After Width: | Height: | Size: 465 B |