Staredit Network > Forums > Modding Assistance > Topic: Understanding map "walkability"
Understanding map "walkability"
May 15 2022, 9:29 am
By: andreasvz  

May 15 2022, 9:29 am andreasvz Post #1



Hi,

for reading in the maps in Stargus there're tons of old code that somehow works. But the detection which map tiles could be walked and which not is not working. I rewrote some format parsers for the Chk format and the CV5, CF4,... format.

But I'm not complete sure which information is only for the Map Editor and which is really used for the game.

For example just that data which decides if a ground unit could walk to a place on the map. Where is this encoded? Do you know?

regards
Andreas




May 15 2022, 4:08 pm jjf28 Post #2

Cartography Artisan

VF4 contains tile flags which determine walkability
VF4
TileFlags

(4 by 4 array of mini tiles per tile, you get the tile using the "megatile" index from CV5)
Graphical preview of elevation&walkability



TheNitesWhoSay - Clan Aura - github

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

May 15 2022, 6:07 pm andreasvz Post #3



Thanks for the hint. I'll try to integrate this.

Interesting project - do you plan support on Linux platform for your code?

I'm asking as we're developing stargus but till now nobody is working on the map editor.

I'm at the moment re-implementing lot of starcraft formats with kaitai parser:
https://github.com/andreas-volz/stargus/tree/master/src/kaitai

Maybe all C++ people should spend their work in portable and good base libraries to read the data :-)




May 16 2022, 4:50 am jjf28 Post #4

Cartography Artisan

Parts of the project are intended to be portable (e.g. Mapping Core - which is the parser/starcraft/non-gui mapping stuff); though I'm not actively targeting linux.



TheNitesWhoSay - Clan Aura - github

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
[2024-4-20. : 7:56 pm]
Oh_Man -- lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
Please log in to shout.


Members Online: Roy