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
CoDWW 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
luke0777 [Forum]
4mori_rabbit [Forum]
[ToC]Black... [Forum]
hansgrubber [Today]
Strid3r [Today]
justonemore [Downl]

6 Members and 20 Guests
Chat MODSonline
0 People Now Chatting
MODSOnline TeamSpeak

download TeamSpeak

In-The-News
Monday, Dec. 1st
A message from foyleman
Sunday, Nov. 30th
MODSonair 156 Live
Friday, Nov. 28th
MODSonair Episode 155
Wednesday, Nov. 26th
MODSonair Forum Buttons
Monday, Nov. 24th
Holiday Gift Guide 2008 - PC
Latest Poll
Single or Multiplayer maps for World at War?
Single-Player 30.12%
Multiplayer 61.45%
WHAT!? The tools are out? 8.43%
Read More...
10 comments

Newsletter
Name:
Email:
Newsletter Archives
Your Membership
User Name:
Password:
Register.
In The Forums
A message from foyleman
In The News.. Posts: (6) Views: (49) by [ToC]Blackjak
FX help
CoD:WW Scripting.. Posts: (7) Views: (112) by 4mori_rabbit
Clan vs All
CoD:WW Scripting.. Posts: (1) Views: (1) by uberrogue
Zombie Map Issues with Launcher also.
CoD:WW Level Des.. Posts: (9) Views: (143) by Spuddy
Google 468 Banner Half-Life 2 Mods for Dummies
CoDWW Download
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
modbase.be
Battle for Europe COD2
The Firing Box
Frag Universe
Call of Duty Headquarters
XoXide
CODAddicts - Call of Duty News & Downloads
Ask About
Advertising
Friends
Volcano
After Life Gaming
SOF2 Files and Downloads
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 155
MODSonair Episode 154
MODSonair Episode 153
MODSonair Episode 152
MODSonair Episode 151
Next Show
The next MODSonair show will air LIVE on:

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