Jump to content

Maff

Member
  • Content Count

    234
  • Joined

  • Last visited

  • Medals

Everything posted by Maff

  1. I have never played DCG, but there are 2 mine detectors in ACE. Classnames: ACE_VMH3 ACE_VMM3 Either one will take up a pistol slot. If I remember right, you need to activate the mine detector via ACE Self-Interact, and the detection range is ~ 5 - 7 metres. So... Move slow!
  2. See above. I edited my last post. You can pick a units loadout via ACE Arsenal then export it as an array and paste inside your sqf.
  3. No bother. I have had my fair share of headaches with loadout scripts too! Have you played with setUnitLoadout yet? EDIT: You can export the loadout array from ACE Arsenal. It also looks neater in your sqf.
  4. OK. I just noticed you edited your first post. // MK 17 is selected then all is good. if (_rifle isEqualTo "rhs_weap_mk17_STD") then { for "_i" from 1 to 4 do {player addItemToBackpack _mag1;}; for "_i" from 1 to 3 do {player addItemToBackpack _mag2;}; }; // But below you have if () then {} else {}; // Which adds the unusable 7.62 mags to the MK17 loadout. if (_rifle isEqualTo "rhs_weap_sr25_d") then { for "_i" from 1 to 4 do {player addItemToBackpack "rhsusf_20Rnd_762x51_SR25_m118_special_Mag";}; for "_i" from 1 to 3 do {player addItemToBackpack "rhsusf_20Rnd_762x51_SR25_m993_Mag";}; } else { for "_i" from 1 to 4 do {player addItemToBackpack "ACE_20Rnd_762x51_M118LR_Mag";}; for "_i" from 1 to 3 do {player addItemToBackpack "ACE_20Rnd_762x51_M993_AP_Mag";}; }; Quick solution would be to do if (_rifle isEqualTo "THIS_WEAPON") then { }; for each of your weapons.
  5. I tested it in ArmA and it works for me when adding the semicolon on line 53. I had to change some of the class names as I don't have the mods. Are you running all the required mods?
  6. So the player never gets the M9? I'm firing up ArmA...
  7. Take another look at Line 53. } or // Should be };
  8. We tried to get a piano that went up to 11, but at 3AM it wasn't happening!
  9. Our group tested settings out on our public server last night, we were very impressed! That is the best way to learn in my opinion. It's trial and error, brother. You can also set up a Zeus scenario that sends limited enemies at a time to test the updated medical system. It's a lot better, and more fun, than shooting each other where you stand. Believe me! Enjoy.
  10. Maff

    Merry X-Mas!

    Arghahahahahaha! Seriously... Merry Christmas, brothers and sisters!
  11. Maff

    JBOY Dunk Tank

    You mad man. I love it!
  12. You can return the animate names and animationPhase with: getArray (configfile >> "CfgVehicles" >> "Land_Target_Dueling_01_F" >> "SimpleObject" >> "animate") // [["plate_1_rot",0],["plate_2_rot",0],["plate_3_rot",0],["plate_4_rot",1],["plate_5_rot",1],["plate_6_rot",1]] There is a function that already does this for the Land_Target_Dueling_01_F object. It uses a HitPart Event Handler: // Make all plates red. { if ((MyTarget animationPhase _x) < 0.5) then { MyTarget animate [_x, 1]; }; } forEach ["plate_1_rot", "plate_2_rot","plate_3_rot","plate_4_rot","plate_5_rot","plate_6_rot"];
  13. Maff

    babe_nvg error

    The Steam link, or profile, may be private. I can't view it. Can you upload it elsewhere? imgur maybe?
  14. Maff

    Mines in Trigger

    RevealMines is incorrect. The command is revealMine. This should do the trick; { east revealMine _x; } forEach (allMines select { _x inArea minefield_1 }); Change minefield_1 to the name of your trigger, or marker area.
  15. I have been attempting to return a list of first and last names from the configs using the following; _fn = (configfile >> "CfgWorlds" >> "GenericNames" >> "NATOMen" >> "FirstNames"); _ln = (configfile >> "CfgWorlds" >> "GenericNames" >> "NATOMen" >> "LastNames"); Sadly I haven't had any luck as the list of names aren't in an array. I can return names if I already know the name which is... Infuriating! getText (configfile >> "CfgWorlds" >> "GenericNames" >> "NATOMen" >> "FirstNames" >> "aaron_baf") // "Aaron" - What a surprise!! Does anyone have a solution?
  16. @johnnyboy A friend of mine wanted a scripting solution to retrieve a list of names Spanish names from CUP Units to assign to civilian agents spawned in progress.
  17. Maff

    SP 10 CYPHER: SYNDIKAT

    Looks like you may be missing this mod. Edit: Steam link.
  18. Maff

    Spawn 700 units

    You aim TOO LOW, kid! Need or want? You may have better luck / performance spawning units / groups in dribs and drabs. I want, no need, to check this out. ~ 11GB worth of mods. I'll take your word for it. I am out.
  19. Maff

    3CB BAF Weapons

    No worries.
  20. Maff

    3CB BAF Weapons

    @evrik Is there anyway to disable raising the height of the static GIMPY ( "UK3CB_BAF_Static_L7A2_Deployed_Low" )? I can see in the config browser that the action to alter height calls a function ( UK3CB_BAF_Weapons_Static_fnc_can_alter_height ) to check condition. I'm hoping there is a function to call or setVariable I can set to achieve this. Cheers.
  21. Gangsta! Can I use this on my Altis Life server, @Tova?
  22. Maff

    AI Turn in/out

    I haven't testing Gunter's suggestion but I don't think setUnitPos would work. Another suggestion would be to use TurnOut action. You may need to set the turned out units behavior to CARELESS. I can't test it right now though.
×