Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 8 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 4
Category: CoD4 MP Mapping
CoD 4 mapping and level design for multiplayer.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Next Page
subscribe
Author Topic: Tutorial: making a skybox and entering worldspawn settings
Dancing_Lobster
General Member
Since: Jun 29, 2007
Posts: 196
Last: Dec 29, 2008
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Tuesday, Jan. 22, 2008 01:28 pm
Hello,
I'm going to teach you how to make a skybox and how to enter worldspawn settings.
If you have watched Foyleman's video about the basics, you might remember he said something about leak errors. To avoid these errors, you need a skybox. A skybox is a big box around your entire map, with a sky texture.
I made a small test map for this tutorial, it looks like this:



Step1:
Draw out a big brush under your terrain, and make it a little bit bigger than your terrain:



Step2:
Make 4 walls around your terrain. Make sure nothing is sticking in the walls, I allways make the skybox a bit bigger than my map itself. Your walls may overlap each other. Then draw out the 'roof' of your skybox:



Step3: (you can skip this if your walls are not overlapping)
This step is difficult to explain, but I'll do my best.
If your walls are overlapping: select one of you walls and press the 'E' key. Some blue dots will appear. Use your mouse to adjust the angel of the wall, so it doesn't overlap anymore (make sure to use the top view!). Do this with all your walls:



This is what it should look like when you're done:



Step4:
Select the inside of your skybox, by pressing shift+control+LMB. In the textures tab, select textures->usage->sky. Find a nice sky texture (I used mp_strike in this tutorial) and apply it to the inside of your skybox:



That's it, now you have a skybox. Next thing to do are the worldspawn settings. These settings determine the sunlight, the suncolor, the sundirection, etc. Without these settings your map will be very very dark.
First press escape to make sure you have nothing selected. Then press the 'N' key. The entity editor should open, and 'worldspawn' should be selected:



The worldspawn values have to be entered in the "key" and "value" fields. The official settings can be found here.
I'm gonna use the mp_strike settings. So you scroll down until you find the settings you want to use, and copy them. So when you use mp_strike, you typ "contrastGain" in key, and "0.425" in value (all without the quotes!), then you typ diffusefraction" in key, "0.5" in value (again without the quotes), and so on. And that's it!

I added some reflection probes and spawn points in my map, and compiled it. This is what it looks like in-game:


Share |
Dancing_Lobster
General Member
Since: Jun 29, 2007
Posts: 196
Last: Dec 29, 2008
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Tuesday, Jan. 22, 2008 01:40 pm
This is my 1st tutorial, so please give your comment, what do you think about it?
And sorry for any bad enlish [ohwell]
Share |
stass
General Member
Since: Feb 9, 2007
Posts: 8
Last: Mar 13, 2008
[view latest posts]
Level 0
Category: CoD4 MP Mapping
Posted: Tuesday, Jan. 22, 2008 01:42 pm
how did you compiled and tested youre map?
Share |
stass
General Member
Since: Feb 9, 2007
Posts: 8
Last: Mar 13, 2008
[view latest posts]
Level 0
Category: CoD4 MP Mapping
Posted: Tuesday, Jan. 22, 2008 01:50 pm
oops double post delete????? [cool][exclamation]

edited on Jan. 22, 2008 08:51 am by stass
Share |
Dancing_Lobster
General Member
Since: Jun 29, 2007
Posts: 196
Last: Dec 29, 2008
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Tuesday, Jan. 22, 2008 02:05 pm
stass writes...
Quote:
how did you compiled and tested youre map?


By using the compile tools!?

Watch foyleman's video and read this for more info [thumbs_up]
Share |
Icey
General Member
Since: Jan 20, 2008
Posts: 192
Last: Nov 16, 2018
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Tuesday, Jan. 22, 2008 02:05 pm
Dancing_Lobster writes...
Quote:
This is my 1st tutorial, so please give your comment, what do you think about it?
And sorry for any bad enlish [ohwell]


sweet tutorial and nothing wrong with your english :o
where ya from then?
Share |
Intosia
General Member
Since: Jun 10, 2003
Posts: 75
Last: May 11, 2008
[view latest posts]
Level 3
Category: CoD4 MP Mapping
Posted: Tuesday, Jan. 22, 2008 02:08 pm
Nice tut :)

Iets wierd i used a skybox and got light without entering the worldspawn settings? [ohwell]
Share |
foyleman
Preferred PLUS Member
Since: Nov 7, 2001
Posts: 95762
Last: Apr 13, 2021
[view latest posts]
Level 10
Admin
Forum Moderator
Im a fan of MODSonair
Im a HOST of MODSonair
Category: CoD4 MP Mapping
Posted: Tuesday, Jan. 22, 2008 02:18 pm
psoted. [thumbs_up]
Go ahead... You Play I Mod : Support Modsonline by becoming a PREFERRED MEMBER today!
Have you heard the MODSonair Podcast?:
MODSonair is a weekly podcast bringing you the news from a modders perspective.
Tune in every Sunday at 12pm EST to listen LIVE.
Quake 4 Mods for Dummies - Half-Life 2 Mods for Dummies
Share |
Dancing_Lobster
General Member
Since: Jun 29, 2007
Posts: 196
Last: Dec 29, 2008
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Tuesday, Jan. 22, 2008 02:19 pm
Icey writes...
Quote:
Dancing_Lobster writes...
Quote:
This is my 1st tutorial, so please give your comment, what do you think about it?
And sorry for any bad enlish [ohwell]


sweet tutorial and nothing wrong with your english :o
where ya from then?


I'm from Belgium, I speak dutch [drink]

Intosia writes...
Quote:
Nice tut :)

Iets wierd i used a skybox and got light without entering the worldspawn settings? [ohwell]


Thanks [rocking]
I don't know, but I geuss the skybox provides some standard light, or something like that [crazy]
Share |
Intosia
General Member
Since: Jun 10, 2003
Posts: 75
Last: May 11, 2008
[view latest posts]
Level 3
Category: CoD4 MP Mapping
Posted: Tuesday, Jan. 22, 2008 02:58 pm
Dutch? Alles goed? ;)

Yeah, it must be just standard lighting, with WS settings it looks sweetttt :D
Share |
Restricted Access Topic is Locked
Page
Next Page
subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 MP Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»