CaptnLysop
Sailor Apprentice
Whatever this is supposed to do:
File SEADOGS.C
Lots of "TimeScaleCounter =" and all under Parts where it seems to control the Game Speed.
NOW: Under
switch(ControlName)
{
case "TimeScale":
DeleteAttribute(pchar, "pause");
if (loadedLocation.type == "Underwater") return; //çà ïðåò óñêîðåÃèÿ ïîä âîäîé.
if(IsPerkIntoList("TimeSpeed"))
{
SetTimeScale(1.0);
TimeScaleCounter = 0;
Log_SetStringToLog("Time x1");
DelPerkFromActiveList("TimeSpeed");
}
else
{
SetTimeScale(GetSeaTimeScale());
TimeScaleCounter = 4;
I made it say
else
{
//SetTimeScale(GetSeaTimeScale());
SetTimeScale(3.0);
TimeScaleCounter = 4;
Now my Prob is will changing this mess up the time speed on land/seas if I e.g. switch to the Cabin, press pause, click the TimeScale-Button repeatedly?
If I could just understand WHAT it COUNTS with all them = 0 and = -3 and = 4 and stuff....
I just want tripple the speed instead of twice, and this works... so far, but I don't want any nasty surprises, like having permanent 2x or more or less speed because it messed up some of that counter-stuff? WHAT are they counting in the first place? PotC and AoP1 simply had SetTimeScale(2.0) or (3.0) and that worked all the time.
Oh yeah, little Tweak from me that shouldnt cause any harm:
Disable your TimeScale-Option on Land/Worldmap too with this:
case "TimeScale":
DeleteAttribute(pchar, "pause");
if (loadedLocation.type == "Underwater") return; //underwater disabler obviously
if (IsEntity(worldMap)) return; #worldmap disabler
if (bLandInterfaceStart) return; #land disabler
if(IsPerkIntoList("TimeSpeed")) #lol wtf is this too?
File SEADOGS.C
Lots of "TimeScaleCounter =" and all under Parts where it seems to control the Game Speed.
NOW: Under
switch(ControlName)
{
case "TimeScale":
DeleteAttribute(pchar, "pause");
if (loadedLocation.type == "Underwater") return; //çà ïðåò óñêîðåÃèÿ ïîä âîäîé.
if(IsPerkIntoList("TimeSpeed"))
{
SetTimeScale(1.0);
TimeScaleCounter = 0;
Log_SetStringToLog("Time x1");
DelPerkFromActiveList("TimeSpeed");
}
else
{
SetTimeScale(GetSeaTimeScale());
TimeScaleCounter = 4;
I made it say
else
{
//SetTimeScale(GetSeaTimeScale());
SetTimeScale(3.0);
TimeScaleCounter = 4;
Now my Prob is will changing this mess up the time speed on land/seas if I e.g. switch to the Cabin, press pause, click the TimeScale-Button repeatedly?
If I could just understand WHAT it COUNTS with all them = 0 and = -3 and = 4 and stuff....
I just want tripple the speed instead of twice, and this works... so far, but I don't want any nasty surprises, like having permanent 2x or more or less speed because it messed up some of that counter-stuff? WHAT are they counting in the first place? PotC and AoP1 simply had SetTimeScale(2.0) or (3.0) and that worked all the time.
Oh yeah, little Tweak from me that shouldnt cause any harm:
Disable your TimeScale-Option on Land/Worldmap too with this:
case "TimeScale":
DeleteAttribute(pchar, "pause");
if (loadedLocation.type == "Underwater") return; //underwater disabler obviously
if (IsEntity(worldMap)) return; #worldmap disabler
if (bLandInterfaceStart) return; #land disabler
if(IsPerkIntoList("TimeSpeed")) #lol wtf is this too?