Jump to content

Defiance44

Member
  • Content Count

    18
  • Joined

  • Last visited

  • Medals

Posts posted by Defiance44


  1. Hi.

    I'm looking for a add-on that lets me spawn a group of AI that will spawn inside of my squad, and next to me. I want them to be able to be commanded by me.

    If anyone could provide any script suggestions, add-ons, or anything else I can look into to get started with my "quest."

    EDIT:

    http://www.armaholic.com/page.php?id=12113

    LOOKING INTO THIS THIS MIGHT BE WHAT I NEED THANKS.


  2. check coodrinates and defines

    I've changed most of the defines, I changed the starting Coordinates in one of the defines (which I think was located in the main directory of the mission). I'm going to test it out now finally.

    Okay, here is what I did to fix the problem:

    I changed (in defines.sqf in the directory), I changed the startpos to the start pos of all of my units (which are in the same spot overlaying eachother), then I changed the center POS to the coordinates of the UN Flag, and make sure to change the z cord to 0 in centerpos.


  3. I added ACE Insurgency onto the map called Sangin, Afghanistan. Everything works good except the MHQ does not randomly spawn, I tried to make it a static spawn (because I know how to), but it still doesn't work. The respawn does not work either. When I die, I simply respawn on respawn_marker marker.


  4. I created a few objects and a few soldiers on Tora Bora. I "safed" it, then I loaded the mission after restarting, and it won't load. It just says "Updating Zone\Contacting Server."

    Here is my mission code:

    
    							  mcc_zone_number=1;
    							  mcc_zone_marker_X=100;
    							  mcc_zone_marker_Y=100;
    							  mcc_zone_markername='1';
    							  mcc_zone_size set [mcc_zone_number,[mcc_zone_marker_X,mcc_zone_marker_Y]];
    
    										  mcc_markerposition=[7640.68,6492.11,-100.188];											  
    										  script_handler = [0] execVM '\mcc_sandbox_mod\mcc\general_scripts\mcc_make_the_marker.sqf';
    										  waitUntil {scriptDone script_handler};
    
    									  mcc_spawntype='';
    									  mcc_classtype='';
    									  mcc_isnewzone=true;
    									  mcc_spawnwithcrew=true;
    									  mcc_spawnname='';
    									  mcc_spawnfaction='';
    									  mcc_zone_number=1;
    									  mcc_zoneinform='NOTHING';
    									  mcc_zone_markername='1';
    									  mcc_spawnbehavior='MOVE';
    									  mcc_grouptype     ='';
    									  mcc_spawndisplayname ='';
    									  mcc_track_units = false;
    									  mcc_awareness = 'DEFAULT';
    									  mcc_sidename = 'WEST';
    									  script_handler = [0] execVM '\mcc_sandbox_mod\mcc\general_scripts\mcc_SpawnStuff.sqf';
    									   waitUntil {scriptDone script_handler};
    									  _string='';
    						 _type=3;
    						['briefing', [_string, _type]] call CBA_fnc_globalEvent;
    						sleep 1;_type=0;
    						 _stringName='Gharunta';
    						 _stringDescription='Taliban forces are using the small village of Gharunta as shelter. They terrorize the villagers, and use their homes to shoot at American soldiers. They've set up machine guns and increased the amount of forces in the city since they got word we're coming.';
    						 _pos = [];
    						['tasks', [_type, _stringName, _stringDescription, _pos]] call CBA_fnc_globalEvent;
    						sleep 1;['simpleSpawn', [[7573.16,6503.65,11], 297.935, 'Land_BagFenceRound', 'AMMO', 'CIV', true, '', '']] call CBA_fnc_globalEvent;
    								MCC_mccFunctionDone = false; 
    								waitUntil {MCC_mccFunctionDone};
    								script_handler = [1] execVM '\mcc_sandbox_mod\mcc\general_scripts\delete\undo.sqf';
    							waitUntil {scriptDone script_handler};
    							['simpleSpawn', [[7571.71,6449.96,11], 302.391, 'Land_BagFenceRound', 'AMMO', 'CIV', true, '', '']] call CBA_fnc_globalEvent;
    								MCC_mccFunctionDone = false; 
    								waitUntil {MCC_mccFunctionDone};
    								script_handler = [1] execVM '\mcc_sandbox_mod\mcc\general_scripts\delete\undo.sqf';
    							waitUntil {scriptDone script_handler};
    							MCC_align3D=true;publicVariable 'MCC_align3D';['simpleSpawn', [[7571.83,6450.21,11], 302.554, 'Land_BagFenceRound', 'AMMO', 'CIV', true, '', '']] call CBA_fnc_globalEvent;
    								MCC_mccFunctionDone = false; 
    								waitUntil {MCC_mccFunctionDone};
    								['simpleSpawn', [[7571.14,6451.15,11.5], 121.583, 'DSHkM_Mini_TriPod_TK_INS_EP1', 'VEHICLE', 'EAST', true, '', '']] call CBA_fnc_globalEvent;
    								MCC_mccFunctionDone = false; 
    								waitUntil {MCC_mccFunctionDone};
    								script_handler = [1] execVM '\mcc_sandbox_mod\mcc\general_scripts\delete\undo.sqf';
    							waitUntil {scriptDone script_handler};
    							['simpleSpawn', [[7571.71,6450.97,11], 122.916, 'DSHkM_Mini_TriPod_TK_INS_EP1', 'VEHICLE', 'EAST', true, '', '']] call CBA_fnc_globalEvent;
    								MCC_mccFunctionDone = false; 
    								waitUntil {MCC_mccFunctionDone};
    								script_handler = [1] execVM '\mcc_sandbox_mod\mcc\general_scripts\delete\undo.sqf';
    							waitUntil {scriptDone script_handler};
    							['simpleSpawn', [[7570.7,6450.65,11], 125.392, 'DSHkM_Mini_TriPod_TK_INS_EP1', 'VEHICLE', 'EAST', true, '', '']] call CBA_fnc_globalEvent;
    								MCC_mccFunctionDone = false; 
    								waitUntil {MCC_mccFunctionDone};
    								script_handler = [1] execVM '\mcc_sandbox_mod\mcc\general_scripts\delete\undo.sqf';
    							waitUntil {scriptDone script_handler};
    							script_handler = [1] execVM '\mcc_sandbox_mod\mcc\general_scripts\delete\undo.sqf';
    							waitUntil {scriptDone script_handler};
    							['simpleSpawn', [[7567.44,6505.52,10], 104.562, 'RU_WarfareBMGNest_PK', 'AMMO', 'CIV', true, '', '']] call CBA_fnc_globalEvent;
    								MCC_mccFunctionDone = false; 
    								waitUntil {MCC_mccFunctionDone};
    								script_handler = [1] execVM '\mcc_sandbox_mod\mcc\general_scripts\delete\undo.sqf';
    							waitUntil {scriptDone script_handler};
    							['simpleSpawn', [[7567.97,6505.31,10], 104.586, 'RU_WarfareBMGNest_PK', 'AMMO', 'CIV', true, '', '']] call CBA_fnc_globalEvent;
    								MCC_mccFunctionDone = false; 
    								waitUntil {MCC_mccFunctionDone};
    								['simpleSpawn', [[7694.9,6520.45,9.5], 106.409, 'Land_fort_bagfence_round', 'AMMO', 'CIV', true, '', '']] call CBA_fnc_globalEvent;
    								MCC_mccFunctionDone = false; 
    								waitUntil {MCC_mccFunctionDone};
    								script_handler = [1] execVM '\mcc_sandbox_mod\mcc\general_scripts\delete\undo.sqf';
    							waitUntil {scriptDone script_handler};
    							['simpleSpawn', [[7694.54,6521.73,9.5], 108.032, 'Land_fort_bagfence_round', 'AMMO', 'CIV', true, '', '']] call CBA_fnc_globalEvent;
    								MCC_mccFunctionDone = false; 
    								waitUntil {MCC_mccFunctionDone};
    								script_handler = [1] execVM '\mcc_sandbox_mod\mcc\general_scripts\delete\undo.sqf';
    							waitUntil {scriptDone script_handler};
    							['simpleSpawn', [[7693.56,6521.65,9.5], 106.948, 'Land_fort_bagfence_round', 'AMMO', 'CIV', true, '', '']] call CBA_fnc_globalEvent;
    								MCC_mccFunctionDone = false; 
    								waitUntil {MCC_mccFunctionDone};
    								['simpleSpawn', [[7693.43,6520.29,10], 107.219, 'TK_INS_Soldier_EP1', 'MAN', 'EAST', true, '', '']] call CBA_fnc_globalEvent;
    								MCC_mccFunctionDone = false; 
    								waitUntil {MCC_mccFunctionDone};
    								['simpleSpawn', [[7654.61,6462.32,6], 109.994, 'TK_INS_Soldier_2_EP1', 'MAN', 'EAST', true, '', '']] call CBA_fnc_globalEvent;
    								MCC_mccFunctionDone = false; 
    								waitUntil {MCC_mccFunctionDone};
    								['simpleSpawn', [[7567.99,6455.25,9.5], 113.891, 'TK_INS_Soldier_2_EP1', 'MAN', 'EAST', true, '', '']] call CBA_fnc_globalEvent;
    								MCC_mccFunctionDone = false; 
    								waitUntil {MCC_mccFunctionDone};
    								['simpleSpawn', [[7619.89,6538.02,5.5], 114.929, 'TK_INS_Soldier_AT_EP1', 'MAN', 'EAST', true, '', '']] call CBA_fnc_globalEvent;
    								MCC_mccFunctionDone = false; 
    								waitUntil {MCC_mccFunctionDone};
    								['simpleSpawn', [[7585,6532.79,4.5], 111.778, 'TK_INS_Soldier_AT_EP1', 'MAN', 'EAST', true, '', '']] call CBA_fnc_globalEvent;
    								MCC_mccFunctionDone = false; 
    								waitUntil {MCC_mccFunctionDone};
    								['simpleSpawn', [[7585.81,6532.38,1], 113.444, 'TK_INS_Warlord_EP1', 'MAN', 'EAST', true, '', '']] call CBA_fnc_globalEvent;
    								MCC_mccFunctionDone = false; 
    								waitUntil {MCC_mccFunctionDone};
    								['simpleSpawn', [[7619.38,6435.01,1], 111.741, 'TK_INS_Warlord_EP1', 'MAN', 'EAST', true, '', '']] call CBA_fnc_globalEvent;
    								MCC_mccFunctionDone = false; 
    								waitUntil {MCC_mccFunctionDone};
    								script_handler = [1] execVM '\mcc_sandbox_mod\mcc\general_scripts\delete\undo.sqf';
    							waitUntil {scriptDone script_handler};
    							['simpleSpawn', [[7612.79,6437.05,2], 111.63, 'TK_INS_Warlord_EP1', 'MAN', 'EAST', true, '', '']] call CBA_fnc_globalEvent;
    								MCC_mccFunctionDone = false; 
    								waitUntil {MCC_mccFunctionDone};
    								['simpleSpawn', [[7658.34,6490.75,2], 110.926, 'TK_INS_Bonesetter_EP1', 'MAN', 'EAST', true, '', '']] call CBA_fnc_globalEvent;
    								MCC_mccFunctionDone = false; 
    								waitUntil {MCC_mccFunctionDone};
    								MCC_align3D=false;publicVariable 'MCC_align3D';['simpleSpawn', [[7562.55,6520.98,5], 109.009, 'TK_INS_Soldier_Sniper_EP1', 'MAN', 'EAST', true, '', '']] call CBA_fnc_globalEvent;
    								MCC_mccFunctionDone = false; 
    								waitUntil {MCC_mccFunctionDone};
    								['simpleSpawn', [[7636.13,6547.31,1], 109.314, 'TK_INS_Soldier_EP1', 'MAN', 'EAST', true, '', '']] call CBA_fnc_globalEvent;
    								MCC_mccFunctionDone = false; 
    								waitUntil {MCC_mccFunctionDone};
    								['simpleSpawn', [[7600.46,6432.58,0], 118.422, 'TK_INS_Soldier_EP1', 'MAN', 'EAST', true, '', '']] call CBA_fnc_globalEvent;
    								MCC_mccFunctionDone = false; 
    								waitUntil {MCC_mccFunctionDone};


  5. How do i intigrate more units into a squad? When i'm doing that, this units can't respawn to other Squadmembers. I gave them the name Hitman116 an Hitman117 and grouped them with Hitman111 When i add them in common/defines.sqf l.:60 I get this errormessage:

    } else { if (playerNames select _id != "") then { playerNames set> 
    Error position:  
    Error Nullteiler File C:\Users\Binary\Documents\ArmA 2 Other Profiles\TFG | Binary\mpmissions\ace_insurgency_1_50.Takistan\common\client\misc\functions.sqf, line 54 
    Error in expression < ""]; }; };

    Look at my previous post if you want to know how to add more units.


  6. Trying to add different units for BLUFOR, I went in and changed the units and redfined their classnames as Defiance44 stated above, the game would load but stay stuck at the loading screen, would never get to the map screen.

    Also trying to remove the randomness of the base and make it spawn in a exact location. I built a FOB and the HQ still randomly spawns around the map.

    Just those two things really.

    You need to define the Hitman units in the defines.sqf where it says, (i.e)"Hitman113, Hitman114". You also need to define the units in-game. And make sure you copy #define westerClasses from defines.sqf to ups.sqf. If the loading screen doesn't go away, you probably missed a comma or slash or quotation mark in the code/scripts.


  7. Hi,

    Today when I edited the ACE Insurgency mission, I was beginning to get frustrated at what I was trying to do. I changed the USMC skins to Desert Camo, and I edited the variables in mission.sqm (actually, I didn't need to edit the variables because they were already set), and now when I spawn in the USMC slot, I spawn where the units spawn at in the mission editor (grid 0,0,0). So please, help!

    SOLVED

    All I had to do was add the name of the new units in common/defines.sqf

    #define westSoldierClasses

    Don't forget to add the name of your name Unit Classnames to this variable if you're adding/editing new units!

    -

    Defiance

×