// this is called by loadLevelScript()
function activateLevelTick()
{
echo("+ + activateLevelTick + +");
// starts all the checks
schedule(1000,0,"survivalCheck");
// start logging time of day to console
schedule(1000,0,"logTimeofDay");
// give player some idea what to do
clientCmdCenterPrint("Your buggy broke down and lost a wheel ... try to make it back to the road alive.", 5, 1);
}
// MAIN ---
echo("+ + running desert.cs + +");
// return to FPS camera
setFirstPerson();
// place a bunch of edible plants
seedResource("cactusData", 22, 512);
// shapeBase count level size
// set meters
Heat.SetValue(0.5);
Hunger.SetValue(0.09);
Thirst.SetValue(0.09);
$SUNRISE = 0.05;
$MIDDAY = 0.25;
$SUNSET = 0.5;
$HEAT = 0.003; // see if this value works ok
//$Result = SFXPlay("art/sound/st_ambient/DesertWinds_RRGTS.ogg");
//echo(" ++ SFXPlay results = " @ $Result @ " ++");
// --- MAIN