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 2
Category: CoD2 MP Mapping
CoD 2 mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Next Page
subscribe
Author Topic: 2 Questions
dutchman16
General Member
Since: May 8, 2006
Posts: 177
Last: Apr 29, 2009
[view latest posts]
Level 4
Category: CoD2 MP Mapping
Posted: Sunday, May. 21, 2006 02:40 pm
1. i made my skybox but now when i walk in my map i see the skybox and i want a sun etc. how do you make that?

2. how do you make a wall so no one can move out the map
cause when i'm in my map and i walk out the map i jump in my skybox ground
Share |
sanderdiels
General Member
Since: May 15, 2006
Posts: 34
Last: May 26, 2006
[view latest posts]
Level 2
Category: CoD2 MP Mapping
Posted: Sunday, May. 21, 2006 02:51 pm
2. Just place a wall right next to the skybox texture, u can create buildings that are closing the maps, or small fences, small walls, brushes,...
Share |
The_Caretaker
General Member
Since: Jun 8, 2004
Posts: 11625
Last: Jul 7, 2009
[view latest posts]
Level 10
Category: CoD2 MP Mapping
Posted: Sunday, May. 21, 2006 02:58 pm
The sun is set in the worldspawn settings. And run the lighting part of the compile.
Share |
codmp
General Member
Since: Feb 7, 2006
Posts: 905
Last: Aug 1, 2011
[view latest posts]
Level 7
Category: CoD2 MP Mapping
Posted: Sunday, May. 21, 2006 03:09 pm
if you dont want anyone moving out of the map you put a player clip texture along the outs side of the map, also u can bring the skybox walls closer to the map
Share |
veef
General Member
Since: Apr 25, 2006
Posts: 1258
Last: Aug 29, 2006
[view latest posts]
Level 8
Category: CoD2 MP Mapping
Posted: Sunday, May. 21, 2006 03:11 pm
1. You will need to create a mp_yourmapname.sun in the "call of duty 2\main\sun" directory.

the contents of that file should look like this
Code:
r_sunsprite_shader "sun_trainyard"
r_sunsprite_size "109.722"
r_sunflare_shader "sun_flare_trainyard"
r_sunflare_min_size "390.1"
r_sunflare_min_angle "82.3608"
r_sunflare_max_size "889.3"
r_sunflare_max_angle "0"
r_sunflare_max_alpha "0.45622"
r_sunflare_fadein "0.2604"
r_sunflare_fadeout "0.2992"
r_sunblind_min_angle "62.4258"
r_sunblind_max_angle "14.6015"
r_sunblind_max_darken "0.23165"
r_sunblind_fadein "0.5"
r_sunblind_fadeout "1"
r_sunglare_min_angle "20.7108"
r_sunglare_max_angle "5.7933"
r_sunglare_max_lighten "0.0930199"
r_sunglare_fadein "0.7758"
r_sunglare_fadeout "3"
r_sun_fx_position "-38.6856 -53.8224 0"


the main setting you need to change is r_sun_fx_position "-38.6856 -53.8224 0" change the coordinates to match a location of your sun to the sundirection you are using in your worldspawn settings.

I can allready see a tutorial is going to be needed for further explanation of all the settings but for now this will give you a sun.
Share |
codmp
General Member
Since: Feb 7, 2006
Posts: 905
Last: Aug 1, 2011
[view latest posts]
Level 7
Category: CoD2 MP Mapping
Posted: Sunday, May. 21, 2006 03:11 pm
my bad, you dont have to put a player clip, buildings and fences work fine
Share |
Fancy
General Member
Since: Sep 12, 2005
Posts: 23
Last: Jul 23, 2009
[view latest posts]
Level 1
Category: CoD2 MP Mapping
Posted: Monday, May. 22, 2006 01:05 pm
the same here !!
i cant get no sun on my map!! [banghead]
or when i m getting some sun, it lights all my car and models inside my buildings and its damn dark outside!!!
can you just give us a good tutorial for SUN and how to create a spawnworld that works!!
i have tried the sun dir thing, the line in worldspawn in entity...nothing seems to work, and its still dark on my map
thank you guys...
Share |
The_Caretaker
General Member
Since: Jun 8, 2004
Posts: 11625
Last: Jul 7, 2009
[view latest posts]
Level 10
Category: CoD2 MP Mapping
Posted: Monday, May. 22, 2006 01:08 pm
basic lighting is done in the worldspawn settings. There is a tutorial on how to add these in the CoD section. And the stock CoD2 settings can be found in the CoD2 tutorial section.
Share |
veef
General Member
Since: Apr 25, 2006
Posts: 1258
Last: Aug 29, 2006
[view latest posts]
Level 8
Category: CoD2 MP Mapping
Posted: Monday, May. 22, 2006 06:42 pm
Just to clarify, the procedure i described is to get a visual representation of a sun in your sky. It does not provide light to your map that is done in the world spawn settings as The_Caretaker stated.
Share |
Maniacal
General Member
Since: Apr 27, 2006
Posts: 31
Last: Oct 27, 2006
[view latest posts]
Level 2
Category: CoD2 MP Mapping
Posted: Monday, May. 22, 2006 10:14 pm
that is great info:)
so if i used the code above to make a sun visible then i would use the sunlight comand to light the map, yes?
is the sundirection the actual position of the LIGHT that is set by the sunlight entry?
I would like to make the light come from the position of the sun in the skybox grafic. would this be done like finding a location for a radio on an HQ map? i could use a brush to figure out its location?
ive been looking for some good definitions on the worldspawn settings cant seem to find them.

edited on May. 22, 2006 06:16 pm by Maniacal
Share |
Restricted Access Topic is Locked
Page
Next Page
subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 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

»