phatpuke
Member-
Content Count
31 -
Joined
-
Last visited
-
Medals
Community Reputation
16 GoodAbout phatpuke
-
Rank
Private First Class
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Pretty much this, As much as the new Editor is honestly amazing and powerful. After sat doing software developement all day the old eden editor was a blessing for when you either wanted to quickly test a proof of concept or just do stupid stuff like attach AA guns to camels.. Although I highly doubt it would happen. An API to allow the C based language and bringing back 'SQF' through ingame editor to allow best of both worlds would be amazing, There was some great devs in a2/a3 that wouldn't even try to make stuff if its kept the way its currently is.
- 90 replies
-
- arma4
- armareforger
-
(and 3 more)
Tagged with:
-
AI weird interaction if player is close
phatpuke replied to phatpuke's topic in ARMA 3 - MISSION EDITING & SCRIPTING
If careless is on it goes to whole new level of weird and just walk through the floor/wall haha -
AI weird interaction if player is close
phatpuke replied to phatpuke's topic in ARMA 3 - MISSION EDITING & SCRIPTING
sadly none of these work. Even if i set it as this forceWalk true; level1_unit1 disableAi "checkVisible"; level1_unit1 allowFleeing 0; level1_unit1 setSkill ["courage",1]; -
[Solved] Issue with RemoteExec not running on client
phatpuke replied to Tom212's topic in ARMA 3 - MISSION EDITING & SCRIPTING
can also do [CMD] remoteexeccall ["FUNCTION",[0,-2] select isDedicated,true]; -
Saving data, transferring between missions
phatpuke replied to jo spanner's topic in ARMA 3 - MISSION EDITING & SCRIPTING
pretty simple, have an file that would be called say 'serverID.sqf' inside that you'd have something like. serverID = "MYSERVERID"; //example - serverID = "PHAT" publicVariable "serverID"; Here is a snippet of a gamemode i made years ago that did pretty much exactly what you're after //loadAccount.sqf ["NODE_Var_lvl"] call fn_LoadStat; ["NODE_Var_XP"] call fn_LoadStat; ["NODE_fnc_faction"] call fn_LoadStat; ["NODE_side"] call fn_LoadStat; ["NODE_fnc_class"] call fn_LoadStat; ["NODE_SETUP_COMPLETE"] call fn_LoadStat; call NODE_fnc_gearArray; _gearFnc = NODE_fnc_gear select NODE_Var_lvl; player setUnitLoadout _gearFnc; call setupCheck; statsLoaded = 1; //savefuncs.sqf fn_SaveStat = { _varName = _this select 0; _varValue = _this select 1; profileNameSpace setVariable [_varName + serverID,_varValue]; }; fn_LoadStat = { _varName = _this select 0; _varValue = profileNameSpace getVariable (_varName + serverID); if(isNil "_varValue") exitWith {}; [_varName,_varValue] call fn_SetStat; }; //=========================================================================== //ADD VARIABLES TO THIS ARRAY THAT NEED SPECIAL SCRIPTING TO LOAD specialVarLoads = [ "NODE_Var_lvl", "NODE_Var_XP", "NODE_fnc_faction", "NODE_side", "NODE_fnc_class", "NODE_SETUP_COMPLETE" ]; //THIS FUNCTIONS HANDLES HOW STATS ARE LOADED fn_SetStat = { _varName = _this select 0; _varValue = _this select 1; if(isNil '_varValue') exitWith {}; if(_varName in specialVarLoads) then { if(_varName == 'NODE_Var_lvl') then {NODE_Var_lvl = _varValue}; if(_varName == 'NODE_Var_XP') then {NODE_Var_XP = _varValue}; if(_varName == 'NODE_fnc_faction') then {NODE_fnc_faction = _varValue}; if(_varName == 'NODE_side') then {NODE_side = _varValue}; if(_varName == 'NODE_fnc_class') then {NODE_fnc_class = _varValue}; if(_varName == 'NODE_SETUP_COMPLETE') then {NODE_SETUP_COMPLETE = _varValue}; } else { call compile format ["%1 = %2",_varName,_varValue]; }; }; //================================================================================================================================================================================================== saveFuncsLoaded = true; //saveloop.sqf waitUntil {!isNil "statsLoaded"}; while {true} do { ["NODE_Var_XP", NODE_Var_XP] call fn_SaveStat; sleep 1; ["NODE_Var_lvl", NODE_Var_lvl] call fn_SaveStat; }; -
AI weird interaction if player is close
phatpuke replied to phatpuke's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Gone through every single possible option. My guess is the engine interracts with players completely different to how it interfacts with other AI. 'Arma Life' -
AI weird interaction if player is close
phatpuke replied to phatpuke's topic in ARMA 3 - MISSION EDITING & SCRIPTING
A AI unit and player are both know by the patrol AI, if you set the camouflageCoef to 0 (or even 0.0001) AI still does this. -
AI weird interaction if player is close
phatpuke posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Encountered this weird issue and no idea if there is any possible way around this without doing CaptureUnit. Disabled numerous AI functions, made the player invisable, setcaptive pretty much everything I can think of but the AI will still do this if a player is close. If i place another AI at the players position and then view it through the camera, The AI is acting exactly how it should. Any idea's? -
also a switch case would be a lot cleaner. https://community.bistudio.com/wiki/switch_do
-
How make delay until being reactivating the script ?
phatpuke replied to ALPHIVE's topic in ARMA 3 - MISSION EDITING & SCRIPTING
oh also change _limit to 10. -
How make delay until being reactivating the script ?
phatpuke replied to ALPHIVE's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Have the script have a variable such as 'WaitingTimer' have this sat in a if statement and another loop inside your main statement. if(WaitingTimer <= 0) then { waitingTimer = 10; CODE ; for "_i" from 1 to _limit do {waitingTimer = WaitingTimer - 1; sleep 1;}} else {""}; for example? -
Sector Control Notifactions
phatpuke replied to phatpuke's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Although i had to shove this into a expression for each sector, this works nicely. Knew it would be something simple, as there is 0 documentation on BIS_fnc_showNotification_queue :P -
How to activate local song through trigger ?
phatpuke replied to ALPHIVE's topic in ARMA 3 - MISSION EDITING & SCRIPTING
from the start or 'where ever the sound is' ? -
Afternoon all, Working on a current project and I have hit a little snag. So I don't need to code a whole function from scratch using markers I decided to use the ingame Sector modules. The sectors themselves save so the battlefield is constantly persistent, so in the mission file all the sectors are marked as empty and call a script that does the resource (currency) and assigned west/east accordingly. This works perfectly.. however every time the mission is restart (in SP & MP) You'll get a lovely spam of notification "A was captured by x" "B was captured by x" ect ect I've tried moving this to initserver, isdedicated ect ect, The client however will always seem to show the notification, anyone know a way to disable these for the sector modules?
-
Can confirm