gameboy Posted November 29, 2018 Report Share Posted November 29, 2018 I tested the walls and fences today. Why is there no gap after the middle tower is destroyed? Where should I change it? Please help me, thank you. Quote Link to comment Share on other sites More sharing options...
Silier Posted November 29, 2018 Report Share Posted November 29, 2018 (edited) There is no gap, because we need to allow them to overlap. Else you would not to be able to build walls of certain lengths if we will require some minimal gaps between wall segments. Remember there are only 3 wall types in game with fixed lengths. So do not allow this and you will have big troubles with building walls trying to fetch everything with these 3 lengths. The problem could be solved if we had just one fixed length of the wall, the best the same length as tower, but I can imagine it would end up with a lot of entities. I think somewhere is patch that does something about it to allow to rebuild lost tower, but I never tested it really. Edited November 29, 2018 by Angen Quote Link to comment Share on other sites More sharing options...
gameboy Posted November 29, 2018 Author Report Share Posted November 29, 2018 If the middle tower is damaged, he should have a gap. Please tell me which file should I modify? Quote Link to comment Share on other sites More sharing options...
Silier Posted November 29, 2018 Report Share Posted November 29, 2018 template_structure_defence_wallset Quote Link to comment Share on other sites More sharing options...
gameboy Posted November 29, 2018 Author Report Share Posted November 29, 2018 (edited) @Angen Modifying the parameters in this file has no effect. <WallSet> <MaxTowerOverlap>0.85</MaxTowerOverlap> <MinTowerOverlap>0.05</MinTowerOverlap> Errors occur when these two parameters change. When I change these two parameters to 1.05 and 1.00. Error message appears: ERROR: RelaxNGValidator: Validation error: other/wallset_palisade:1: Error validating datatype decimal ERROR: RelaxNGValidator: Validation error: other/wallset_palisade:1: Element MaxTowerOverlap failed to validate content ERROR: RelaxNGValidator: Validation failed for '(null)' ERROR: Failed to validate entity template 'other/wallset_palisade' ERROR: JavaScript error: gui/session/session.js line 233 Error: deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:233:1 g_SelectionPanels.Construction.setupButton@gui/session/selection_panels.js:222:18 setupUnitPanel@gui/session/unit_commands.js:95:8 updateUnitCommands@gui/session/unit_commands.js:147:4 updateSelectionDetails@gui/session/selection_details.js:471:2 updateGUIObjects@gui/session/session.js:945:2 onTick@gui/session/session.js:814:3 __eventhandler103 (tick)@session tick:0:1 ERROR: JavaScript error: gui/session/session.js line 233 Error: deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:233:1 g_SelectionPanels.Construction.setupButton@gui/session/selection_panels.js:222:18 setupUnitPanel@gui/session/unit_commands.js:95:8 updateUnitCommands@gui/session/unit_commands.js:147:4 updateSelectionDetails@gui/session/selection_details.js:471:2 updateGUIObjects@gui/session/session.js:945:2 onSimulationUpdate@gui/session/session.js:875:2 __eventhandler105 (simulationupdate)@session simulationupdate:0:1 Edited November 29, 2018 by gameboy Quote Link to comment Share on other sites More sharing options...
Silier Posted November 29, 2018 Report Share Posted November 29, 2018 @gameboy it has to be from 0 to 1 Quote Link to comment Share on other sites More sharing options...
Bigtiger Posted November 29, 2018 Report Share Posted November 29, 2018 @gameboy I had to work with this same issue when making my own custom walls. My work around may be different but it worked. Step#1 go to simulation/template/structures then select a wall piece you want to change. (example gaul_wall_long.xml) step#2 open xml file and go to the bottom where you will find. <WallPiece> <Length>25.5</Length> </WallPiece> Change the length that you find works best for your wall gap. Warning* if changing this for any wall length you might have to change the length for wall_small and wall_medium, and possibly your wall_tower. This might not be the best way to change it, but it worked for me! 1 Quote Link to comment Share on other sites More sharing options...
gameboy Posted November 30, 2018 Author Report Share Posted November 30, 2018 This is a good method, but if we have a default wall file that we can modify, we can completely change the problem. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.