|
|
|
|
@@ -20,18 +20,23 @@
|
|
|
|
|
5 displayAddEventHandler !"bis_fnc_halo_keydown_eh = (finddisplay 46) displayaddeventhandler [\"keydown\",\"_this call bis_fnc_halo_keydown;\"];"
|
|
|
|
|
5 displaySetEventHandler
|
|
|
|
|
5 enableEnvironment
|
|
|
|
|
5 forceEnd
|
|
|
|
|
5 groupIcon
|
|
|
|
|
5 hideObject !"rhideObject" !"\"hideObject\"" !"(_x select 0) nearestObject (_x select 1) hideObject true} count [\n\n[[3" !"_object2 = _ghost2 createVehicleLocal [0,0,0];\nhideObject _object;"
|
|
|
|
|
5 hideObject !"rhideObject" !"\"hideObject\"" !"(_x select 0) nearestObject (_x select 1);\n_object hideObject" !"_object2 = _ghost2 createVehicleLocal [0,0,0];\nhideObject _object;"
|
|
|
|
|
5 lbCurSel !"_selectedUserIndex = lbCurSel _lbUsersControl;" !="profileNamespace setVariable ['statusUI',(lbCurSel (_this select 0))];" !="profileNamespace setVariable ['streamerMode',(lbCurSel (_this select 0))];" !"_index = lbCurSel _lbcontrol;\n_selectedItem" !"_selected = lbCurSel _list;\n_classname = _list lnbData [_selected, 2];" !="_friendName = _userList lbText (lbCurSel _userList);" !")] call Z_" !"(lbCurSel 7421) call Z_fillCategoryList" !"] call Door" !"] call Plot" !"[(lbCurSel 12001)] " !="[(lbCurSel 21000), ((ctrlParent (_this select 0)) displayCtrl 21001)] spawn EpochDeathBoardClick;" !"((ctrlParent (_this select 0)) closeDisplay 2);" !="_uid = _playerList lbData (lbCurSel _playerList);" !"_myGroup lbData (lbCurSel _myGroup);"
|
|
|
|
|
5 lbSet !"_lbUsersControl lbSetColor [_x, [1,0,0,1]];" !"\n_control lbSetColor [_x, _color];\n};" !"_weaponsLBSetFocus" !="(_this select 0) displayCtrl _idc lbSetCurSel (profileNamespace getVariable [_var,_default]);" !="(_display displayCtrl 105) lbSetColor [_i, [0.06, 0.05, 0.03, 1]];" !" [7421," !"lbSetPicture [7422, _index" !"lbSetPicture [7402, _index" !"lbSetPicture [7401, _index" !="_userList lbSetData [(lbSize _userList) -1,_friendUID];" !" [TraderDialogItemList, _index, " !"_myGroup lbSetData [_index,getPlayerUID _x];"
|
|
|
|
|
5 loadFile
|
|
|
|
|
5 menu !",\"MenuSelected\",\"Draw\",\"VideoStop" !"_menu = _parent displayCtrl (1600 + _i);\n_menu ctrlShow " !="createDialog 'RscDisplayCraftingMenu';" !"BIS_fnc_commsMenu" !"BIS_fnc_kbMenu" !"call gear_ui_offMenu;" !"dayz_inflame_showMenu" !"\"showCommandingMenu\", " !"rshowCommandingMenu" !"menu_" !"use action menu to " !"\"_menu\",\"_menu1\"" !"PVDZE_plr_TradeMenu" !"fn_gearMenuChecks" !"fn_pauseMenuChecks"
|
|
|
|
|
5 onMapSingleClick
|
|
|
|
|
5 playableUnits !"for [{_y=0},{_y < count(playableUnits)},{_y=_y+1}] do {" !"typeName player == \"OBJECT\" && {(player in playableUnits" !"AND {((alive _x) AND {((vehicle _x) distance _obj < 150)})}} count playableUnits)}) then {" !="_local = { _unit distance _x < _dis; } count playableUnits <= 1;" !"if (!_isOk) exitWith {false};\nuiSleep 0.001;\n} forEach playableUnits;" !"ManagementMustBeClose) then { player nearEntities [\"CAManBase\", 10] } else { playableUnits };"
|
|
|
|
|
5 positionCameraToWorld
|
|
|
|
|
5 selectPlayer !"addSwitchableUnit dayz_originalPlayer;\nsetPlayable dayz_originalPlayer;\nselectPlayer dayz_originalPlayer;" !"addSwitchableUnit _newUnit;\nsetPlayable _newUnit;\nselectPlayer _newUnit;"
|
|
|
|
|
5 serverCommand !="_character = if (serverCommandAvailable \"#kick\") then { call sched_tg_follow } else { player };" !"serverCommand (\"#vote kick \" + _selectedName);"
|
|
|
|
|
5 setCamUseTI
|
|
|
|
|
5 setDamage !"if (_entity isKindOf \"Animal\") then {\n_entity setDamage 1;" !"player setDamage 1;\n};\n\nif (dayz_onBack != \"\") then {\nif (dayz_onBack in w" !"if (_ent isKindOf \"Animal\" || _ent isKindOf \"zZombie_base\") then {\n_ent setDamage 1;"
|
|
|
|
|
5 setDammage
|
|
|
|
|
5 SetEventHandler !"\n_menu ctrlSetEventHandler [\"ButtonClick\",_compile];\n};" !"inGameUISetEventHandler [\"Action\",\"false\"];"
|
|
|
|
|
5 setIdentity
|
|
|
|
|
5 setMarkerAlpha
|
|
|
|
|
5 setMarkerBrush
|
|
|
|
|
5 setMarkerColor !",if (_vehicle == _x) then {name _x} else {_vehicle call dayz_getCrew}];\n_marker setMarkerColorLocal \"ColorGreen\";"
|
|
|
|
|
@@ -51,24 +56,19 @@
|
|
|
|
|
5 toString !"_animCheck = toString ([(_animStateArray select 0),(_animStateArray select 1)" !="_skinToModel = toString (_finalArray);" !="{_textArrayTemp = _textArrayTemp + [tostring [_x]]} foreach _line;" !="_cmpt = toString _cmpt;" !="_objName = toLower(toString(_objName));" !"if (toString _hayArr != _needle) then {" !="_type = toString _typeA;" !="_anim4 = toString _anim4;" !"{(count _stance>17)}) then {toString [_stance select 17]}" !"BIS_fnc_timeToString" !"02, if (typeName _name == \"ARRAY\") then {toString _name} else {_name}];"
|
|
|
|
|
5 worldTo !="_relPos = _building worldToModel _point;" !"if (_isPlayer) then {\n_x = _pos worldToModel _new;" !"_w2m = _x worldToModel (getPosATL player);\n_bb = (boundingbox _x) select 1;" !="_h = _offset + ((_o worldToModel (getPosATL _o)) select 2);" !"_pos set [2,(_pos select 2) + 1.5];\n_screen = worldToScreen _pos;\n_text = composeText [image"
|
|
|
|
|
//NEW 1.0.6.2
|
|
|
|
|
5 positionCameraToWorld
|
|
|
|
|
5 endMission !="agazineCargo\", \n\"clearMagazineCargo\",\n\"clearWeaponCargo\",\n\"endMission\",\n\"failMission\",\n\"titleCut\", \n\"titleText\", \n\n\"say\", \n\"play" !="eateTaskSet\", \"debugLog\", \"deleteWP\", \"enablesimulation\", \"endMission\", \"execfsm\", \"fadeMusic\", \"fadeSound\", \"failMission\", \"glo" !="lize \"str_player_login_timeout\", \"PLAIN DOWN\"];\nuiSleep 5;\nendMission \"END1\";\n};\nif ((!isNil \"Dayz_loginCompleted\") and {(Dayz_l" !="rendMission = 'endMission'" !="rendMissioncode = compile preprocessFileLineNumbers (BIS_PathMPscriptCommands + 'endMission.sqf')" !="rendMissioncode={diag_log(\"WARNING illegal RE rendMissioncode with args:\"+str(_this));};" !="ack for type \" + _x);\npublicVariableServer \"PVDZ_sec_atp\";\nendMission \"LOSER\";\n};\ndeleteVehicle _plant;\n} count [\"grass\",\"prunus" !="etPlayerUID player]);\npublicVariableServer \"PVDZ_sec_atp\";\nendMission \"LOSER\";\n};\n\nswitch (true) do {\ncase (1==0) : {\nPVDZ_sec_a" !="ra cameraEffect [\"Terminate\",\"BACK\"];\ncamDestroy _camera;\n\nendMission \"END1\";\n};"
|
|
|
|
|
5 player_humanityMorph !="rs \"\\z\\addons\\dayz_code\\compile\\fn_surfaceNoise.sqf\";\nplayer_humanityMorph = compile preprocessFileLineNumbers \"\\z\\addons\\dayz_c" !="_generateKey = {[0,0]};\nfnc_usec_damageHandler = {0};\nplayer_humanityMorph = {};\nplayer_zombieCheck = {};\nPVDZ_pass = [\"none\",\"n" !="#line 1 \"z\\addons\\dayz_code\\compile\\player_humanityMorph.sqf\"\nprivate [\"_charID\",\"_newmodel\",\"_old\",\"_updates\",\"_humanity\",\"_med" !="orld_sunRise; [] spawn world_surfaceNoise; [] spawn player_humanityMorph; [] spawn player_throwObject; [] spawn player_alert" !="ndle = [dayz_playerUID,dayz_characterID,_model] spawn player_humanityMorph;\n};\n} else {\nlocalize \"str_player_fail_wear3\" call da"
|
|
|
|
|
5 HelicopterExplo !="(isNull _who) then {\nif (_ammo != \"\" && _ammo isKindOf \"HelicopterExploSmall\") then {\n_who = player;\n_dist = round (_who distanc" !="gger getVariable [\"\"obj\"\", objNull];\n createVehicle [\"\"HelicopterExploSmall\"\", getPos _v, [], 0, \"\"CAN_COLLIDE\"\"] setPosATL get" !="Trigger getVariable [\"obj\", objNull];\n createVehicle [\"HelicopterExploSmall\", getPos _v, [], 0, \"CAN_COLLIDE\"] setPosATL getPos" !=" _atl set [2, (_atl select 2) + 1];\n createVehicle [\"HelicopterExploBig\", getPos _v, [], 0, \"CAN_COLLIDE\"] setPosATL _atl;\n "
|
|
|
|
|
5 removeAllEventHandlers !"lse\"];\n{\n(findDisplay 12) displayCtrl 51 ctrlRemoveAllEventHandlers _x;\n(findDisplay 12) displayRemov" !="x select 1,0] nearestObject (_x select 2);\n_building removeAllEventHandlers \"handleDamage\";\n_building addEventHandler [\"handleDa" !="autFuel)) then {\n_WarnFuel = false;\n};\n\n};\n\n_vehicle removeAllEventHandlers \"IncomingMissile\";\n_vehicle removeAllEventHandlers \"" !="leep _wait;} else {sleep (_wait * 4);};\n};\n\n_vehicle removeAllEventHandlers \"Dammaged\";" !="\n\n\n\n\nif (_this isKindOf \"AllVehicles\") then {\n\n_this removeAllEventHandlers \"HandleDamage\";\n_this removeAllEventHandlers \"Killed" !="ect 1;\n_model = _this select 2;\n_old = player;\n\n_old removeAllEventHandlers \"FiredNear\";\n_old removeAllEventHandlers \"HandleDama" !="\npublicVariableServer \"PVDZ_veh_Save\";\n};\n};\n\n\n_unit removeAllEventHandlers \"HandleDamage\";\n_unit removeAllEventHandlers \"Killed"
|
|
|
|
|
5 AccTime !="oOpenChuteHeight} do {\n\n\n_fpsCoef = ((time - _time) * 60) / acctime; \n_time = time;\n\nbis_fnc_halo_velLimit = 0.2 * _fpsCoef;\nbis"
|
|
|
|
|
5 forceEnd
|
|
|
|
|
5 failMission !="\n\"clearMagazineCargo\",\n\"clearWeaponCargo\",\n\"endMission\",\n\"failMission\",\n\"titleCut\", \n\"titleText\", \n\n\"say\", \n\"playMusic\", \n\"switc" !="ion\", \"endMission\", \"execfsm\", \"fadeMusic\", \"fadeSound\", \"failMission\", \"globalChat\", \"globalRadio\", \"groupChat\", \"groupRadio\", " !="rfailMission = 'failMission'" !="rfailMissioncode = compile preprocessFileLineNumbers (BIS_PathMPscriptCommands + 'failMission.sqf')" !="rfailMissioncode={diag_log(\"WARNING illegal RE rfailMissioncode with args:\"+str(_this));};"
|
|
|
|
|
5 setAperture !="dAperture = (_NV select 1);\n\nif(_NVOn == \"ON\") exitwith\n{\nsetaperture -1;\nppEffectDestroy ppColor;\nppEffectDestroy ppBlur;\nplaye" !="_inc;\n\n_NVOn = (_NV select 0);\n\nif(_NVOn == \"ON\") then {\n\nsetAperture _newap;\n\nplayer setVariable [\"NV\", [\"OFF\", _newap]];\n} els" !="_inc;\n\n_NVOn = (_NV select 0);\n\nif(_NVOn == \"ON\") then {\n\nsetAperture _newap;\n\nplayer setVariable [\"NV\", [\"OFF\", _newap]];\n} els"
|
|
|
|
|
5 setCamUseTI
|
|
|
|
|
5 setDate !=" = [\n\"move\", \n\"moveIn\", \n\"land\", \n\"addWPCur\", \n\"animate\", \n\"setDate\", \n\"playmusic\", \n\"playsound\", \n\"switchmove\", \n\"playmove\", \n\"" !="rsetDate = 'setDate'" !="rsetDatecode = compile preprocessFileLineNumbers (BIS_PathMPscriptCommands + 'setDate.sqf')" !="\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n};\n\n\nif (!isDedicated) then {\n\"dayzSetDate\" addPublicVariableEventHandler {\n_newdate = _this select 1;\n" !="\", \"setCaptive\", \"setCurrentTask\", \"setCurrentTaskArrays\", \"setDate\", \"setDir\", \"setGroupID\", \"setMarkerPosLocal\", \"setObjectTex" !="rsetDatecode={diag_log(\"WARNING illegal RE rsetDatecode with args:\"+str(_this));};" !="DZ_plr_Login1', PVDZ_plr_Login1]; \nPVDZ_send = [player,\"dayzSetDate\",[player]];\npublicVariableServer \"PVDZ_send\";\ndiag_log ['Sen" !="!isNil \"dayzSetDate\"" !="diag_log ['Date & time received:', dayzSetDate];\nsetDate dayzSetDate;\ndiag_log ['Local date on this client:', date];"
|
|
|
|
|
5 setIdentity
|
|
|
|
|
5 skipTime !="cVM\", \n\"spawn\", \n\"JIPrequest\", \n\"JIPexec\", \n\n\"addAction\", \n\"skiptime\", \n\n\n\n\"setSimpleTaskDescription\", \n\"setSimpleTaskDestinatio" !="setWPtype\", \"showCommandingMenu\", \"sideChat\", \"sideRadio\", \"skiptime\", \"spawn\", \"switchAction\", \"switchCamera\", \"taskHint\", \"tit" !="rskiptime = 'skiptime'" !="rskiptimecode = compile preprocessFileLineNumbers (BIS_PathMPscriptCommands + 'skiptime.sqf')" !="rskiptimecode={diag_log(\"WARNING illegal RE rskiptimecode with args:\"+str(_this));};"
|
|
|
|
|
5 addMagazineCargo !addMagazineCargoGlobal !="ns\", \n\"addWeapon\", \n\"addWeaponCargo\", \n\"addMagazine\", \n\"addMagazineCargo\", \n\"clearMagazineCargo\",\n\"clearWeaponCargo\",\n\"endMissio" !="raddMagazineCargo = 'addMagazineCargo'" !="raddMagazineCargocode = compile preprocessFileLineNumbers (BIS_PathMPscriptCommands + 'addMagazineCargo.sqf')" !="reach [ \"addAction\", \"addEventhandler\", \"addMagazine\", \"addMagazineCargo\", \"addWeapon\", \"addWeaponCargo\", \"addWPCur\", \"animate\"," !="raddMagazineCargocode={diag_log(\"WARNING illegal RE raddMagazineCargocode with args:\"+str(_this));};"
|
|
|
|
|
5 addWeaponCargo !addWeaponCargoGlobal !="createDiaryRecord\", \n\"removeAllWeapons\", \n\"addWeapon\", \n\"addWeaponCargo\", \n\"addMagazine\", \n\"addMagazineCargo\", \n\"clearMagazineCa" !="raddWeaponCargo = 'addWeaponCargo'" !="raddWeaponCargocode = compile preprocessFileLineNumbers (BIS_PathMPscriptCommands + 'addWeaponCargo.sqf')" !="ndler\", \"addMagazine\", \"addMagazineCargo\", \"addWeapon\", \"addWeaponCargo\", \"addWPCur\", \"animate\", \"callVar\", \"clearMagazineCargo\"" !="raddWeaponCargocode={diag_log(\"WARNING illegal RE raddWeaponCargocode with args:\"+str(_this));};"
|
|
|
|
|
5 camCreate !="then {\nshowCinemaBorder false;\nDayz_BuildCamera = \"camera\" camCreate (player modeltoWorld [0,0,2]);\n0.2 fadeSound 0.1;\nDayz_Buil" !="ody;\n_playerID = getPlayerUID player;\n\n\n_camera = \"camera\" camCreate _deathPos;\n_camera camSetDir 0;\n_camera camSetFOV 1;\n_camer"
|
|
|
|
|
5 cameraEffect !="odeltoWorld [0,0,2]);\n0.2 fadeSound 0.1;\nDayz_BuildCamera cameraeffect [\"External\", \"TOP\"];\nDayz_BuildCamera camcommit 0;\nDayz_B" !="athPos;\n_camera camSetDir 0;\n_camera camSetFOV 1;\n_camera cameraEffect [\"Internal\",\"TOP\"];\n_camera camSetTarget _deathPos;\n_came"
|
|
|
|
|
5 loadFile
|
|
|
|
|
//logging only unless you are confident in your exclusions!
|
|
|
|
|
1 compile !"call compile preprocessFileLineNumbers" !"spawn compile preprocessFileLineNumbers" !"call compile preprocessFile" !"spawn compile preprocessFile" !"'z\\addons\\dayz_code\\compile\\" !"\"\\z\\addons\\dayz_code\\" !"\"z\\addons\\dayz_code\\" !" = compile preprocessFileLineNumbers \"" !"= compile preprocessFileLineNumbers '" !"= compile preprocessFileLineNumbers (BIS_PathMPscriptCommands + '" !"= compile PreprocessFile (BIS_PathMPscriptCommands + '" !"= compile PreprocessFileLineNumbers (BIS_PathMPscriptCommands + '" !"compiles.sqf\"," !=" + [_field select _x]};\n\n\nprivate [\"_code\"]; \n_code = call compile format[\"r%1code\",_targetScript]; \n\nif (isNil {_code}) exitWi" !="hen \n{\nfor \"_i\" from 1 to (_timesActivated - 1) do \n{\ncall (compile \"deactivateKey (_keyString + (str _i))\");\n};\n};\n};\n\ntrue" !="sCode = getText (_class >> \"WeaponSlots\"); _slotsVar = call compile _slotsCode;} \nelse \n{textLogFormat [\"INV_ Error: no or bad '" !="=0},{_i<(_cntActual min _howMuch)},{_i=_i+1}] do\n{ \ncall compile format [\"_unit %1 _item\", _scriptingFunction]; \n};\n\n(_cntAct"
|
|
|
|
|
1 execVM !"execVM '\\z\\addons\\dayz_code\\" !"execVM 'z\\addons\\dayz_code\\" !"execVM \"z\\addons\\dayz_code\\" !"execVM \"\\z\\addons\\dayz_code\\" !"execVM '\\ca\\Data\\" !"execvm '\\ASC\\" !"execVM (\"\\z\\addons\\dayz_code\\system\mission\\\"" !"execVM \"\\ca\\Data\\" !"[] execVM \"initJIPcompatible.sqf\"; " !="rexecVMcode = compile preprocessFileLineNumbers (BIS_PathMPscriptCommands + 'execVM.sqf')"
|