Jump to content

[WIP/RELEASE] Bank Robbery V3.


Recommended Posts

I have a question. So i have started a Panthera Epoch Server and I wanted to import the bank robbery mission on it.

I imagined that only the bank.sqf should be modified to spawn the building the table and the laptop, right ?

 

I chose a location and I got the worldmap coordinates and used them where to position the stuff.

However It deosn't look like it starts the script at all.

 

Can this script be added on a different map like Panthera for example?

 

 

Yes, you can use this script with other maps, though slight modifications are required.  I used the editor to add the bank and various other items on a Taviana server.  Bank was located in a city on the West island, worked out pretty good and players love it.   I think I'm gonna spruce things up a bit with a coulple heli patrols and searchlights.  Should be fun...

Link to comment
Share on other sites

Hello, my Rob Bank work great on Napf but my AI go to the same place over and over instead  going around the bank and kill the robber. I put the way point just in front of the bank, There is my AI.sqf

thanks

 

//////////////////////////////////////////////////////////////

//New Bank AI by Spodermayt, for Darihon's Bank Raid Script.//
/////////////////////////15.10.2014///////////////////////////

private ["_squad1","_squad2","_squad3","_squad4","_squad5","_squad6","_squad7","_squad8","_squad9","_squad10","_squad11","_squad12","_squad13","_squad14","_squad15","_squad16","_squad17","_squad18","_squad19","_squad20","_squad21","_squad22","_squad23","_squad24","_squadDriver","_squadGunner"];

execVM "rob\bank_config.sqf";
sleep 0.5;

if(_debugBank == 1) then {
systemChat "[DEBUG] AI successfully executed.";
};

if (_suv_enabled == 1) then {
execVM "rob\ai_suv.sqf";
};

//Init (create center etc)
_CENTER = createCenter east; //Creates Center.
_aiGroup = createGroup east; //Creates a Group.
EAST setFriend [WEST,0]; //Sets West (Survivors) as hostile.
_target = [5428.55,12073.3,0.659]; //Waypoint to Bank.

//Spawn 24 AI's.
_squad1 = _aiGroup createUnit ["Policeman",[5239.4355, 12021.171, 0], [], 10, "PRIVATE"];
_squad2 = _aiGroup createUnit ["Policeman",[5348.2793, 12097.454, 0], [], 10, "PRIVATE"];
_squad3 = _aiGroup createUnit ["Policeman",[5349.7212, 12190.949, 0], [], 10, "PRIVATE"];
_squad4 = _aiGroup createUnit ["Policeman",[5614.4326, 12082.375, 0], [], 10, "PRIVATE"];
_squad5 = _aiGroup createUnit ["Policeman",[5441.73, 12017.859, 0], [], 10, "PRIVATE"];
_squad6 = _aiGroup createUnit ["Policeman",[5414.7358, 12016.399, 0], [], 10, "PRIVATE"];
_squad7 = _aiGroup createUnit ["Policeman",[5474.2915, 12120.842, 0], [], 10, "PRIVATE"];
_squad8 = _aiGroup createUnit ["Policeman",[5348.1812, 11881.146, 0], [], 10, "PRIVATE"];
_squad9 = _aiGroup createUnit ["Policeman",[5555.2368, 11827.019, 0], [], 10, "PRIVATE"];
_squad10 = _aiGroup createUnit ["Policeman",[5654.8652, 11982.997, 0], [], 10, "PRIVATE"];
_squad11 = _aiGroup createUnit ["Policeman",[5354.8752, 11989.999, 0], [], 10, "PRIVATE"];
_squad12 = _aiGroup createUnit ["Policeman",[5479.2919, 12320.842, 0], [], 10, "PRIVATE"];
_squad13 = _aiGroup createUnit ["Policeman",[5350.0313, 12093.604, 3.2424927e-005], [], 10, "PRIVATE"];
_squad14 = _aiGroup createUnit ["Policeman",[5382.5483, 12028.917, 2.7656555e-005], [], 10, "PRIVATE"];
_squad15 = _aiGroup createUnit ["Policeman",[5420.5962, 12155.9, -0.00028038025], [], 10, "PRIVATE"];
_squad16 = _aiGroup createUnit ["Policeman",[5558.356, 12028.632, 9.5367432e-006], [], 10, "PRIVATE"];
_squad17 = _aiGroup createUnit ["Policeman",[5500.1431, 11971.115, 4.196167e-005], [], 10, "PRIVATE"];
_squad18 = _aiGroup createUnit ["Policeman",[5438.8804, 11946.305, 0.00018930435], [], 10, "PRIVATE"];
_squad19 = _aiGroup createUnit ["Policeman",[5479.7437, 12148.881, 2.0980835e-005], [], 10, "PRIVATE"];
_squad20 = _aiGroup createUnit ["Policeman",[5360.6436, 11914.635, 1.4543533e-005], [], 10, "PRIVATE"];
_squad21 = _aiGroup createUnit ["Policeman",[5545.8906, 11879.979, -0.00015449524], [], 10, "PRIVATE"];
_squad22 = _aiGroup createUnit ["Policeman",[5590.2202, 11948.729, -7.8201294e-005], [], 10, "PRIVATE"];
_squad23 = _aiGroup createUnit ["Policeman",[5432.6772, 12081.267, -0.00010204315], [], 10, "PRIVATE"];
_squad24 = _aiGroup createUnit ["Policeman",[5533.8896, 12100.795, -1.9073486e-005], [], 10, "PRIVATE"];





if(_debugBank == 1) then {
systemChat "[DEBUG AI] Units Created.";
};

//Add everyone to a "master" group.
[_squad1,_squad2,_squad3,_squad4,_squad5,_squad6,_squad7,_squad8,_squad9,_squad10,_squad11,_squad12,_squad13,_squad14,_squad15,_squad16,_squad17,_squad18,_squad19,_squad20,_squad21,_squad22,_squad23,_squad24] joinSilent _unitGroup;

//Give everyone weapons.
_squad1 addWeapon "M4A3_CCO_EP1";
_squad1 addMagazine "30Rnd_556x45_Stanag";
_squad1 addMagazine "30Rnd_556x45_Stanag";
_squad2 addWeapon "M4A1_Aim";
_squad2 addMagazine "30Rnd_556x45_Stanag";
_squad2 addMagazine "30Rnd_556x45_Stanag";
_squad3 addWeapon "Sa58V_EP1";
_squad3 addMagazine "30Rnd_762x39_SA58";
_squad3 addMagazine "30Rnd_762x39_SA58";
_squad4 addWeapon "M240_DZ";
_squad4 addMagazine "100Rnd_762x51_M240";
_squad4 addMagazine "100Rnd_762x51_M240";
_squad5 addWeapon "M240_DZ";
_squad5 addMagazine "100Rnd_762x51_M240";
_squad5 addMagazine "100Rnd_762x51_M240";
_squad6 addWeapon "m107_DZ";
_squad6 addMagazine "10Rnd_127x99_m107";
_squad6 addMagazine "10Rnd_127x99_m107";
_squad7 addWeapon "DMR_DZ";
_squad7 addMagazine "20Rnd_762x51_DMR";
_squad7 addMagazine "20Rnd_762x51_DMR";
_squad8 addWeapon "M110_TWS_EP1";
_squad8 addMagazine "20Rnd_762x51_B_SCAR";
_squad8 addMagazine "20Rnd_762x51_B_SCAR";
_squad9 addWeapon "M4A3_CCO_EP1";
_squad9 addMagazine "30Rnd_556x45_Stanag";
_squad9 addMagazine "30Rnd_556x45_Stanag";
_squad10 addWeapon "M24";
_squad10 addMagazine "5Rnd_762x51_M24";
_squad10 addMagazine "5Rnd_762x51_M24";
_squad11 addWeapon "M4A3_CCO_EP1";
_squad11 addMagazine "30Rnd_556x45_Stanag";
_squad11 addMagazine "30Rnd_556x45_Stanag";
_squad12 addWeapon "M4A1_Aim";
_squad12 addMagazine "30Rnd_556x45_Stanag";
_squad12 addMagazine "30Rnd_556x45_Stanag";
_squad13 addWeapon "Pecheneg_DZ";
_squad13 addMagazine "100Rnd_762x54_PK";
_squad13 addMagazine "100Rnd_762x54_PK";
_squad14 addWeapon "M40A3";
_squad14 addMagazine "5Rnd_762x51_M24";
_squad14 addMagazine "5Rnd_762x51_M24";
_squad15 addWeapon "DMR_DZ";
_squad15 addMagazine "20Rnd_762x51_DMR";
_squad15 addMagazine "20Rnd_762x51_DMR";
_squad16 addWeapon "m240_scoped_EP1_DZE";
_squad16 addMagazine "100Rnd_762x51_M240";
_squad16 addMagazine "100Rnd_762x51_M240";
_squad17 addWeapon "SCAR_H_LNG_Sniper";
_squad17 addMagazine "20rnd_762x51_B_SCAR";
_squad17 addMagazine "20rnd_762x51_B_SCAR";
_squad18 addWeapon "SVD_des_EP1";
_squad18 addMagazine "10Rnd_762x54_SVD";
_squad18 addMagazine "10Rnd_762x54_SVD";
_squad19 addWeapon "SCAR_H_STD_EGLM_Spect";
_squad19 addMagazine "20rnd_762x51_B_SCAR";
_squad19 addMagazine "20rnd_762x51_B_SCAR";
_squad20 addWeapon "m240_scoped_EP1_DZE";
_squad20 addMagazine "100Rnd_762x51_M240";
_squad20 addMagazine "100Rnd_762x51_M240";
_squad21 addWeapon "DMR_DZ";
_squad21 addMagazine "20Rnd_762x51_DMR";
_squad21 addMagazine "20Rnd_762x51_DMR";
_squad22 addWeapon "SCAR_H_LNG_Sniper_SD";
_squad22 addMagazine "20rnd_762x51_SB_SCAR";
_squad22 addMagazine "20rnd_762x51_SB_SCAR";
_squad23 addWeapon "KSVK";
_squad23 addMagazine "5Rnd_127x108_KSVK";
_squad23 addMagazine "5Rnd_127x108_KSVK";
_squad24 addWeapon "DMR_DZ";
_squad24 addMagazine "20Rnd_762x51_DMR";
_squad24 addMagazine "20Rnd_762x51_DMR";

if(_debugBank == 1) then {
systemChat "[DEBUG AI] Gave Weapons to AI.";
};

//Set Skills.
[_squad1,_squad2,_squad3,_squad4,_squad5,_squad6,_squad7,_squad8,_squad9,_squad10,_squad11,_squad12,_squad13,_squad14,_squad15,_squad16,_squad17,_squad18,_squad19,_squad20,_squad21,_squad22,_squad23,_squad24] setSkill ["aimingspeed", 0.3];
[_squad1,_squad2,_squad3,_squad4,_squad5,_squad6,_squad7,_squad8,_squad9,_squad10,_squad11,_squad12,_squad13,_squad14,_squad15,_squad16,_squad17,_squad18,_squad19,_squad20,_squad21,_squad22,_squad23,_squad24] setSkill ["spotdistance", 0.3];
[_squad1,_squad2,_squad3,_squad4,_squad5,_squad6,_squad7,_squad8,_squad9,_squad10,_squad11,_squad12,_squad13,_squad14,_squad15,_squad16,_squad17,_squad18,_squad19,_squad20,_squad21,_squad22,_squad23,_squad24] setSkill ["aimingaccuracy", 0.3];
[_squad1,_squad2,_squad3,_squad4,_squad5,_squad6,_squad7,_squad8,_squad9,_squad10,_squad11,_squad12,_squad13,_squad14,_squad15,_squad16,_squad17,_squad18,_squad19,_squad20,_squad21,_squad22,_squad23,_squad24] setSkill ["aimingshake", 0.3];
[_squad1,_squad2,_squad3,_squad4,_squad5,_squad6,_squad7,_squad8,_squad9,_squad10,_squad11,_squad12,_squad13,_squad14,_squad15,_squad16,_squad17,_squad18,_squad19,_squad20,_squad21,_squad22,_squad23,_squad24] setSkill ["spottime", 0.3];
[_squad1,_squad2,_squad3,_squad4,_squad5,_squad6,_squad7,_squad8,_squad9,_squad10,_squad11,_squad12,_squad13,_squad14,_squad15,_squad16,_squad17,_squad18,_squad19,_squad20,_squad21,_squad22,_squad23,_squad24] setSkill ["spotdistance", 0.4];
[_squad1,_squad2,_squad3,_squad4,_squad5,_squad6,_squad7,_squad8,_squad9,_squad10,_squad11,_squad12,_squad13,_squad14,_squad15,_squad16,_squad17,_squad18,_squad19,_squad20,_squad21,_squad22,_squad23,_squad24] setSkill ["commanding", 0.4];
[_squad1,_squad2,_squad3,_squad4,_squad5,_squad6,_squad7,_squad8,_squad9,_squad10,_squad11,_squad12,_squad13,_squad14,_squad15,_squad16,_squad17,_squad18,_squad19,_squad20,_squad21,_squad22,_squad23,_squad24] setSkill ["general", 0.5];
[_squad1,_squad2,_squad3,_squad4,_squad5,_squad6,_squad7,_squad8,_squad9,_squad10,_squad11,_squad12,_squad13,_squad14,_squad15,_squad16,_squad17,_squad18,_squad19,_squad20,_squad21,_squad22,_squad23,_squad24] enableAI "TARGET";
[_squad1,_squad2,_squad3,_squad4,_squad5,_squad6,_squad7,_squad8,_squad9,_squad10,_squad11,_squad12,_squad13,_squad14,_squad15,_squad16,_squad17,_squad18,_squad19,_squad20,_squad21,_squad22,_squad23,_squad24] enableAI "AUTOTARGET";
[_squad1,_squad2,_squad3,_squad4,_squad5,_squad6,_squad7,_squad8,_squad9,_squad10,_squad11,_squad12,_squad13,_squad14,_squad15,_squad16,_squad17,_squad18,_squad19,_squad20,_squad21,_squad22,_squad23,_squad24] enableAI "MOVE";
[_squad1,_squad2,_squad3,_squad4,_squad5,_squad6,_squad7,_squad8,_squad9,_squad10,_squad11,_squad12,_squad13,_squad14,_squad15,_squad16,_squad17,_squad18,_squad19,_squad20,_squad21,_squad22,_squad23,_squad24] enableAI "ANIM";
[_squad1,_squad2,_squad3,_squad4,_squad5,_squad6,_squad7,_squad8,_squad9,_squad10,_squad11,_squad12,_squad13,_squad14,_squad15,_squad16,_squad17,_squad18,_squad19,_squad20,_squad21,_squad22,_squad23,_squad24] enableAI "FSM";
[_squad1,_squad2,_squad3,_squad4,_squad5,_squad6,_squad7,_squad8,_squad9,_squad10,_squad11,_squad12,_squad13,_squad14,_squad15,_squad16,_squad17,_squad18,_squad19,_squad20,_squad21,_squad22,_squad23,_squad24] setCombatMode "RED";
[_squad1,_squad2,_squad3,_squad4,_squad5,_squad6,_squad7,_squad8,_squad9,_squad10,_squad11,_squad12,_squad13,_squad14,_squad15,_squad16,_squad17,_squad18,_squad19,_squad20,_squad21,_squad22,_squad23,_squad24] setBehaviour "COMBAT";
//Move units to bank.
[_squad1,_squad2,_squad3,_squad4,_squad5,_squad6,_squad7,_squad8,_squad9,_squad10,_squad11,_squad12,_squad13,_squad14,_squad15,_squad16,_squad17,_squad18,_squad19,_squad20,_squad21,_squad22,_squad23,_squad24] moveTo _target;
if(_debugBank == 1) then {
systemChat "[DEBUG AI] Set Units Skills.";

};

I don't know If I did something wrong.

Link to comment
Share on other sites

Nice to know that the script is working fine for you, Petite! I'll take a look at your piece of code later today and I'll contact you in PM with further assistance.

 

Further, I'm working on a new stable version of the script, but it could still take some time to finish due to personal problems. The new version will simply be a remake of the original version, but it will be much stable than the other versions, but I'll try to add some new features. If you have any ideas, let me know by PM or by leaving a comment.

Darihon

Link to comment
Share on other sites

Nice to know that the script is working fine for you, Petite! I'll take a look at your piece of code later today and I'll contact you in PM with further assistance.

 

Further, I'm working on a new stable version of the script, but it could still take some time to finish due to personal problems. The new version will simply be a remake of the original version, but it will be much stable than the other versions, but I'll try to add some new features. If you have any ideas, let me know by PM or by leaving a comment.

Darihon

 

On my Chernarus its working pretty well they don't go too far,  the only thing I would love to see these cops going inside the building to kill the players and of course the vehicle working. For now on my Napf I just added a cop car with 4 AI inside spawning every 10 min when you kill them so it make it a bit harder and nicer. 

 

Thanks for your answer I'll wait for your message.

 

Wonderful script.

Link to comment
Share on other sites

On my Chernarus its working pretty well they don't go too far,  the only thing I would love to see these cops going inside the building to kill the players and of course the vehicle working. For now on my Napf I just added a cop car with 4 AI inside spawning every 10 min when you kill them so it make it a bit harder and nicer. 

 

Thanks for your answer I'll wait for your message.

 

Wonderful script.

 

Thanks for the positive feedback. I've sent you a PM with my thoughts :)!

Link to comment
Share on other sites

Hello i'm trying to add your script to my server and it keeps getting stuck on wait for host. I added the files like your instructions say but it screws up the server. why is that? The only thing that can do that is stuff added to the dayz_server.pbo and all that was was your bank.sqf file i don't see why that would cause the server to not be able to start

Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...

hey there bud, I got your script all put in and everything loads up perfectly but when I start to rob the bank infistar kicks in and kicks me off the game. when it kicks me it says "<infiSTAR.de>: 0h 08min | Name (xxxxxxxxxxxxxxx) | remExField TitleText: The bank is getting robbed!" and then it freezes my game and kicks me =/ would you have any idea why it does that? But nice job, I like the script, ive seen it working on many other servers!

Link to comment
Share on other sites

  • 4 weeks later...
  • 3 weeks later...
  • 2 weeks later...

are there any fixes yet im geting infi kick also great mod shame carnt use it also geting infi kick with a action menu to :(

Yep its infistar... dont know if there are any fixes.... so the script is useless for me :(

I'll talk to Darihon if we're still going to revive this script, its a nice idea but it kinda died. I'll let you know as soon as he comes online.

Link to comment
Share on other sites

I haven't been scripting in Arma 2 for a while now, i do see alot of errors in the script. I'll get it working by sunday. (That's a promise this time. I said before i'd finish it but i didn't. I'll remake the whole thing by sunday. I'll also try my best to get SUV's and helicopters working. Maybe add difficulties for players to choose from? Idk, suggest me things to add.)

Link to comment
Share on other sites

it would be nice to see a crafting menu on dayz mod i know there is one caled alchemy building but the link is invaild now  be nice just to beable to craft a few m240's out of gems ectra or in game coins put them on the base roof or a couple of other things dont know how hard that will be to code.:D

Link to comment
Share on other sites

it would be nice to see a crafting menu on dayz mod i know there is one caled alchemy building but the link is invaild now  be nice just to beable to craft a few m240's out of gems ectra or in game coins put them on the base roof or a couple of other things dont know how hard that will be to code.:D

Whut? XD

-----

Hi guys,

Spodermanyt came to me today and asked if we wanted to revive the script again. Sooooo, here we're. We'll start working on the script as soon as possible. We'll keep in touch.

Link to comment
Share on other sites

Whut? XD

-----

Hi guys,

Spodermanyt came to me today and asked if we wanted to revive the script again. Sooooo, here we're. We'll start working on the script as soon as possible. We'll keep in touch.

something like this http://epochmod.com/forum/index.php?/topic/14893-advanced-alchemical-crafting-v33/    i remember going on a server a while ago where i could craft guns on stands ectra  nests and add them to my build put dead bodys hanging from tree's and more to craft them you needed gems and more the download link in this thread dont workd so i cannot test it out

Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...

Please sign in to comment

You will be able to leave a comment after signing in



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