5566
OXCE Suggestions DONE / Re: Hunter-killer
« on: September 21, 2017, 09:24:41 pm »
How things work is still pretty open... currently I'm trying the path of least resistance... and I also still have more questions than answers
Anyway, to answer at least some:
1. ruleset is pretty minimal atm
Bases don't do anything yet, but they will have at least:
- defense perimeter radius
- UFO type(s) to spawn
- how often UFOs can be spawned
2. Target is picked by a simple algorithm: every 10 minutes look at all craft in radar range, score them using attached algorithm and select the most attractive target... the basic idea is "prefer interceptors over transports"
Anyway, to answer at least some:
1. ruleset is pretty minimal atm
Code: [Select]
ufos:
- type: STR_SMALL_SCOUT
radarRange: 1000 # hunting range
hunterKillerPercentage: 100 # % chance to become a hunter-killer when spawned
Bases don't do anything yet, but they will have at least:
- defense perimeter radius
- UFO type(s) to spawn
- how often UFOs can be spawned
2. Target is picked by a simple algorithm: every 10 minutes look at all craft in radar range, score them using attached algorithm and select the most attractive target... the basic idea is "prefer interceptors over transports"