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
one_richard [Forum]
deadelvis [Tutor]
ITOE_MC [Forum]

3 Members and 12 Guests
Chat MODSonline
0 People Now Chatting
MODSOnline TeamSpeak

download TeamSpeak

In-The-News
Friday, Aug. 29th
MODSonair Episode 142
Wednesday, Aug. 27th
Details revealed
Sunday, Aug. 24th
Mappers Guild AKA Help Desk
Sunday, Aug. 24th
MODSonair 142 LIVE
Friday, Aug. 22nd
MODSonair Episode 141
Latest Poll
Want a MODSonline Wiki for various games?
I think a Wiki would be a great addition to MODSonline. 78.24%
I could see a benefit of a Wiki. 3.63%
I think it would take away from the community. 5.18%
Wiki sites are never good. 3.11%
Wiki... isn't that Buck Roger's robot slave? 9.84%
Read More...
13 comments

Newsletter
Name:
Email:
Newsletter Archives
Your Membership
User Name:
Password:
Register.
In The Forums
Breakables eye candy ?
CoD 4 Level Desi.. Posts: (9) Views: (91) by Sevenz
mp menue for player start missing options
CoD 2 Level Desi.. Posts: (1) Views: (7) by pmilton
Playermodels working but bent
CoD 4 Level Desi.. Posts: (3) Views: (43) by Sevenz
night vision help
CoD 4 Level Desi.. Posts: (3) Views: (35) by zurim
Art of War Central Quake 4 Mods for Dummies
Typhoon Servers
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: CoD2 Scripting
Scripting and coding with Call of Duty 2.
Moderators: foyleman, rEdrUmMDK, Foxhound, Wyatt_Earp, Rasta, StrYdeR, The_Caretaker, Cypher2004, batistablr
Latest Posts
Subscribed Posts
Search
Restricted Access Restricted Access
Page
Next Page
subscribe
Author Topic: adding rain
TheArmy
General Member
Since: Jun 23, 2006
Posts: 592
Last: Apr 13, 2008
[view latest posts]
Level 6
Category: CoD2 Scripting
Posted: Tuesday, Mar. 18, 2008 02:15 am
I have followed the tutorials, but I keep getting a script compile error and when I look in the console I can't seem to find the error. So I am going to post my code and if someone could please take a look I would really appreciate it. Or if someone else can show me another way to have rain. Thanks.

mp_mymapname.gsc

Code:


mp_mymapname_fx.gsc

Code:


mp_rain.gsc

Code:
TheArmy
General Member
Since: Jun 23, 2006
Posts: 592
Last: Apr 13, 2008
[view latest posts]
Level 6
Category: CoD2 Scripting
Posted: Tuesday, Mar. 18, 2008 09:54 am
bump please
TheArmy
General Member
Since: Jun 23, 2006
Posts: 592
Last: Apr 13, 2008
[view latest posts]
Level 6
Category: CoD2 Scripting
Posted: Tuesday, Mar. 18, 2008 06:02 pm
bump please
TheArmy
General Member
Since: Jun 23, 2006
Posts: 592
Last: Apr 13, 2008
[view latest posts]
Level 6
Category: CoD2 Scripting
Posted: Wednesday, Mar. 19, 2008 11:49 am
bump please
Sevenz
General Member
Since: Apr 24, 2006
Posts: 991
Last: Aug 29, 2008
[view latest posts]
Level 7
Category: CoD2 Scripting
Posted: Wednesday, Mar. 19, 2008 11:56 am
mp_rain.gsc:

Code:
TheArmy
General Member
Since: Jun 23, 2006
Posts: 592
Last: Apr 13, 2008
[view latest posts]
Level 6
Category: CoD2 Scripting
Posted: Wednesday, Mar. 19, 2008 01:07 pm
thanks that seemed to work. couple more things.

1) It rains inside buildings. Help with that please.

2) How do I add lightning?

Thanks...
Sevenz
General Member
Since: Apr 24, 2006
Posts: 991
Last: Aug 29, 2008
[view latest posts]
Level 7
Category: CoD2 Scripting
Posted: Wednesday, Mar. 19, 2008 02:18 pm
// increase value if rain goes through buildings (default: -250)
trace = bulletTrace(pos,pos +(0,0,-250), true, undefined);



(TUTORIAL).. How to add Rain/Thunder & Lightning to your Maps. (CoD4)

really old tutorial: Adding Thunder and Lightning (CoD1)
Sevenz
General Member
Since: Apr 24, 2006
Posts: 991
Last: Aug 29, 2008
[view latest posts]
Level 7
Category: CoD2 Scripting
Posted: Wednesday, Mar. 19, 2008 02:31 pm
sorry, link was to page 4 of the thread:

http://www.modsonline.com/Forums-top-75472-0.html
COLMAC
General Member
Since: Sep 15, 2006
Posts: 538
Last: Aug 8, 2008
[view latest posts]
Level 6
Category: CoD2 Scripting
Posted: Wednesday, Mar. 19, 2008 02:58 pm
i just full clip the roofs and it wont rain in side "easy way for me"
as for lightning in weather for us dummys there is a gsc copy it from mine add were you want it to go in the lines
maps\mp\_fx::loopfx('lightning",(000, 000, 000), 3)
first 3 are where ,the last number is how often
TheArmy
General Member
Since: Jun 23, 2006
Posts: 592
Last: Apr 13, 2008
[view latest posts]
Level 6
Category: CoD2 Scripting
Posted: Thursday, Mar. 20, 2008 03:09 am
i tried the full clip it did not work??? and none of those tutorials are for cod2, will they still work???

edited on Mar. 20, 2008 03:20 am by TheArmy
Restricted Access Restricted Access
Page
Next Page
subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 Scripting
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.
MODSonline Subscriptions
Partners
The Firing Box
Call of Duty Headquarters
Battle for Europe COD2
XoXide
Frag Universe
modbase.be
Ask About
Advertising
Friends
Great Gamer
Canada Kicks Ass Clan
After Life Gaming
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 142
MODSonair Episode 141
MODSonair Episode 140
MODSonair Episode 139
MODSonair Episode 138
Next Show
The next MODSonair show will air LIVE on:
08/31/2008 11:00 EDT

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