Using Terragen to Generate Displacements

Easy Displacement Terrain.

Well first of all you will need a few programs to make this work, but once you have everything its a pretty easy process to make quick and easy terrain in Hammer.

Tools Needed!

  • Terragen - Download
    • Yes, there is a licensed version and a free version. The free version has some restrictions, but will work fine for what you will be using it for.
  • TGPGuiLib - Download
    • Just needed to get the next tool to work correctly
  • For Export Only - Download
    • This is what you will need to export your terrain file as a .bmp image for the next tool to be able to read and make displacements for you
  • DispGen - Download
    • This is the tool that will make your displacements and save a .vmf file for you to open and edit to your liking in Hammer.
Alright, now I will procede to explain how to generate some simple terrain in Terragen, and how to install/use all those tools. First, you need to run the installer for TGPGuiLib. You don't need to do anything else with this. For Export Only, you will need to unzip the files and copy/paste them into your Terragen directory (for instance C:\Program Files\Terragen). Now, open up Terragen, and a window will be there labeled Landscape. This is really all you will be dealing with, other then maybe the 3d view to get an idea of how it will look. Click on the 'Generate Terrain' button and another window appears. Things may look a bit confusing so I'm going to attempt to give a basic description for each option. However, you can find more information about this here.
Method - Styles used to randomly generate terrain, the stuff other then 'Subdivide & Displace II' is used to make more rugged and rocky terrain. I recommend keeping it the default for this however. Action - Self explanatory. The first option generates new terrain each time you click the 'Generate Terrain' button. The second option will add/subtract to it. Realism - This doesn't matter all too much, since you will still be limited to the restrictions of textures and setting of the Source Engine. Smoothing - The higher you make the slider, the more smooth your hill/mountains will become. Glaciation - Flattens the bottom of valleys and smooths angles. Canyonism - Basically the reverse of Glaciation. I recommend playing with these two setting the most to get different terrains. Size of Features - Minimum will make smaller steeper hills, while maximum makes more like plateaus (hills/mountains with flat tops).
The last two features, I recommend leaving them default. So click Generate Terrain till you get something you like. You can also click on View/Sculpt and make some crude changes with the sculpt tool as well, its pretty simple to use, but hard to get anything too detailed with it. Once you have a terrain you wish to work with, I recommend saving it as the Terragen terrain file, just in case. Now, when you are ready to export it, click on Accessories and select F.E.O Windows BMP. Just leave everything in the next window at default settings. NOTICE: If this option is not available, you have not correctly installed For Export Only! You can kinda preview how the terrain looks while still in Terragen. Just in the 'Rendering Control' box, uncheck 'Fixed Height Above Surface'. Then change your altitude so you are above the terrain to see everything. Then click the 3D button on the left to get a preview. You can move around by holding down the left mouse button to look and 'WASD' keys to move around. Now then, open up DispGen. You can mess with the brush generation parameters. If you even have a general knowledge of Hammer you should be able to figure it out. Where it says 'Heightmap File', click the button with three dots, and select your .BMP that you exported from Terragen. You can also click 'Run Smoothing' if you so desire. Pick a material and maybe an Alpha Map if you have one (I'm not going into alpha maps in this tutorial). Lastly, under VMF output, click the button with three dots and name a new map to save your newly created terrain in. Just click on Generate, and you should have a .vmf file with terrain all created for you and ready to edit. Have fun with this. Hopefully, I'll see some maps with badass terrain ;) This can also be used in any Source game really. If you have any questions, just send me a PM, and I'll try to get back to you ASAP.

Oh noes! You're not a Member!

Want access to cool stuff? As a member you can:

  • Post. Give the submitter your thoughts on this Tutorial.
  • Say Thanks. Show your appreciation by sending the submitter points.
  • Stamp Posts. Let other posters know what you think of their posts.
  • Rate. Give this Tutorial a rating out of 10.
  • Flag. Alert moderators and warn members of a problem with this Tutorial.
  • Vote. Vote the submitter for the Monthly Awards.
  • Subscribe. Get notified when this submitter submits again.

Interested? Register or Login

Comments

  • sephrosasia's Levels
    • A5: Veteran
      Account Age: 6 years
    Posted 6 years ago

    I've used terragen in the past but only to make images, and I didnt even think to combine the two before your tutorial, thank you for this :)

    Rubinelle CL
  • Euronymous's Levels
    • A6: Elder
      Account Age: 7 years
    Posted 6 years ago

    Really helpful, cheers!

    Bananite
  • Greyfrog_Design's Levels
    • P2: Drudge
      Points: 5,973
    • E1: Helper
      EF: 10
    • A6: Elder
      Account Age: 8 years
    Posted 6 years ago

    Very good. i make displacements like that without all the extra programs though... but i think it could be very useful if you were to create a custom landscape for an island or volcano or some such thing.

    Indeed an good addition to the site media. I look forward to seeing more for this author.

    User Title
    Prefab Moderator - SauceMan
  • OwnT-'s Levels
    • P3: Peasant
      Points: 16,113
    • E1: Helper
      EF: 9
    • A5: Veteran
      Account Age: 6 years
    Posted 6 years ago

    Nicely done, the outcome is awesome. And as always good use of html ^_^

    Can't stop, won't stop.
  • Smokec0ke's Levels
    • P5: Peddler
      Points: 92,486
    • A5: Veteran
      Account Age: 6 years
    Posted 6 years ago

    Pros: Explained well, In good detail, and very useful Notes: its a good 9.9/10

    User Title
    I am Barcode
  • -Fight-'s Levels
    • P2: Drudge
      Points: 6,077
    • E1: Helper
      EF: 17
    • A6: Elder
      Account Age: 6 years
    Posted 6 years ago

    Ill have to try this some time

    And... here...we.........go!
  • Misto's Levels
    • P4: Worker
      Points: 44,125
    • E3: Tutor
      EF: 60
    • A6: Elder
      Account Age: 7 years
    Posted 6 years ago
    Posted by AsianBorat This is like, infinitely useful!!! I don't know why your bScore is somehow 0.0, but this is definitely a good tut.

    Thanks for the feedback. It was only 0 because a studio member assessed it first, which makes it 0 till someone else does.

    User Title
    ...
  • AsianBorat's Levels
    • P1: Beggar
      Points: 34
    • E1: Helper
      EF: 1
    • A6: Elder
      Account Age: 7 years
    Posted 6 years ago

    This is like, infinitely useful!!! I don't know why your bScore is somehow 0.0, but this is definitely a good tut.

    Pirates < Pinjas > Ninjas
  • ExtraOrdinary's Levels
    • P3: Peasant
      Points: 8,435
    • E1: Helper
      EF: 14
    • A6: Elder
      Account Age: 7 years
    Posted 6 years ago

    Didn't know that this worked with Hammer, Nice tutorial, will try that out for sure :D

    User Title
    Proud GTX285 User (02 June 200
  • Sebhael's Levels
    • P1: Beggar
      Points: 403
    • E2: Guide
      EF: 31
    • A6: Elder
      Account Age: 7 years
    Username
    Sebhael
    Posted 6 years ago

    A reason for me to reinstall the program.

    I feel that we will be using this a bit :D

Credits

Submitter
Misto's Levels
  • P4: Worker
    Points: 44,125
  • E3: Tutor
    EF: 60
  • A6: Elder
    Account Age: 7 years
Misto (Creator/Co-creator)
Key Authors
Misto

Rating

Expert
9.7/10
Based off 6 rating(s)

Additional Info

Genre
3D Art & Rendering, Mapping
Difficulty Level
Advanced

Stats

Post Count
11
ViewCount
3,971
Date Added
6 years ago
Date Modified
6 months ago

Share

Embed Code
Code to use:

More embeddable images

Bookmark and Share