I've just come in the situation, where I needed to advance time to night ("guard church for 3 nights" quest)
and had to realize, that the 1 room at the tavern was currently in use :-\
Anyhow: to quickly add a function to add x amount of hours:
This is a quick'n'dirty fix! I don't know if the Internet is gonna explode if one does it this way^^
o) open "program\debuger.c"
o) under:
The important value is right at the bottom: "iAddtime". Just set it to whatever value (in hours) you want to forward time!
Can be edited while the game runs!
Then just hit F12 ingame and voila!
cheers,
Hotshot
and had to realize, that the 1 room at the tavern was currently in use :-\
Anyhow: to quickly add a function to add x amount of hours:
This is a quick'n'dirty fix! I don't know if the Internet is gonna explode if one does it this way^^
o) open "program\debuger.c"
o) under:
void ActiveF12Control()
{
o) add:{
void ActiveF12Control()
{
/************ add 6h ************/
string date="wait_day";
int iTime, iAddTime;
iTime = sti(environment.time);
if (date == "wait_day")
{
if (iTime >= 21) iAddTime = 24 - iTime + 7;
if (iTime < 7) iAddTime = 7 - iTime;
// boal 03.03.05 -->
if (iTime >= 7 && iTime < 21) iAddTime = 24 + 7 - iTime;
// boal <--
StoreDayUpdate();
}
else
{
if (iTime < 24) iAddtime = 24 - iTime;
}
iAddtime=6;
LAi_Fade("", "");
WaitDate("",0,0,0,iAddtime,5);
RecalculateJumpTable();
RefreshWeather();
RefreshLandTime();
/*********************************/
{
/************ add 6h ************/
string date="wait_day";
int iTime, iAddTime;
iTime = sti(environment.time);
if (date == "wait_day")
{
if (iTime >= 21) iAddTime = 24 - iTime + 7;
if (iTime < 7) iAddTime = 7 - iTime;
// boal 03.03.05 -->
if (iTime >= 7 && iTime < 21) iAddTime = 24 + 7 - iTime;
// boal <--
StoreDayUpdate();
}
else
{
if (iTime < 24) iAddtime = 24 - iTime;
}
iAddtime=6;
LAi_Fade("", "");
WaitDate("",0,0,0,iAddtime,5);
RecalculateJumpTable();
RefreshWeather();
RefreshLandTime();
/*********************************/
The important value is right at the bottom: "iAddtime". Just set it to whatever value (in hours) you want to forward time!
Can be edited while the game runs!
Then just hit F12 ingame and voila!
cheers,
Hotshot