This plugin adjusts the number of scientists that spawn to defend the Bradley APC when it's attacked.
Configuration
JSON:
{
"Version": "1.1.0",
"Road Bradley": {
"Minimum Number Of Scientists To Spawn": 4,
"Maximum Number Of Scientists To Spawn": 6
},
"Launch Site Bradley": {
"Minimum Number Of Scientists To Spawn": 4,
"Maximum Number Of Scientists To Spawn": 6
}
}
Minimum Number Of Scientists To Spawn
- Sets the minimum number of scientists that will spawn around Bradley.Maximum Number Of Scientists To Spawn
- Sets the maximum number of scientists that will spawn around Bradley.
Harmony Hooks
The following hooks are implemented via Harmony patches:
C#:
void OnScientistSpawnPositionsGenerated(BradleyAPC bradley, BaseEntity attacker, List<GameObjectRef> scientistPrefabs, List<Vector3> spawnPositions)
- Called after scientist spawn positions are generated. Useful for modifying both the spawn positions and the scientists that will spawn.
- No return behavior.