r/wargame • • 20d ago

Wargame Modding Tools map zone editor

Hello all

I've no idea if anyone cares anymore but the instructions to K-D tree format are available in Github. If you want to build a zone editor, those should cover enough ground to make it work.

The basic idea is that visible zones are built on coordinates in the .dat file. This is pre-baked into a KD tree structure which is then added into the data file. K-D tree is "a space-partitioning data structure used in computer science to organize points in a k-dimensional space". The short idea is that you halve the map into a tree-like structure and calculate against that whether a CV is inside command zone or not. Previously we were missing this last step to make a functional map editor.

The format should be same for at least Airland Battle and Red Dragon. I haven't checked European Escalation but I see no reason that the format would be significantly different there since it's the same engine.

It's been a while, huh?

https://github.com/is-consulting/moddingSuite/issues/57

//Hob

12 Upvotes

3 comments sorted by

3

u/BlackTeaRemos Toolkit enjoyer 20d ago edited 20d ago

Hello! Thanks for contribution. In case you wonder, you can already import maps with fully functional zones and their capture, as well as compatibility with multiplayer in the modding toolkit. It involves much more steps than just building the K-D tree. I have also implemented wargame airlands battle map import.

Have a great day

(please take note that it's WARNO maps, which means WARNO editor, which means that you can have custom maps with all custom models with custom regions)

4

u/perkl566 20d ago

I haven't played the game for a decade so no. I did notice someone had essentially debugged the entire app open and now its possible to create entire maps from scratch. Props to everyone still hacking away at it.

3

u/Vitamin_Queue 20d ago

Not sure if you've covered this befroe, but is it possible to utilize modded maps in multiplayer matches?