Jump to content

Can't right click through Han's CC


Tapothei
 Share

Recommended Posts

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.
1489457777_Emptyspace.thumb.png.a3447247574c16ef2142292480a4b745.png

To illustrate how big it is, that I can't set a rally point behind the CC.

1095581046_Emptyspace2.thumb.png.d850b54548d0e8e717daac05db78e0fe.png

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.

1172879667_EmptyspaceModified.thumb.png.c6c11be862167757f04eb564cc025860.png

Link to comment
Share on other sites

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 by Tapothei
Link to comment
Share on other sites

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.

2090113878_Funny1.thumb.png.e6b13b3b237ca8bc829a11ef0e1821bb.png

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 by Tapothei
Link to comment
Share on other sites

Noice, I'll be sharing the files later. I'll be including all CC. Since I notice also some are not clickable.

3 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.
Expected.thumb.png.f72532c18b58d001ec63462e3b4b29d5.png

This is <Height>1.0</Height> which is my preference.

Noice.thumb.png.e67d6b1ee13db222d785a2b4472fcae0.png

Thank you @phosityou are such a bro.

Edited by Tapothei
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...