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

Members Online

»
1 Active | 11 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
Previous Page Next Page
subscribe
Author Topic: [Tutorial] Adding rain to a COD2 MP map!
PoorEnglish
General Member
Since: Feb 9, 2006
Posts: 66
Last: Nov 29, 2008
[view latest posts]
Level 3
Category: CoD2 MP Mapping
Posted: Thursday, May. 11, 2006 04:58 am
Bodger2 writes...
Quote:
Yes just change the efx.
level.rasta_cod2_rain = loadfx ("fx/misc/snow_light.efx");
There are more snow efx's in iw_07.iwd\fx\misc

Cold Breath in MP, I don't know maybe.You would need a different script.

The snow dosent appear in my MP map



main()
{
maps\mp\_load::main();
level._effect["fire"] = loadfx ("fx/fire/building_fire_med.efx");
maps\mp\_fx::loopfx("fire", (-1192, -264, 80), 0.6);
level._effect["fire"] = loadfx ("fx/fire/building_fire_med.efx");
maps\mp\_fx::loopfx("fire", (1160, 248, 80), 0.6);
ambientPlay("ambient_mp_bloodstrikebeta2");
ambientFX();
level.rasta_cod2_rain = loadfx ("fx/misc/snow_heavy.efx");

//Soldier Settings
game["allies"] = "american";
game["axis"] = "german";
game["attackers"] = "allies";
game["defenders"] = "axis";
game["american_soldiertype"] = "nomandy";
game["german_soldiertype"] = "padded";
setCvar("r_glowbloomintensity0", ".25");
setCvar("r_glowbloomintensity1", ".25");
setcvar("r_glowskybleedintensity0",".3");

thread rasta_cod2_rain();
}
ambientFX()
{ //firesounds
maps\mp\_fx::soundfx("bigfire", (-1192, -264, 80));
maps\mp\_fx::soundfx("bigfire", (1160, 248, 80));
}



rasta_cod2_rain()
{
zufall = RandomInt(100);

while(1)
{
players = getentarray("player", "classname");

if(players.size > 0)
{
max_nodes = 20;
max_nodes_per_player = max_nodes/players.size;

for(ii=0;ii {
for(i = 0; i < players.size; i++)
{
player = players;

if(isAlive(player))
{
x= 350-randomfloat(700);
y= 350-randomfloat(700);

pos = player.origin +(x,y,500) ;
trace = bulletTrace(pos,pos +(0,0,-250), true, undefined);

if(trace["fraction"] != 1) playfx(level.rasta_cod2_rain,trace["position"]);
wait 0.05;
}
}
}
}

wait 0.05;
}
}


Please check my gsc. Thanx
Share |
PoorEnglish
General Member
Since: Feb 9, 2006
Posts: 66
Last: Nov 29, 2008
[view latest posts]
Level 3
Category: CoD2 MP Mapping
Posted: Sunday, May. 14, 2006 12:05 am
any idea?
Share |
PoorEnglish
General Member
Since: Feb 9, 2006
Posts: 66
Last: Nov 29, 2008
[view latest posts]
Level 3
Category: CoD2 MP Mapping
Posted: Monday, May. 15, 2006 06:34 am
[banghead][banghead][banghead][sad]
Share |
Mystic
General Member
Since: Apr 10, 2004
Posts: 6147
Last: Apr 15, 2018
[view latest posts]
Level 10
Forum Moderator
Im a fan of MODSonair
Category: CoD2 MP Mapping
Posted: Monday, May. 15, 2006 06:38 am
I have already updated the tutorial so snow can be used.. Just have a look at my website. You will need to play with what effect work though as i havn't tested them!
Share |
PoorEnglish
General Member
Since: Feb 9, 2006
Posts: 66
Last: Nov 29, 2008
[view latest posts]
Level 3
Category: CoD2 MP Mapping
Posted: Monday, May. 15, 2006 03:23 pm
see my gsc above
i do exactly as you say
but no snow at all
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. 15, 2006 03:37 pm
PoorEnglish writes...
Quote:
see my gsc above
i do exactly as you say
but no snow at all


Your .gsc is not the same as the one on his website, i suggest you copy it again.
Share |
Guppers
General Member
Since: Apr 8, 2006
Posts: 31
Last: Feb 16, 2007
[view latest posts]
Level 2
Category: CoD2 MP Mapping
Posted: Monday, May. 15, 2006 09:02 pm
I have only had one problem with the rain so far and that is you have to be near a building or something of the sort for it to work. I dont know the right words for it, it doesnt work when your on a terrain patch, aka grass. Any solutions?
Share |
[WFH]=Hyperdrive=
General Member
Since: Mar 29, 2006
Posts: 63
Last: Oct 2, 2008
[view latest posts]
Level 3
MODSCON
Category: CoD2 MP Mapping
Posted: Tuesday, May. 16, 2006 02:31 am
yea i tested tihs and it whould be a great addition to my map becouse its kind of more dark map, and the only problem with it is that how do you fix the rain in buildings? what do you do for it, how IW did it, thats the way we should look for. becouse just changing the 200 to 500 dosnt do it, it will work ,but the rain dosnt show up while playing outside, sometimes when you stay still and try to spot it.

edited on May. 15, 2006 10:32 pm by [BAMF]SLAYER
Share |
MrNoodle
General Member
Since: Apr 21, 2006
Posts: 27
Last: Jun 6, 2006
[view latest posts]
Level 2
Category: CoD2 MP Mapping
Posted: Tuesday, May. 16, 2006 12:49 pm
I had the same problem with not seeing the snow. I changed my game to run direct 9, and there was the snow. The crappy part is that i can't run at that setting, too much screen lag.Is there any way to get around this so i can see the effects on direct 7 ? I can see rain on direct 7, but not snow.
Share |
PoorEnglish
General Member
Since: Feb 9, 2006
Posts: 66
Last: Nov 29, 2008
[view latest posts]
Level 3
Category: CoD2 MP Mapping
Posted: Wednesday, May. 17, 2006 05:06 am
[thumbs_up]
But in SP game
there's snow on Direct7
different from Mp and Sp?
Share |
Restricted Access Topic is Locked
Page
Previous 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

»