Rain plugin [solved]

Started by Mozesh, Sun 13/03/2005 19:15:01

Previous topic - Next topic

Mozesh

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

Barbarian

#1
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:

Code: ags

 //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
Conan: "To crush your enemies, see them driven before you, and to hear the lamentation of the women!"
Mongol General: "That is good."

Blade of Rage: www.BladeOfRage.com

m0ds

#2
n/m

fixed it. used broken old version. duh!

SMF spam blocked by CleanTalk