Einzelnen Beitrag anzeigen
Alt 10.09.2010, 09:33   #10 (permalink)
Fogu
500 Beiträge1000 Beiträge
 
Benutzerbild von Fogu
 
Registriert seit: 12.05.2009
Ort: FRA
Beiträge: 1.621
Standard

Also die description.ext könnte so aussehen:
Code:
class Header
{
    gameType   = Coop;     // values: DM, CTF, FF, Coop, Team, Scont, Hold, Unknown
    minPlayers = 1;     // min # of players the mission supports
    maxPlayers = 12;        // max # of players the mission supports
};


/* Respawn Values:
 * 0 / NONE = No respawn
 * 1 / BIRD = Respawn as seagull
 * 2 / INSTANT = Respawn where you just died
 * 3 / BASE = Respawn in base (markername should be "respawn_west" (_west/_east/_guerrila/_civilian)
 * 4 / GROUP = If AI left in group, respawn in that
 * 5 / SIDE = Not Working?
 */    
 
respawn      = 3;
respawndelay = 6;        // Time delay in seconds for respawn to occur  (NEVER use 0)
respawnVehicle=3;
respawnVehicleDelay=10;



class Params
{
        class DayTime
        {
                //paramsArray[0]
                title = "Time Of Day";
                values[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23};
                texts[] = {"0000","0100","0200","0300","0400","0500","0600","0700","0800","0900","1000","1100","1200","1300","1400","1500","1600","1700","1800","1900","2000","2100","2200","2300"};
                default = 12;
        };
        
};
und deine init.sqf z.B. so:
Code:
//Mission parameters
skiptime (((paramsarray select 0) - daytime + 24) % 24);
//--- Light at Base
[] spawn {
    light = "#lightpoint" createVehicle getpos tour;
    light setLightBrightness .4;
    light setLightAmbient[1.0, 1.0, 1.0];
    light setLightColor[1.0, 1.0, 1.0];
    light lightAttachObject [tour, [0,0,13]];
    light2 = "#lightpoint" createVehicle getpos tour2;
    light2 setLightBrightness .4;
    light2 setLightAmbient[1.0, 1.0, 1.0];
    light2 setLightColor[1.0, 1.0, 1.0];
    light2 lightAttachObject [tour2, [0,0,13]];
    light3 = "#lightpoint" createVehicle getpos tour3;
    light3 setLightBrightness .4;
    light3 setLightAmbient[1.0, 1.0, 1.0];
    light3 setLightColor[1.0, 1.0, 1.0];
    light3 lightAttachObject [tour3, [0,0,13]];
    light4 = "#lightpoint" createVehicle getpos tour4;
    light4 setLightBrightness .4;
    light4 setLightAmbient[1.0, 1.0, 1.0];
    light4 setLightColor[1.0, 1.0, 1.0];
    light4 lightAttachObject [tour4, [0,0,13]];
    light5 = "#lightpoint" createVehicle getpos tour5;
    light5 setLightBrightness .4;
    light5 setLightAmbient[1.0, 1.0, 1.0];
    light5 setLightColor[1.0, 1.0, 1.0];
    light5 lightAttachObject [tour5, [0,0,13]];
    light6 = "#lightpoint" createVehicle getpos tour6;
    light6 setLightBrightness .4;
    light6 setLightAmbient[1.0, 1.0, 1.0];
    light6 setLightColor[1.0, 1.0, 1.0];
    light6 lightAttachObject [tour6, [0,0,13]];
    light7 = "#lightpoint" createVehicle getpos tour7;
    light7 setLightBrightness .4;
    light7 setLightAmbient[1.0, 1.0, 1.0];
    light7 setLightColor[1.0, 1.0, 1.0];
    light7 lightAttachObject [tour7, [0,0,13]];
    light8 = "#lightpoint" createVehicle getpos tour8;
    light8 setLightBrightness .4;
    light8 setLightAmbient[1.0, 1.0, 1.0];
    light8 setLightColor[1.0, 1.0, 1.0];
    light8 lightAttachObject [tour8, [0,0,13]];
    light9 = "#lightpoint" createVehicle getpos tour9;
    light9 setLightBrightness .4;
    light9 setLightAmbient[1.0, 1.0, 1.0];
    light9 setLightColor[1.0, 1.0, 1.0];
    light9 lightAttachObject [tour9, [0,0,13]];


    };


};
PS. Gibt es das hier echt bzw. funktioniert es auch?
Code:
respawnVehicle=3;
respawnVehicleDelay=10;
__________________


My Youtube Channel

"Before you diagnose yourself with depression or low self esteem,
first make sure you are not, in fact, just surrounded by assholes!"
William Gibson
Fogu ist offline