Jump to content
  • Topics

  • Posts

    • Creating fields in Farming Simulator 2022 might depend on specific terrain conditions or land ownership. Ensure you have sufficient space and ownership rights to create new fields. Similarly, checking SASSA's pending status could involve verifying eligibility criteria and documentation completeness.
    • Es könnte sein, dass es bestimmte Anforderungen gibt, die erfüllt sein müssen, damit die Option "Als Aktiv setzen" verfügbar ist. Stelle sicher, dass deine neue Base alle erforderlichen Elemente enthält und keine Fehler aufweist. Möglicherweise müssen alle notwendigen Komponenten, einschließlich Mauern, vorhanden sein, damit die Base als aktiv gesetzt werden kann. Überprüfe auch die Einstellungen und Bedingungen im Base Editor, um sicherzustellen, dass alles korrekt konfiguriert ist.
    • It sounds like you're interested in enhancing the immersive experience of a military simulator game by adding more dynamic gun sounds and potentially incorporating melee combat, including knives, swords, and other weapons. Tweaking gun sounds for more depth and adding melee combat could indeed add a new layer of excitement and realism to the gameplay. Integrating customizable gun effects and expanding combat options could offer players a more diverse and engaging experience, potentially through mods or additional game modes.
    • Hello!

      I have a script that adds custom ACRE racks to a vehicle. It works well when previewing the mission from Eden, but when I run it on my dedicated server, with ALiVE persistance activated, the custom racks will not be added for some reason.

      I suspect it's a timing issue, since I'm running the script from the vehicles init fields. But I did not write this script, nor do I know how I could try to run the script somewhere else.

      So my questions are:   1. Any idea why it won't work with ALiVE?   2. How do I convert this script to work on the vehicle, named VEHICLE1, from for instance a trigger in the mission or something of that kind?

      Here is the script:   if (isServer) then { [ { params ["_vehicle"]; [_vehicle, "ODIN"] call acre_api_fnc_setVehicleRacksPreset; [_vehicle, {}] call acre_api_fnc_initVehicleRacks; [ { params ["_vehicle"]; !alive _vehicle || {[_vehicle] call acre_api_fnc_areVehicleRacksInitialized} }, { params ["_vehicle"]; if (!alive _vehicle) exitWith {}; private _vehicleRacks = [_vehicle] call acre_api_fnc_getVehicleRacks; for "_i" from (count _vehicleRacks) - 1 to 0 step -1 do { [_vehicle, _vehicleRacks select _i] call acre_api_fnc_removeRackFromVehicle; }; [_vehicle, ["ACRE_VRC103", "Lower Dash", "Dash", false, ["inside","external"], [], "ACRE_PRC117F", [], []], true] call acre_api_fnc_addRackToVehicle; _vehicle setVariable ["Dro_customRacksAdded", true, true]; }, [_vehicle] ] call CBA_fnc_waitUntilAndExecute; }, [this], 0.1 ] call CBA_fnc_waitAndExecute; [ { params ["_vehicle"]; !alive _vehicle || {_vehicle getVariable ["Dro_customRacksAdded", false]} }, { params ["_vehicle"]; if (!alive _vehicle) exitWith {}; [_vehicle, {}] call acre_api_fnc_initVehicleRacks }, [this] ] call CBA_fnc_waitUntilAndExecute; };   Thanks in advance.
    • Why init.sqf ? So this is happening everywhere! Should just be initServer.sqf and then remoteExec the loadout script to where the unit is local, due to some of the commands being LA. //initServer.sqf // detect and change all editor placed units { [_x] call CB_fnc_factionConfig; } forEach ( allUnits select { _x isKindOf "CAManBase" && { !isPlayer _x }} ); // add MEH to catch anything spawned CB_MEH_factions = addMissionEventHandler ["EntityCreated", { params ["_entity"]; if ( _entity isKindOf 'CAManBase' && { !isPlayer _entity }) then {[_entity] call CB_fnc_factionConfig}; }]; //CB_fnc_factionConfig // handles params[ "_unit" ]; //Everything here will already be CAManBase and !player //ignore special units with this variable // factions to re-paint private _scriptName = switch ( faction _unit ) do { case ( "BLU_F" ) : { "BLUFORnato" }; case ( "BLU_CTRG_F" ) : { "BLUFORspecops" }; case ( "BLU_G_F" ) : { "BLUFORion" }; case ( "OPF_F" ) : { "OPFORcsat" }; case ( "OPF_R_F" ) : { "OPFORspecops" }; case ( "IND_G_F" ) : { "INDFORfia" }; case ( "IND_C_F" ) : { "INDFORspecops" }; case ( "CIV_F" ) : { "CIV" }; }; [ _unit ] remoteExec[ format[ "CB_fnc_loadout_%1", _scriptName ], _unit ];  
×