0. Problemy z wyświetlaniem Player names
Arma 3 class d_show_playernames { title = "$STR_DOM_MISSIONSTRING_1159"; values[] = {0,1}; default = 1; <<< PRAWIDŁOWO texts[] = {"$STR_DOM_MISSIONSTRING_1446","$STR_DOM_MISSIONSTRING_1447"};
A2 i OA: class GVAR(show_playernames) { title = "$STR_DOM_MISSIONSTRING_1159"; values[] = {0,1}; #ifndef __ACE__ default = 1; <<< bo to jest Disable Show Player names #else default = 1; <<< bo to jest Disable Show Player names #endif texts[] = {"$STR_DOM_MISSIONSTRING_1006","$STR_DOM_MISSIONSTRING_1007"}; };
1. Podmiana MHQ - z edytora
2. Wożenie MHQ A3 X:\Documents\Arma 3 - Other Profiles\artur_PL\missions\ART_Domi_99u_hud_v0_1f_[02].Altis\x_init\fn_preinit.sqf "B_APC_Wheeled_01_cannon_F" <<< STARE, Marshall
C:\Users\adebski\Documents\Arma 3 - Other Profiles\artur_PL\missions\ART_Domi_3_Altis_[03].Altis\x_init\x_initcommon.sqf "I_APC_Wheeled_03_cannon_F" <<< Domi 3 Gorgon
A2 i_client.sqf
["AllVehicles"] - do sprawdzenia -raczej nie działa - sparwdzane na Fallujah
"M2A3_Ep1_TGW","M6_EP1_TGW","M1A2_TUSK_MG","LAV25"
"ACE_Vulcan","ACE_Stryker_ICV_MK19","ACE_Stryker_ICV_M2","ACE_Stryker_RV","ACE_Stryker_TOW","ACE_Stryker_MGS"
Klasy pojazdow do wożenia śmigłowcem: GVAR(helilift1_types) =
Wszystkie polskie + reszta
["LAV25","ACE_M2A3_W","ACE_M6A1_W","ACE_M1A1HC_TUSK_CSAMM","HMMWV_Ambulance","HMMWV_M2","HMMWV_MK19","HMMWV_TOW","HMMWV_Avenger", "WarfareSalvageTruck_USMC","MtvrSupply_DES_EP1","MtvrReammo","MtvrRefuel","MtvrRepair","VIL_anders_tank_camo","VIL_anders_ifv","VIL_brdm_m96", "VIL_BRDM2_ATGM","VIL_brm1_wp","VIL_bwp2000_wp","VIL_2s1_PL","VIL_DANA","VIL_LEO2A4","VIL_OSA_PLOT","VIL_new_PT91","VIL_rosomak","VIL_t72M1_wp", "VIL_zsu_camoPL","LAV25_HQ","M1133_MEV_EP1","HMMWV_DES_EP1","HMMWV_M1035_DES_EP1","MTVR_DES_EP1","HMMWV_Ambulance_DES_EP1", "MtvrReammo_DES_EP1","MtvrRefuel_DES_EP1","MtvrRepair_DES_EP1","LandRover_CZ_EP1","HMMWV_Ambulance_CZ_DES_EP1","MtvrSupply_DES_EP1","M119_US_EP1"]
Same polskie z kilkoma ptrzebnymi
"LAV25","ACE_M2A3_W","ACE_M6A1_W","ACE_M1A1HC_TUSK_CSAMM","HMMWV_Ambulance","HMMWV_M2","HMMWV_MK19", "HMMWV_TOW","HMMWV_Avenger","WarfareSalvageTruck_USMC","MtvrSupply_DES_EP1","MtvrReammo","MtvrRefuel","MtvrRepair", "VIL_anders_tank_camo","VIL_anders_ifv","VIL_brdm_m96","VIL_BRDM2_ATGM","VIL_brm1_wp","VIL_bwp2000_wp","VIL_2s1_PL", "VIL_DANA","VIL_LEO2A4","VIL_OSA_PLOT","VIL_new_PT91","VIL_rosomak","VIL_t72M1_wp","VIL_zsu_camoPL",
3. Załadunek Ammo dla MHQ A3 // GVAR(check_ammo_load_vecs) // the only vehicles that can load an ammo box are the transport choppers and MHQs__
X:\Documents\Arma 3 - Other Profiles\artur_PL\missions\ART_Domi_99u_hud_v0_1f_[02].Altis\x_init\fn_preinit.sqf
"B_APC_Wheeled_01_cannon_F"
A2 Modyfikacja który pojazd może załadować ammobox - i_client.sqf:
// d_check_ammo_load_vecs // the only vehicles that can load an ammo box are the transport choppers and MHQs__ #ifdef __OWN_SIDE_WEST__ d_check_ammo_load_vecs = if (__OAVer) then { ["M1133_MEV_EP1","UH60M_EP1","UH1H_TK_GUE_EP1","BMP2_HQ_TK_EP1","Mi17_TK_EP1"] } else { ["LAV25_HQ","MH60S"] }; #endif #ifdef __OWN_SIDE_EAST__ d_check_ammo_load_vecs = if (__OAVer) then { ["BMP2_HQ_TK_EP1","Mi17_TK_EP1"] } else { ["BTR90_HQ","Mi17_Ins"] }; #endif #ifdef __TT__ d_check_ammo_load_vecs = if (__OAVer) then { ["M1133_MEV_EP1","UH60M_EP1","CH_47F_EP1","BMP2_HQ_TK_EP1","Mi17_TK_EP1"] } else { ["LAV25_HQ","MH60S","BTR90_HQ","Mi17_Ins"] }; #endif
LUB
// GVAR(check_ammo_load_vecs) // the only vehicles that can load an ammo box are the transport choppers and MHQs__ #ifdef __OWN_SIDE_WEST__ GVAR(check_ammo_load_vecs) = switch (true) do { case (__OAVer): {["LAV25","M1133_MEV_EP1","UH60M_EP1","UH1H_TK_GUE_EP1","BMP2_HQ_TK_EP1","Mi17_TK_EP1"]}; case (__COVer): {["LAV25","LAV25_HQ","MH60S"]};
3A. Modyfikacja po ilu sekundach można ząłdować lub wyładowac ammobox- i_client.sqf:
// time player has to wait until he can drop the next ammobox (old ammobox handling) // in the new ammobox handling (default, loading and dropping boxes) it means the time dif in seconds before a box can be loaded or dropped again in a vehicle d_drop_ammobox_time = if (d_AmmoBoxHandling) then {300} else {240}; d_current_truck_cargo_array = 0;
4. Podmiana na Polaków vilasa - z edytora
5. Podmiana AI na Polaków vilasa x_client\x_recruitsetup.sqf ["vil_soldier_nwp_PCS2", "vil_soldier_nwp_ATGM", "vil_soldier_nwp_med", "vil_soldier_nwp_MG" , "vil_soldier_nwp_gl", "vil_soldier_nwp_snp_new_tordemo", "vil_soldier_nwp_aa", "VIL_soldier_nwp_jwgrom3sd"]
x_setupllayer.sqf - Fallujah #ifdef __OA__ __aiadda ["Recruit Soldier" call XBlueText,_script,"vil_soldier_nwp_PCS2"]; __aiadda ["Recruit AT Soldier" call XBlueText,_script,"vil_soldier_nwpDES_ATGM"]; __aiadda ["Recruit Medic" call XBlueText,_script,"VIL_SOLDIER_NWPDES_MED"]; __aiadda ["Recruit MG Gunner" call XBlueText,_script,"VIL_SOLDIER_NWPDES_MG"]; __aiadda ["Recruit Grenadier" call XBlueText,_script,"VIL_SOLDIER_NWPDES_GL"]; __aiadda ["Recruit Sniper" call XBlueText,_script,"VIL_SOLDIER_NWPDES_Tor"]; __aiadda ["Recruit AA Soldier" call XBlueText,_script,"VIL_SOLDIER_NWPDES_AA"]; __aiadda ["Recruit Specop" call XBlueText,_script,"Specop"];
6. Bradleye
7. Respawn dodanych pojazdów
veh = [this, 10, 500] execVM "vehicle.sqf"
veh = [this, 10, 604800] execvm "vehicle.sqf"; - nieużywane pojazdy po tygodniu respawnują się
8. Naprawa wszystkich pojazdów przez inżyniera W folderze x_client w plikach o nazwie x_repanalyze i x_repengineer usunąć dane związane z definicją #ifdef __ACE__ lub zamiast #ifdef __ACE__ wpisać np. #ifdef __niechcetego__.
9. Siatki maskujące zielone A3 włączenie siatek: /* TODO Camo nets in A3 are attacked by enemy AI units without a reason, so no good idea to add them if (GVAR(with_base_camonet) == 0) then { _camotype = switch (getNumber (configFile/"CfgVehicles"/typeOf _vehicle/"side")) do { case 1: {"Land_CamoNetB_NATO_EP1"}; case 0: {"Land_CamoNetB_EAST_EP1"}; }; _camo = createVehicle [_camotype, position _vehicle, [], 0, "NONE"]; _camo setDir (direction _vehicle) + 180; _camo setPos (position _vehicle); _vehicle setVariable [QGVAR(camonet), _camo]; };*/
'Przedmioty wojskowe" >>> "Siatka maskująca dla pojazdów NATO" vehicle="Land_CamoNetB_NATO";
dla MHQ: x_deploymhq.sqf _camotype = switch (GVAR(player_side)) do { #ifdef __CO__ case west: {"Land_CamoNetB_NATO"}; Piaskowa była : "Land_CamoNetB_NATO_EP1" case east: {"Land_CamoNetB_EAST"}; #endif #ifdef __OA__ case west: {"Land_CamoNetB_NATO"}; case east: {"Land_CamoNetB_EAST_EP1"};
dla innych pojazdów: x_vrespawn2.sqf switch (true) do { case (__OAVer): {"Land_CamoNetB_NATO"}; <<< już po zamianie nie zieloną siatkę case (__COVer): {"Land_CamoNetB_NATO"};
10. d_init.sqf - tam siedzą parametry co i jak z respawnem defaultowych pojazdów z Domi
11.i_common.sqf - tu parametry zrzutu "Call Drop" A3 C:\Users\adebski\Documents\Arma 3 - Other Profiles\artur_PL\missions\ART_Domi_3_Altis_[04].Altis\x_init\fn_preinit.sqf
A2 #ifdef __OWN_SIDE_WEST__ switch (true) do { case (__ACEVer): { [["Drop Artillery", "M252"], ["Drop Humvee","HMMWV_M1035_DES_EP1"], ["Drop Ammo", "USBasicAmmunitionBox_EP1"]] }; case (__OAVer): { [["Drop Artillery", "M252"], ["Drop Humvee","HMMWV_M1035_DES_EP1"], ["Drop Ammo", "USBasicAmmunitionBox_EP1"]] }; default { [["Drop Artillery", "M252"], ["Drop Humvee","HMMWV"], ["Drop Ammo", "USBasicAmmunitionBox"]] }
12. i_server.sqf - jaki samolot robi drop
// Type of aircraft, that will air drop stuff x_drop_aircraft = #ifdef __OWN_SIDE_GUER__ if (__OAVer) then {"UH1H_TK_GUE_EP1"} else {"MH60S"}; #endif #ifdef __OWN_SIDE_WEST__ if (__OAVer) then {"MH60S"} else {"MH60S"}; #endif #ifdef __OWN_SIDE_EAST__ if (__OAVer) then {"An2_TK_EP1"} else {"Mi17_rockets_RU"}; #endif #ifdef __TT__ if (__OAVer) then {"C130J_US_EP1"} else {"MH60S"}; #endif
13. i_server.sqf - kto może latać kto może latac - i_client.sqf // if the array is empty, anybody can fly, // just add the string name (var name in the editor) of the playable units that can fly, for example: // for example: ["pilot_1","pilot_2"];, case sensitiv // this includes bonus aircrafts too GVAR(only_pilots_can_fly) = ["Pilot_1","Pilot_2","Pilot_3","admin"];
14. i_common.sqf - bonusowe pojazdy
GVAR(sm_bonus_vehicle_array) = ( #ifdef __DEFAULT__ switch (GVAR(own_side)) do { case "GUER": {["A10","AH1Z","UH1Y","AV8B","AV8B2", "F35B", "M1A2_TUSK_MG","M1A1"]};
15. Kto robi drop
i_client.sqf
// can call in air drop #ifndef __TT__ d_can_call_drop = ["alpha_1","charlie_1","echo_1","bravo_1"]; #else d_can_call_drop = []; #endif
// is artillery operator
// can build mash
// can build mg nest
// is engineer
16. REPAIR REFUEL PO PRZESUNIECIU POJAZDU
17. Flip w ARMA 3 - Do zbadania
\x_client\x_setupplayer.sqf
if (_vehicle isKindOf "Quadbike_01_Base_F") then { _vehicle addAction [(localize "STR_DOM_MISSIONSTRING_162") call FUNC(BlueText), {_this call FUNC(flipatv)}, 0, -1, false, false, "", "!(player in _target) && {((vectorUp _target) select 2) < 0.6}"]; };
18. Create Vehicle - pojazdy z MHQ
\x_init\fn_preinit.sqf
// this vehicle will be created if you use the "Create XXX" at a mobile respawn (old "Create Motorcycle") or at a jump flag
#ifdef __OWN_SIDE_BLUFOR__ ["B_Quadbike_01_F","I_APC_Wheeled_03_cannon_F"]; #endif
#############################
create vehicle: #ifdef __OWN_SIDE_BLUFOR__ ["B_Quadbike_01_F","B_Mortar_01_F"]; "B_HMG_01_high_F" - .50 podwyzszony #endif
19. AI w ARMA3 AI w Arma 3: x_recruitsetup.sqf
_________________ Artur Dębski http://blogit.one.pl
|