Do we mind if I ask scripting questions in this thread than? Or shall I open a new thread?
Either way I'll put these out there: (if ya'all want a separate thread I will transfer pertaining info over to the new)
$include("test.js");
throws an invalid path for me, I've tried including the full path as well as multiple shorthand versions all of which have failed,
attempted from the t817 from a custom script defined in the objdef file
I have read through a few threads that popped up in my search where they report success I report failure... I assumed if it's in the local directory than it wouldn't need a full path and if it's a separate folder than it'd need the Outerra path else if lied outside of the game path it'd need the entire path.
Onto my next dilemma, controlling vehicle inputs
// where this is used
brake += parking;
brake *= BF;
// I am unable to directly control or manipulate the brake variable and the parking variable, for example
brake = 1;
// instead I must use
if ( I_WantToBrake )
{
slowDown = 1;
} else
{
slowDown = 0;
}
brake += slowDown;
brake *= BF * slowDown;
Which is all fine, however, if I would like my AI script to be modular where I am able to tie into any ground vehicle, air vehicle, or humanoid with relatively little modification to original code. It appears that the "keyboard inputs" are protected within the script, or just my simple interpretation of it atm. Should I instead focus directly manipulating the inputs at a higher level?