MODSonline
  Welcome Guest to MODSonline Home | Forums | Register | Login
Main-Menu
Home
Login
Register
Add Download
Add News
Add Tutorial *
Forums

Advertise
Affiliate Store US *
Affiliate Store UK *
Affiliate Store CA *
Angry Letter Generator
Avatar Upload
Calendar of Games
Contact
Downloads
FAQs
Forums
Member List
Member Projects
News
News Grabber *
Policy
Polls
Private Messages
Reviews
Screenshot Gallery
Search
Servers - Game
Store - Shirts *
Subscribe
Topics
Tutorials
Weblinks
Wiki *
Tutorials
CoD Mapping
CoDUO Mapping
CoD2 Mapping
CoD4 Mapping
CoD FAQs
HL2 Mapping
HL2 FAQs
SOF1 Mapping
Crysis Mapping
Q4 Mapping
Doom 3 Mapping
Doom 3 FAQs
UT2K3 Mapping
SOF2 Mapping
SOF2 FAQs

Lightray Modeling
General Modeling
General Modding
Adobe Photoshop
Common Mapping Errors

Readme.txt Generator
Members-Online
popmun [Tutor]

1 Members and 13 Guests
Chat MODSonline
0 People Now Chatting
MODSOnline TeamSpeak

download TeamSpeak

In-The-News
Wednesday, Nov. 19th
Half-Life 1 $0.98
Sunday, Nov. 16th
MODSonair 154 Live
Friday, Nov. 14th
MODSonair Episode 153
Tuesday, Nov. 11th
Mirror's Edge - Review
Sunday, Nov. 9th
MODSonair 153 Live
Latest Poll
Would you pay for mod tools?
I would pay a one time fee for mod tools for my favorite title 8.72%
I would pay a monthly/yearly subsrciption fee for mod tools for my favorite title 0.51%
I already paid for the game - Tools should come bundled because I am just fixing what the developers broke 68.21%
100% definitely NOT! 18.46%
I haven't seen a game yet that wasn't 100% perfect when the developers released it 2.56%
Games are the devil! 1.54%
Read More...
16 comments

Newsletter
Name:
Email:
Newsletter Archives
Your Membership
User Name:
Password:
Register.
In The Forums
A little script help please.
CoD 4 Level Desi.. Posts: (12) Views: (108) by {PADZ}grimreaper
CoD5 Nazi Zombie RECORDS!
CoD:WW Level Des.. Posts: (18) Views: (232) by DaveR
BACK2COD2 - professional mappack
CoD2 Custom Map .. Posts: (3) Views: (44) by sladge
Cod:WW 1.1 Patch Issues
CoD:WW General G.. Posts: (13) Views: (128) by s1cK
Art of War Central Half-Life 2 Mods for Dummies
Forums
MODSonline.com 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: CoD 2 Level Design
CoD 2 mapping and level design.
Moderators: foyleman, rEdrUmMDK, Foxhound, Wyatt_Earp, Rasta, StrYdeR, The_Caretaker, Cypher2004, batistablr, Welshy
Latest Posts
Subscribed Posts
Search
Restricted Access Restricted Access subscribe
Author Topic: Snow FX not working
[OUTLAW]DrUmBuM
General Member
Since: Jul 10, 2007
Posts: 142
Last: Nov 14, 2008
[view latest posts]
Level 4
Category: CoD 2 Level Design
Posted: Monday, Aug. 4, 2008 01:57 am
So idk why but i keep getting the script compile error when i try to test my map. In the IWD i have the correct files in the correct places here are copies of my mp_yourmapname.gsc and my mp_yourmapname_fx.gsc. I tried to remove the FX gsc and it works (without the maps/mp/mp_temple_fx::main(); of course)so it is obviously the fx gsc. I do not have a loadscreen/csv/ or an arena file for this test. hope thats not an issue:) Thanks guys and girls!

main()
{
maps\mp\mp_temple_fx::main();
maps\mp\_load::main();


setExpFog(0.0001, 0.55, 0.6, 0.55, 0);
// setCullFog(0, 16500, 0.55, 0.6, 0.55, 0);
ambientPlay("ambient_mp_temple");

game["allies"] = "russian";
game["axis"] = "german";
game["attackers"] = "allies";
game["defenders"] = "axis";
game["russian_soldiertype"] = "winterlight";
game["german_soldiertype"] = "winterlight";

setCvar("r_glowbloomintensity0", ".25");
setCvar("r_glowbloomintensity1", ".25");
setcvar("r_glowskybleedintensity0",".3");

}

okay heres the fx gsc

main()
{
precacheFX();
ambientFX();
}

precacheFX()
{

level._effect["snow_light"] = loadfx ("fx/misc/snow_light_mp_downtown.efx");
level._effect["snow_wind_cityhall"] = loadfx ("fx/misc/snow_wind_cityhall.efx");

}

ambientFX()
{

//smoke
maps\mp\_fx::loopfx("snow_light", (-224,725,282), 1, (-224,725,-180));
maps\mp\_fx::loopfx("snow_light", (2877,715,282), 1, (2877 715 -180));
maps\mp\_fx::loopfx("snow_light", (1508,2125,357), 1, (1508,2125,-180));
maps\mp\_fx::loopfx("snow_light", (1377,-444,357), 1, (1377,-444,-180));

//wind
maps\mp\_fx::loopfx("snow_wind_cityhall", (2187,805,-240), 1, (2187,805,-140));
maps\mp\_fx::loopfx("snow_wind_cityhall", (3507,301,-353), 1, (3507,301,-253));




}

edited on Aug. 4, 2008 01:57 am by [OUTLAW]DrUmBuM
The_Caretaker
Preferred Member
Since: Jun 8, 2004
Posts: 11559
Last: Oct 4, 2008
[view latest posts]
Level 10
Forum Moderator
Category: CoD 2 Level Design
Posted: Monday, Aug. 4, 2008 03:26 am
Can you post the error you're getting? (Pull down the console if the error says so, and see what's in there)
[OUTLAW]DrUmBuM
General Member
Since: Jul 10, 2007
Posts: 142
Last: Nov 14, 2008
[view latest posts]
Level 4
Category: CoD 2 Level Design
Posted: Monday, Aug. 4, 2008 08:11 am
ive never had to pull down the console for something like this what is the command [crazy]
Restricted Access Restricted Access subscribe
MODSonline.com Forums : Call of Duty 2 : CoD 2 Level Design
All logos and trademarks and information in this site are property of MODSonline LLC © 2008.
The comments are property of their posters.
RSS news feeds for MODSonline can be found News.php.
Intergi
Partners
Battle for Europe COD2
Frag Universe
modbase.be
XoXide
The Firing Box
Call of Duty Headquarters
CODAddicts - Call of Duty News & Downloads
Ask About
Advertising
Friends
Volcano
After Life Gaming
Canada Kicks Ass Clan
Ask About
Advertising
Link to Us
MODSonair
View in iTunes
Please help us to raise in the ranks of podcasting and subscribe to our itunes feed using the link above.
MODSonair Releases
MODSonair Episode 153
MODSonair Episode 152
MODSonair Episode 151
Video server move
MODSonair Episode 150
Next Show
The next MODSonair show will air LIVE on:
11/23/2008 12:00 EST

Time remaining:
Copyright © 2008 MODSonline
Tresware Content Management System Copyright © 2008 Tresware
Website Designed and Hosted   Tresware