zealot111
Member-
Content Count
64 -
Joined
-
Last visited
-
Medals
Everything posted by zealot111
-
You were kicked off the game
zealot111 replied to alduric's topic in ARMA 3 - SERVERS & ADMINISTRATION
I have found solution of the problem: http://dev.arma3.com/sitrep-00039 At least it fixed issue in my case. "... In case you are experiencing difficulties running the Arma 3 Server tool, please try the following two steps: Make sure the steam_appid.txt in the installation folder contains value 107410. Unfortunately the Steam client currently automatically changes this to 233780 with every update of the app. We're trying to solve this with Valve. ..." -
[Release] Civilian vehicles script
zealot111 replied to zealot111's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Script itself doesnt demand much from the server. Sure, if your players scatters on the Altis trying to visit as many cities as possible it could create many vehicles (usually 4-5, 8-9 in the big cities) which can cause syncronization lags, but I tested this script in MP games with 50 players and there were no problems with it. -
[Release] Civilian vehicles script
zealot111 replied to zealot111's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Right now it is not very good idea, because fuel value now used by script to determine whether vehicle were used by players or not. ---------- Post added at 21:21 ---------- Previous post was at 21:09 ---------- 1) and 2) will update in the next version. 3) Script checks fuel state of the vehicles to determine if they were touched by player. If fuel value is not 1, then vehicle was touched and will not be cleaned on despawn. -
Helicopter fastrope script
zealot111 replied to zealot111's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Could you describe what problems you had encountered with test mission? -
ArmA 2 C-130J and MV-22 Redux
zealot111 replied to sakura_chan's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
Very promising mod. Could you please also add Static C-130 to your mod for specific paradrop missions? It would be even more useful... -
You were kicked off the game
zealot111 replied to alduric's topic in ARMA 3 - SERVERS & ADMINISTRATION
The same problem. Does anybody know how to fix it? -
Arma 3 Dedicated Server v1.8.113.494 Auto Kicks All Players Connecting
zealot111 replied to Vigil Vindex's topic in ARMA 3 - TROUBLESHOOTING
Me too have this problem. Is there any solution now? -
Hi, All. Latest version of the script: // Pregenerated frequencies by [sTELS]Zealot // Use from init.sqf: // [] execVM "zlt_gen_freqs.sqf"; // or ['a3ru'] execVM "zlt_gen_freqs.sqf"; for arma3.ru frequencies #define SCRIPT_VERSION "1M" #define STR_LR_STRING "LR %1 MHz (%2)" #define STR_MAP_HDR "Frequencies:" //private ["_radio_t"]; zlt_genfreq_radio_t = [_this, 0, "TF"] call bis_fnc_param; zlt_genfreq_radio_t = toUpper (zlt_genfreq_radio_t); _radio = [-2,2,32,64,100,400]; if ( zlt_genfreq_radio_t == "A3RU" ) then { _radio = [-2,2,5,18,100,400]; }; if ( zlt_genfreq_radio_t == "TF" ) then { if (not isClass (configFile >> "CfgPatches" >> "task_force_radio_items")) exitwith { zlt_genfreq_radio_t = ""; }; tf_same_sw_frequencies_for_side = false; tf_same_lr_frequencies_for_side = true; if ([west, resistance] call BIS_fnc_areFriendly) then { tf_guer_radio_code = "_bluefor"; }; if ([east, resistance] call BIS_fnc_areFriendly) then { tf_guer_radio_code = "_opfor"; }; if (isNil "generateSwSetting") then { call compile preprocessFileLineNumbers "\task_force_radio\common.sqf"; }; }; zlt_prc_freq_updmarkers = { _zlt_genfreq_xmap = 0; _zlt_genfreq_ymap = 8000; _zlt_genfreq_deltamap = 250; if (worldName == "Altis") then { _zlt_genfreq_xmap = 1000; _zlt_genfreq_ymap = 30000; _zlt_genfreq_deltamap = 500; }; _zlt_spawnSetLrChannel = { if (leader group player == player) then { _this spawn { waituntil {sleep 0.5; not (isNil "haveLRRadio") and {player call haveLRRadio}}; if (not isNil {setLrFrequency}) then { sleep 0.5; _val = str (_this); [(call activeLrRadio) select 0, (call activeLrRadio) select 1, _val] call setLrFrequency; if (dialog) then { call updateLRDialogToChannel; }; }; }; }; }; _zlt_fnc_printfrq = { _str = _this; _txt = ""; _mcolor = ""; switch ( typename (_str select 0)) do { case ( typename east) : { _txt = format[sTR_LR_STRING,_str select 1, _str select 2]; _mcolor = ([ (_str select 0) , true] call bis_fnc_sidecolor); }; case ( typename grpnull) : { _txt = format["%1: %2 MHz", groupid(_str select 0)+"("+ name leader (_str select 0) +")", _str select 1]; _mcolor = [ side (_str select 0) , true] call bis_fnc_sidecolor; }; default { _txt = STR_MAP_HDR; _mcolor = [ playerside , true] call bis_fnc_sidecolor; }; }; _mname = format ["mrk_freq_%1", _zlt_genfreq_ymap]; createMarkerLocal[_mname, [_zlt_genfreq_xmap, _zlt_genfreq_ymap]]; _mname setMarkerTypeLocal "mil_dot"; _mname setMarkerTextLocal _txt; _mname setMarkerColorLocal _mcolor; _mname setmarkerposlocal [_zlt_genfreq_xmap, _zlt_genfreq_ymap]; _zlt_genfreq_ymap = _zlt_genfreq_ymap - _zlt_genfreq_deltamap; }; _friends = ([side player] call BIS_fnc_friendlySides) - [civilian]; _friendsids = []; _playersideid = [playerside] call BIS_fnc_sideID; [""] call _zlt_fnc_printfrq; (zlt_pub_gen_frequencies select _playersideid) call _zlt_fnc_printfrq; { if ( typename (_x select 0) == typename grpNull and {side (_x select 0) in _friends} and { leader (_x select 0) in playableunits} ) then { _x call _zlt_fnc_printfrq; }; } foreach zlt_pub_gen_frequencies; if (zlt_genfreq_radio_t == "TF" ) then { ((zlt_pub_gen_frequencies select _playersideid) select 1) call _zlt_spawnSetLrChannel; }; }; if (not isDedicated) then { [] spawn { waitUntil {!isNil "zlt_pub_gen_frequencies"}; waitUntil {player == player}; if (playerside == civilian) exitwith {}; [] call zlt_prc_freq_updmarkers; }; }; _fnc_genfreq = { private ["_state","_num","_isinbl","_l1","_l2"]; _state = _this select 0; if (isNil {zlt_freqblacklist}) then { zlt_freqblacklist = []; }; _num = 0; _l1 = _radio select 0; _l2 = _radio select 1; _isinbl = true; if (_state == 0) then { _l1 = _radio select 2; _l2 = _radio select 3; }; if (_state == 1) then { _l1 = _radio select 4; _l2 = _radio select 5; }; while {_isinbl} do { _num = round (([_l1,_l2] call bis_fnc_randomnum) * 10) / 10 ; if not (_num in zlt_freqblacklist) then { zlt_freqblacklist = zlt_freqblacklist set [count zlt_freqblacklist, _num ]; _isinbl = false; }; }; _num; }; if (not isServer) exitWith {}; zlt_pub_gen_frequencies = []; { _num = 0; _sdv = 0; switch true do { case (_x == resistance and ([west, resistance] call BIS_fnc_areFriendly) ) : { _num = (zlt_pub_gen_frequencies select 1) select 1; _sdv = (zlt_pub_gen_frequencies select 1) select 2; }; case (_x == resistance and ([east, resistance] call BIS_fnc_areFriendly) ) : { _num = (zlt_pub_gen_frequencies select 0) select 1; _sdv = (zlt_pub_gen_frequencies select 0) select 2; }; default { _num = [0] call _fnc_genfreq ; _sdv = [2] call _fnc_genfreq ; }; }; _data = [_x, _num, _sdv]; zlt_pub_gen_frequencies set [count zlt_pub_gen_frequencies, _data]; } foreach [east, west, resistance]; { _num = [1] call _fnc_genfreq ; zlt_pub_gen_frequencies set [count zlt_pub_gen_frequencies, [_x, _num] ]; if (zlt_genfreq_radio_t == "TF") then { _vl3 = [] call generateSwSetting; _vl3 set [2, str (_num)]; _x setVariable["tf_sw_frequency", _vl3, true]; }; } foreach allgroups; publicVariable "zlt_pub_gen_frequencies";
-
Helicopter fastrope script
zealot111 replied to zealot111's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks for your answer. I have already fixed this the same way :) in the latest version of the script. So it seems that it should work correct now. -
Helicopter fastrope script
zealot111 replied to zealot111's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks for the suggested animation, I just updated the script with it :) Regarding loop time - I beleive it is not a good thing because each time you attachto unit to the position your game client spams all other clients playing the same mission with this information and it may cause desynchronization. (at least as I understand the game engine working logic) To learn Arma coding you should code much because to write scripts is much simpler than to read others' scripts :) So I dont want to make commented version of the script (and it will take a lot of time which I could to spend making another good scripts). This script is short and self explaining from my point of view. Anyway, if you have questions regarding script - you are always welcome to ask. ---------- Post added at 21:56 ---------- Previous post was at 21:54 ---------- Could you check latest version of the script (29/12/2013) ? Now script must close the doors of helicopter after ropes are cut. ---------- Post added at 22:15 ---------- Previous post was at 21:56 ---------- I tried to reproduce the bug with helicopter damaging after tossing ropes but with no luck. Could you please retest the latest version of the script (from 29/12/2013) and check this situation? Please note which kind of helicopters are susceptible to this bug? -
Helicopter fastrope script
zealot111 replied to zealot111's topic in ARMA 3 - MISSION EDITING & SCRIPTING
1) Latest version of the script also fastrope all your AI command members with you (but pilot stays in helicopter). It should be playable in MP anyway. 2) It was only 1 bug with rope attach points on mh-9 and now it should be fixed in the latest version of the script. 3) In the next version script will limit rope tossing while heli on the ground and fast rope option will be available only for cargo units. -
Helicopter fastrope script
zealot111 replied to zealot111's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Updated first post with new version, now speed limit is set higher and added limited support of AI fastroping (if player is leader of AI team, then AI will follow player). Could you check latest version? ---------- Post added at 09:57 ---------- Previous post was at 09:56 ---------- Yes, it is easy to implement but I decided to not limit players this way. I can add a switch to the script if you want this feature. ---------- Post added at 09:58 ---------- Previous post was at 09:57 ---------- Could you try with latest version? It should support AI fastroping and fastroping from AI helis. -
Helicopter fastrope script
zealot111 replied to zealot111's topic in ARMA 3 - MISSION EDITING & SCRIPTING
When someone holding on the rope the helicopter should maintain speed less then 5 km/h or else it could end badly for fastroping units. -
Helicopter fastrope script
zealot111 replied to zealot111's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks for the bug report! Version in the first post updated. MH-9 should work OK now. -
Helicopter fastrope script
zealot111 replied to zealot111's topic in ARMA 3 - MISSION EDITING & SCRIPTING
The same question for you. Have you tried demo mission? It runs allright? Have you any errors in RPT file when you add [] execVM "zlt_fastrope.sqf"; to your missions init.sqf? -
Realistic repair script
zealot111 replied to zealot111's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Updated first post of the thread with updated version of the script with support of player respawn. -
Helicopter fastrope script
zealot111 replied to zealot111's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Yes, I am C programmer in the past. ---------- Post added at 20:32 ---------- Previous post was at 20:31 ---------- Have you tried demo mission? It runs allright? Have you any errors in RPT file? -
Good, but CBA_A3 required by some of the mods we are using on our server. Could you please fix this problem in the next 1.2 version of the mod?
-
Realistic repair script
zealot111 replied to zealot111's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Have updated first post with lastest version. "Repair interrupted" should be completely fixed now. If you encounter this problem with latest version please report to this thread asap. -
Hi, All. Excellent map pack, but I experience weird problem: On Chernarus and Utes maps (but not Zargabad and Takistan) while playing I see underline symbol on the left upper corner of the screen (Has markered it by red): Does anybody know how to fix this problem? Picture under spoiler.
-
Latest version of the script: // v1i by [sTELS]Zealot // Use from init.sqf: // [] execVM "zlt_gen_freqs.sqf"; // or ['a3ru'] execVM "zlt_gen_freqs.sqf"; for arma3.ru frequencies #define SCRIPT_VERSION "1i" _radio_t = [_this, 0, "TF"] call bis_fnc_param; _radio_t = toUpper (_radio_t); _markeast = []; _markwest = []; _markres = []; _radio = [-2,2,32,64,100,400]; if ( _radio_t == "A3RU" ) then { _radio = [-2,2,5,18,100,400]; }; if ( _radio_t == "TF" ) then { tf_same_sw_frequencies_for_side = false; tf_same_lr_frequencies_for_side = true; if ([west, resistance] call BIS_fnc_areFriendly) then { tf_guer_radio_code = "_bluefor"; }; if ([east, resistance] call BIS_fnc_areFriendly) then { tf_guer_radio_code = "_opfor"; }; }; zlt_fnc_createmarkerlocal = { private ["_marker","_pos","_shape","_type","_text","_color","_dir","_brush","_size"]; _marker = [_this, 0, "mrk"] call BIS_fnc_param; _pos = [_this, 1, [0,0]] call BIS_fnc_param; _text = [_this, 2, ""] call BIS_fnc_param; _color = [_this, 3, "ColorOrange"] call BIS_fnc_param; _type = [_this, 4, "mil_dot"] call BIS_fnc_param; _size = [_this, 5, [1,1] ] call BIS_fnc_param; _shape = [_this, 6, "ICON"] call BIS_fnc_param; _dir = [_this, 7, 0] call BIS_fnc_param; _brush = [_this, 8, "Solid"] call BIS_fnc_param; createMarkerLocal[_marker, _pos]; _marker setMarkerShapeLocal _shape; _marker setMarkerTypeLocal _type; _marker setMarkerTextLocal _text; _marker setMarkerColorLocal _color; _marker setMarkerDirLocal _dir; _marker setMarkerBrushlocal _brush; _marker setMarkerSizelocal _size; _marker setMarkerPosLocal _pos; _marker; }; zlt_prc_freq_updmarkers = { _radio_t = _this select 0; _chnls = _this select 1; _zlt_genfreq_xmap = 0; _zlt_genfreq_ymap = 8000; _zlt_genfreq_deltamap = 250; if (worldName == "Altis") then { _zlt_genfreq_xmap = 1000; _zlt_genfreq_ymap = 30000; _zlt_genfreq_deltamap = 500; }; _zlt_spawnSetSwChannel = { if (leader group player == player and not isNil "tf_setLongRangeRadioFrequency") then { [] spawn { waituntil {sleep 0.5;player call haveLRRadio}; if (not isNil {zlt_genFreq_playerLrChannel}) then { _val = ([zlt_genFreq_playerLrChannel," "] call bis_fnc_splitstring) select 0; if (call haveLrradio) then { [(call activeLrRadio) select 0, (call activeLrRadio) select 1, _val] call setLrFrequency; }; }; }; }; }; _zlt_fnc_printfrq = { _val = _this select 1; _group = _this select 0; _side = _this select 2; _txt = format["%1: %2 MHz",_group, _val]; _mcolor = [_side, true] call bis_fnc_sidecolor; [format ["mrk_freq_%1", _zlt_genfreq_ymap], [_zlt_genfreq_xmap, _zlt_genfreq_ymap] , _txt ,_mcolor] call zlt_fnc_createmarkerlocal; _zlt_genfreq_ymap = _zlt_genfreq_ymap - _zlt_genfreq_deltamap; }; if (isDedicated) exitWith {}; waituntil {player == player}; _friends = ([side player] call BIS_fnc_friendlySides) - [civilian]; _friendsids = []; {_friendsids set [count _friendsids, [_x] call BIS_fnc_sideID] } foreach _friends; _playerSideId = _friends find playerSide; _playerGroupId = groupID group player; _lrside = _friends select 0; _mcolor = [side player, true] call bis_fnc_sidecolor; ["mrk_freq_a", [_zlt_genfreq_xmap, _zlt_genfreq_ymap] , "Frequencies:" ,_mcolor] call zlt_fnc_createmarkerlocal; _zlt_genfreq_ymap = _zlt_genfreq_ymap - _zlt_genfreq_deltamap; _lrrecord = ( _chnls select (_friendsids select 0) ) select 0; [_lrrecord select 0, _lrrecord select 1,side player] call _zlt_fnc_printfrq; for "_x" from 0 to count(_friendsids)-1 do { _radioarr = _chnls select (_friendsids select _x); zlt_genFreq_playerLrChannel = (_radioarr select 0) select 1; for "_y" from 1 to count(_radioarr)-1 do { _carr = _radioarr select _y; if ( (_playerSideId == _x) and ([_playerGroupId,_carr select 0] call BIS_fnc_inString) and _radio_t == "TF" ) then { zlt_genFreq_playerSwChannel = str(_carr select 1); [] call _zlt_spawnSetSwChannel; }; [_carr select 0, _carr select 1,_friends select _x] call _zlt_fnc_printfrq; }; }; }; if (not isDedicated) then { _radio_t spawn { waitUntil {!isNil "public_frequency_markers"}; [_this, public_frequency_markers] call zlt_prc_freq_updmarkers; }; }; _fnc_genfreq = { private ["_state","_num","_isinbl","_l1","_l2"]; _state = _this select 0; if (isNil {zlt_freqblacklist}) then { zlt_freqblacklist = []; }; _num = 0; _l1 = _radio select 0; _l2 = _radio select 1; _isinbl = true; if (_state == 0) then { _l1 = _radio select 2; _l2 = _radio select 3; }; if (_state == 1) then { _l1 = _radio select 4; _l2 = _radio select 5; }; while {_isinbl} do { _num = round (([_l1,_l2] call bis_fnc_randomnum) * 10) / 10 ; if not (_num in zlt_freqblacklist) then { zlt_freqblacklist = zlt_freqblacklist set [count zlt_freqblacklist, _num ]; _isinbl = false; }; }; _num; }; if (not isServer) exitWith {}; _num = [0] call _fnc_genfreq ; _sdv = [2] call _fnc_genfreq ; _markeast set [count _markeast, ["LR", str(_num)+" ("+(if (_sdv >0) then {"+"} else {""})+str(_sdv)+")"]] ; _num = [0] call _fnc_genfreq ; _sdv = [2] call _fnc_genfreq ; _markwest set [count _markwest,["LR", str(_num)+" ("+(if (_sdv >0) then {"+"} else {""})+str(_sdv)+")"]] ; _num = [0] call _fnc_genfreq ; _sdv = [2] call _fnc_genfreq ; _markres set [count _markres, ["LR", str(_num)+" ("+(if (_sdv >0) then {"+"} else {""})+str(_sdv)+")"]] ; { _num = [1] call _fnc_genfreq ; if ((leader _x) in playableUnits) then { switch true do { case (side leader _x == west) : {_markwest set [ count _markwest , [groupID (_x)+"("+name leader _x +")", _num ]];}; case (side leader _x == east) : {_markeast set [ count _markeast , [groupID (_x)+"("+name leader _x +")", _num ]];}; case (side leader _x == resistance) : {_markres set [ count _markres , [groupID (_x)+"("+name leader _x +")", _num ]];}; }; }; if (_radio_t == "TF") then { _vl3 = [] call generateSwSetting; _vl3 set [2, str (_num)]; _x setVariable["tf_sw_frequency", _vl3, true]; }; } foreach allgroups; public_frequency_markers = [_markeast,_markwest,_markres]; publicVariable "public_frequency_markers";
-
Helicopter fastrope script
zealot111 replied to zealot111's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Now script doesnt handle players animation at all. If you find suitable animation in Arma3 editor you can edit script yourself to implement animation change. Or just tell me what animation you have in mind I will try to change the script... -
How do you create smoke across all clients?
zealot111 replied to brians200's topic in ARMA 3 - MISSION EDITING & SCRIPTING
May be it is because 4 parameter of bis_fnc_mp is broken. Have you tried without it? Where are you define the CREATESMOKE function? It should be already defined on all clients when you call bis_fnc_mp. -
Realistic repair script
zealot111 replied to zealot111's topic in ARMA 3 - MISSION EDITING & SCRIPTING
In the latest version script handles all hitpoints of the chopper and repair not only the engine but also all other parts, so chopper will fly. ---------- Post added at 05:25 ---------- Previous post was at 05:22 ---------- Strange problem. Could you check the latest version? I know there was a problem with this (but only when you carry pistol as your primary weapon) but it should be fixed in the latest version. This script is client-side so it is unlikely to depend whether it works on dedicated server or from editor. ---------- Post added at 05:29 ---------- Previous post was at 05:25 ---------- 1) It is easy to implement but now it is completely useless because script doesnt remove vanilla "Repair" actions from Engineer/Repair Specialist menus. You should not use these classes in the missions combined with this script together, at least now. 2) This is client-side script, this string means, that code below it should not be executed on dedicated server. -
Realistic repair script
zealot111 replied to zealot111's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Note, that the latest version of the script(released yesterday) already allows to fix helicopters.