Tapothei Posted January 24 Report Share Posted January 24 (edited) 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. Edited 3 hours ago by Tapothei Quote Link to comment Share on other sites More sharing options...
Atrik Posted January 24 Report Share Posted January 24 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 January 24 Report Share Posted January 24 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 January 24 Report Share Posted January 24 top down view ftw. 1 1 Quote Link to comment Share on other sites More sharing options...
phosit Posted January 24 Report Share Posted January 24 I think the engine only allows the bounding box to be prism. 1 Quote Link to comment Share on other sites More sharing options...
Tapothei Posted January 24 Author Report Share Posted January 24 (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 January 24 by Tapothei Quote Link to comment Share on other sites More sharing options...
Stan` Posted January 24 Report Share Posted January 24 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 January 25 Author Report Share Posted January 25 (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 January 25 by Tapothei Quote Link to comment Share on other sites More sharing options...
Stan` Posted January 25 Report Share Posted January 25 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 January 25 Report Share Posted January 25 Maybe this helps: https://gitea.wildfiregames.com/0ad/0ad/pulls/8181 Quote Link to comment Share on other sites More sharing options...
Tapothei Posted January 25 Author Report Share Posted January 25 (edited) Noice, I'll be sharing the files later. I'll be including all CC. Since I notice also some are not clickable. 21 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. barebone-civil-centre-boundary.zip default-civil-centre-boundary-fix.zip better-civil-centre-boundary.zip Edited January 26 by Tapothei Quote Link to comment Share on other sites More sharing options...
Stan` Posted January 25 Report Share Posted January 25 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 January 25 Author Report Share Posted January 25 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...
Stan` Posted January 25 Report Share Posted January 25 2 hours ago, Tapothei said: 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. Well you touched serialized components, so my guess would be that you will go out of sync, sorry. So few options - Get the community mod people onboard with this @real_tabasco_sauce - Submit your own mod to mod.io - Get it merged for R29 next year. 1 Quote Link to comment Share on other sites More sharing options...
real_tabasco_sauce Posted January 25 Report Share Posted January 25 The Han CC is particularly egregious because of its sloped design. BTW @Tapothei it used to be that the garrison flags would make the height even taller, so what you see in a27 is better than it used to be. It would be great if we could make some changes to accept multiple rectangular prisms as selection volumes, but until then, I could go through particularly problematic buildings and trim some height. 1 Quote Link to comment Share on other sites More sharing options...
Tapothei Posted January 26 Author Report Share Posted January 26 (edited) 14 hours ago, Stan` said: - Get the community mod people onboard with this @real_tabasco_sauce - Submit your own mod to mod.io - Get it merged for R29 next year. If they can integrate them to the mod that would be great, however I don't use that mod currently since I want to experience mostly vanilla. Will do that, but if I ever leave and the mod is still needed, then will give the author to someone. Looking forward to it. 11 hours ago, real_tabasco_sauce said: it used to be that the garrison flags would make the height even taller, so what you see in a27 is better than it used to be. oof, I would cry like the fox if I was there. Edit: In case you didn't notice I've updated the file(Forgot to remove in the Han CC name Zhu and WONDERMAN text), be sure to grab the better version. I'm waiting for the appeal of mod.io will be sending the link once accepted, from there the info is detailed. But in simpleton Barebone is the code inputed without changing height, Default makes all height to 8, Better set all height to 1. Edited January 26 by Tapothei Quote Link to comment Share on other sites More sharing options...
Tapothei Posted 3 hours ago Author Report Share Posted 3 hours ago (edited) So A28 has been updated for my linux, then I'll be updating German's CC Boundary Box. For the future me or any linux modders(Debian), to obtain the zip file for 0AD(flatpak-3.5gb) which you can disect later. Go to terminal type nautilus admin:/ then in files go to var/lib/flatpak/app/com/play.0ad.zeroad/current/active/files/share/games/0ad/mods/public. Then copy public.zip to anywhere you want, in my case its download and there you have it. Hmm when I go to editor, it crashes, I've checked CC changes and Rome is the only effected. Fixed it, now its working properly as well as included German's CC. I mean the code can be clean but I'll leave it to the programmers grey beard's wisdom of placing it properly. Please integrate this to A29, so I can play it in multiplayer. To be honest, the CC is big so the height being 1.0 is pretty much enough, all you need is clicking the ground. Edit: Followed Stan's suggestion and made one. bet-civ-cen-bou.zip Edited 1 hour ago by Tapothei 1 Quote Link to comment Share on other sites More sharing options...
Stan` Posted 2 hours ago Report Share Posted 2 hours ago Best way to get it in A29 is to make a pull request on Gitea 1 Quote Link to comment Share on other sites More sharing options...
guerringuerrin Posted 1 hour ago Report Share Posted 1 hour ago (edited) Hey @Tapothei!, thanks for working on this. If you'd like, you can even go a step further and open the Pull Request yourself. That would make things easier, since you wouldn’t need to rely on someone else to do it. Of course, this isn’t mandatory. Here is a guide to get the latest code and how to compile it And here's the commit guidelines Keep in mind that opening a PR doesn’t guarantee that the code will be merged. Edited 1 hour ago by guerringuerrin typos Quote Link to comment Share on other sites More sharing options...
Tapothei Posted 52 minutes ago Author Report Share Posted 52 minutes ago (edited) 16 minutes ago, guerringuerrin said: @Tapothei!If you'd like, you can even go a step further and open the Pull Request yourself. Here is a guide to get the latest code and how to compile it And here's the commit guidelines Keep in mind that opening a PR doesn’t guarantee that the code will be merged. Cough* I tried to but its not available for me, since its my first contribution, and I don't know github works other then sending report issues. I'm not a coder.... compiling is too difficult for my brain... commit guideline, I'll be sure to understand it later. Understandable, thank you for giving me a reality check, I must weep near the ocean. Oh sea swept me away~! Edited 52 minutes ago by Tapothei 1 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.