Carthaginian Stone Wall now has its own value.
Details
E.g:
Click on the place where you want to start a wall then move the cursor around.
Whenever you move the cursor back to the starting point of the wall, you'll get an error.
Diff Detail
- Repository
- rP 0 A.D. Public Repository
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Sounds good and fix that error with carthagenian walls. So or we modify it for carth or we do like in this diff.
ERROR: No placement possible for distance=7.567, minOverlap=0.05, maxOverlap=0.85
Build is green
Updating workspaces. Build (release)... Build (debug)... Running release tests... Running cxxtest tests (305 tests).................................................................................................................................................................................................................................................................................................................OK! Running debug tests... Running cxxtest tests (305 tests).................................................................................................................................................................................................................................................................................................................OK!
http://jw:8080/job/phabricator/789/ for more details.
Why are the removed differences irrelevant?
Some walls didn't correctly inherit TowersOverlapping entries from their template
Can you give an example?
Carthage wall Overlapping was inherited from its parent wallset having a value of <MaxTowerOverlap>0.85</MaxTowerOverlap> while carthaginian wall needs a 0.90 value.
I believe you, but what about all the others changed?
binaries/data/mods/public/simulation/templates/structures/brit_wallset_stone.xml | ||
---|---|---|
16 ↗ | (On Diff #1287) | this |
binaries/data/mods/public/simulation/templates/structures/gaul_wallset_stone.xml | ||
16 ↗ | (On Diff #1287) | and this |
binaries/data/mods/public/simulation/templates/structures/iber_wallset_stone.xml | ||
16 ↗ | (On Diff #1287) | and this |
binaries/data/mods/public/simulation/templates/structures/rome_wallset_siege.xml | ||
21 ↗ | (On Diff #1287) | Why is this difference irrelevant? |
binaries/data/mods/public/simulation/templates/structures/rome_wallset_stone.xml | ||
17 ↗ | (On Diff #1287) | and this? |
as elexis pointed out, generalizing the Overlapping value isn't very mod-friendly nor well fit the actors.
Added the overlapping entries to cart_wall_stone.xml and deleted the non used inherited entry from the parent.
Build is green
Updating workspaces. Build (release)... Build (debug)... Running release tests... Running cxxtest tests (306 tests)..................................................................................................................................................................................................................................................................................................................OK! Running debug tests... Running cxxtest tests (306 tests)..................................................................................................................................................................................................................................................................................................................OK!
http://jw:8080/job/phabricator/885/ for more details.
Applying the patch causes multiple errors:
ERROR: RelaxNGValidator: Validation error: other/wallset_palisade:1: Expecting an element MinTowerOverlap, got nothing ERROR: RelaxNGValidator: Validation error: other/wallset_palisade:1: Invalid sequence in interleave ERROR: RelaxNGValidator: Validation error: other/wallset_palisade:1: Element WallSet failed to validate content ERROR: RelaxNGValidator: Validation failed for '(null)' ERROR: Failed to validate entity template 'other/wallset_palisade'
reverted the template_structure_defense_wallset.xml because of the palizades inheritance.
Build is green
Updating workspaces. Build (release)... Build (debug)... Running release tests... Running cxxtest tests (306 tests)..................................................................................................................................................................................................................................................................................................................OK! Running debug tests... Running cxxtest tests (306 tests)..................................................................................................................................................................................................................................................................................................................OK! Checking XML files...
http://jw:8080/job/phabricator/1373/ for more details.