• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

[REQ] Night into Day

karaigamer

Landlubber
Ok so my PC handles the game perfectly, with the exception of night battles (due to lighting & reflections, which for some reason cannot be turned off...)

I have avoided night battles, which is not hard to do, but you can't avoid bounty hunters, and they only attack me at night.... :sad Waaaah!

So can someone tell me how I can turn night into day? I tried messing with the files but none of my changes had any effect.

Thanks for any help
 
Hmm if there is a way to do that I'm afraid you might need to start a new game anyway since many changes need a fresh game start to take effect.

But like said I'm I'm not sure if that is possible or how. Maybe someone else can help? Let's see.
 
If you enable cheats, I believe if you press the plus and minus keys, you can fast forward the time of day.
 
I found this code in the calender file, but changing it does not seam to have any effect on the game.


string GetDayTime()
{
if(GetTime()<6.0) return DAY_TIME_NIGHT;
if(GetTime()<11.0) return DAY_TIME_MORNING;
if(GetTime()<19.0) return DAY_TIME_DAY;
if(GetTime()<24.0) return DAY_TIME_EVENING;
return DAY_TIME_NIGHT;

I thought maybe changing it to something like this:


string GetDayTime()
{
if(GetTime()<6.0) return DAY_TIME_DAY;
if(GetTime()<11.0) return DAY_TIME_DAY;
if(GetTime()<19.0) return DAY_TIME_DAY;
if(GetTime()<24.0) return DAY_TIME_DAY;
return DAY_TIME_DAY;

but this does not work, do you think I'm in the right file?
 
I have not access to the game just now, but I think that that function is useless for you: it is returning an informative string, not defining the night/day cycle.

Cheers.
buho (A).
 
Ha Ha! I found it!

It's in Program\Weather\init\night

you can change night into day by replacing all the night stuff with day stuff

e.g. (night)
Weathers[n].Sky.Dir = "weather\skies\24\";
Weathers[n].Sky.Color = argb(0,64,64,64); >>>
into (day)
Weathers[n].Sky.Dir = "weather\skies\11\";
Weathers[n].Sky.Color = argb(0, 255, 255, 255);

but instead I decided to just turn off things like lights:

// Night1

Weathers[n].id = "0 Hours";
Weathers[n].Hour.Min = 0;
Weathers[n].Hour.Max = 0;
Weathers[n].Lighting = "night0"; >>> "day11" -- night into day
Weathers[n].LightingLm = "storm"; >>> "day1"
Weathers[n].InsideBack = "n"; >>> "d" night into day

Weathers[n].Storm = false;
Weathers[n].Tornado = false; -- I see potential.... :keith
Weathers[n].Shark = true;
Weathers[n].Lights = 1; >>> "0" no lights -- raised night time fps by 10
Weathers[n].Night = true; >>> false -- night into day

EDIT: just tested works on save games too
 
Back
Top