Split: TAF Reset OXP [plus assorted wacky stuff...]
Posted: Tue Jan 03, 2012 4:33 am
Interesting... in the past few weeks, it seems it's the 3rd time that The Architect intrudes in my Oolite musings in this Forum. This time around, with his quote:snork wrote:sdrubble, that is really interesting, I did not know there is some auto-reset-TAF.
Without some auto-reset I can not use TAF, as I am flying on gamepad, and I try to use the keyboard only when there is no action to expect.
But my main doubt about it is, if it won't spoil my game experience. Like an atuomatic, always-on Go-pass-Go,-collect-200$ ! card.
I am ok wiith things taking their time, or being difficult in-game. To me, it raises, hm, my dedication.
So indeed, the choice is yours... as to me, I'm not easily swayed by others' warnings and opinions warranting that this overpowered tool here or that uber ship there will spoil my gaming experience. Gaming is having FUN... which includes total freedom to experiment with available options and, in the specific case of Oolite, to tinker and create some additional options of your own. You can later revert anything that's not to your liking... unless, of course, you fear and anticipate becoming trapped into some evil addiction to some spoiling feature that might hook yourself forever into whatever hell of "wrong" gaming.The Architect wrote:It's all about choice!
In any case - and I think all of this is not really [totally at least... ] offtopic in this thread, so...
1. The original and barebones TAF Reset is available for download HERE . No forum thread, no Wiki page, only a simple entry in the OXP list page.
2. And below is my expanded version of the single script within TAF Reset OXP. Other than a single mention to the author's name, there's no copyright or licensing terms within the original OXP files, so I guess it's OK to publish this ripoff right here:
Code: Select all
this.name = "TAF_reset";
this.author = "Wyvern + sdrubble";
this.copyright = "Whatever";
this.description = "defines functions & events where TAF's value is reset to some pre-defined value.";
this.version = "2011.11.10";
// the 4 initial lines comprise Wyvern's original script...
this.shipDockedWithStation = function()
{
timeAccelerationFactor = 1.0;
}
// experimental code below was borrowed from sdrubble's modified MilHUD OXP...
this.shipExitedWitchspace = function()
{
timeAccelerationFactor = 1.0;
}
this.alertConditionChanged = function(newCondition, oldCondition)
{
switch(newCondition)
{
case 0: // we're docked - DOES NOT KICK IN WHEN LOADING GAME - only when we RE-DOCK !!!
{
timeAccelerationFactor = 1.0; // Insure TAF is off when docked.
break;
}
case 1: // we're at green alert "can JUMP right now"
{
timeAccelerationFactor = 1.0; // Just became GREEN , ensure TAF is back to 1.0 whatever its previous value was. //
break;
}
//
case 2: // we're at yellow alert "mass locked - slow down and take a look around"
{
timeAccelerationFactor = 1.0; // Just became YELLOW, ensure TAF is back to 1.0 whatever its previous value was. //
break;
}
//
case 3: // we're at red alert...
{
if(player.alertHostiles) // ...and under attack
{
timeAccelerationFactor = 0.5; // We like to FIGHT AT HALF-SPEED... //
}
break;
}
}
}
You might notice that, as per my coding, TAF resets to 0.5 whenever the status level becomes red. That's the way I fight my battles, with full enjoyment regardless of folkspeak... I'm totally an anti-adrenaline person, and with that I get to enjoy my battles for twice the normal time of everyone else.
Voilá, you have now the required elements to exercise your choice. Be wise and, above all, have fun.
Cheers