Jump to content

WLF

Member
  • Content Count

    122
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by WLF

  1. What is it "wai_crate_setup"? WAI have not this function.
  2. Post whole file default.sqf
  3. you forgot the semicolon in the file z\addons\dayz_server\WAI\static\default.sqf near line 399.
  4. Hi All! I want use (for test only) custom lada.hpp from "\addons\dayz_code\Configs\CfgVehicles\Car\". How can I do it?
  5. Just edit in Init.sqf in mission folder: DZE_SafeZonePosArray = [[[6325,7807,0],100],[[4063,11664,0],100],[[11447,11364,0],100],[[1606,7803,0],100],[[12944,12766,0],100],[[12060,12638,0],100]]; to DZE_SafeZonePosArray = [[[6325,7807,0],100],[[4063,11664,0],100],[[11447,11364,0],100]]; In mission.sqm delete (or comment) these lines: class Item3 { position[]={1606,289,7803}; TRGDEF name="zonebandit"; expCond="(player distance zonebandit) < 100;"; expActiv="[""Bandit Trader"",false,""enter""] call player_traderCity;"; expDesactiv="[""Bandit Trader"",false,""leave""] call player_traderCity;"; }; class Item4 { position[]={12944,210,12766}; TRGDEF name="zonehero"; expCond="(player distance zonehero) < 100;"; expActiv="[""Hero Trader"",false,""enter""] call player_traderCity;"; expDesactiv="[""Hero Trader"",false,""leave""] call player_traderCity;"; }; class Item5 { position[]={12060,158,12638}; TRGDEF name="zoneaircraft"; expCond="(player distance zoneaircraft) < 100;"; expActiv="[""Aircraft Trader"",false,""enter""] call player_traderCity;"; expDesactiv="[""Aircraft Trader"",false,""leave""] call player_traderCity;"; }; and edit these lines: class Sensors { items=6; to class Sensors { items=3; It should be working.
  6. Hi all ! How can I make the boat run between two waypoints? In custom mission: //Uncomment this section for Skalisty Island Boat Patrols [ [13450.0,3610.00,0], // Position to patrol [12900.0,3160.00,0], // Position to spawn at, can be same as patrol location 100, // Radius of patrol 2, // Number of waypoints to give "RHIB", // Classname of armed boat (make sure it has driver and gunner) "Random", // Skill level of units (easy, medium, hard, extreme, Random) "Random", // Skin classname, use "Random" or classname here "Bandit" // AI Type, "Hero" or "Bandit". ] call vehicle_patrol; The boat moves to the second point and patrols around it. I want it to move back to the first, then again to the second, etc.
  7. WLF

    Low FPS on Napf map

    In HiveExt.ini: ;Flag indicating whether hiveext should detect vehicles out of map boundaries (X < 0, or Y > 15360) and reset their position to [] ;Note: YOU MUST have a proper dayz_server.pbo that supports this feature, otherwise you will get script errors ;You can find that file under the SQF directory for your server version ResetOOBVehicles = true This option works fine for Cherno and Lingor maps, and don't work for Napf and Sauerland. These are the maps that I checked. And, maybe my english is very-very poor, but I don't understand how can I check dayz_server.pbo for supporting this feature.
  8. WLF

    Low FPS on Napf map

    I solved that problem.
  9. Hi All! I have freshly installed clean server with Napf map and I have very low fps on it. It 1-3 fps first 5 miutes of gameplay, then up to 25-28. On Cherno map I have 60+ fps. In server rpt I see some strings: 14:19:00 "MOVED OBJ: 226 of class Zodiac with worldspace array = [36,[],"0"] to pos: [0,0,0]" 14:19:00 "MOVED OBJ: 240 of class ATV_US_EP1 with worldspace array = [137,[],"0"] to pos: [0,0,0]" 14:19:00 "MOVED OBJ: 242 of class GAZ_Vodnik_DZE with worldspace array = [81,[],"0"] to pos: [0,0,0]" 14:19:00 "MOVED OBJ: 243 of class UralRefuel_TK_EP1_DZ with worldspace array = [126,[],"0"] to pos: [0,0,0]" 14:19:00 "MOVED OBJ: 250 of class Smallboat_2 with worldspace array = [21,[],"0"] to pos: [0,0,0]" 14:19:00 "MOVED OBJ: 252 of class Volha_1_TK_CIV_EP1 with worldspace array = [67.043,[],"0"] to pos: [0,0,0]" 14:19:00 "MOVED OBJ: 254 of class UAZ_Unarmed_TK_CIV_EP1 with worldspace array = [178,[],"0"] to pos: [0,0,0]" 14:19:00 "MOVED OBJ: 258 of class UAZ_Unarmed_TK_EP1 with worldspace array = [49,[],"0"] to pos: [0,0,0]" 14:19:01 "MOVED OBJ: 260 of class Smallboat_1 with worldspace array = [147,[],"0"] to pos: [0,0,0]" 14:19:01 "MOVED OBJ: 266 of class SUV_TK_CIV_EP1 with worldspace array = [28,[],"0"] to pos: [0,0,0]" 14:19:01 "MOVED OBJ: 274 of class hilux1_civil_3_open_DZE with worldspace array = [95,[],"0"] to pos: [0,0,0]" 14:19:01 "MOVED OBJ: 279 of class Smallboat_1 with worldspace array = [129,[],"0"] to pos: [0,0,0]" 14:19:01 "MOVED OBJ: 280 of class Skoda with worldspace array = [163,[],"0"] to pos: [0,0,0]" And errors: 14:21:25 String STR_EVAL_TYPENAN not found 14:21:25 Error in expression <((getposASL _v)select 2)<0))exitwith{}; createVehicle ["SmallSecondary", (_v mod> 14:21:25 Error position: <createVehicle ["SmallSecondary", (_v mod> 14:21:25 Error Type , expected Number 14:21:25 File z\addons\dayz_code\system\BIS_Effects\secondaries.sqf, line 26 How to fix it? Full rpt is here.
  10. How can I get world's size? In Arma3 I can use "worldSize" command or "BIS_fnc_mapSize" function, but in Arma2? Can I use negative coordinates for objects (i.e. _veh = "UAZ_RU" createVehicle [-1200, -200, 0];)?
  11. WLF

    error in waitUntil

    How can I pause that test script?
  12. Please update this link: Ebay's Guide to Battleye Filters
  13. WLF

    error in waitUntil

    This is all the code. I run it in the "test.sqf" in the @ebayShopper's TestKit admin tool.
  14. WLF

    error in waitUntil

    _t1 = diag_tickTime; systemChat str _t1; _t2 = _t1 + 5; systemChat str _t2; waitUntil {diag_tickTime >= _t2}; systemChat "End script"; Why I have error? Error in expression <hat str _t2; waitUntil {diag_tickTime >= _t2}; systemChat "End script"> Error position: <>= _t2}; systemChat "End script"> Error Generic error in expression
  15. WLF

    out of range in arrays

    Yes, it works! Thx!
  16. WLF

    out of range in arrays

    I make an example of real script: _donn_carsConvy = [ ["HMMWV_M1151_M2_CZ_DES_EP1_DZE",3], ["UAZ_Unarmed_UN_EP1",1], ["ArmoredSUV_PMC_DZE",2], ["Ural_UN_EP1",5], ["LandRover_Special_CZ_EP1",0] ]; // Cars in each convoy (_refere to donn_carsConvy) _convoyFormation = [ [0,1,2], [4,3], [2,4,2,0] // ,[4,5,6] ]; for "_cs" from 1 to (count _convoyFormation) do { _convoy = _convoyFormation select (_cs-1); _qtd = count _convoy; _cars = []; { _this_car = _donn_carsConvy select _x; // so what if the user makes a mistake and prints a non-existent car? // (uncomment last line in _convoyFormation). // I need to check this. _cars = _cars + [_this_car]; } forEach _convoy; _donn_motor = []; for "_n" from 1 to _qtd do { _car = _cars select (_n - 1); // _motor = createVehicle [_car select 0, position player, [], 10,"NONE"]; _motor = _car select 0; _donn_motor = _donn_motor + [_motor]; }; diag_log format ["Convoy #%1: %2",_cs,_donn_motor]; };
  17. WLF

    out of range in arrays

    no, i need to do exactly that.
  18. WLF

    out of range in arrays

    Hi all! How can I check the out of range in arrays? _a = [0,1]; for "_i" from 0 to 3 do { _c = _a select _i; if (_c ???) exitWith {systemChat "Out of range!";}; systemChat format ["_a[%1] = %2",_i,_c]; };
  19. Ok, I use RemoteMessage and it work fine for simple string. But how send to RemoteMessage concatenated localized strings? stringTable.xml: <Key ID="STR_CL_AC_GENERAL_SON"> <English>You killed the general son!</English> <Russian>Вы убили сына генерала!</Russian> </Key> <Key ID="STR_CL_AC_COMBO"> <English>Combo kill level</English> <Russian>Комбо x</Russian> </Key> _genSonTxt = ""; if (random 100 > 90) then { _genSonTxt = (localize "STR_CL_AC_GENERAL_SON") + " "; }; _comboTxt = ""; ... _newLvl = 333; // for example _comboTxt = (localize "STR_CL_AC_COMBO") + " " + str _newLvl + "!"; ... _txt = ""; _txt = _genSonTxt + _comboTxt; if (_txt != "") then { RemoteMessage = ["rollingMessages",_txt]; (owner _player) publicVariableClient "RemoteMessage"; };
  20. Because its added, verifying and then commented by me. No. Variables into the "root" scopes have access to "child" scopes, but not vice versa.
  21. Yes, I'll try it, thanx.
×
×
  • Create New...