timebomb18 0 Posted April 27, 2017 Hello everyone, I'm working on an insurgency mission, I'm doing it on the map Fallujah, I've done all the spawn part of AI (ALIVE) only missing the main one: A script for AI to drop intel to reveal ammo cache and another to spawn The ammo cache. I tried copying from "ALiVE Insurgency Revived by Hazey", but it does not work ... Grateful Share this post Link to post Share on other sites
7erra 629 Posted April 27, 2017 Some questions to specify: 1.) How is the intel supposed to be dropped? When you search the body of a dead enemy? Or is it lying around? 2.) Should the ammobox spawn somewhere specific or anywhere on the map? What do you need the ammo box for? Share this post Link to post Share on other sites
timebomb18 0 Posted April 27, 2017 Thank you for the answer, my friend! 1) She would drop on the ground next to the enemy's body 2) Anywhere with buildings or in a certain brand area. The ammobox would be the goal of the mission, where the BLUEFOR team has to find and destroy them. Share this post Link to post Share on other sites
neodyn 14 Posted May 3, 2017 Hello, i also use the Insurgency script from Hazey and it works great. Credits to: Sacha Ligthert + Mphillips'Hazey' Only some parts are really relevant: Folder: funcs, functions, sounds Files: common_defines.sqf, scripts\prayer.sqf init.sqf: if (paramsArray select 7 == 1) then { if (isServer || isDedicated) then { _null = [] spawn INS_fnc_SpawnIntel; }; }; if (isServer || isDedicated) then { _null = [] spawn INS_fnc_setupCache; }; call compile preprocessFile "common_defines.sqf"; [] execVM "scripts\prayer.sqf"; description.ext: class CfgFunctions { #include "functions\cfgfunctions.hpp" }; class CfgSounds { sounds[] = {muezzin}; class muezzin {name="muezzin";sound[]={sound\muezzin.ogg,db+10,1.0};titles[] = {};}; }; //--- Custom Intel Event Handlers class Extended_InitPost_EventHandlers { class Man { //--- Make sure everyone is happy when the mission starts init = "_this call INS_fnc_handlerRegister"; }; }; #include "params.hpp" params.hpp class Params { class TimeofDayHour { //-- param 0 title = "Mission Hours"; values[] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24}; texts[] = { "1:00","2:00","3:00","4:00","5:00","6:00","7:00","8:00","9:00","10:00","11:00","12:00", "13:00","14:00","15:00","16:00","17:00","18:00","19:00","20:00","21:00","22:00","23:00","24:00" }; default = 9; }; class TimeofDayMinute { //-- param 1 title = "Mission Minutes"; values[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59}; texts[] = {"0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59"}; default = 0; }; class TimeofDayMonth { //-- param 2 title = "Mission Month"; values[] = {1,2,3,4,5,6,7,8,9,10,11,12}; texts[] = {"January","February","March","April","May","June","July","August","September","October","November","December"}; default = 1; }; class TimeofDay { //-- param 3 title = "Mission Day"; values[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31}; texts[] = {"1","2","3","4","5","6","7","8","9","10","11","12", "13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31"}; default = 1; }; class LEER1 { //--- paramsArray[4] title = "Empty Param"; values[] = {0}; texts[] = {"Disabled"}; default = 0; }; class LEER2 { //--- paramsArray[5] title = "Empty Param"; values[] = {0}; texts[] = {"Disabled"}; default = 0; }; class cachesLimit { //--- paramsArray[6] title = "Number of caches to hunt"; values[] = {2,4,6,8,10,12,14,16}; texts[] = {"Two","Four","Six","Eight","Ten","Twelve","Fourteen","Sixteen"}; default = 12; }; class intelItems { //--- paramsArray[7] title = "Spawn Intel in town?"; values[] = {1,0}; texts[] = {"Enabled","Disabled"}; default = 1; }; class intelAmount { //--- paramsArray[8] title = "Number of Intel Items to spawn per town"; values[] = {2,4,6,8,10}; texts[] = {"2","4","6","8","10"}; default = 8; }; class LEER3 { //--- paramsArray[9] title = "Empty Param"; values[] = {0}; texts[] = {"Disabled"}; default = 0; }; class INS_dropRate { //--- paramsArray[10] title = "Intel drop rate - off bodies"; values[] = {98,95,92,87,84,80,77,75,70,60,50,10}; texts[] = {"2% Chance","5% Chance","8% Chance","13% Chance","16% Chance","20% Chance","23% Chance","25% Chance","30% Chance","40% Chance","50% Chance","90% Chance"}; default = 75; }; }; I hope I did not forget anything, Share this post Link to post Share on other sites
timebomb18 0 Posted May 10, 2017 Spoiler https://uploaddeimagens.com.br/imagens/18448074_1044050552362238_2100608217_n_-1-jpg Spoiler https://uploaddeimagens.com.br/imagens/18386774_1044050075695619_1713036386_n-jpg error Share this post Link to post Share on other sites
Lucas Andreatta 1 Posted May 16, 2017 where the files? Share this post Link to post Share on other sites