I try,
at a quick glance on yours u didnt make the numbers in sequence for the Hummer. this is what I've done in my files, note some lines removed do not copy paste.
d_init
Code:
// editor varname, unique number, true = respawn only when the chopper is completely destroyed, false = respawn after some time when no crew is in or chopper is destroyed
if (GVAR(enemy_side) == "EAST") then {
[[ch1,301,true],[ch2,302,true],[ch3,303,false,1500],[ch4,304,false,600],[ch5,305,true],[ch6,306,true],[ch7,307,true,600],[ch8,308,false,600]] execVM "x_server\x_helirespawn2.sqf"
} else {
[[ch1,301,true],[ch2,302,true],[ch3,303,false,1500],[ch4,304,false,1500]] execVM "x_server\x_helirespawn2.sqf"
};
};
// editor varname, unique number
//0-9 = MHQ, 10-19 = Medic vehicles, 20-29 = Fuel, Repair, Reammo trucks, 30-39 = Engineer Salvage trucks, 40-49 = Transport trucks
[
[xvec1,0],[xvec2,1],[xmedvec,10],[xmedvec1,11],[xvec3,20],[xvec4,21],[xvec5,22],[xvec6,30],[xvec7,23],
[xvec8,24],[xvec9,25],[xvec10,31],[xvec11,40],[xvec12,41],[xvec13,42],[xvec14,43],[xvec15,44],[xvec16,45],[xvec17,46]
] execVM "x_server\x_vrespawn2.sqf";
i_client
Code:
GVAR(choppers) = [
["HR1",0,"chopper1",301,"n_air","ColorWhite","1-L","Lift One"], ["HR2",2,"chopper2",302,"n_air","ColorWhite","1-Tr-A","Normal"],
["HR3",2,"chopper3",303,"n_air","ColorBlue","2-Tr-A","Normal"], ["HR4",1,"chopper4",304,"n_air","ColorBlack","W","Wreck Lift"],
["HR5",2,"chopper5",305,"n_air","ColorWhite","Tr-SM","Normal"], ["HR6",2,"chopper6",306,"n_air","ColorWhite","Tr-A-SM","Normal"],
["HR7",0,"chopper7",307,"n_air","ColorWhite","2-L-A","Lift Two"],["HR8",0,"chopper8",308,"n_air","ColorBlue","3-L-A","Lift Three"]
];
};
Code:
GVAR(p_vecs) = [
["MRR1",0,"mobilerespawn1","HQ","ColorYellow","1","MHQ One"],["MRR2",1,"mobilerespawn2","HQ","ColorYellow","2","MHQ Two"],
["MEDVEC",10,"medvec1","n_med","ColorGreen","M",""],["MEDVEC2",11,"medvec2","n_med","ColorGreen","M",""],
["TR1",20,"truck1","n_maint","ColorGreen","R1",""],["TR2",21,"truck2","n_support","ColorGreen","F1",""],
["TR3",22,"truck3","n_support","ColorGreen","A1",""],["TR6",23,"truck4","n_maint","ColorGreen","R2",""],
["TR5",24,"truck5","n_support","ColorGreen","F2",""],["TR4",25,"truck6","n_support","ColorGreen","A2",""],
["TR7",30,"truck7","n_service","ColorBlue","E1",""],["TR8",31,"truck8","n_service","ColorBlue","E2",""],
["TR9",40,"truck9","n_support","ColorGreen","T1",""],["TR10",41,"truck10","n_support","ColorGreen","T2",""],
["TR11",42,"truck11","n_support","ColorGreen","T3",""],["TR12",43,"truck12","n_support","ColorGreen","T4",""],
["TR13",44,"truck13","n_support","ColorGreen","T5",""],["TR14",45,"truck14","n_support","ColorGreen","T6",""],
["TR15",46,"truck15","n_support","ColorGreen","T7",""]
];
Belive I've read about the need of sequence for the numbers. IE: u can add 30, 31 and 40, 41, 43 etc but not 40,43,47.
Also the numbers in d_init needs to match them in i_client. Hope this helps.
Red colored numbers was them I saw in your code that was not in seq.
---------- Post added at 12:19 AM ---------- Previous post was at 12:12 AM ----------
You will find all related for what u want to do in the file I_server.sqf search after the lines
Code:
// first element (array. for example: [2,1]): number of vehicle groups that will get spawned, the first number is the max number that will get spawned,
// the second one the minimum. So [2,0] means, there can be no vehicle groups at all or a maximum of 2 groups of this kind
// second element: maximum number of vehicles in group; randomly chosen
it's pretty selfexplaining what all do below that point, above you have all the diffrent units and their cfg_group combinations.
hope it helps.