gallexme
Member-
Content Count
9 -
Joined
-
Last visited
-
Medals
-
Medals
Everything posted by gallexme
-
Check if already got used one Time
gallexme replied to gallexme's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Working now Thanks. got a second question do u know where i could get a list of all objects with pictures? and i dont mean classes i just mean the p3d's -
Check if already got used one Time
gallexme posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
What i already got: The Object: ]class CustomAmmoBox : RUBasicAmmunitionBox{ scope = 2; destrType = "DestructBuilding"; //cost = 100; armor = 400; offset[] = {0,2.5,1.3}; displayName = "AmmoBox"; vehicleClass = "CustomAmmoBox"; transportMaxMagazines = 500; transportMaxWeapons = 500; transportMaxBackpacks = 500; class TransportMagazines{}; class TransportWeapons{}; class EventHandlers { init = "(_this select 0) setVariable['opened',false,true]"; }; }; and coded is: if(_isCrate and _cursorTarget getVariable["opened",false] == false and("ItemCrowbar" in _itemsPlayer) and _isAlive) then{ .....AddAction and then inside of the Added Action(create is the object) _create setVariable["opened",true] But if(_isCrate and _cursorTarget getVariable["opened",false] == false and("ItemCrowbar" in _itemsPlayer) and _isAlive) then that part is not working, could someone help me? -
Check if already got used one Time
gallexme replied to gallexme's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
sorry: _typeOfCursorTarget = typeOf _cursorTarget; -
Check if already got used one Time
gallexme replied to gallexme's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
breach_crate.sqf private ["_box","_item","_config","_create","_qty","_type","_count","_itemTypes","_lootChance","_while_count"]; _qty = 10; _box = _this select 3; if (TradeInprogress or ((_box getVariable "opened") == "1") ) exitWith {}; diag_log _box; TradeInprogress = true; _config = configFile >> "CfgBuildingLoot" >> "MilitarySpecial"; _itemTypes = [] + getArray (_config >> "itemType"); _lootChance = getNumber (_config >> "lootChance"); _count = -1; _while_count= (_qty + 2); diag_log format["Start While: %1",_while_count]; while { _while_count >0} do { cutText [ format["Items: %1",_while_count], "PLAIN DOWN"]; _while_count = _while_count -1; _count = _count + 1; _item = _itemTypes select (random (count itemTypes +1)) ; _type = _item select 1; _create = _item select 0; if(_type == "magazine") then { _box addMagazineCargoGlobal [_create,round(random _qty)]; cutText [ format["addMagazineCargoGlobal: %1",_create], "PLAIN DOWN"]; diag_log format["addMagazineCargoGlobal: %1",_create]; }; if(_type == "weapon") then { _box addWeaponCargoGlobal [_create,round(random _qty)]; cutText [ format["addWeaponCargoGlobal: %1",_create], "PLAIN DOWN"]; diag_log format["addWeaponCargoGlobal: %1 + %2",_create,round(random _qty)] ; }; if(_type == "backpack") then { _box addBackpackCargoGlobal [_create,round(random _qty)]; cutText [ format["addBackpackCargoGlobal: %1",_create], "PLAIN DOWN"]; diag_log format["addBackpackCargoGlobal: %1",_create]; }; }; _create setVariable["opened",'1',true]; player playActionNow "Medic"; sleep 6; cutText ["Opened supply crate.", "PLAIN DOWN"]; TradeInprogress = false; player reveal _box; selfactions.sqf _cursorTarget = cursorTarget; _isCrate = _typeOfCursorTarget in ["CustomAmmoBox","Crate"]; if((_isCrate and (_cursorTarget getVariable "opened") == "0" and("ItemCrowbar" in _itemsPlayer) and _isAlive)) then{ diag_log("Da wird sie Aktiviert") ; if(s_player_opencrate <0) then { s_player_opencrate = player addAction [localize "str_open_crate", "\z\addons\dayz_code\actions\breach_crate.sqf",_cursorTarget, 1, true, true, "", ""]; }; }else{ diag_log("Da fliegt die Action naus"); player removeAction s_player_opencrate; s_player_opencrate = -1; }; -
everything is as lowest as possible
-
i got an score of 1429 on lowest settings with my i7 920 6gb ram and AMD 6950 someone know an solution?
-
if u really want to play the game try winxp mode with that i got 50fps on ultra instead of 1-5 on low but i think theres no dx11 now :D
-
i get about 5-10 fps with my amd 6970 i7 920 but when i cycle through fullscreen /windowed fullscreen and restarting the game often i get about 30-40fps on Ultra so thats still bad but it works now mostly on fullscreen mode i get D3D Error DXGI_ERROR_DEVICE_REMOVED can somebody help me?
-
wrong thread sorry