• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!
eejin
Reaction score
173

Profile posts Latest activity Postings Experience Resources About

  • For the misc tile field, in your code you apply a bit mask to get the last 4 bits: corner.cliff_texture = (misc & 0xF0) >> 4; but then you do a right bit shift of 4. In your documentation I don't see why you are doing a bit shift on the last 4 bits. Can you explain? Doesn't this mean cliff texture will always a value between 0 and 15?
    Hi, what is the 16th bit in "water_and_edge" in w3e used for? Is it always 0? According to your spec (and code), the 15h bit is whether the tile is on the map edge). Then in your code, you do the & of "water_and_edge" with 0x3FFF which just applies to the first 14 bits in binary: 0011 1111 1111 1111. Is the 16th bit used for anything?
    Hello! I just learned about your great work breaking down the structure of Warcraft 3 map files and manipulating these programmatically. I am interested in be able to read terrain+doodad data from existing maps and then sample from this data to write new maps with new terrain+doodad data. I have a background in high level programming (Python, Java) and machine learning (which I want to use to generate new Warcraft 3 maps by learning from existing ones). Please let me know if there is any way I can help your work, and I may be coming to you for questions as I try to make use of your C++ repository.
    eejin
    eejin
    Thank you! Do you intend to randomly generate Warcraft 3 maps? As of now the code only has almost 100% terrain loading, but only very limited doodad loading (though I'm currently working on it). It might be interesting to someday possible extract only the parsing code into a library.
    sethmachine
    sethmachine
    Hi! Yes my intention is to be able to generate non-noisy Warcraft 3 maps using your code which would include a terrain layer followed by doodad layer. My ultimate goal is a "world generator" for a map I'm making, where players submit "passwords" to an online web page that will generate a new random world (i.e. a new playable Warcraft 3 map file ).
    Reputation (+4):
    (Post) can you please discuss this with Dr Super Good in a private message?This thread is about unification, not the details of your github document
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
Top