Tapothei Posted yesterday at 05:29 Report Share Posted yesterday at 05:29 There is an empty space around the CC which I can select but I'm trying to rally point the woman to behind it to make a farm which I can't seem to do. Unless I move my camera. To illustrate how big it is, that I can't set a rally point behind the CC. Suggestion: Reduce the hitbox to follow the blue line(red colour) which is on the surface or limit it until the blue or even yellow. Quote Link to comment Share on other sites More sharing options...
Atrik Posted yesterday at 08:08 Report Share Posted yesterday at 08:08 By the way you can display the bouding box. Enable Cheats ALT+D (Open developer overlay) Bounding box overlay checkbox 1 Quote Link to comment Share on other sites More sharing options...
Gurken Khan Posted yesterday at 08:25 Report Share Posted yesterday at 08:25 2 hours ago, Tapothei said: Unless I move my camera. I find it really convenient with the thumb buttons. 1 Quote Link to comment Share on other sites More sharing options...
ffm2 Posted yesterday at 09:33 Report Share Posted yesterday at 09:33 top down view ftw. 1 1 Quote Link to comment Share on other sites More sharing options...
phosit Posted yesterday at 13:36 Report Share Posted yesterday at 13:36 I think the engine only allows the bounding box to be prism. Quote Link to comment Share on other sites More sharing options...
Tapothei Posted yesterday at 14:09 Author Report Share Posted yesterday at 14:09 (edited) 38 minutes ago, phosit said: I think the engine only allows the bounding box to be prism. Then I would like to request to shorten it, maybe about until 50-65% if possible. I don't know much about modding, but if anyone can guide me how to change the boundary then I would be happy. Happy to modify all CC so their hitbox is on the surface/bigger, and make people's life miserable muahahaha! (joke) Edited yesterday at 14:11 by Tapothei Quote Link to comment Share on other sites More sharing options...
Stan` Posted yesterday at 15:15 Report Share Posted yesterday at 15:15 https://gitea.wildfiregames.com/0ad/0ad/src/commit/13453a3c7bbd31ca84c4dd6ec3e92d1f3e615648/binaries/data/mods/public/simulation/templates/structures/han/civil_centre.xml#L5 That's this value that drives the height. (You cannot change the <Square depth="35.0" width="43.0"/> though as it will mess up with the blue outline) Quote Link to comment Share on other sites More sharing options...
Tapothei Posted 8 hours ago Author Report Share Posted 8 hours ago (edited) 15 hours ago, Stan` said: https://gitea.wildfiregames.com/0ad/0ad/src/commit/13453a3c7bbd31ca84c4dd6ec3e92d1f3e615648/binaries/data/mods/public/simulation/templates/structures/han/civil_centre.xml#L5 That's this value that drives the height. (You cannot change the <Square depth="35.0" width="43.0"/> though as it will mess up with the blue outline) I'm on linux using flatpak, tried various things: - Searched for the file, in which I needed permission to enter to the /var/ - Found the 3.6gb file in a /flatpak/, Decompress the zip file, edit the file, compress it 1.8gb = Missmatch compress = Error won't load - Made my own mod, following community mod = It doesn't register. - Dismantle community mod, removing what I don't need and edit the zip file inside by overwriting without decompressing it = Works So uh... it seems the height is not editable, its locked somewhat. Tried editing the house height too but it also doesn't work. Other stuffs I can change like the name, resource, description even the border. Here's the normal file, the height is set to 1, yet in game it doesn't register. The name registers, Guan Zhu instead of Guan Shu. city-councel-boundary-fix.zip mod.json Edited 8 hours ago by Tapothei Quote Link to comment Share on other sites More sharing options...
Stan` Posted 7 hours ago Report Share Posted 7 hours ago Mmmh then it would seem I was wrong and it's using the 3D model ... Not sure what the height is for then... 1 Quote Link to comment Share on other sites More sharing options...
phosit Posted 6 hours ago Report Share Posted 6 hours ago Maybe this helps: https://gitea.wildfiregames.com/0ad/0ad/pulls/8181 Quote Link to comment Share on other sites More sharing options...
Tapothei Posted 5 hours ago Author Report Share Posted 5 hours ago (edited) Noice, I'll be sharing the files later. I'll be including all CC. Since I notice also some are not clickable. 5 hours ago, Stan` said: Not sure what the height is for then... It seems the height will be applied only after the code: <VisualActor> <SelectionShape> <Footprint/> </SelectionShape> </VisualActor> This was supposed to happen with the <Height>8.0</Height> if the code was applied. This is <Height>1.0</Height> which is my preference. Thank you @phosityou are such a bro. Edit: - Done with the default, more info; Some of them don't state the height, Persians stays the same...(you can edit the height to 8) - Next my preference. now its proper with similar height of 1, every CC. Extra info: Mod.js is inside the zip, if need to, just copy it outside together with the zip. Removed cached.xmb, since no error occur in the better version, if it does there is a copy in the default version. I'll come back and tweak the files at some point, by editing this thread. If error occurs, I don't know bro, just ask this thread. Good luck have fun amigos. @Stan`request to also move this thread to Game Modification, thank you. default-civil-centre-boundary-fix.zip better-civil-centre-boundary-fix.zip Edited 2 hours ago by Tapothei Quote Link to comment Share on other sites More sharing options...
Stan` Posted 3 hours ago Report Share Posted 3 hours ago Ah right, forgot about that feature. Maybe we should warn when setting the height that it will be ignored. I suppose I could write another Python script using the RL interface to find the templates that do it. https://code.wildfiregames.com/P277 Quote Link to comment Share on other sites More sharing options...
Tapothei Posted 1 hour ago Author Report Share Posted 1 hour ago Hmm... now this is a problem, how do I play multiplayer with this... Please this is a QOL type of mod... I don't like the way Han's CC blocks my right click... xd. I'm so tired, anyways single player rejoice! Have a good day/night. 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.