Spawn point system.

Hey we can place spawn points on the map now instead of hardcoding them!
Spawn points are simply invisible bare bones entities.
This commit is contained in:
Pieter-Jan Briers
2019-03-17 15:52:27 +01:00
parent 8aefe6c615
commit e1f6a2bbd5
14 changed files with 147 additions and 2 deletions

View File

@@ -0,0 +1,31 @@
- type: entity
name: Spawn Point
id: spawn_point
abstract: true
components:
- type: Sprite
netsync: false
visible: false
sprite: Objects/markers.rsi
- type: Icon
sprite: Objects/markers.rsi
- type: SpawnPoint
placement:
mode: SnapgridCenter
- type: entity
name: LateJoin Spawn Point
id: spawn_point_latejoin
parent: spawn_point
components:
- type: Sprite
state: cross_red
- type: SpawnPoint
spawn_type: LateJoin
- type: Icon
state: cross_red

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

View File

@@ -0,0 +1 @@
{"version": 1, "size": {"x": 32, "y": 32}, "license": "CC-BY-SA-3.0", "copyright": "Taken from https://github.com/vgstation-coders/vgstation13/blob/e71d6c4fba5a51f99b81c295dcaec4fc2f58fb19/icons/mob/screen1.dmi", "states": [{"name": "cross_blue", "directions": 1, "delays": [[1.0]]}, {"name": "cross_green", "directions": 1, "delays": [[1.0]]}, {"name": "cross_red", "directions": 1, "delays": [[1.0]]}]}