1
0
mirror of https://github.com/veden/Rampant.git synced 2025-03-17 20:58:35 +02:00

FACTO-291: Increased move command radius and switched form group distraction

This commit is contained in:
Aaron Veden 2023-04-05 22:47:48 -07:00
parent 6043b9a80f
commit 006564faf3
No known key found for this signature in database
GPG Key ID: FF5990B1C6DD3F84
2 changed files with 6 additions and 3 deletions

View File

@ -5,6 +5,8 @@ Version: 3.3.0
- Squad should not compress when close to player structures
Tweaks:
- On group destruction all members are destroyed to prevent orphaned biters
- Increased radius of what pathing requires to complete a move path request
- Switched use_group_distraction to true on forming group
Bugfixes:
- Fixed occasionally compression number wouldn't appear on unit group
- Fixed squad compression could take place when attacking

View File

@ -316,8 +316,9 @@ local function addCommandSet()
Universe.squadQueries.moveCommand = {
type = DEFINES_COMMAND_GO_TO_LOCATION,
destination = {0,0},
pathfind_flags = { cache = true },
distraction = DEFINES_DISTRACTION_BY_ENEMY
pathfind_flags = { cache = true, prefer_straight_paths = true },
distraction = DEFINES_DISTRACTION_BY_ENEMY,
radius = 5
}
Universe.squadQueries.settleCommand = {
type = DEFINES_COMMAND_BUILD_BASE,
@ -372,7 +373,7 @@ local function addCommandSet()
type = DEFINES_COMMAND_GROUP,
group = nil,
distraction = DEFINES_DISTRACTION_BY_ANYTHING,
use_group_distraction = false
use_group_distraction = true
}
Universe.squadQueries.formCommand = {
command = Universe.squadQueries.formGroupCommand,