Add timed spawner for Xeno AI and markers
This commit is contained in:
@@ -178,6 +178,8 @@ namespace Content.Client
|
|||||||
"FlashExplosive",
|
"FlashExplosive",
|
||||||
"FlashProjectile",
|
"FlashProjectile",
|
||||||
"Utensil",
|
"Utensil",
|
||||||
|
"UnarmedCombat",
|
||||||
|
"TimedSpawner",
|
||||||
};
|
};
|
||||||
|
|
||||||
foreach (var ignoreName in registerIgnore)
|
foreach (var ignoreName in registerIgnore)
|
||||||
|
|||||||
@@ -28,10 +28,10 @@
|
|||||||
netsync: false
|
netsync: false
|
||||||
visible: false
|
visible: false
|
||||||
sprite: Objects/markers.rsi
|
sprite: Objects/markers.rsi
|
||||||
state: spawner_rifle
|
state: spawner_ai
|
||||||
- type: Icon
|
- type: Icon
|
||||||
sprite: Objects/markers.rsi
|
sprite: Objects/markers.rsi
|
||||||
state: spawner_rifle
|
state: spawner_ai
|
||||||
- type: TimedSpawner
|
- type: TimedSpawner
|
||||||
prototypes:
|
prototypes:
|
||||||
- HumanMob_Spirate
|
- HumanMob_Spirate
|
||||||
@@ -40,3 +40,24 @@
|
|||||||
intervalSeconds: 60
|
intervalSeconds: 60
|
||||||
minimumEntitiesSpawned: 1
|
minimumEntitiesSpawned: 1
|
||||||
maximumEntitiesSpawned: 5
|
maximumEntitiesSpawned: 5
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
name: Xeno AI Timed Spawner
|
||||||
|
id: XenoAITimedSpawner
|
||||||
|
parent: BaseTimedSpawner
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
netsync: false
|
||||||
|
visible: false
|
||||||
|
sprite: Objects/markers.rsi
|
||||||
|
state: spawner_xenoai
|
||||||
|
- type: Icon
|
||||||
|
sprite: Objects/markers.rsi
|
||||||
|
state: spawner_xenoai
|
||||||
|
- type: TimedSpawner
|
||||||
|
prototypes:
|
||||||
|
- XenoMob_Content
|
||||||
|
chance: 0.85
|
||||||
|
intervalSeconds: 30
|
||||||
|
minimumEntitiesSpawned: 2
|
||||||
|
maximumEntitiesSpawned: 4
|
||||||
|
|||||||
@@ -367,6 +367,15 @@
|
|||||||
]
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "spawner_ai",
|
||||||
|
"directions": 1,
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
1.0
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "spawner_grenade",
|
"name": "spawner_grenade",
|
||||||
"directions": 1,
|
"directions": 1,
|
||||||
@@ -456,6 +465,15 @@
|
|||||||
1.0
|
1.0
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "spawner_xenoai",
|
||||||
|
"directions": 1,
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
1.0
|
||||||
|
]
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
BIN
Resources/Textures/Objects/markers.rsi/spawner_ai.png
Normal file
BIN
Resources/Textures/Objects/markers.rsi/spawner_ai.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
BIN
Resources/Textures/Objects/markers.rsi/spawner_xenoai.png
Normal file
BIN
Resources/Textures/Objects/markers.rsi/spawner_xenoai.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.4 KiB |
Reference in New Issue
Block a user