Tapothei Posted January 24 Report Share Posted January 24 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 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...
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.