1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The Lich King demands your service! We've reached the 19th edition of the Icon Contest. Come along and make some chilling servants for the one true king.
    Dismiss Notice
  4. The 4th SFX Contest has started. Be sure to participate and have a fun factor in it.
    Dismiss Notice
  5. The poll for the 21st Terraining Contest is LIVE. Be sure to check out the entries and vote for one.
    Dismiss Notice
  6. The results are out! Check them out.
    Dismiss Notice
  7. Don’t forget to sign up for the Hive Cup. There’s a 555 EUR prize pool. Sign up now!
    Dismiss Notice
  8. The Hive Workshop Cup contest results have been announced! See the maps that'll be featured in the Hive Workshop Cup tournament!
    Dismiss Notice
  9. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

[System] Random Terrain Generator

Discussion in 'The Lab' started by Anachron, Apr 15, 2017.

  1. Anachron

    Anachron

    Joined:
    Sep 9, 2007
    Messages:
    6,167
    Resources:
    66
    Icons:
    49
    Packs:
    2
    Tools:
    1
    Maps:
    3
    Spells:
    9
    Tutorials:
    1
    JASS:
    1
    Resources:
    66
    The first system in wc3 I created was a RTG and so I decided to do it again, but this time in real.

    The prototype works with Ashenvale tileset only and needs to get some fixes before it will be released to the public

    So far it generates:
    - Lakes
    - Forests
    - Mountains/Hills

    Too steep cliffs are not walkable but can be flown over.

    ToDo:
    - [x] Walkways
    - Cities?
    - Other TileSets
    - Creep-Camps

    Feel free to add your suggestions!

    Screenshots

    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
     
    Last edited: Apr 16, 2017
  2. Anachron

    Anachron

    Joined:
    Sep 9, 2007
    Messages:
    6,167
    Resources:
    66
    Icons:
    49
    Packs:
    2
    Tools:
    1
    Maps:
    3
    Spells:
    9
    Tutorials:
    1
    JASS:
    1
    Resources:
    66
    I've finished a basic version of the walkway generator:
    Screenshots

    [​IMG]
    [​IMG]
     
  3. The_Silent

    The_Silent

    Joined:
    Feb 4, 2008
    Messages:
    2,875
    Resources:
    159
    Models:
    49
    Icons:
    89
    Packs:
    8
    Skins:
    12
    Maps:
    1
    Resources:
    159
    How do you get around wc3s issues with not detecting terrain deformation properly ingame?
     
  4. Anachron

    Anachron

    Joined:
    Sep 9, 2007
    Messages:
    6,167
    Resources:
    66
    Icons:
    49
    Packs:
    2
    Tools:
    1
    Maps:
    3
    Spells:
    9
    Tutorials:
    1
    JASS:
    1
    Resources:
    66
    For now I don't since I am new to this topic. I've seen quite a few Terrain Generators (one from Wietlol and one from doom_sheep) and I am learning about what issues I have.
    One I already realized is save-games don't save terrain deformations, so I plan to create a seed-based system.

    Edit:
    I've started working on "Icecrown Glacier" but I'm still struggling to find out which tile combination looks best.

    Icecrown Screenshot

    [​IMG]
     
    Last edited: Apr 16, 2017
  5. Flux

    Flux

    Joined:
    Feb 6, 2014
    Messages:
    2,334
    Resources:
    28
    Maps:
    1
    Spells:
    19
    Tutorials:
    2
    JASS:
    6
    Resources:
    28
    I was also interested in creating generating random terrain/arena through script but when I realized that terrain deformation is hidden in fog, I completely gave up since I couldn't think of a possible workaround.
     
  6. TriggerHappy

    TriggerHappy

    Code Moderator

    Joined:
    Jun 23, 2007
    Messages:
    3,665
    Resources:
    22
    Spells:
    11
    Tutorials:
    2
    JASS:
    9
    Resources:
    22
    Disable fog of war then re-enable it? It won't work for black mask though.
     
  7. doom_sheep

    doom_sheep

    Joined:
    Oct 18, 2008
    Messages:
    753
    Resources:
    0
    Resources:
    0
    post the river code

    permanent and temporary deformations work completely different. permanent ones work fine in fog.
     
    Last edited: Apr 16, 2017
  8. Flux

    Flux

    Joined:
    Feb 6, 2014
    Messages:
    2,334
    Resources:
    28
    Maps:
    1
    Spells:
    19
    Tutorials:
    2
    JASS:
    6
    Resources:
    28
    It seems permanent terrain deformation works perfectly in fog (test using GUI.w3x), it is already visible from the start just as @doom_sheep said. If you look at Wietlol's test map however, the terrains only become visible when the player have vision because he used temporary terrain deformations.
     

    Attached Files: