Open GoogleCodeExporter opened 8 years ago
And*
Original comment by zawodowiec1532@gmail.com
on 4 May 2011 at 11:37
Edit this XD
public static class LightSize
{
public static int None = 0;
public static int Torch = 7;
public static int Full = 27;
}
public static class LightColor
{
public static int None = 0;
public static int Default = 206; // default light color
public static int Orange = Default;
public static int White = 215;
}
Original comment by zawodowiec1532@gmail.com
on 5 May 2011 at 12:43
Once you get a player object (Player player = client.GetPlayer();) you can set
these values like so:
player.Light = 27; //Full
player.LightColor = 215; //White
You're more than welcome to edit the LightSize and LightColor classes that
you've shown above and submit a patch for us to incorporate.
Also, I'm not sure we can simulate a 'darkness' environment with the code we
have now.
Original comment by joebingham07@gmail.com
on 5 May 2011 at 3:23
^^. Thanks very much,
I tried: Tibia.Constants.LightColor = xxx hahahah xD
Tommorow maybe i will add some constants here ;)
Here are alot of colors to add ^^.
Original comment by zawodowiec1532@gmail.com
on 5 May 2011 at 3:30
Original comment by ian320
on 11 May 2011 at 2:43
public static class LightColor
{ // All colors are dependent on the light size :-) \\ Forgot about Gren :-(
public static int None = 0;
public static int Navyblue = 3; // ala navy blue xD
public static int Underwater = 35; // Light Underwater
public static int Purple = 41; //
public static int Default = 206; // default light color
public static int Orange = 198; //
public static int Red = 180; // Very red in drakness ;)
public static int White = 215; // Color what have GM :P
}
Please Make a code with which I could simulate night.. ^^. Thanks
Original comment by zawodowiec1532@gmail.com
on 9 Jun 2011 at 7:57
@EDIT
This program I used :-), ofc. its mine..
http://forum.otsoft.pl/showthread.php?t=38809
Original comment by zawodowiec1532@gmail.com
on 9 Jun 2011 at 8:00
Original issue reported on code.google.com by
zawodowiec1532@gmail.com
on 4 May 2011 at 11:36