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