Mirage Source
Issues with day/night - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17)
+---- Thread: Issues with day/night (/showthread.php?tid=2230)



Issues with day/night - DarkX - 09-10-2008

Ok I was working on programing with MS4 and back to my usual 3.0.3 and for some reason or another I am having one of those slow days; I added the daynight code from the old tuts forums to both 3.0.3 and 4 seems that I have a special moment both of them are bliting the night as a white color, kind of like fog. any help would be appreciated. (had it working fine in 3.0.3 then made some updates and had to unzip an older version of my source that did not have D&N now I have this issue)


Re: Issues with day/night - Rian - 09-10-2008

What's the source rec for the night bmp?


Re: Issues with day/night - DarkX - 10-10-2008

I used the modDirectx one, but the location of it is "c:\My Documents\DKE\Data\GFX\Night.bmp" and that is the path that is in the moddx initsurfaces.


Re: Issues with day/night - DarkX - 21-10-2008

Sorry to double post, but does any one have any idea's as to what could be wrong?


Re: Issues with day/night - Forte - 21-10-2008

post a link to the tut ill check it out


Re: Issues with day/night - Rian - 21-10-2008

Does your copy of mirage have the triple buffer system? If it does, that might be the problem. I'm not 100% but I think they're might be some incompatibilities if that's the case.


Re: Issues with day/night - DarkX - 21-10-2008

I have the standard buff from ms3.0.3. and here's the one that will not blit at all http://web.miragesource.com/old-tutorials/temporary_archive/Blue%20Day%20Night.html
and here is the one that I got to work that blits out white like fog. http://web.miragesource.com/old-tutorials/temporary_archive/Tile%20Day%20Night.html

By the way while I am thinking about it, I do believe I have a majority of the tuts from back in the day(some that are not around including the petMo(which sucks but) and I have a majority of the Konuze tutorials aswell.


Re: Issues with day/night - Forte - 22-10-2008

Hm I've never tried the first one but the Blue Night Tut is pretty straight forward. Are you getting any errors and have you tried doing the tut over?


Re: Issues with day/night - DarkX - 22-10-2008

I have applied the tut 3 times, exactly as it says in the tut.


Re: Issues with day/night - Forte - 22-10-2008

Just tested it with your very own 1.4.2b source. Works fine. so it must have been something you've added since then. I have no idea why it would blit white though..


Re: Issues with day/night - DarkX - 22-10-2008

Not sure, but I added it the tutorial way and it comes up white when I let it pass through and when I type /daynight.
I even put a blue 32x32.bmp in my graphics folder and still comes up that way.......


Re: Issues with day/night - DarkX - 22-10-2008

Heres the link but it is in the second to last post I made http://web.miragesource.com/old-tutoria ... Night.html, and it still comes up white


Re: Issues with day/night - Forte - 22-10-2008

Wait which of the 2 tuts are you trying?


Re: Issues with day/night - DarkX - 22-10-2008

I have tried both, the first one, where it blits a 640x400 or whatever it is does not work at all for me, the other one where it's tile night, does work just blits white though.


Re: Issues with day/night - Rian - 22-10-2008

[code]If GameTime = TIME_NIGHT And Map.BootX = 0 Then
Fringe3 = 658


Re: Issues with day/night - DarkX - 22-10-2008

Honestly I can't remember if I changed it,, I'll have to check when I get home. Does it have to be black/almost or checkered?


Re: Issues with day/night - Rian - 22-10-2008

It has to be checkered, solid black, then every other pixel almost solid black.


Re: Issues with day/night - DarkX - 22-10-2008

I have the standard night one that they had with the tutorial, will that do?


Re: Issues with day/night - Rian - 22-10-2008

Sonire Wrote:It has to be checkered, solid black, then every other pixel almost solid black.

Does it meet this criteria? I didn't see a night tile with the tutorial I've been referring to my last couple posts.


Re: Issues with day/night - DarkX - 22-10-2008

I'll get a picture of it tonight, I'll post it tomorrow some time.


Re: Issues with day/night - Rian - 22-10-2008

I'm probably not gonna be around much for the next few days (online). Gotta go to New York. Bug Forte about it until I get back Tongue


Re: Issues with day/night - DarkX - 23-10-2008

Thank you Sonire, Forte is helping me now.