Source Engine Icon SOURCE Tutorial

Using Source Engine to generate Goldsrc skyboxes

Greetings! We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending Corvalho points.
  • Post: Give Corvalho your thoughts on this Tutorial.
  • Vote: Help Corvalho win the Monthly Awards.
  • Rate: Give this Tutorial a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Tutorial.
  • Watch: Get notified when this Tutorial is updated.
Mascot

Stop Lurking!

Become a Bananite

Already a Bananite? Login

Hey, It's me again, well, on this tutorial I'm gonna share with you guys a way to use source games to generate skybox textures for GoldSource games, since I'm not mapping anymore, it would be more useful for you than for me.

So, what are we ging to need? Not much: Any Source game. (HL2, CS:S, L4D2, TF2, DOD:S, etc...) The final product will be 6 tga images ready to use when mapping.

Let's Begin

1- Open the Source game and Log into any map you want, oh yeah, create your own server for this, so you can add the nescessary codes. 2- Got into the map? Fine! now type on the console "sv_cheats 1". 3- Enable the option NOCLIP (just type "noclip" in the console and hit ENTER). 4- "Fly" to a good position on the map where you think it would be a nice skybox, try open areas, like I did in the second screenshot. 5- Again in the console, type: "mat_envmaptgasize 256". This will setup the dimension of the tga files to 256 * 2. 6- So now we're going to do the trick, yet in the console type "envmap" and ENTER. Well, your screen will get black and the images will appear quickly in the left upper corner. The tga files will be saved into "/cubemap_screenshots", into the folder of the mod you are running. Example, if you are running the HL²DM the images are in: - Steam\SteamApps\accountname\Half-Life 2 Deathmatch\hl2mp\cubemap_screenshots Note: By some unknown reason eventually the images got rotated ingame (gldsrc), so before to use them in a map, import them in some image editor like Photoshop and aply any change (an unnoticeable one like clicking with a brush with opacity: 0) then save it. Well, now all you have to do is to put the images inside "/GFX/env/" of your goldsrc mod and use them on a map.
I made one with de\_dust2\_go4css\_beta2, if you wanna check how it looks like, here it is: http://www.mediafire.com/?a6tnrw71bo797bz

Posts

  • 5y
    shash7 avatar
    shash7 Offline
    Member Joined 8y
    3,215 points Ranked 1410th
    14 medals 1 rare
    • 6 years a member Medal icon
    • Halloween Mapping Contest Submitter Medal icon
    • 4th Place - Secret Society Mapping Contest Medal icon
    • Winter Worlds Mapping Contest Entrant Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    > **Posted by Corvalho**

    > > **Posted by Logan Dougall**
    >
    > > Must be something wrong with your software if images are being rotated; never had any problems with this myself or any comments about it on my tutorial page in the last few years.
    >
    > In the tutorial from where I learnt that a few guys had this same problem, including the author, the images actually are not rotated, but they render like this ingame.

    The same also happens to me.
    Got no fuel, running on pure a avatar
    Mantra
    Got no fuel, running on pure a
  • 5y
    Corvalho avatar
    Corvalho avatar elsewhere
    Apocalyptic Flag Affiliation: Apocalyptic
    Moderator Joined 6y
    40,830 points Ranked 99th
    69 medals 14 legendary 15 rare
    • 1st Place - Oddities Skinning Contest Medal icon
    • 1st Place - Powerful Tools Skinning Contest Medal icon
    • 1st Place - Summertime Skinning Contest Medal icon
    • 1st Place - L4D2 Skinning Contest Medal icon
    • 1st Place - Sci-Fi Concepts Contest Medal icon
    • 1st Place - Halloween Skinning Contest 2014 Medal icon
    Corvalho avatar
    Corvalho
    Apocalyptic Flag
    Apocalyptic
    > **Posted by Logan Dougall**

    > Must be something wrong with your software if images are being rotated; never had any problems with this myself or any comments about it on my tutorial page in the last few years.

    In the tutorial from where I learnt that a few guys had this same problem, including the author, the images actually are not rotated, but they render like this ingame.
     avatar
    Mantra
  • 5y
    Logan Dougall avatar
    Logan Dougall avatar Offline
    Half Life Storm Flag Affiliation: Half Life Storm
    Admin Joined 11y
    12,989 points Ranked 327th
    41 medals 3 legendary 9 rare
    • Achieved Admin clearance Medal icon
    • 500 posts awarded Exemplary Feedback Medal icon
    • 10 years a member Medal icon
    • 50 posts awarded Exemplary Feedback Medal icon
    • 100 posts awarded Exemplary Feedback Medal icon
    • 200 posts awarded Exemplary Feedback Medal icon
    Logan Dougall avatar
    Logan Dougall
    Half Life Storm Flag
    Half Life Storm
    Admin
    Must be something wrong with your software if images are being rotated; never had any problems with this myself or any comments about it on my tutorial page in the last few years.
    ÜberStylers {...} ~/clubs/1947
  • 5y
    shash7 avatar
    shash7 Offline
    Member Joined 8y
    3,215 points Ranked 1410th
    14 medals 1 rare
    • 6 years a member Medal icon
    • Halloween Mapping Contest Submitter Medal icon
    • 4th Place - Secret Society Mapping Contest Medal icon
    • Winter Worlds Mapping Contest Entrant Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    I read somewhere about this tutorial a long time ago. Thanks for sharing it.
    Got no fuel, running on pure a avatar
    Mantra
    Got no fuel, running on pure a

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Credits

Key Authors
corvalho

Submitter

Corvalho avatar
Corvalho avatar elsewhere
Apocalyptic Flag Affiliation: Apocalyptic
Moderator Joined 6y
40,830 points Ranked 99th
69 medals 14 legendary 15 rare
  • 1st Place - Oddities Skinning Contest Medal icon
  • 1st Place - Powerful Tools Skinning Contest Medal icon
  • 1st Place - Summertime Skinning Contest Medal icon
  • 1st Place - L4D2 Skinning Contest Medal icon
  • 1st Place - Sci-Fi Concepts Contest Medal icon
  • 1st Place - Halloween Skinning Contest 2014 Medal icon

Corvalho avatar
Corvalho
Apocalyptic Flag
Apocalyptic

Creator
Send a Private Message to the submitter

Category

Details

Difficulty Level
Beginner Difficulty

Attributes

Genre
Mapping

Stats

Posts
4
Views
3,620
Date Added
5y
Date Modified
5y

Rating

  • Not yet rated

WiPs by Submitter