-
Content Count
212 -
Joined
-
Last visited
-
Medals
Everything posted by dimon
-
Hm... check out this test mission: testmission
-
Thank you, fixed: _FFA_HOUSES pushBack [_housev]; on _FFA_HOUSES pushBack _housev;
-
Addon version download 499 Kb
-
Hybrid option: houses with A3 and A1 with more cheerful colors home from A3 to the max possible It is all done by the script and please return to the previous topic ---------- Post added at 02:18 ---------- Previous post was at 00:25 ---------- Release. First post updated.
-
-
Is it possible to make a simulation of explosions, exploding shells without damage to objects and and players?
-
Thank you. Well I understand that you need to cut the effects and sounds, just interesting to know, maybe someone already did this or have experience. For the look, don't know where too hard :) Something a little out, but it's still not the same:in the second case, generally used allowdamage
-
I'm surprised.
-
Script replacement houses in Chernarus on takistani. Chose not wholesalee houses and framed roughly the same size. Fact, but no loss in fps neither on the client nor on the server. Approximately 1600 turns of objects. There are certainly all sorts of minor flaws in the balance, but it is a trifle in comparison with what Chernarus now playable! KK_fnc_inString = { /* Author: Killzone_Kid Description: Find a string within a string (case insensitive) Parameter(s): _this select 0: <string> string to be found _this select 1: <string> string to search in Returns: Boolean (true when string is found) How to use: _found = ["needle", "Needle in Haystack"] call KK_fnc_inString; */ private ["_needle","_haystack","_needleLen","_hay","_found"]; _needle = _this select 0; _haystack = toArray (_this select 1); _needleLen = count toArray _needle; _hay = +_haystack; _hay resize _needleLen; _found = false; for "_i" from _needleLen to count _haystack do { if (toString _hay == _needle) exitWith {_found = true}; _hay set [_needleLen, _haystack select _i]; _hay set [0, "x"]; _hay = _hay - ["x"] }; _found }; if (isServer) then { FFA_LHOUSEV=[]; FFA_HOUSES=[]; FFA_OPENHOUSE = [/*"MAP_dum_mesto2","MAP_sara_stodola","MAP_stodola_old_open","mbg_brickhouse_01_EO","mbg_brickhouse_02_EO","mbg_brickhouse_03_EO","Land_MBG_GER_RHUS_1","Land_MBG_GER_RHUS_3","Land_MBG_GER_RHUS_4","Land_MBG_GER_RHUS_5", "Land_10str","Land_15str","Land_hut3_b","Land_hut5","Land_hut7","Land_hut9","Land_hut9_b","Land_hut9_c","Land_hut10","Land_hut12","Land_minaret3","Land_cihlovej_dum_in","Land_deutshe_mini","Land_sara_hasic_zbroj", "Land_bouda2_vnitrek","Land_hruzdum","Land_dum_rasovna","Land_sara_Domek_sedy","Land_sara_domek_zluty","Land_smd_budova3_open","Land_smd_cihlovej_dum_mini","Land_smd_dum_olezlina_open","Land_dum_mesto2", "Land_smd_hospoda_mesto","Land_smd_house_y_open","Land_smd_sara_zluty_statek_in","Land_smd_dum_olez_istan2_maly_open","Land_smd_dum_olez_istan2_open","Land_smd_dum_olez_istan2_open2","Land_smd_dum_olez_istan1_open", "Land_mbg_observation_tower",*/ "Land_House_C_5_EP1","Land_House_C_5_V1_EP1","Land_House_C_5_V2_EP1","Land_House_C_5_V3_EP1","Land_House_C_12_EP1","Land_House_K_1_EP1","Land_House_K_3_EP1","Land_House_K_5_EP1","Land_House_L_8_EP1", "Land_House_K_6_EP1","Land_House_K_7_EP1","Land_House_K_8_EP1","Land_House_L_1_EP1","Land_House_L_4_EP1","Land_House_L_6_EP1","Land_House_L_7_EP1","Land_House_L_8_EP1"]; if (worldName == "chernarus") then { FFA_LHOUSEV=nearestObjects [getArray(configFile >> "CfgWorlds" >> worldName >> "centerPosition"),["house"],15000]; for "_i" from 0 to (count FFA_LHOUSEV)-1 do { _housev=FFA_LHOUSEV select _i; if ((["Land_HouseV_",str (typeof _housev)] call KK_fnc_inString) || {(["Land_HouseV2_",str (typeof _housev)] call KK_fnc_inString)}) then { FFA_HOUSES set [count FFA_HOUSES,_housev]; }; }; for "_i" from 0 to (count FFA_HOUSES)-1 do { _nBuilding =FFA_HOUSES select _i; _dirVector = vectorDir _nBuilding; _objVector = vectorUp _nBuilding; _pos = getposatl _nBuilding; _nBuilding hideObject true; _type= FFA_OPENHOUSE select (floor random (count FFA_OPENHOUSE)); _house = createVehicle [_type, _pos, [], 0, "CAN_COLLIDE"]; _house setVectorDirAndUp [ _dirVector, _objVector]; }; }; FFA_LHOUSEV resize 0; FFA_HOUSES resize 0; }; if(!isServer || local player)then { waitUntil{(player==player)}; waitUntil{alive player}; waitUntil{local player}; if (worldName == "chernarus") then { FFA_CHOUSEV=[]; FFA_CHOUSEV=nearestObjects [getArray(configFile >> "CfgWorlds" >> worldName >> "centerPosition"),["house"],15000]; for "_i" from 0 to (count FFA_CHOUSEV)-1 do { _housev=FFA_CHOUSEV select _i; if ((["Land_HouseV_",str (typeof _housev)] call KK_fnc_inString) || {(["Land_HouseV2_",str (typeof _housev)] call KK_fnc_inString)}) then { _housev hideObject true; }; }; FFA_CHOUSEV resize 0; }; }; mission example
-
SMD_Sara_A2 Full Sahrani Map Port - Initial Release
dimon replied to cifordayzserver's topic in ARMA 2 & OA - ADDONS & MODS: COMPLETE
So the last working version v1.5.0? And where can we download? -
SMD_Sara_A2 Full Sahrani Map Port - Initial Release
dimon replied to cifordayzserver's topic in ARMA 2 & OA - ADDONS & MODS: COMPLETE
-
Thanks
-
whether there is any benefit from such a substitution? sleep 60; on _t=diag_tickTime; waituntil {(diag_tickTime-_t)>=60};
-
[WIP] CorePatch: config patch for ArmA 2 OA
dimon replied to goliath86's topic in ARMA 2 & OA - ADDONS & MODS: DISCUSSION
Error in expression <treme max _x; } forEach _array; }; }; _extreme> Error position: <_extreme> Error Undefined variable in expression: _extreme File ca\modules_e\functions\arrays\fn_findExtreme.sqf, line 46 -
ArmA 2 OA - Is there a TV Camera/ Press mod for ArmA 2
dimon replied to natanbrody's topic in ARMA 2 & OA - ADDONS & MODS: DISCUSSION
pzn_camera -
RHS Escalation (AFRF and USAF)
dimon replied to soul_assassin's topic in ARMA 3 - ADDONS & MODS: COMPLETE
- 16577 replies
-
- Weapons
- Accessories
-
(and 1 more)
Tagged with:
-
waituntil {!isnil "bis_fnc_init"}; BIS_MENU_GroupCommunication = [ ["menu-1", false],["KILL THEM ALL!!!",[2],"",-5,[["expression","[] execVM 'MSC\ADMACT_clear.sqf'"]],"1","1"], ["menu-1", false],[localize "STR_ADM_Schet",[3],"",-5,[["expression","[] execVM 'MSC\Schet.sqf'"]],"1","1"], ["menu-1", false],["Spectator",[4],"",-5,[["expression","[] execVM 'MSC\Spectator.sqf'"]],"1","1"], ["menu-1", false],["KILL THEM ONE BOT!!!",[5],"",-5,[["expression","[] execVM 'MSC\ADMACT_clear_c.sqf'"]],"1","1"], ["menu-1", false],["KILL THEM ALL AIR!!!",[6],"",-5,[["expression","[] execVM 'MSC\ADMACT_clear_a.sqf'"]],"1","1"], ["menu-1", false],["Proving Ground",[7],"",-5,[["expression","[] call compile preprocessFileLineNumbers 'proving_Ground\init.sqf'"]],"1","1"], ["menu-1", false],["deftown",[8],"",-5,[["expression","[] execVM 'ACT\ACT_deftown.sqf'"]],"1","1"], ["menu-1", false],["reinforcements",[9],"",-5,[["expression","[] execVM 'ACT\ACT_reinforcements.sqf'"]],"1","1"], ["menu-1", false],["Schet2",[10],"",-5,[["expression","[] execVM 'MSC\Schet2.sqf'"]],"1","1"], ["menu-2 >>>",[11],"#USER:Time_1",-5,[["expression",""]],"1","1"] ]; Time_1 = [ ["menu-2", false],["Morning",[2],"",-5,[["expression","hint 'Morning';setDate [2014, 8, 11, 8, 0];FFA_SKIPTIME=true;publicVariable 'FFA_SKIPTIME';"]],"1","1"], ["menu-2", false],["Day",[3],"",-5,[["expression","hint 'Day';setDate [2014, 8, 11, 12, 0];FFA_SKIPTIME1=true;publicVariable 'FFA_SKIPTIME1';"]],"1","1"], ["menu-2", false],["Evening",[4],"",-5,[["expression","hint 'Evening';setDate [2014, 8, 11, 20, 58];FFA_SKIPTIME2=true;publicVariable 'FFA_SKIPTIME2';"]],"1","1"], ["menu-2", false],["Night",[5],"",-5,[["expression","hint 'Night';setDate [2014, 8, 11, 1, 0];FFA_SKIPTIME3=true;publicVariable 'FFA_SKIPTIME3';"]],"1","1"], ["menu-1 <<<",[10],"#USER:BIS_MENU_GroupCommunication",-5,[["expression",""]],"1","1"] ]; menu_3 = [ ["menu-3", false],["code1",[2],"",-5,[["expression","hint 'menu-3 - code-1'"]],"1","1"], ["menu-3", false],["code2",[3],"",-5,[["expression","hint 'menu-3 - code-2'"]],"1","1"], ["menu-3", false],["code3",[4],"",-5,[["expression","hint 'menu-3 - code-3'"]],"1","1"], ["menu-3", false],["code4",[5],"",-5,[["expression","hint 'menu-3 - code-4'"]],"1","1"], ["menu-3", false],["code5",[6],"",-5,[["expression","hint 'menu-3 - code-5'"]],"1","1"], ["menu-3", false],["code6",[7],"",-5,[["expression","hint 'menu-3 - code-6'"]],"1","1"], ["menu-3", false],["code7",[8],"",-5,[["expression","hint 'menu-3 - code-7'"]],"1","1"], ["Time-1 <<<",[10],"#USER:BIS_MENU_GroupCommunication",-5,[["expression",""]],"1","1"] ];
-
nul = [] execvm... , nul = [player] execVM... and nul = [toon1] execvm...
dimon replied to Norbak's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
if(!isServer || local player)then { FFA_SYSADMIN=((getPlayerUID player) in ["","",""]); if (isServer || FFA_SYSADMIN) then { admin= compile preprocessFileLineNumbers "admin.sqf"; [] spawn admin;// [] call admin; player AddEventHandler ["Respawn",{_this spawn admin;}];//for BIS_MENU_GroupCommunication it is not required }; }; repeat again: it depends on what you have written in admin.sqf. -
ArmA 3 drawLine Command - Finding a Method to the Madness
dimon replied to Waffle_SS's topic in ARMA 3 - MISSION EDITING & SCRIPTING
well I wrote to draw the line... about how to remove them I thought. And Yes, that's right - there is a possibility to manipulate the markers. if I understood correctly what you want to write... -
nul = [] execvm... , nul = [player] execVM... and nul = [toon1] execvm...
dimon replied to Norbak's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
it depends on what you have written in admin.sqf. -
ArmA 3 drawLine Command - Finding a Method to the Madness
dimon replied to Waffle_SS's topic in ARMA 3 - MISSION EDITING & SCRIPTING
okay, fixed - just left the tail with the other variants of the function -
ATM_Action = ATM1 addAction["<t color='#0000FF'>ATM</t>","RPP_ATM_Setup.sqf"]; or RPP_ATM_Setup= compile preprocessFileLineNumbers "RPP_ATM_Setup.sqf"; ATM_Action = ATM1 addAction["<t color='#0000FF'>ATM</t>",{[] call RPP_ATM_Setup}];
-
It's not that it's nicer, but the fact that there is no loss of fps!