I've been playing wyqer's epic kp liberation mission and have been editing the presets to accommodate nzarma specific stuff and ai units, I use the Hellcat/wildcat a lot in the game as a support chopper, but I'm sick of looking at the ugly af AAF digi camo paint job on it.
the chopper is loaded in via class name every time somebody spawns it, so the option of changing the colour via edit unit in the editor for the mission isn't an option, I cant find a classname for an olive armed hellcat/wildcat only an olive unarmed one. both armed options are digi awe full camo
anybody know of a way to spawn a unit with a specific paint job? one that it has access to but not a classnamed variant of?
(this would actually be useful for many of the units we use not just the chopper)
\scripts\client\build\do_build.sqf
line 321
switch (_classname) do {
in this switch you add another case:
case "I_Heli_light_03_dynamicLoadout_F": {[_vehicle,["Green",1],true] call BIS_fnc_initVehicle;};
\scripts\server\game\save_manager.sqf
line 287
if (_nextclass in civilian_vehicles) then {
KP_liberation_cr_vehicles pushBack _nextbuilding;
};
after this if you add another if:
if (_nextclass == "I_Heli_light_03_dynamicLoadout_F") then {
[_nextbuilding,["Green",1],true] call BIS_fnc_initVehicle;
};