Jump to content

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


blckeagls

Recommended Posts

 

["

13.01.2015 10:47:33: silverspam (94.181.36.126:2304) f27**** - #2 "

with uinamespace do {

disableserialization;

_display = _this select 0;

_alpha = if (_display == finddisplay 58) then {0.15} e"

13.01.2015 10:57:35: silverspam (94.181.36.126:2304) f27**** - #8 "

with uinamespace do {

disableserialization;

_display = _this select 0;

_alpha = if (_display == finddisplay 58) then {0.15} e"

 

 

Any ideas?

Link to comment
Share on other sites

I want to edit the items in the mission box's can anyone tell me if i got the class names right im not sure what im doing wrong but the weapons dont show up in the box's at all

 

//Variables to Edit Below



//This defines the range from center to spawn
mapRange = 12000;

//This defines center of mapRange
mapCenter = [6322,7801,0];

//Minimum distance for AI To spawn away form another AI
MinDistanceFromMission = 500;

//This defines the minimum number of AI to spawn per mission
blck_MinAI_Major = 10;
blck_MinAI_Major2 = 10;
blck_MinAI_Minor = 10;
blck_MinAI_Minor2 = 10;

//This defines the maximum number of AI to spawn per mission
blck_MaxAI_Major = 15;
blck_MaxAI_Major2 = 15;
blck_MaxAI_Minor = 15;
blck_MaxAI_Minor2 = 15;

//This defines how long after an AI dies that it's body disappears.
blck_aiCleanUpTimer = 600; // in seconds

//Spawn time between AI
blck_AISpawnTime = 600; //Time in seconds

//Defines if it should spawn 3 AI Vehicles (Armed offroad) true = yes spawn vehicles false = no do not spawn vehicles
blck_SpawnVeh_Major = true;
blck_SpawnVeh_Major2 = true;
blck_SpawnVeh_Minor = true;
blck_SpawnVeh_Minor2 = true;

//This Defines what goes into the box;
blck_FillBoxes_Major = {
private["_crate","_Weapons","_mags","_cfgweapons","_weapon","_plx","_mag","_mags","_allweap","_box"];
_crate = _this select 0;
clearWeaponCargoGlobal _crate;
clearMagazineCargoGlobal _crate;
_crate addMagazineCargoGlobal ["CinderBlocks",40];
_crate addMagazineCargoGlobal ["jerrycan_epoch",10];
_crate addMagazineCargoGlobal ["lighter_epoch",2];
_crate addMagazineCargoGlobal ["CircuitParts",10];
_crate addMagazineCargoGlobal ["WoodLog_EPOCH",50];
_crate addMagazineCargoGlobal ["ItemCorrugatedLg",20];
_crate addMagazineCargoGlobal ["ItemCorrugated",20];
_crate addMagazineCargoGlobal ["ItemMixOil",3];
_crate addMagazineCargoGlobal ["MortarBucket",20];
_crate addMagazineCargoGlobal ["PartPlankPack",20];
_crate addMagazineCargoGlobal ["ItemLockbox",2];
_crate addMagazineCargoGlobal ["MultiGun",2];
_crate addMagazineCargoGlobal ["Heal_EPOCH",2];
_crate addMagazineCargoGlobal ["Defib_EPOCH",1];
_crate addMagazineCargoGlobal ["Repair_EPOCH",2];
_crate addMagazineCargoGlobal ["EnergyPack",5];
_crate addMagazineCargoGlobal ["EnergyPackLg",2];
_crate addMagazineCargoGlobal ["WhiskeyNoodle",5];
_crate addMagazineCargoGlobal ["water_epoch",5];
};
blck_FillBoxes_Major2 = {
private["_crate","_Weapons","_mags","_cfgweapons","_weapon","_plx","_mag","_mags","_allweap","_box"];
_crate = _this select 0;
clearWeaponCargoGlobal _crate;
clearMagazineCargoGlobal _crate;
_crate addMagazineCargoGlobal ["ItemSodaBurst",5];
_crate addMagazineCargoGlobal ["ItemSodaRbull",5];
_crate addMagazineCargoGlobal ["ItemTuna",5];
_crate addMagazineCargoGlobal ["ItemSeaBass",5];
_crate addMagazineCargoGlobal ["ItemTrout",5];
_crate addMagazineCargoGlobal ["CookedChicken_EPOCH",5];
_crate addMagazineCargoGlobal ["CookedRabbit_EPOCH",5];
_crate addMagazineCargoGlobal ["SnakeMeat_EPOCH",5];
_crate addMagazineCargoGlobal ["CookedGoat_EPOCH",5];
_crate addMagazineCargoGlobal ["CookedSheep_EPOCH",5];
_crate addMagazineCargoGlobal ["honey_epoch",5];
_crate addMagazineCargoGlobal ["sweetcorn_epoch",5];
_crate addMagazineCargoGlobal ["scam_epoch",5];
_crate addMagazineCargoGlobal ["meatballs_epoch",5];
_crate addMagazineCargoGlobal ["sardines_epoch",5];
_crate addMagazineCargoGlobal ["FoodWalkNSons",5];
_crate addMagazineCargoGlobal ["FoodSnooter",5];
_crate addMagazineCargoGlobal ["FoodMeeps",5];
_crate addMagazineCargoGlobal ["FoodBioMeat",5];
};
blck_FillBoxes_Minor = {
private["_crate","_Weapons","_mags","_cfgweapons","_weapon","_plx","_mag","_mags","_allweap","_box"];
_crate = _this select 0;
clearWeaponCargoGlobal _crate;
clearMagazineCargoGlobal _crate;
_crate addMagazineCargoGlobal ["acc_flashlight",2];
_crate addMagazineCargoGlobal ["acc_pointer_IR",2];
_crate addMagazineCargoGlobal ["optic_Nightstalker",2];
_crate addMagazineCargoGlobal ["optic_SOS",2];
_crate addMagazineCargoGlobal ["optic_DMS",2];
_crate addMagazineCargoGlobal ["optic_tws_mg",2];
_crate addMagazineCargoGlobal ["muzzle_snds_H_MG",2];
_crate addMagazineCargoGlobal ["20Rnd_762x51_Mag",20];
_crate addMagazineCargoGlobal ["30Rnd_762x39_Mag",20];
_crate addMagazineCargoGlobal ["150Rnd_762x51_Box",20];
_crate addMagazineCargoGlobal ["150Rnd_762x51_Box_Tracer",20];
_crate addMagazineCargoGlobal ["30Rnd_65x39_caseless_green",20];
_crate addMagazineCargoGlobal ["30Rnd_65x39_caseless_mag",20];
_crate addMagazineCargoGlobal ["M14_EPOCH",2];
_crate addMagazineCargoGlobal ["arifle_MX_SW_Black_F",2];
_crate addMagazineCargoGlobal ["arifle_Mk20_plain_F",2];
_crate addMagazineCargoGlobal ["arifle_Mk20C_plain_F",2];
_crate addMagazineCargoGlobal ["arifle_MX_SW_F",2];
_crate addMagazineCargoGlobal ["AKM_EPOCH",2];
};
blck_FillBoxes_Minor2 = {
private["_crate","_Weapons","_mags","_cfgweapons","_weapon","_plx","_mag","_mags","_allweap","_box"];
_crate = _this select 0;
clearWeaponCargoGlobal _crate;
clearMagazineCargoGlobal _crate;
_crate addMagazineCargoGlobal ["LMG_Mk200_F",1];
_crate addMagazineCargoGlobal ["LMG_Zafir_F",1];
_crate addMagazineCargoGlobal ["m249_EPOCH",1];
_crate addMagazineCargoGlobal ["m249Tan_EPOCH",1];
_crate addMagazineCargoGlobal ["m107_EPOCH",1];
_crate addMagazineCargoGlobal ["srifle_EBR_F",1];
_crate addMagazineCargoGlobal ["5Rnd_127x108_Mag",10];
_crate addMagazineCargoGlobal ["7Rnd_408_Mag",10];
_crate addMagazineCargoGlobal ["srifle_LRR_F",1];
_crate addMagazineCargoGlobal ["200Rnd_556x45_M249",5];
_crate addMagazineCargoGlobal ["150Rnd_762x51_Box",5];
_crate addMagazineCargoGlobal ["200Rnd_65x39_cased_Box",5];
_crate addMagazineCargoGlobal ["3Rnd_HE_Grenade_shell",10];
_crate addMagazineCargoGlobal ["Repair_EPOCH",2];
_crate addMagazineCargoGlobal ["EnergyPack",5];
_crate addMagazineCargoGlobal ["ClaymoreDirectionalMine_Remote_Mag",2];
_crate addMagazineCargoGlobal ["SatchelCharge_Remote_Mag",2];
_crate addMagazineCargoGlobal ["DemoCharge_Remote_Mag",2];
_crate addMagazineCargoGlobal ["B_Carryall_ocamo",1];
};

Link to comment
Share on other sites

You need to define them correctly..like addWeaponCargoGlobal, addItemCargoGlobal, addMagazineCargoGlobal, etc.. Then they will show up. Things like FirstAidKits, FAK's are items, food, drinks, ammo, are magazines, guns are weapons, etc

thanks for the help, i seen that after beating myself in the head for an hour lol.i would like to ask what is the correct definition for attachments.scopes and so on ?

Link to comment
Share on other sites

@blckeagls Hi i wanted to know how to add more boxes and fill them as the box is rather small, I am not a coder but i think it would be great to add more goodies for harder missions. If you have already had this question i am sorry.

 

Oh it is working very well. Also could the mission not have names IE supply drop, Medics crash. So the names are on the map ;)

Link to comment
Share on other sites

thanks for the help, i seen that after beating myself in the head for an hour lol.i would like to ask what is the correct definition for attachments.scopes and so on ?

Here is an example of one crate I modified

_crate addMagazineCargoGlobal ["5Rnd_127x108_Mag",3];
_crate addMagazineCargoGlobal ["20Rnd_762x51_Mag",3];
_crate addMagazineCargoGlobal ["150Rnd_762x51_Box",1];
_crate addItemCargoGlobal ["optic_Nightstalker",1];
_crate addWeaponCargoGlobal ["m107_EPOCH",1];
_crate addItemCargoGlobal ["muzzle_snds_B",1];
_crate addWeaponCargoGlobal ["LMG_Zafir_F",1];
_crate addWeaponCargoGlobal ["srifle_EBR_F",1];
_crate addWeaponCargoGlobal ["arifle_MX_GL_Black_F",1];
_crate addMagazineCargoGlobal ["3Rnd_UGL_FlareGreen_F",2];
_crate addItemCargoGlobal ["FAK",4];
_crate addMagazineCargoGlobal ["3Rnd_UGL_FlareYellow_F",2];
_crate addMagazineCargoGlobal ["3Rnd_HE_Grenade_shell",2];
_crate addItemCargoGlobal ["ItemGoldBar",1];
_crate addItemCargoGlobal ["optic_NVS",1];
_crate addItemCargoGlobal ["EnergyPack",1];
_crate addItemCargoGlobal ["optic_tws",1];
_crate addMagazineCargoGlobal ["5Rnd_127x108_APDS_Mag",3];
_crate addMagazineCargoGlobal ["30Rnd_65x39_caseless_mag",2];

Hope that helps

Link to comment
Share on other sites

Here is an example of one crate I modified

_crate addMagazineCargoGlobal ["5Rnd_127x108_Mag",3];
_crate addMagazineCargoGlobal ["20Rnd_762x51_Mag",3];
_crate addMagazineCargoGlobal ["150Rnd_762x51_Box",1];
_crate addItemCargoGlobal ["optic_Nightstalker",1];
_crate addWeaponCargoGlobal ["m107_EPOCH",1];
_crate addItemCargoGlobal ["muzzle_snds_B",1];
_crate addWeaponCargoGlobal ["LMG_Zafir_F",1];
_crate addWeaponCargoGlobal ["srifle_EBR_F",1];
_crate addWeaponCargoGlobal ["arifle_MX_GL_Black_F",1];
_crate addMagazineCargoGlobal ["3Rnd_UGL_FlareGreen_F",2];
_crate addItemCargoGlobal ["FAK",4];
_crate addMagazineCargoGlobal ["3Rnd_UGL_FlareYellow_F",2];
_crate addMagazineCargoGlobal ["3Rnd_HE_Grenade_shell",2];
_crate addItemCargoGlobal ["ItemGoldBar",1];
_crate addItemCargoGlobal ["optic_NVS",1];
_crate addItemCargoGlobal ["EnergyPack",1];
_crate addItemCargoGlobal ["optic_tws",1];
_crate addMagazineCargoGlobal ["5Rnd_127x108_APDS_Mag",3];
_crate addMagazineCargoGlobal ["30Rnd_65x39_caseless_mag",2];

Hope that helps

Thank you i am using this box list, But i want a new box so there are 2 boxes at major missions or more how do i do this?

Link to comment
Share on other sites

Hello Guys,

 

we have installed the mission and it was working well, i am very thankfull for youre work and help!!.

After some Hours we have the big problem with car lock/unlock ... and we think that comes from the mission.

After deleting the mission we can lock/unlock everything without a problem.

 

Anyone an idea how to fix the lock/unlock together with mission?.

 

or is it just our server with that issue?

Link to comment
Share on other sites

Hello Guys,

 

we have installed the mission and it was working well, i am very thankfull for youre work and help!!.

After some Hours we have the big problem with car lock/unlock ... and we think that comes from the mission.

After deleting the mission we can lock/unlock everything without a problem.

 

Anyone an idea how to fix the lock/unlock together with mission?.

 

or is it just our server with that issue?

Must be epoch bug, without mission have lock unlock problems, sell buy problems, and a lot of other bugs

Link to comment
Share on other sites

Getting some strange errors in my RPT, it's been going on all day without me knowing, my last RPT is 500mb for almost 6 hours of server uptime.
The following is the error which spams 3/4 times per second. If anyone know whats going on and could help that would be awesome

 

23:57:15 Bad conversion: array
23:57:15 Error in expression <
waitUntil{_nearEntities != count (_ai1 nearEntities [["MAN"],1000])};
};>
23:57:15 Error position: <nearEntities [["MAN],1000])};
};>
23:57:15 Error 0 elements provided, 3 expected
23:57:15 File q\addons\custom_server\AIMission\AI1.sqf, line 91

Link to comment
Share on other sites

Getting some strange errors in my RPT, it's been going on all day without me knowing, my last RPT is 500mb for almost 6 hours of server uptime.

The following is the error which spams 3/4 times per second. If anyone know whats going on and could help that would be awesome

 

23:57:15 Bad conversion: array

23:57:15 Error in expression <

waitUntil{_nearEntities != count (_ai1 nearEntities [["MAN"],1000])};

};>

23:57:15 Error position: <nearEntities [["MAN],1000])};

};>

23:57:15 Error 0 elements provided, 3 expected

23:57:15 File q\addons\custom_server\AIMission\AI1.sqf, line 91

Fix for this was post here before, just read! =)

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...