Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
Sign in to follow this  
BryceTheCoder

[2007] Configure your player's settings

Recommended Posts

Ok so I have noticed, some scripts are made in not the same game brightness. Which, of course, throws off color IDs..

 

I have created a simple function that is called "ConfigureSettings" Hopefully you will add this to your scripts to whatever brightness you got your color IDs from so it all may work correctly:)

 

 

ConfigureSettings:

 

function ConfigureSettings(Brightness, Music, Sound, Surroundings: Integer): boolean;
begin
 MouseBox(663,471-50,687,497-50,ClickLeft);
 waitRR(500,600);
 case Brightness of
   1: Mouse(611,229-50,3,3,true);
   2: Mouse(642,229-50,3,3,true);
   3: Mouse(673,229-50,3,3,true);
   4: Mouse(707,229-50,3,3,true);
   else writeln('ERROR! Brightness can only be 1-4');
 end;
 waitRR(300,500);
 case Music of
   0: Mouse(608,266-50,3,3,true);
   1: Mouse(632,266-50,3,3,true);
   2: Mouse(659,266-50,3,3,true);
   3: Mouse(685,266-50,3,3,true);
   4: Mouse(711,266-50,3,3,true);
   else writeln('ERROR! Music can only be 0-4');
 end;
 waitRR(300,500);
 case Sound of
   0: Mouse(608,302-50,3,3,true);
   1: Mouse(632,302-50,3,3,true);
   2: Mouse(659,302-50,3,3,true);
   3: Mouse(685,302-50,3,3,true);
   4: Mouse(711,302-50,3,3,true);
   else writeln('ERROR! Sound can only be 0-4');
 end;
 waitRR(300,500);
 case Surroundings of
   0: Mouse(608,339-50,3,3,true);
   1: Mouse(632,339-50,3,3,true);
   2: Mouse(659,339-50,3,3,true);
   3: Mouse(685,339-50,3,3,true);
   4: Mouse(711,339-50,3,3,true);
   else writeln('ERROR! Surroundings can only be 0-4');
 end;
 Result := true;
end;

 

 

How to use:

ConfigureSettings(4,1,2,3);//Brightness=4  Music=1  Sound=2  Surroundings=3

 

 

 

 

 

NOTICE: I added the -50 to every Y-Axis because I am using OSI which adds a +50 on Y on every coordinate. Delete the -50 on every Y-Axis is not using OSI.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×