Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Mozesh on Sun 13/03/2005 19:15:01

Title: Rain plugin [solved]
Post by: Mozesh on Sun 13/03/2005 19:15:01
Heey I may sound kinda dumb, but i cant get the rain plugin to work properly.
I even tried to copy the exact scripts of the demo and still its total crap. the "rain" looks like black snow and i cant fix it. I even tried to make a new view (same as in the demo) and still its the same (yeah ive done setrainview or something like that.) can someone please give me an example to make good rain.
-Redrum89
Title: Re: Rain plugin
Post by: Barbarian on Sun 13/03/2005 19:20:57
Oops.. never mind.. I missed something you put in your postÃ,  :P
If you still are stuck, perhaps you can PM me, and I could email ya a sample script/demo of the rain in action?Ã,  But then again, not sure if it will help, as you said you already tried the demo that came with it...Ã,  Hmmmm, it's been a little while since I used the "rain plugin", but perhaps you had to have a minimum of 16bit or more setting for it to work? I'll look into it.

Found the old link on it over here:
http://www.adventuregamestudio.co.uk/yabb/index.php?board=2&action=displayhreadid=3855&start=0

Something of that might be of some help.

Edit: Here's a sample script you might put in a room you want "rain" to appear, perhaps put it in the "Before fadein" part:


//first setting up Rain&Snow default views/loops
Ã,  //=================== ViewÃ,  Ã,  Ã, Loop =====
Ã, 
Ã,  srSetRainDefaultView(Ã,  2,Ã,  Ã,  Ã,  Ã,  0Ã,  Ã,  Ã, );
Ã, 
Ã, 
Ã,  Ã, 
Ã,  srSetRainFallSpeed(230,400);Ã,  //setting drops falling speed (min 230, max 450);
Ã, 
Ã, 
Ã,  //setting snow&rain transparency:
Ã,  //==================== Min TranspÃ,  Ã, Max Transp ====
Ã,  srSetRainTransparency(Ã,  Ã, 80,Ã,  Ã,  Ã,  Ã,  Ã,  Ã, 80Ã,  Ã,  Ã,  Ã,  );
Ã, 
Ã, 
Ã,  //Set baseline for both snow and rain
Ã,  srSetBaseline(150,200); //upper baseline 150, lower 200;
Ã, 
Ã,  Ã, srChangeRainAmount(100);Ã,  Ã,  //start raining
Title: Re: Rain plugin [solved]
Post by: on Thu 10/11/2011 21:49:14
n/m

fixed it. used broken old version. duh!