Jump to content
Korean Random
Sign in to follow this  
Archie

Getting object bounding box in battle

Recommended Posts

Hi, I need help with getting a list of objects on the map (stuff like bushes) and somehow getting the object's bounding box (coordinates).
I tried looking through the WoT Decompiled code on GitHub, but couldn't find anything relevant.

Any help please?

Share this post


Link to post

Short link
Share on other sites
On 1/27/2023 at 11:00 PM, Archie said:

Any help please?

bboxes & coordinates are stored in space.bin of the map, you can unpack it using my unpacker - https://kr.cm/f/t/29351/

example of the unpacking result: 01_karelia_unpacked.zip

SpTr.json stores coordinates of bushes, trees

BSMI.json & BSMO.json store coordinates & bboxes of static models

Edited by SkepticalFox
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites
On 1/27/2023 at 9:41 PM, SkepticalFox said:

BWST.json stores coordinates of bushes, trees

Could you share how to read the coordinates (I assume it's the number in front of the name) - I tried driving to those coordinates in-game, but they are are out of bounds?

Share this post


Link to post

Short link
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.
Note: Your post will require moderator approval before it will be visible.

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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...