Jump to content

kdk11

Member
  • Content Count

    493
  • Joined

  • Last visited

  • Medals

  • Medals

Everything posted by kdk11

  1. Ok I have looked through a lot of threads to try find an actual straight forward answer and cant see one. If there is one out there and you know of it please feel free to link it in here! I have spent most of today looking for a fix just incase anyone thinks I am being lazy! I made a mission and when exporting it to MP none of my scripts work? What am I doing wrong? What do I need to change?
  2. Is it not yet possible to put vehicles into the new aircraft? I have looked around in the editor and tried to drive a vehicle in but the ramp does not act like a ramp for vehicles or ground units.
  3. Yeah someone linked it in one of the other threads, I dont use twitter so thats why I did not know. Thanks anyways :)
  4. kdk11

    Apex Gear Feedback

    It shows the icon for me.
  5. kdk11

    Apex Gear Feedback

    That is a shame, we should maybe have some added into game then?.
  6. kdk11

    Apex Gear Feedback

    Unless I am blind, I dont see any backpacks or vests with the new CTRG camo?.
  7. kdk11

    Apex Weapon Feedback

    5. AKM , AKS-74U , AK-12 got bolt hold open on last round?! Many guns have this feature in real life??
  8. kdk11

    Apex Vehicles Feedback

    I just created a thread as this thread was made. My question is 'Is it not yet possible to put vehicles into the new aircraft? I have looked around in the editor and tried to drive a vehicle in but the ramp does not act like a ramp for vehicles or ground units'
  9. Knowing Valve and how long they take to do anything, the DLC will probably be ready for release before they fix the issue lol
  10. Hello I currently have a Data Terminal placed in my mission with AddActions to allow scripts to open and close the Terminal. I was wondering how I would be able to add an action inbetween both the "open" and "close" AddActions so that you have to open the Terminal before being able to use my second AddAction and before being able to use the "close" AddAction?. Below is the script I am using that I found on the forum, thanks to simon1279.
  11. Thanks that worked :D I have removed the close action as I dont need it, it can just stay open. I have one last question, I know about the sleep command am just wondering where in the terminal.sqf I would put it so that there is a pause from opening the terminal to then being able to chose the next action?.
  12. Thanks for the reply and the example mission, I appreciate that and I can kinda see how it works. But my second option will be "power off grid" and then I want that action to execute the script "lights.sqf" that I have in my mission folder. So I tried this... this addAction ["Open Terminal","terminal.sqf",0,2,true,true,"","(_target getVariable ['KDK_TerminalStatus',0]) == 0"]; this addAction ["Power off grid","lights.sqf",1,2,true,true,"","(_target getVariable ['KDK_TerminalStatus',0]) == 1"]; this addAction ["Close Terminal","terminal.sqf",2,2,true,true,"","(_target getVariable ['KDK_TerminalStatus',0]) == 2"]; And it did not work, and I know why it did not work. But to get it to work I assume that I somehow have to put my "lights.sqf" in the code below?. I will try and research how to do this but I just know once I start playing around with your code I will break something lol. params ["_object","_state"]; _state = _this select 3; switch _state do { case 0: { // Open terminal _object setVariable ["KDK_TerminalStatus",1,true]; [_object,3] call BIS_fnc_dataTerminalAnimate; sleep 2; with uiNamespace do { disableSerialization; _object setObjectTexture [0,"\A3\Missions_F_EPA\video\A_in_intro.ogv"]; 1100 cutRsc ["RscMissionScreen","PLAIN"]; _scr = BIS_RscMissionScreen displayCtrl 1100; _scr ctrlSetPosition [-10,-10,0,0]; _scr ctrlSetText "\A3\Missions_F_EPA\video\A_in_intro.ogv"; _scr ctrlAddEventHandler ["VideoStopped", { (uiNamespace getVariable "BIS_RscMissionScreen") closeDisplay 1; }]; _scr ctrlCommit 0; }; }; case 1: { // Use terminal _object setVariable ["KDK_TerminalStatus",2,true]; }; case 2: { // Close terminal _object setVariable ["KDK_TerminalStatus",0,true]; [_object,0] call BIS_fnc_dataTerminalAnimate; }; }; Thanks again for your time dude :)
  13. And would these lines go into each script? or my init.sqf maybe? Sorry I am not very good with coding.
  14. Thanks for the reply :) Would I use the code above in the init of the Terminal?.
  15. Hello does anyone know how if possible to make units sit on the skids of a little bird? for example I have 4 units being heli lifted into mission, but 2 sit in back and 2 sit on the skids, I want them all sitting on the skids and none in the back of the heli
  16. Is it possible to make all Opfor AI in my mission spawn with certain loadouts? I know all about the virtual arsenal and how to use that, my problem is I use scripts to spawn in my AI so there is no physical unit on the map in the editor to edit. So I was just wondering if there is a script that will make every opfor that is spawned in/spawns in to my mission, have certain loadouts?
  17. Oh ok my bad haha I shall try that now. Mods used: ACE 3 - http://www.armaholic.com/page.php?id=28557 Kunduz Afghanistan - http://www.armaholic.com/page.php?id=27882 British Army mod - http://www.armaholic.com/page.php?id=27917 CBA - http://www.armaholic.com/page.php?id=18767 CAF Aggressors - http://www.armaholic.com/page.php?id=24441 Ambient Battle sounds mod - http://www.armaholic.com/page.php?id=27976( I dont actually use this mod but for some reason I have to have it enabled otherwise it will not let me edit my mission) There is no server IP though, I usually just host it from my machine. However I can send you the mission if you want to look at it :) IT WORKS!!!!!!!!!! :D :D Thank you my friend!!
  18. kdk11

    AI Spawn Script Pack

    Hello I recently made this post - https://forums.bistudio.com/topic/183668-making-ai-opfor-all-spawn-with-certain-gear/ I realised I should have just asked in here for help. If anyone knows how to get a custom init working with these scripts I would really appreciate the help.
  19. The script download actually comes with some working missions, however mine would mean you would need to download like 7 mods lol and I am sure you dont want to do that. if ((typeOf _this select 0) == "O_soldier_AAT_F") then { removeAllWeapons _this select 0; removeAllItems _this select 0; removeAllAssignedItems _this select 0; removeUniform _this select 0; removeVest _this select 0; removeBackpack _this select 0; removeHeadgear _this select 0; removeGoggles _this select 0; _this select 0 forceAddUniform "U_CAF_AG_ME_ROBES_03d"; _this select 0 addItemToUniform "CAF_30Rnd_545x39_AK"; for "_i" from 1 to 2 do {_this select 0 addItemToUniform "1Rnd_HE_Grenade_shell";}; _this select 0 addVest "V_BandollierB_blk"; _this select 0 addItemToVest "ACE_Banana"; for "_i" from 1 to 5 do {_this select 0 addItemToVest "CAF_30Rnd_545x39_AK";}; for "_i" from 1 to 2 do {_this select 0 addItemToVest "SmokeShell";}; _this select 0 addItemToVest "HandGrenade"; _this select 0 addHeadgear "H_caf_ag_turban"; _this select 0 addWeapon "caf_ak74gl"; _this select 0 linkItem "ItemMap"; _this select 0 linkItem "ItemCompass"; _this select 0 linkItem "ItemWatch"; _this select 0 linkItem "ItemRadio"; _this select 0 setFace "PersianHead_A3_02"; _this select 0 setSpeaker "ACE_NoVoice"; }; Like so? if ((typeOf this) == "O_soldier_AAT_F") then { if ((typeOf _this select 0) == "O_soldier_AAT_F") then { Tried with no luck. I seen this post on the actual thread for the scripts Corporal Members 71 posts Posted 30 September 2013 - 04:51 @DoRo, I'm using dev build so I didnt get that mission open in editor, but looked in sqm and spotted ""nul = [this] execVM 'RPKsoldier.sqf'""as custom init in first fillHouse calling line. I think here's extra " " on it (but it might be just becouse I'm looking at it in text editor) and semicolon missing, so try: "nul = [this] execVM 'RPKsoldier.sqf';"Otherwise it looks ok to me. :) Edited by spunFIN, 30 September 2013 - 05:01. Like This Quote MultiQuote Report #38 DoRo Staff Sergeant Members 240 posts Posted 30 September 2013 - 05:12 spunFIN said I'm also on DEV Build But I made that change and now its working perfectly! Thanks a ton for the tool! But when I try and delete it out of my SQM it just comes back everytime I load the mission.
  20. So I have done what I think you told me to do. This is my calling lines nul = [comp1,2,false,2,[25,0],150,"default",nil,"nul = [this] execVM 'opfor_custom_gear.sqf'",nil] execVM "LV\fillHouse.sqf"; and then this is my 'opfor_custom_gear.sqf' if ((typeOf this) == "O_Soldier_SL_F") then { removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; this forceAddUniform "U_CAF_AG_ME_ROBES_03a"; for "_i" from 1 to 2 do {this addItemToUniform "CAF_30Rnd_762x39_AK";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_762x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "HandGrenade";}; this addHeadgear "H_caf_ag_turban"; this addWeapon "caf_AK47"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; }; if ((typeOf this) == "O_Soldier_GL_F") then { removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; this forceAddUniform "U_CAF_AG_ME_ROBES_03d"; this addItemToUniform "CAF_30Rnd_545x39_AK"; for "_i" from 1 to 2 do {this addItemToUniform "1Rnd_HE_Grenade_shell";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_545x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; this addItemToVest "HandGrenade"; this addHeadgear "H_caf_ag_turban"; this addWeapon "caf_ak74gl"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; }; if ((typeOf this) == "O_Soldier_A_F") then { removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; this forceAddUniform "U_CAF_AG_ME_ROBES_03a"; for "_i" from 1 to 2 do {this addItemToUniform "CAF_30Rnd_762x39_AK";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_762x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "HandGrenade";}; this addHeadgear "H_caf_ag_turban"; this addWeapon "caf_AK47"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; }; if ((typeOf this) == "O_soldier_AR_F") then { removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; this forceAddUniform "U_CAF_AG_ME_ROBES_03d"; this addItemToUniform "CAF_30Rnd_545x39_AK"; for "_i" from 1 to 2 do {this addItemToUniform "1Rnd_HE_Grenade_shell";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_545x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; this addItemToVest "HandGrenade"; this addHeadgear "H_caf_ag_turban"; this addWeapon "caf_ak74gl"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; }; if ((typeOf this) == "O_medic_F") then { removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; this forceAddUniform "U_CAF_AG_ME_ROBES_03a"; for "_i" from 1 to 2 do {this addItemToUniform "CAF_30Rnd_762x39_AK";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_762x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "HandGrenade";}; this addHeadgear "H_caf_ag_turban"; this addWeapon "caf_AK47"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; }; if ((typeOf this) == "O_engineer_F") then { removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; this forceAddUniform "U_CAF_AG_ME_ROBES_03d"; this addItemToUniform "CAF_30Rnd_545x39_AK"; for "_i" from 1 to 2 do {this addItemToUniform "1Rnd_HE_Grenade_shell";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_545x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; this addItemToVest "HandGrenade"; this addHeadgear "H_caf_ag_turban"; this addWeapon "caf_ak74gl"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; }; if ((typeOf this) == "O_soldier_exp_F") then { removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; this forceAddUniform "U_CAF_AG_ME_ROBES_03a"; for "_i" from 1 to 2 do {this addItemToUniform "CAF_30Rnd_762x39_AK";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_762x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "HandGrenade";}; this addHeadgear "H_caf_ag_turban"; this addWeapon "caf_AK47"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; }; if ((typeOf this) == "O_soldier_M_F") then { removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; this forceAddUniform "U_CAF_AG_ME_ROBES_03d"; this addItemToUniform "CAF_30Rnd_545x39_AK"; for "_i" from 1 to 2 do {this addItemToUniform "1Rnd_HE_Grenade_shell";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_545x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; this addItemToVest "HandGrenade"; this addHeadgear "H_caf_ag_turban"; this addWeapon "caf_ak74gl"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; }; if ((typeOf this) == "O_soldier_AA_F") then { removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; this forceAddUniform "U_CAF_AG_ME_ROBES_03a"; for "_i" from 1 to 2 do {this addItemToUniform "CAF_30Rnd_762x39_AK";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_762x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "HandGrenade";}; this addHeadgear "H_caf_ag_turban"; this addWeapon "caf_AK47"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; }; if ((typeOf this) == "O_soldier_AT_F") then { removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; this forceAddUniform "U_CAF_AG_ME_ROBES_03d"; this addItemToUniform "CAF_30Rnd_545x39_AK"; for "_i" from 1 to 2 do {this addItemToUniform "1Rnd_HE_Grenade_shell";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_545x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; this addItemToVest "HandGrenade"; this addHeadgear "H_caf_ag_turban"; this addWeapon "caf_ak74gl"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; }; if ((typeOf this) == "O_officer_F") then { removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; this forceAddUniform "U_CAF_AG_ME_ROBES_03a"; for "_i" from 1 to 2 do {this addItemToUniform "CAF_30Rnd_762x39_AK";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_762x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "HandGrenade";}; this addHeadgear "H_caf_ag_turban"; this addWeapon "caf_AK47"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; }; if ((typeOf this) == "O_soldier_repair_F") then { removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; this forceAddUniform "U_CAF_AG_ME_ROBES_03d"; this addItemToUniform "CAF_30Rnd_545x39_AK"; for "_i" from 1 to 2 do {this addItemToUniform "1Rnd_HE_Grenade_shell";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_545x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; this addItemToVest "HandGrenade"; this addHeadgear "H_caf_ag_turban"; this addWeapon "caf_ak74gl"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; }; if ((typeOf this) == "O_Soldier_F") then { removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; this forceAddUniform "U_CAF_AG_ME_ROBES_03a"; for "_i" from 1 to 2 do {this addItemToUniform "CAF_30Rnd_762x39_AK";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_762x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "HandGrenade";}; this addHeadgear "H_caf_ag_turban"; this addWeapon "caf_AK47"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; }; if ((typeOf this) == "O_soldier_LAT_F") then { removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; this forceAddUniform "U_CAF_AG_ME_ROBES_03d"; this addItemToUniform "CAF_30Rnd_545x39_AK"; for "_i" from 1 to 2 do {this addItemToUniform "1Rnd_HE_Grenade_shell";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_545x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; this addItemToVest "HandGrenade"; this addHeadgear "H_caf_ag_turban"; this addWeapon "caf_ak74gl"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; }; if ((typeOf this) == "O_Soldier_lite_F") then { removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; this forceAddUniform "U_CAF_AG_ME_ROBES_03a"; for "_i" from 1 to 2 do {this addItemToUniform "CAF_30Rnd_762x39_AK";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_762x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "HandGrenade";}; this addHeadgear "H_caf_ag_turban"; this addWeapon "caf_AK47"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; }; if ((typeOf this) == "O_Soldier_TL_F") then { removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; this forceAddUniform "U_CAF_AG_ME_ROBES_03d"; this addItemToUniform "CAF_30Rnd_545x39_AK"; for "_i" from 1 to 2 do {this addItemToUniform "1Rnd_HE_Grenade_shell";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_545x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; this addItemToVest "HandGrenade"; this addHeadgear "H_caf_ag_turban"; this addWeapon "caf_ak74gl"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; }; if ((typeOf this) == "O_soldier_AAR_F") then { removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; this forceAddUniform "U_CAF_AG_ME_ROBES_03a"; for "_i" from 1 to 2 do {this addItemToUniform "CAF_30Rnd_762x39_AK";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_762x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "HandGrenade";}; this addHeadgear "H_caf_ag_turban"; this addWeapon "caf_AK47"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; }; if ((typeOf this) == "O_soldier_AAA_F") then { removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; this forceAddUniform "U_CAF_AG_ME_ROBES_03d"; this addItemToUniform "CAF_30Rnd_545x39_AK"; for "_i" from 1 to 2 do {this addItemToUniform "1Rnd_HE_Grenade_shell";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_545x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; this addItemToVest "HandGrenade"; this addHeadgear "H_caf_ag_turban"; this addWeapon "caf_ak74gl"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; }; if ((typeOf this) == "O_soldier_AAT_F") then { removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; this forceAddUniform "U_CAF_AG_ME_ROBES_03a"; for "_i" from 1 to 2 do {this addItemToUniform "CAF_30Rnd_762x39_AK";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_762x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "HandGrenade";}; this addHeadgear "H_caf_ag_turban"; this addWeapon "caf_AK47"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; }; if ((typeOf this) == "O_recon_exp_F") then { removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; this forceAddUniform "U_CAF_AG_ME_ROBES_03d"; this addItemToUniform "CAF_30Rnd_545x39_AK"; for "_i" from 1 to 2 do {this addItemToUniform "1Rnd_HE_Grenade_shell";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_545x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; this addItemToVest "HandGrenade"; this addHeadgear "H_caf_ag_turban"; this addWeapon "caf_ak74gl"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; }; if ((typeOf this) == "O_recon_JTAC_F") then { removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; this forceAddUniform "U_CAF_AG_ME_ROBES_03a"; for "_i" from 1 to 2 do {this addItemToUniform "CAF_30Rnd_762x39_AK";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_762x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "HandGrenade";}; this addHeadgear "H_caf_ag_turban"; this addWeapon "caf_AK47"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; }; if ((typeOf this) == "O_recon_M_F") then { removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; this forceAddUniform "U_CAF_AG_ME_ROBES_03d"; this addItemToUniform "CAF_30Rnd_545x39_AK"; for "_i" from 1 to 2 do {this addItemToUniform "1Rnd_HE_Grenade_shell";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_545x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; this addItemToVest "HandGrenade"; this addHeadgear "H_caf_ag_turban"; this addWeapon "caf_ak74gl"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; }; if ((typeOf this) == "O_recon_medic_F") then { removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; this forceAddUniform "U_CAF_AG_ME_ROBES_03a"; for "_i" from 1 to 2 do {this addItemToUniform "CAF_30Rnd_762x39_AK";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_762x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "HandGrenade";}; this addHeadgear "H_caf_ag_turban"; this addWeapon "caf_AK47"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; }; if ((typeOf this) == "O_recon_F") then { removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; this forceAddUniform "U_CAF_AG_ME_ROBES_03d"; this addItemToUniform "CAF_30Rnd_545x39_AK"; for "_i" from 1 to 2 do {this addItemToUniform "1Rnd_HE_Grenade_shell";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_545x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; this addItemToVest "HandGrenade"; this addHeadgear "H_caf_ag_turban"; this addWeapon "caf_ak74gl"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; }; if ((typeOf this) == "O_recon_LAT_F") then { removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; this forceAddUniform "U_CAF_AG_ME_ROBES_03a"; for "_i" from 1 to 2 do {this addItemToUniform "CAF_30Rnd_762x39_AK";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_762x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "HandGrenade";}; this addHeadgear "H_caf_ag_turban"; this addWeapon "caf_AK47"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; }; if ((typeOf this) == "O_soldier_AAR_F") then { removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; this forceAddUniform "U_CAF_AG_ME_ROBES_03d"; this addItemToUniform "CAF_30Rnd_545x39_AK"; for "_i" from 1 to 2 do {this addItemToUniform "1Rnd_HE_Grenade_shell";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_545x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; this addItemToVest "HandGrenade"; this addHeadgear "H_caf_ag_turban"; this addWeapon "caf_ak74gl"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; }; if ((typeOf this) == "O_soldier_AAA_F") then { removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; this forceAddUniform "U_CAF_AG_ME_ROBES_03a"; for "_i" from 1 to 2 do {this addItemToUniform "CAF_30Rnd_762x39_AK";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_762x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "HandGrenade";}; this addHeadgear "H_caf_ag_turban"; this addWeapon "caf_AK47"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; }; if ((typeOf this) == "O_soldier_AAT_F") then { removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; this forceAddUniform "U_CAF_AG_ME_ROBES_03d"; this addItemToUniform "CAF_30Rnd_545x39_AK"; for "_i" from 1 to 2 do {this addItemToUniform "1Rnd_HE_Grenade_shell";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_545x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; this addItemToVest "HandGrenade"; this addHeadgear "H_caf_ag_turban"; this addWeapon "caf_ak74gl"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; }; But for some reason it does not change the uniform they are wearing, I looked in the AI spawn script pack scripts and took all the classnames for soldiers used in the script to make sure I covered them all. Am I doing something wrong?.
  21. comment "Exported from Arsenal by KDK"; comment "Remove existing items"; removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; comment "Add containers"; this forceAddUniform "U_CAF_AG_ME_ROBES_03a"; for "_i" from 1 to 2 do {this addItemToUniform "CAF_30Rnd_762x39_AK";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_762x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "HandGrenade";}; this addHeadgear "H_caf_ag_turban"; comment "Add weapons"; this addWeapon "caf_AK47"; comment "Add items"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; comment "Set identity"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; comment "Exported from Arsenal by KDK"; comment "Remove existing items"; removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; comment "Add containers"; this forceAddUniform "U_CAF_AG_ME_ROBES_03d"; this addItemToUniform "CAF_30Rnd_545x39_AK"; for "_i" from 1 to 2 do {this addItemToUniform "1Rnd_HE_Grenade_shell";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_545x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; this addItemToVest "HandGrenade"; this addHeadgear "H_caf_ag_turban"; comment "Add weapons"; this addWeapon "caf_ak74gl"; comment "Add items"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; comment "Set identity"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; So how would I put this code into the "opfor_custom_gear.sqf"?. As it is our would I need to change it for it to work via a script?. if ((typeOf this) == "O_Soldier_SL_F") then { comment "Exported from Arsenal by KDK"; comment "Remove existing items"; removeAllWeapons this; removeAllItems this; removeAllAssignedItems this; removeUniform this; removeVest this; removeBackpack this; removeHeadgear this; removeGoggles this; comment "Add containers"; this forceAddUniform "U_CAF_AG_ME_ROBES_03d"; this addItemToUniform "CAF_30Rnd_545x39_AK"; for "_i" from 1 to 2 do {this addItemToUniform "1Rnd_HE_Grenade_shell";}; this addVest "V_BandollierB_blk"; this addItemToVest "ACE_Banana"; for "_i" from 1 to 5 do {this addItemToVest "CAF_30Rnd_545x39_AK";}; for "_i" from 1 to 2 do {this addItemToVest "SmokeShell";}; this addItemToVest "HandGrenade"; this addHeadgear "H_caf_ag_turban"; comment "Add weapons"; this addWeapon "caf_ak74gl"; comment "Add items"; this linkItem "ItemMap"; this linkItem "ItemCompass"; this linkItem "ItemWatch"; this linkItem "ItemRadio"; comment "Set identity"; this setFace "PersianHead_A3_02"; this setSpeaker "ACE_NoVoice"; };
  22. nul = [comp1,2,true,2,[10,0],10,"default",nil,nil,nil] execVM "LV\fillHouse.sqf"; Using this app made by the same person who's script I am using - http://lostvar.com/AISSP/AISSP.html
  23. I am using this - http://lostvar.com/AISSP/documentation.html But I don't want every Opfor Soldier to be the same, I want them to have different clothing, weapons etc. Also I don't see how the code you posted would help with what I want to do? I am not good with coding but looking at what you posted it seems thats to add a Medic and change his gear?.
  24. I shall wait for you to return from your holidays or work and if you get time you can help me :)
×