Jump to content

PAR4NA

Member
  • Posts

    101
  • Joined

  • Last visited

Posts posted by PAR4NA

  1. I took kick!

    20.05.2015 18:34:02: PAR4NA (xxxxxxxxxx:2304) xxxxxxxxxx- #27 "nCargoGlobal _this;
    clearMagazineCargoGlobal _this;
    
    
    _this addItemCargoGlobal ["CinderBlocks",15];
    _this addItemCargoGlobal ["M"
    20.05.2015 18:34:02: PAR4NA (xxxxxxxx:2304) xxxxxxxxxxxxxxxx- #28 "ChainSaw",1];
    _this addItemCargoGlobal ["CSGAS",1];
    _this addBackpackCargoGlobal ["B_Carryall_ocamo",4];
    _this addItemCargoGloba"
    20.05.2015 18:37:40: PAR4NA (xxxxxxxx:2304) xxxxxxxxxxxxxxxxxx- #40 "R_MP.Altis\trader\dummy.sqf"
    
    
    
    
    
    
    
    
    
    
    HS_SWITCH = false;
    createDialog "HS_trader_dialog";
    call HS_trader_menu;
    "
    
    
  2.  

    Combined with A3EAI you could add the crash location as a spawn location for AI, insert at line 39 of HeliCrashes.sqf:

     

    I do the same with Zupas capture points and random crate spawns

    //Infantry spawns using the A3EAI
    _CrashName = format ["Crashsite_%1",_j];
    [_CrashName,_posOfCrash,75,3,2,false,300] call A3EAI_createCustomInfantryQueue;	
    diag_log text format ["[HeliCrash]: Creating AI at %1 (%2)",_CrashName,_posOfCrash];
    

     

    [EDIT] Sorry It worked yes

     

    For me it did not work.

     

    private ["_crashNum","_lootNum","_loot","_coords"];
    /////////////////////////////////////
    //      Function file for UKGZ	   //
    //        Created by: Richie       //
    //  Modded by:  Vampire & xBowBii  //
    /////////////////////////////////////
    // Number of Crashes
    _crashNum = 2;
    
    // Number of Loot Piles
    _lootNum = 8;
    
    _loot = [
    	"MultiGun","Srifle_GM6_F","M14_EPOCH","srifle_EBR_F","m249_EPOCH","LMG_Mk200_F","LMG_Zafir_F",
    	"m16_EPOCH","akm_EPOCH","m4a3_EPOCH","Rollins_F","sr25_epoch","l85a2_epoch","arifle_MX_GL_F",
    	"srifle_DMR_02_ARCO_F","srifle_DMR_02_sniper_F","srifle_DMR_03_spotter_F","srifle_DMR_03_tan_AMS_LP_F","srifle_DMR_03_tan_F","srifle_DMR_03_woodland_F",
    	"srifle_DMR_04_ARCO_F","srifle_DMR_04_DMS_F","srifle_DMR_04_F","srifle_DMR_04_MRCO_F","srifle_DMR_05_blk_F","srifle_DMR_05_DMS_F","srifle_DMR_05_DMS_snds_F","srifle_DMR_05_hex_F",
    	"srifle_DMR_06_camo_F","srifle_DMR_06_camo_khs_F","srifle_DMR_06_olive_F","MMG_01_hex_ACRO_LP_F","MMG_01_hex_F","MMG_01_tan_F","MMG_02_camo_F","MMG_02_sand_F","MMG_02_sand_RCO_LP_F",
    	
    	"optic_Nightstalker","optic_LRPS","optic_DMS","optic_Aco_smg","optic_ACO_grn_smg","optic_Holosight_smg",
    	"optic_Aco","optic_Holosight","acc_pointer_IR","Rangefinder",
    	
    	"EnergyPack","Repair_EPOCH","Defib_EPOCH","Heal_EPOCH","FAK","ItemWatch","CircuitParts","ItemScraps","jerrycan_epoch","VehicleRepair","CircuitParts",
    	
    	"meatballs_epoch","ItemSodaRbull","sardines_epoch","scam_epoch","sweetcorn_epoch","Towelette"
    ];
    
    _spawnCenter = [10088,9045,0]; //Center of your map (usually in mission.sqm)
    _min = 0; // minimum distance from the center position (Number) in meters
    _max = 12000; // maximum distance from the center position (Number) in meters
    _mindist = 10; // minimum distance from the nearest object (Number) in meters, ie. spawn at least this distance away from anything within x meters..
    //Low _mindist means helicrashes could spawn near towns or in forests.. higher the number it would be spawning in an open field etc
    _water = 0; // water mode 0: cannot be in water , 1: can either be in water or not , 2: must be in water
    _shoremode = 0; // 0: does not have to be at a shore , 1: must be at a shore
    
    vSpawnCrashes = {
    	for "_j" from 1 to _crashNum do {
    		_posOfCrash = [_spawnCenter,_min,_max,_mindist,_water,20,_shoremode] call BIS_fnc_findSafePos; // find a random loc
    		//Infantry spawns using the A3EAI
    		_CrashName = format ["Crashsite_%1",_j];
    		[_CrashName,_posOfCrash,75,3,2,false,300] call A3EAI_createCustomInfantryQueue;	
    		diag_log text format ["[HeliCrash]: Creating AI at %1 (%2)",_CrashName,_posOfCrash];
    		_helicopters = ["Land_UWreck_Heli_Attack_02_F"]; //Add Heli classnames here
    		_element = _helicopters call BIS_fnc_SelectRandom;
    		_vehHeli = _element createVehicle [0,0,0];
    	//	_burnthefucker = "test_EmptyObjectForFireBig" createVehicle (position _vehHeli);  _burnthefucker attachto [_vehHeli, [0,0,-1]];  
    		_vehHeli setposATL [(_posOfCrash) select 0,(_posOfCrash) select 1,0];
    		_vehHeli setVariable ["LAST_CHECK", (diag_tickTime + 14400)];
    				
    		for "_i" from 1 to _lootNum do {
    			_crate0 = createVehicle ["weaponHolderSimulated", _vehHeli modelToWorld [(random 10) - 3, (random 10) - 4, 0], [], 0, "CAN_COLLIDE"];
    			_crate1 = createVehicle ["weaponHolderSimulated", _vehHeli modelToWorld [(random 10) - 3, (random 10) - 4, 0], [], 0, "CAN_COLLIDE"];
    			
    			_item = _loot call BIS_fnc_selectRandom;
    			switch (true) do
    			{
    				case (isClass (configFile >> "CfgWeapons" >> _item)): {
    					_kindOf = [(configFile >> "CfgWeapons" >> _item),true] call BIS_fnc_returnParents;
    					if ("ItemCore" in _kindOf) then {
    						// Min 1, Max 2
    						_crate0 addItemCargoGlobal [_item,(floor(random(2)))+1];
    						_crate1 addItemCargoGlobal [_item,(floor(random(2)))+1];
    					} else {
    						// One Weapon, Three Mags
    						_crate0 addWeaponCargoGlobal [_item,1];
    						_crate1 addWeaponCargoGlobal [_item,1];
    						
    						_cAmmo = [] + getArray (configFile >> "cfgWeapons" >> _item >> "magazines");
    						{
    							if (isClass(configFile >> "CfgPricing" >> _x)) exitWith {
    								_crate0 addMagazineCargoGlobal [_x,3];
    								_crate1 addMagazineCargoGlobal [_x,3];
    							};
    						} forEach _cAmmo;
    					};
    				};
    				case (isClass (configFile >> "cfgMagazines" >> _item)): {
    					// Min 1, Max 3
    					_crate0 addMagazineCargoGlobal [_item,(floor(random(3)))+1];
    					_crate1 addMagazineCargoGlobal [_item,(floor(random(3)))+1];
    				};
    				case ((getText(configFile >> "cfgVehicles" >> _item >>  "vehicleClass")) == "Backpacks"): {
    					// One Bag
    					_crate0 addBackpackCargoGlobal [_item,1];
    					_crate1 addBackpackCargoGlobal [_item,1];
    				};
    			};
    			_crate0 setPos [(getPos _crate0 select 0) +5, (getPos _crate0 select 1), 0];
    			_crate1 setPos [(getPos _crate1 select 0) -10, (getPos _crate1 select 1), 0];
    			_crate0 setVariable ["LAST_CHECK", (diag_tickTime + 14400)];
    			_crate1 setVariable ["LAST_CHECK", (diag_tickTime + 14400)];
    			_cutter0 = "Land_ClutterCutter_medium_F" createVehicle (getpos _crate0);
    			_cutter1 = "Land_ClutterCutter_medium_F" createVehicle (getpos _crate1);
    			_cutter0 setVariable ["LAST_CHECK", (diag_tickTime + 14400)];
    			_cutter1 setVariable ["LAST_CHECK", (diag_tickTime + 14400)];
    
    			
    		};
    	};
    };
    
    call vSpawnCrashes;
    

  3. ----------------------------------------------------------------------------------------------------------------------

    [RESOLVED]

     

    thanks @axeman

     

     

     

    ----------------------------------------------------------------------------------------------------------------------

    BEC does not connect the server update  b17

     

    BEC log

    11:37:25 : Starting plugin : WatchDog V.0.16
    11:37:25 : Creating watchdog for admin file...
    11:37:25 : Creating watchdog for command file...
    11:37:25 : Creating watchdog for BE filter files...
    11:38:44 : Starting plugin : WatchDog V.0.16
    11:38:44 : Creating watchdog for admin file...
    11:38:44 : Creating watchdog for command file...
    11:38:44 : Creating watchdog for BE filter files...
    11:38:50 : No Valid response. Trying to reconnect.!
    11:38:54 : No Valid response. Trying to reconnect.!
    11:38:58 : No Valid response. Trying to reconnect.!
    11:39:02 : Lost Connection!
    11:39:02 : Closing socket & exiting!
    14:02:26 : Starting plugin : WatchDog V.0.16
    14:02:26 : Creating watchdog for admin file...
    14:02:26 : Creating watchdog for command file...
    14:02:26 : Creating watchdog for BE filter files...
    14:02:32 : No Valid response. Trying to reconnect.!
    14:02:36 : No Valid response. Trying to reconnect.!
    14:02:40 : No Valid response. Trying to reconnect.!
    14:02:44 : Lost Connection!
    14:02:44 : Closing socket & exiting!
    14:15:23 : Starting plugin : WatchDog V.0.16
    14:15:23 : Creating watchdog for admin file...
    14:15:23 : Creating watchdog for command file...
    14:15:23 : Creating watchdog for BE filter files...
    14:15:29 : No Valid response. Trying to reconnect.!
    14:15:33 : No Valid response. Trying to reconnect.!
    14:15:37 : No Valid response. Trying to reconnect.!
    14:15:41 : Lost Connection!
    14:15:41 : Closing socket & exiting!
    14:16:56 : Starting plugin : WatchDog V.0.16
    14:16:56 : Creating watchdog for admin file...
    14:16:56 : Creating watchdog for command file...
    14:16:56 : Creating watchdog for BE filter files...
    14:17:02 : No Valid response. Trying to reconnect.!
    14:17:06 : No Valid response. Trying to reconnect.!
    14:17:10 : No Valid response. Trying to reconnect.!
    14:23:07 : Starting plugin : WatchDog V.0.16
    14:23:07 : Creating watchdog for admin file...
    14:23:07 : Creating watchdog for command file...
    14:23:07 : Creating watchdog for BE filter files...
    14:23:13 : No Valid response. Trying to reconnect.!
    14:23:17 : No Valid response. Trying to reconnect.!
    14:23:21 : No Valid response. Trying to reconnect.!
    14:23:25 : Lost Connection!
    14:23:25 : Closing socket & exiting!
    14:26:28 : Starting plugin : WatchDog V.0.16
    14:26:28 : Creating watchdog for admin file...
    14:26:28 : Creating watchdog for command file...
    14:26:28 : Creating watchdog for BE filter files...
    14:26:34 : No Valid response. Trying to reconnect.!
    14:26:38 : No Valid response. Trying to reconnect.!
    14:26:42 : No Valid response. Trying to reconnect.!
    14:26:46 : Lost Connection!
    14:26:46 : Closing socket & exiting!
    14:32:55 : Starting plugin : WatchDog V.0.16
    14:32:55 : Creating watchdog for admin file...
    14:32:55 : Creating watchdog for command file...
    14:32:55 : Creating watchdog for BE filter files...
    14:33:01 : No Valid response. Trying to reconnect.!
    14:33:05 : No Valid response. Trying to reconnect.!
    14:33:09 : No Valid response. Trying to reconnect.!
    14:33:13 : Lost Connection!
    14:33:13 : Closing socket & exiting!
    14:45:06 : Starting plugin : WatchDog V.0.16
    14:45:06 : Creating watchdog for admin file...
    14:45:06 : Creating watchdog for command file...
    14:45:06 : Creating watchdog for BE filter files...
    14:45:12 : No Valid response. Trying to reconnect.!
    14:45:16 : No Valid response. Trying to reconnect.!
    14:45:20 : No Valid response. Trying to reconnect.!
    14:45:24 : Lost Connection!
    14:45:24 : Closing socket & exiting!
    14:47:30 : Starting plugin : WatchDog V.0.16
    14:47:30 : Creating watchdog for admin file...
    14:47:30 : Creating watchdog for command file...
    14:47:30 : Creating watchdog for BE filter files...
    14:47:36 : No Valid response. Trying to reconnect.!
    14:47:40 : No Valid response. Trying to reconnect.!
    14:47:44 : No Valid response. Trying to reconnect.!
    14:47:48 : Lost Connection!
    14:47:48 : Closing socket & exiting!
    14:47:59 : No Valid response. Trying to reconnect.!
    14:48:03 : No Valid response. Trying to reconnect.!
    14:49:25 : Lost Connection!
    14:49:25 : Closing socket & exiting!
    14:49:45 : No Valid response. Trying to reconnect.!
    14:49:49 : No Valid response. Trying to reconnect.!
    14:49:53 : No Valid response. Trying to reconnect.!
    14:49:57 : Lost Connection!
    14:49:57 : Closing socket & exiting!
    14:50:19 : No Valid response. Trying to reconnect.!
    14:50:23 : No Valid response. Trying to reconnect.!
    14:50:27 : No Valid response. Trying to reconnect.!
    14:50:31 : Lost Connection!
    14:50:31 : Closing socket & exiting!
    
    

     

    EpochServer.ini

    [EpochServer]
    BattlEyePath = C:\Servers\A3 Servers\Epoch_Altis\BattlEye
    InstanceID = Epoch_Altis
    LogAbuse = 1
    IP = 127.0.0.1
    Port = 2902
    Password = xxxxxx
    
    [Redis]
    IP = 127.0.0.1
    Port = 6370
    DB = 1
    Password = xxxxxx
    
    [SteamAPI]
    Logging = 0
    Key = 
    VACBanned = 0
    VACMinimumNumberOfBans = 0
    VACMaximumDaysSinceLastBan = 0
    PlayerAllowOlderThan = 0
    

     

    BEC Config

    [Bec]
    IP = 127.0.0.1
    Port = 2902
    BePath = C:\Servers\A3 Servers\Epoch_Altis\BattlEye
    Admins = C:\Servers\A3 Servers\Bec_Epoch_Altis\Config\Admins.xml
    Commands = C:\Servers\A3 Servers\Bec_Epoch_Altis\Config\Commands.xml
    WordFilterFile = C:\Servers\A3 Servers\Bec_Epoch_Altis\Config\BadWords.txt
    NickFilterFile = C:\Servers\A3 Servers\Bec_Epoch_Altis\Config\BadNames.txt
    [Misc]
    ServerExeName = Epoch_Altis.exe
    Scheduler = C:\Servers\A3 Servers\Bec_Epoch_Altis\Config\Scheduler.xml
    KickLobbyIdlers	= 1200
    ChatChannelFiles = True 

     

    my line start

    start "Epoch_Altis" /high /affinity FF "Epoch_Altis.exe" ip=8.30.124.11 -port=2902 -mod=@Epoch;@mas;@Epoch_Altis;@asm -config=Epoch_Altis\config.cfg -profiles=Epoch_Altis -cfg=Epoch_Altis\basic.cfg -name=Epoch_Altis -maxMem=2047 -enableHT -autoInit -malloc=tbb4malloc_bi
    
  4. 02.05.2015 22:35:41: PAR4NA (127.0.0.1:2304) 0123456789 - #26 "layer addMagazine _item;
    player addWeapon "ItemMap";
    player addItemToVest "FAK";
    player addItemToVest "5Rnd_rollins_mag";
    player"
    
    -----------------------------------
    02.05.2015 22:36:17: PAR4NA (127.0.0.1:2304) 0123456789 - #26 "Compass";
    
    player addPrimaryWeaponItem "optic_Aco";
    
    player addItemToVest "FAK";	
    player addItemToVest "FAK";
    
    player addItemToV"
    02.05.2015 22:36:17: PAR4NA (127.0.0.1:2304) 0123456789 - #27 "agazineCargo player;
    removeBackpackGlobal player;
    
    player addBackpack "B_Parachute";
    player addHeadGear "H_F3_EPOCH";
    player add"
    02.05.2015 22:36:17: PAR4NA (127.0.0.1:2304) 0123456789 - #44 "== "Epoch_Female_F");	
    
    if (_modelFemale) then {
    player forceAddUniform "U_CamoBlue_uniform";
    };
    
    if (_modelMale) then {
    player "
    
    ---------------------------------------
    02.05.2015 22:37:13: PAR4NA (127.0.0.1:2304) 0123456789 - #26 "ompass";
    
    player addPrimaryWeaponItem "optic_Hamr";
    
    player addItemToVest "FAK";	
    player addItemToVest "FAK";	
    player addItemToV"
    02.05.2015 22:37:13: PAR4NA (127.0.0.1:2304) 0123456789 - #27 "agazineCargo player;
    removeBackpackGlobal player;
    
    player addBackpack "B_Parachute";
    player addHeadGear "H_11_EPOCH";
    player add"
    02.05.2015 22:37:13: PAR4NA (127.0.0.1:2304) 0123456789 - #44 "== "Epoch_Female_F");	
    
    if (_modelFemale) then {
    player forceAddUniform "U_CamoRed_uniform";
    };
    
    if (_modelMale) then {
    player f"
    

    Someone teaches me to add?

     

    Do not send this link because I could not do! lolol

    http://opendayz.net/threads/a-guide-to-battleye-filters.21066/

  5. I'm editing my debugbox and I can not catch the object in the air, he always goes to the ground!

     

    someone can tell me what I need to change?

    		class Item5
    		{
    			position[] = {23644.4, 0.198342, 17993.1};
    			azimut = 180.62447;
    			id=105;
    			side="EMPTY";
    			vehicle="Transport_EPOCH";
    			skill=0.60000002;
    			init="clearMagazineCargoGlobal this;  clearWeaponCargoGlobal this;  clearItemCargoGlobal this; clearAllItemsFromBackpack this; clearBackpackCargoGlobal this; this addAction[""<t color='#003cff'>Loot Inicial</t>"", ""scripts\loadout_standart.sqf""]; this addAction[""<t color='#D11313'>Doador</t>"", ""scripts\loadout_donator.sqf""];";
    
×
×
  • Create New...