Welcome New User Home | Forums | Register | Login | Larger Font
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
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
NoOd3lS [Downl]
Meink.kampf [Downl]
PrivateRya... [Tutor]
cyclotic [Tutor]

4 Members and 14 Guests
Chat MODSonline
0 People Now Chatting
MODSOnline TeamSpeak

download TeamSpeak

In-The-News
Friday, Jul. 4th
MODSonair Episode 134
Thursday, Jul. 3rd
Happy 4th of July
Monday, Jun. 30th
Major Retailer Confirms 360 Price-Cut
Sunday, Jun. 29th
MODSonair 134 Live
Friday, Jun. 27th
MODSonair Episode 133
Latest Poll
Want a MODSonline Wiki for various games?
I think a Wiki would be a great addition to MODSonline. 79.45%
I could see a benefit of a Wiki. 6.85%
I think it would take away from the community. 6.85%
Wiki sites are never good. 1.37%
Wiki... isn't that Buck Roger's robot slave? 5.48%
Read More...
7 comments

Newsletter
Name:
Email:
Newsletter Archives
Your Membership
User Name:
Password:
Register.
In The Forums
Strange Error with hands...
CoD 4 Single Pla.. Posts: (4) Views: (23) by Ediblemittens
Fire torch...
CoD 2 Level Desi.. Posts: (6) Views: (83) by SgtCortes69us
LOCAL_VAR_STACK_SIZE exceeded error
CoD 4 Scripting.. Posts: (1) Views: (12) by OutPoursTheRED
SP Tutorial Including Compiling problem
CoD 4 Level Desi.. Posts: (6) Views: (33) by bertyball
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.
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: 821
Last: Jun 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: 821
Last: Jun 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: 821
Last: Jun 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: 534
Last: Jul 2, 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.com can be found News.php.
Art of War Central
Partners
The Firing Box
Frag Universe
Battle for Europe COD2
Call of Duty Headquarters
My Topsites List
Websites4Clans
modbase.be
XoXide
Ask About
Advertising
Friends
CoD 4 Base
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 134
MODSonair Episode 133
MODSonair Special CoD:WW Episode
MODSonair Episode 132
MODSonair Episode 131
Next Show
The next MODSonair show will air LIVE on:
07/06/2008 11:00 EDT

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