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 poll for Hive's 12th Concept Art Contest is up! Go cast your vote for your favourite genie!
    Dismiss Notice
  4. Travel to distant realms and encounter scenes unknown to the common folk. The Greatest of Adventures is upon us with the 8th Cinematic Contest. Join in on a fun ride.
    Dismiss Notice
  5. The 18th Icon Contest is ON! Choose any ingame unit and give him/her Hero abilities. Good luck to all.
    Dismiss Notice
  6. Contestants are to create a scene set in the Stone Age. Come and see what you can come up with. We wish you the best of luck!
    Dismiss Notice
  7. Colour outside the lines! Techtree Contest #13 is a go. The contest is optionally paired.
    Dismiss Notice
  8. Greetings cerebrates, our Swarm needs new spawners that will have numerous children. Join the HIVE's 31st Modeling Contest - Spawners and Spawned! The contest is optionally paired.
    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,849
    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,659
    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:
    745
    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: