Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: hms on Sun 08/05/2005 19:19:18

Title: Rain/snow Mod problem (SOLVED)
Post by: hms on Sun 08/05/2005 19:19:18
Hello

Im deploving a game where the its raining in the first scene. So i intallet the snow/rain mod but i have some problems whidt it. The Game compiles OK but there is no rain! 


  srSetRainDefaultView(2,0);
  srSetRainFallSpeed(230,450); 
  srSetRainTransparency(80,80 );
  srSetBaseline(42,197);
  srChangeRainAmount(400);
     


I did read the SnowRain20.txt file and thats the code i get out of it.  And somthing must be wrong, but what? ???
My view number 2 is the same used in the demo. And as said it installet correctly becouse its compile fine.


Hope you guys can help me!
Title: Re: Rain/snow Mod problem
Post by: Ubel on Sun 08/05/2005 21:08:40
Did you move the Snowrain.dll and alleg40.dll to the compiled folder? Because you have to do that before you can get it work.
Title: Re: Rain/snow Mod problem
Post by: hms on Mon 09/05/2005 15:43:09
I did!

It compilet OK ...
Title: Re: Rain/snow Mod problem
Post by: Ubel on Mon 09/05/2005 15:45:35
Where exactly did you put those script codes?
Title: Re: Rain/snow Mod problem
Post by: hms on Mon 09/05/2005 21:29:58
well when im editing the room i press the scritp buttom.

Then i write the code under the //room script file
Title: Re: Rain/snow Mod problem
Post by: Pumaman on Mon 09/05/2005 21:56:25
You need to put them in an event to tell it when to run the script -- use the Interaction, Player Enters Screen, add a Run Script and add your script there.
Title: Re: Rain/snow Mod problem
Post by: hms on Mon 09/05/2005 22:10:41
It Worked! Thanks