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

Members Online

»
0 Active | 38 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

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
Category: CoD Mapping
CoD mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Next Page
subscribe
Author Topic: Adding snow to you map
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: CoD Mapping
Posted: Friday, Mar. 11, 2005 05:51 pm
Here is a simple tutorial on how to add snow effect to you map:

Step1

First you need to create a script_origin


Step 2

Next give that script_origin some values, so press 'n' and type in targetname as the key and snow as the value


Step 3
Ok, now press the space bar to copy the entity and you need to create a whole field of them over the top of your map ( where the snow will fall)


Step 4
Compile your map, and now we will get down to scripting [tongue]
Make a new .gsc and put this in it (call the .gsc snow_effect.gsc)

Code:

main()
{
level.snoweffect = loadfx("fx/weather/snowfallfor5seconds.efx");
snowmitters = getentarray("snow","targetname");
delay = 5;
initialoffset = 0;
for(i=0;i<snow.size;i++)
{
snow thread snowblow(delay,initialoffset);
if(initialoffset < 5)
{
initialoffset += .2;
}
else
initialoffset = 0;

}
}

snowblow(delay,initialoffset)
{
wait initialoffset;
while(1)
{
playfx (level.snoweffect,self.origin);
wait delay;
}

}



Now in your yourmap.gsc (youmap = the name of you map) add this line to the top:

Code:
 mapsmpsnow_effects::main(); 



Step 5

Now to get this to work your need to find the snow fx. The fx your need are called:
snowfall.efx
snowfallfor5seconds.efx

In you pk3 add another folder called fx, and inside that make another folder called weather and put those two fx files in it.

Step 6

That should be about it for them to work, put the pk3 in your main and start as you would any other map.

Happy gaming/mapping
Rasta lol
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: CoD Mapping
Posted: Friday, Mar. 11, 2005 06:03 pm
i have submitted a download you will need which has the fx and the .gsc
Share |
bobo34
General Member
Since: Feb 19, 2005
Posts: 68
Last: Feb 6, 2007
[view latest posts]
Level 3
Category: CoD Mapping
Posted: Friday, Mar. 11, 2005 07:36 pm
Great!

Thnx Rasta [biggrin]
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: CoD Mapping
Posted: Friday, Mar. 11, 2005 08:36 pm
no problem
Share |
Ricsta
General Member
Since: Jun 10, 2004
Posts: 933
Last: Nov 27, 2014
[view latest posts]
Level 7
Category: CoD Mapping
Posted: Friday, Mar. 11, 2005 08:42 pm
Great... now make a tutorial on how to get sounds coming from a origin brush [tongue]

Thx

R|C$t@ (the guy who owns rasta)
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: CoD Mapping
Posted: Friday, Mar. 11, 2005 08:44 pm
lmao @ R|C$t@ (the guy who owns rasta)
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: CoD Mapping
Posted: Saturday, Mar. 12, 2005 10:18 am
as styder said to me in a pm, all this info i got from a pk3 that was made by somebody else (cant remeber his/her name) but i thought ide just explain how to do it anyway

Apologise for not mensioning this earlier
Share |
Ricsta
General Member
Since: Jun 10, 2004
Posts: 933
Last: Nov 27, 2014
[view latest posts]
Level 7
Category: CoD Mapping
Posted: Saturday, Mar. 12, 2005 10:24 am
so u should be, taking credit for other peoples work, tut tut

now go to your room young man

l0l, only kidding rasta

was nice of u to share it with us all [biggrin]
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: CoD Mapping
Posted: Saturday, Mar. 12, 2005 10:31 am
l0l well i wasnt taking credit as i didnt say.. thank rasta. But i didnt thank the person i got the info from so im sorry [cry] [cry]

But atleast people no how to do it now [smile]
Share |
techno2sl
General Member
Since: Aug 5, 2004
Posts: 2977
Last: Oct 14, 2010
[view latest posts]
Level 9
Category: CoD Mapping
Posted: Saturday, Mar. 12, 2005 11:45 am
hmm snow a? how about rain? (sorry to be picky) lol lol
Share |
Restricted Access Topic is Locked
Page
Next Page
subscribe
MODSonline.com Forums : Call of Duty : CoD 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

»