Members Online»
0 Active | 36 Guests
Online:
|
LATEST FORUM THREADS»
by morgawr
Posts: 4 / 171 The Future of MODSonline
In The News by KAZAM3766
Posts: 1 / 517 CoD: Battle Royale
CoD+UO Map + Mod Releases by morgawr
Posts: 1 / 2589 Damaged .pk3's
CoD Mapping by lazygit
Posts: 1 / 3102 heli to attack ai
CoD4 SP Mapping by DrBiggzz
Posts: 11 / 993 New Cod UO Rifle Mod.
CoD Mapping |
Polls»
|
main()
{
level thread teh_rain();
}
teh_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<max_nodes_per_player;ii++) {
for(i = 0; i < players.size; i++) {
player = players[i];
if(isAlive(player)) {
x= 350-randomfloat(700);
y= 350-randomfloat(700);
pos = player.origin +(x,y,200) ;
trace = bulletTrace(pos,pos +(0,0,-250), true, undefined);
if(trace["fraction"] != 1) playfx(level.the_rain,trace["position"]);
wait 0.05;
}
}
}
}
wait 0.05;
}
}
level.the_rain
= loadfx
("fx/atmosphere/chateau_rain.efx");
mapsmp ain::main();So yourmap.gsc should look something like this:
main()
{
setCullFog (0, 16050, .54, .56, .50, 0);
setExpFog (0.00015, .36, .39, .42, 0 );
ambientPlay("some tunes");
game["layoutimage"] = "my piccy";
level thread mapsmp\_tankdrive_gmi::main();
level thread mapsmp\_jeepdrive_gmi::main();
level thread mapsmp\_flak_gmi::main();
level.the_rain = loadfx ("fx/atmosphere/chateau_rain.efx");
mapsmp\_load::main();
mapsmp ain::main(); //calls rain efx
game["allies"] = "russian";
game["axis"] = "german";
game["russian_soldiertype"] = "veteran";
game["russian_soldiervariation"] = "normal";
game["german_soldiertype"] = "wehrmacht";
game["german_soldiervariation"] = "normal";
game["attackers"] = "allies";
game["defenders"] = "axis";
Latest Syndicated News»
Comments: 5
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which... Comments: 5
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ... Comments: 5
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead?
... Comments: 5
Codutility.com up and runn...
It seems to me the like the site is completely dead? Comments: 5
Codutility.com up and runn...
Yeeaahhhh.........
|
Latest Downloads»
OHMY Don Quixote
Call of Duty 2: Maps: Multiplayer (5.76Mb) OHMY Neuburg
Call of Duty 2: Maps: Multiplayer (6.84Mb) OHMY Tebessa
Call of Duty 2: Maps: Multiplayer (7.36Mb) OHMY POW Camp
Call of Duty 2: Maps: Multiplayer (2.15Mb) OHMY Valley
Call of Duty 2: Maps: Multiplayer (5.7Mb) |
Partners & Friends»
|
Site Links and Information
|
Partners
|
Friends
|
Copyright © MODSonline LLC
Tresware Content Management System © 2011
Website Designed by LKFX and Developed by Tresware