Jump to content

blckeagls' AI Mission - Version 2.0.2 Release (1/2/2015)


blckeagls

Recommended Posts

Hi Blckeagls,

 

Is the the addmarkersR1.sqf in use? I checked on the whole code, but it's never called; I guess it's a leftover or maybe for a future release.

 

Also, is there a way to have missions spawn, let's say at least 500 meters to 1km away from each other? In my Chernarus map it happens from time to time to have two mission very close (20-30 meter) or on the same spot...

 

Thanks!

Link to comment
Share on other sites

In my case I modified my scripts like:

 

addweaponcargo.txt:

 

1 "" !="(Binocular|Rangefinder|Hatchet|MeleeSledge|ChainSaw|MultiGun|Rollins_F)" !="(ruger_pistol|speargun|1911_pistol|akm|m14|M14Grn|m16|m16Red|m107|m107Tan|m249|m249Tan|m4a3)_epoch" !="SMG_(01|02)_F" !="hgun_(PDW2000|ACPC2|Rook40|P07|Pistol_heavy_0[1-2]|Pistol_Signal)_F" !="LMG_(Mk200|Zafir)_F" !="srifle_(EBR|GM6|LRR|DMR_01)_F" !="arifle_(Katiba|Katiba_C|Katiba_GL|SDAR|TRG21|TRG20|TRG21_GL|Mk20|Mk20C|Mk20C_plain|Mk20_GL|Mk20_plain|Mk20_GL_plain)_F" !="arifle_(MXC|MX|MX_GL|MXM|MXM_Black|MX_GL_Black|MX_Black|MXC_Black|MX_SW|MX_SW_Black)_F"

 

scripts.txt

 

7 "BIS_fnc_" !"getCfgSubClasses" !"animalBehaviour" !"guiEffectTiles_coef" !"GUImessage" !"guiEffectTiles" !"param" !"setIDCStreamFriendly" !"overviewauthor" !"diagAARrecord" !"diagKey" !"feedbackMain" !"missionHandlers" !"getServerVariable" !"missionFlow" !"initParams" !"initRespawn" !"missionTasksLocal" !"missionConversationsLocal" !"missionCon" !"preload" !"logFormat" !"recompile" !"moduleInit" !"feedback_allowPP" !"feedback_allowDeathScreen" !"feedbackInit" !"initMultiplayer" !"MP" !"displayMission" !"feedback_fatiguePP" !"respawnBase" !"dirTo" !"secondsToString" !"guiMessage_status" !"selectRespawnTemplate" !"guiMessage_defaultPositions" !"startLoadingScreen_ids" !"damageChanged" !"incapacitatedEffect" !"invRemove" !"relpos" !"inString" !"findSafePos" !"isPosBlacklisted" !"timeToString" !"distance2D" !"effectKilled" !"dynamictext" !"inAngleSector" !="_this call (uinamespace getvariable 'BIS_fnc_effectFired');" !"_this call bis_fnc_initVirtualUnit;"
7 "BIS_fnc_dynamictext" !", 0, 1, 5, 2, 0, 1] spawn bis_fnc_dynamictext;" !", 0, 0.4, 5, 2, 0, 2] spawn bis_fnc_dynamictext;" !"snil '_fnc_scriptName') then {_fnc_scriptName}" "sleep (_onScreenTime) spawn bis_fnc_dynamictext;"
7 forceRespawn
7 moveIn !="\"A3\functions_f\Misc\fn_moveIn.sqf\"" !="\"A3\functions_f\arrays\fn_removeIndex.sqf\"" !="player moveInAny _vehicle;\nEPOCH_antiWallCount = EPOCH_antiWallCount + 1;" !="[\"I_UAV_AI\", position _unit, [], 0, \"CAN_COLLIDE\"];\n_driver moveInAny _unit;"
7 attachTo !"_smoke1 attachTo [_v,[0,0,0],\"engine_effect_1\"];" !"EP_light attachTo [player];" !"_bomb attachTo [_unit, [0,0,0],\"Pelvis\"];" !"_dogHolder attachTo [_dog, [-0.2,1.2,0.7]];" !"EPOCH_staticTarget attachTo[player];" !"EPOCH_target attachTo[player];"
7 enableCollisionWith
7 hideObject !="_dogHolder hideobject true;" !="_dogHolder hideobject false;"
7 setFriend
7 setAmmo
7 setvelocity !="_bolt setPosATL _pos;\n_bolt setVelocity [0, 0, -10];" !="EPOCH_target setvelocitytransformation" !="_currentTarget setVelocity [0,0,-0.01];" !="_head setVelocity [random 2,random 2,10];" !="_vel = velocity this; _dir = getDir player; this setVelocity[(_vel select 0)+(sin _dir * 2),(_vel select 1)+(cos _dir * 2),(_vel select 2)];"
7 RscDebugConsole_watch
7 enableFatigue
7 setUnitRecoilCoefficient
7 allMissionObjects
7 callExtension
7 showCommandingMenu
7 assignAs
7 playableunits !"{getplayeruid _x == _ownerVar} count playableunits" !="lbSetData[21500, _index, netId _x];\n} forEach(playableUnits - [player]);" !="round diag_fps" !="(count playableUnits)"
7 allUnits !="{_x allowFleeing 0} forEach allUnits;" !="EPOCH_ESPMAP_TARGETS = allUnits + vehicles;"
7 allowDamage !="player allowDamage true;vehicle player allowDamage true;" !="unit setvariable ["bis_fnc_objectside_side",_side];_unit allowdamage false;true"
7 exec !="(_this select 0) execVM \"\A3\Structures_F\Wrecks\Scripts\Wreck_Heli_Attack_01.sqf\"" !="<execute expression=" !"RscDebugConsole_execute" !"execFSM" !"_executeStackedEventHandler" !"fn_execVM" !"fn_moduleExecute" !"fn_execRemote" !"fn_MPexec" !"bis_fnc_moduleExecute_activate" !"fn_tridentExecute" !"randomize_civ1" !"executed from" !"EPOCH_DebugGUI_exec" !"_handle = [_display] execVM _script;" !"execVM \"\A3\Structures_F\scripts" !="execVM \"\A3\Structures_F_EPC\Civ\PlayGround\scripts\Carousel_spin.sqf\"" !=execVM "custom\welcome.sqf";" !=execVM "scripts\statusBar.sqf";"
7 addWeaponCargo
7 onMapSingleClick !="onMapSingleClick '';"
7 addMagazine !"addMagazineCargo" !="player addMagazine _craftItem;" !="player addMagazine \"jerrycanE_epoch\";" !="player addMagazine \"emptyjar_epoch\";" !="player addMagazine \"jerrycan_epoch\";" !="player addMagazine \"Hatchet_swing\";" !="player addMagazine [(_x select 0),(_x select 1)]" !="player addMagazine _x;"
7 addMagazineCargo !"_dogHolder addMagazineCargo [\"RabbitCarcass_EPOCH\", 1]" !"_dogHolder addMagazineCargo [\"Pelt_EPOCH\", 1]" !"_dogHolder addMagazineCargo [\"Venom_EPOCH\", 1]" !"_dogHolder addMagazineCargo [\"SnakeCarcass_EPOCH\", 1]" !"_dogHolder addMagazineCargo [\"ChickenCarcass_EPOCH\", 1]"
7 addItem !="player addItem _craftItem;" !="player addItem _x;"
7 addBackPack
7 removeAllWeapons
7 removeAllItems
7 removeBackpack
7 removeAllActions
7 setTerrainGrid !="setTerrainGrid 25;"
7 setViewDistance !"setViewDistance 1600"
7 createGroup !="_grp = createGroup RESISTANCE;" !="if (isserver) then {\n_group = creategroup sidelogic;"
7 createVehicleCrew
7 createVehicleLocal !"\"#particlesource\" createVehicleLocal" !"\"#lightpoint\" createVehicleLocal" !"\"BloodSplat\" createVehicleLocal" !"[\"lightning1_F\", \"lightning2_F\"] call BIS_fnc_selectRandom;\n_lighting = _class createVehicleLocal"
7 createUnit !="_unit = _grp createUnit[(_arrUnits select _i), _pos, [], 0, \"FORM\"];" !=_driver = _grp createUnit[\"I_UAV_AI\", position _unit, [], 0, \"CAN_COLLIDE\];"
7 createAgent !="_unit = createAgent[_unitClass, _targetPos, [], 256, \"FORM\"];" !=_unit = createAgent [_unitClass, _targetPos, [], 120, \"FORM\];" !="_animal = createAgent[_randomAIClass, _animalPos, [], 5, \"NONE\"];" !=_unit = createAgent [\"Epoch_Cloak_F\", _pos, [], 0, \"CAN_COLLIDE\];"
7 createTeam
7 createDialog !="createDialog \"InteractBank\";" !="createdialog \"SelectGender\";" !="_handled = createdialog _dialog;" !="if (!dialog) then {createDialog 'Skaronator_AdminMenu'};" !="if !(createdialog \"InteractItem\") exitWith {};" !="createDialog \"TapOut\";" !="if !(createdialog \"Trade\") exitWith {};" !="_ok = createdialog \"Interact\";" !="_ok = createdialog \"TradeNPCMenu\";" !="createDialog \"Epoch_myGroup\";" !="createDialog (if ((Epoch_my_GroupUID == \"\") && (Epoch_my_Group isEqualTo [])) then {\"EPOCH_createGrp\"} else {\"Epoch_myGroup\"});" !="createDialog \"GroupRequests\";"
1 deleteMarker
1 setMarker
1 createMarker
7 assignItem
7 forceAddUniform
7 removeAllMPEventHandlers
7 setDamage !="([4654.62,9593.63,0] nearestObject 145259) setDamage 1" !="([4654.62,9593.63,0] nearestObject 145260) setDamage 1" !="_sapper setDamage 1;\n_sBomb setDamage 1;"
7 setDammage
7 displaySetEventHandler
7 ctrlSetEventHandler !"BIS_fnc_guiMessage_status"
7 addMPEventHandler
7 addEventHandler !"displayAddEventHandler" !"ctrlAddEventHandler" !"FiredNear" !"EpeContactStart" !"InventoryClosed" !"GetOut" !"InventoryOpened" !"local" !"Respawn" !"Put" !"Take" !"Fired" !"Killed" !" [\"PostReset\",{BIS_EnginePPReset = true;} ];" !"_logic addeventhandler [\n\"local\""
7 displayAddEventHandler !"[_display] call _fnc_animate;" !"tVersion select 4) == \"Development\") then" !"_display displayaddeventhandler\n[\n\"mousemoving\"," !"(findDisplay 46) displayAddEventHandler [\"KeyDown\",\"true\"];" !"(findDisplay 46) displayAddEventHandler [\"KeyDown\",\"_this call EPOCH_KeyDown\"];" !"_display displayaddeventhandler [\"unload\",\"uinamespace setvariable ['BIS_fnc_guiMess" !="findDisplay -1337 displayAddEventHandler ['Unload'"
7 ctrlAddEventHandler !"rCfg >> \"refreshDelay\");" !" [\n\"draw\"," !" [\"buttonclick\"," !="(uiNamespace getVariable 'ESP_map') ctrlAddEventHandler['Draw', '_esp_targets = EPOCH_ESPMAP_TARGETS;"
7 removeAllEventHandlers !="ctrlRemoveAllEventHandlers" !="_vehicle removeAllEventHandlers \"GetOut\";"
7 removeAllMissionEventHandlers
7 ctrlRemoveAllEventHandlers !="(uiNamespace getVariable 'ESP_map') ctrlRemoveAllEventHandlers 'Draw';"
7 removeEventHandler !="displayRemoveEventHandler" !="player removeEventHandler ['Fired', 0];" !"_currentTarget removeEventHandler[\"EpeContactStart\", _onContactEH]" !" [_adminVar,objnull];\npublicvariable _adminVar;\nplayer removeeventhandler [\"respawn\",_respawn];"
7 displayRemoveEventHandler !"BIS_fnc_guiMessage_status"
7 switchCamera
7 remoteControl !"fn_moduleRemoteControl.sqf"
7 drawIcon3D !="drawIcon3D[\"\x\addons\a3_epoch_code\Data\Member.paa\",_color,_pos,1,1,0,_text,1,0.025,\"PuristaMedium\"];\n}forEach EPOCH_ESP_TARGETS;" !"drawIcon3D[format[\"\x\addons\a3_epoch_code\Data\UI\loading_bar_%1.paa\",_stability],_color,(getPosATL EPOCH_stabilityTarget),5,5,0,\"\",1,0.05,\"PuristaMedium\"];" !"drawIcon3D[format[\"\x\addons\a3_epoch_code\Data\UI\loading_bar_%1.paa\",_num],_color,_pos,4,4,0,\"\",1,0.05,\"PuristaMedium\"];" !"EPOCH_drawIcon3dStability" !"EPOCH_drawIcon3d" !"if (_condition) then {\ndrawIcon3D [_icon, _color, _position, _sizeX, _sizeY, _angle, _text,"
7 drawLine3D !"{\nfor [{_i = 1}, {_i < count _x}, {_i = _i + 1}] do {\ndrawLine3D [_x select (_i - 1), _x select _i, ((BIS_tracedShooter getVari"
7 ctrlCreate
7 ctrlDelete
7 ctrlClassName
7 ctrlModel
7 ctrlModelDirection
7 ctrlModelSide
7 ctrlModelUp
7 ctrlSetDirection
7 ctrlSetModel
7 deleteVehicleCrew !="[\"A3\functions_f\MP\fn_deleteVehicleCrew.sqf\",\".sqf\",0,false,false,false,\"A3\",\"MP\",\"deleteVehicleCrew\"]"
7 loadFile
7 selectPlayer !="selectPlayer _playerObject;"
7 setGroupIconsVisible
7 setGroupIconsSelectable
7 setGroupIconParams
7 addGroupIcon
7 EPOCH_whitelist
7 EPOCH_defaultVars_SEPXVar
7 EPOCH_group_upgrade_lvl_SVar
7 EPOCH_GROUP_Delete_PVS !="EPOCH_GROUP_Delete_PVS = [player,Epoch_personalToken];"
7 Dayz_GUI_R
7 dayz_originalPlayer
7 zZombie_Base
7 infiSTAR
7 GodMode
7 shazbot
7 _typeofHookMonky
7 _allocMemory
7 _d3d9multipliervariable
7 _runASM
7 _addGFX_hookD3D9eventhandler
7 _BEhookBYPASSBOB
7 JJMMEE_INIT_MENU

 
I will review logs later and add exceptions...
 
Thanks
 
-Michel
Link to comment
Share on other sites

Code is like this:

["Weapon_Class_name","Magazine_class_name"] in the init.sqf for:
 

blck_WeaponList_Major

blck_WeaponList_Major2 

blck_WeaponList_Minor

blck_WeaponList_Minor2  

blck_WeaponList_Major = [
		//https://community.bistudio.com/wiki/Arma_3_CfgWeapons_Weapons
		//["WEAPON","MAGAZINE"]
			["arifle_Katiba_F","30Rnd_65x39_caseless_green"],
			["arifle_Mk20_ACO_F","30Rnd_556x45_Stanag"],
			["arifle_Mk20_F","30Rnd_556x45_Stanag"],
			["arifle_Mk20_plain_F","30Rnd_556x45_Stanag"],
			["arifle_Mk20C_F","30Rnd_556x45_Stanag"],
			["arifle_MX_F","30Rnd_65x39_caseless_mag"],
			["arifle_MX_SW_Black_Hamr_pointer_F","100Rnd_65x39_caseless_mag_Tracer"],
			["arifle_MXC_ACO_F","30Rnd_65x39_caseless_mag"],
			["arifle_MXC_F","30Rnd_65x39_caseless_mag"],
			["arifle_MXM_F","30Rnd_65x39_caseless_mag"],
			["arifle_SDAR_F","20Rnd_556x45_UW_mag"],
			["arifle_TRG20_F","30Rnd_556x45_Stanag"],
			["LMG_Mk200_F","200Rnd_65x39_cased_Box"],
			["SMG_01_F","30Rnd_45ACP_Mag_SMG_01"],
			["srifle_DMR_01_ACO_F","10Rnd_762x51_Mag"],
			["srifle_LRR_SOS_F","7Rnd_408_Mag"],
			["srifle_EBR_SOS_F","20Rnd_762x51_Mag"],
			["srifle_GM6_SOS_F","5Rnd_127x108_APDS_Mag"],
			["srifle_EBR_ARCO_pointer_snds_F","20Rnd_762x51_Mag"],
			["srifle_LRR_LRPS_F","7Rnd_408_Mag"],
			["srifle_GM6_LRPS_F","5Rnd_127x108_Mag"]
		];
Link to comment
Share on other sites

hmm ämm only 2-5 soldiers have my custokm weapon the anothert soldiers have vanilla weapons i dont have defined vanilla weapons in the list... 

 

hmm is the Skin the weapon by any soldiep

Post your init.sqf

use : "[ spoiler] [ /spoiler]" to make it not take a whole page.. remove the space between [ s and [ /

Link to comment
Share on other sites

Thats odd... not sure why...

Are you using my BE Filters?

Yes.  If i remove the init.sqf from the missions pbo, I can log in and server runs normal. Put the init.sqf back in and i get the above kick. Im using your init.sqf file as well.

 

This is a stock Epoch 2.5.2 server with only your mission installed.

Link to comment
Share on other sites

Yes.  If i remove the init.sqf from the missions pbo, I can log in and server runs normal. Put the init.sqf back in and i get the above kick. Im using your init.sqf file as well.

 

This is a stock Epoch 2.5.2 server with only your mission installed.

And your using the BE Filters I provided?   Might be an issue with the epoch AH.. (I don't use theirs)

Link to comment
Share on other sites

Hallo

i got kicked by be 

 0:49:57 BattlEye Server: Script Log: #0 xxxxxxx (xxxxxxxxxxxxxxxxxxxxxxxx) - #42 "ssions\__CUR_MP.Altis\debug\addmarkers.sqf"
 0:49:57   _MainMarker = createMarker ["MainMarker", Ccoords];
 0:49:57   _MainMarker setMarkerColor "Colo"
 0:49:57 Player xxxxxxxxxx kicked off by BattlEye: Script Restriction #42
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×
×
  • Create New...