Jump to content

bobrock011

Member
  • Content Count

    27
  • Joined

  • Last visited

  • Medals

Posts posted by bobrock011


  1. Just place the eventhandler in the aircrafts init and place a trigger over the runway named Trig

    this addEventHandler ["Fired", {_this execVM "trackbomb.sqf";}];

    It detects a bomb being launched, then tracks it and spawns a crater at point of impact , it then checks to see if the crater spawned inside the trigger.

    Save as Trackbomb.sqf

    // place the event handler in the aircafts init
    //this addEventHandler ["Fired", {_this execVM "trackbomb.sqf";}];
    //
    
    _plane   = _this select 0;// unit
    _weapon  = _this select 1;// weapon class
    _ammo    = _this select 4;// ammo class
    _mag     = _this select 5;// magazine class
    _missile = _this select 6;// missile
    
    _exit = true;
    
    {if (_weapon == _x)  then {_exit = false }; } count ["bomblaunchera10","AirBombLauncher","BombLauncher","BombLauncherF35","Ch29Launcher","Ch29Launcher_Su34","Mk82BombLauncher","Mk82BombLauncher_6","HeliBombLauncher","HellfireLauncher","FFARLauncher_14","FFARLauncher"];
    
    if (_exit) exitwith {};
    
    _target_area  = trig;// trigger name of target
    
    _impact = [];
    _craterdir  = (getdir _missile);
    
    while {alive _missile} do {
    _impact = getPos _missile;
    sleep 0.5;
    };
    
    // spawn crater at impact point
    _crater1 = "CraterLong" createVehicle ( _impact);
    _crater1 setdir _craterdir;
    
    //Check for crater spawned in trigger area
    _hit_detection = [_target_area, getPos _crater1] call BIS_fnc_inTrigger;
    hint format ["Hit Runway %1",_hit_detection];
    

    Does anyone have a better way to pass the trigger name when you an event handler.

    thanks for this script, F2K_Sel. It adds even more immersion to my mission by making me line up my shots carefully in the middle of runway so enemy fighters don't take off. Works great and really easy to use.


  2. Shay_gmain, thanks so much for making this, its amazing and fun.

    I looked through previous posts but could not find answer: when playing Lingor, I tried to select GAL Lingor Army [WEST] group to spawn but it does not show any groups in the class menu. Same for other Lingor factions... And I did press Update multiple times. Is there any way to make groups show up and use them?

    I can select them as individual units but no groups at all. The Lingor units addon is installed correctly as I am able to use all groups in the regular editor.

    Any help appreciated.


  3. Hi Mandoble, thanks for the quick reply.

    I placed your line into the init.sqf with correct class name of Mig15 I am using and upon starting a preview I did get blue message saying "Activating Mando Systems". I also have usual options in the side menu, such as "MMA Toggle HUD" and so on, BUT.... no flares or chaff when I press left SHIFT or "R" and HUD is still the default one from the mod.

    I only really want flares/chaff function so is there something else I need in that init.sqf ?

    sorry to bother you again and thanks for any advice.


  4. ya know i noticed this as well. i was able to fix that issue by changing my viewdistance via FNC instant veiwdistance mod. now they show up properly. now i have a question. when in the UAV it shows 10 hellfires but you don't seem to be able to shoot them. am i doing something wrong?

    I must also say that this mod is outstanding!!!

    hey thanks for the info.... as for Hellfire, just hold the Left button for 2-3 sec. and it will fire, usually few missiles....I don't know if thats intended.


  5. I would like to spawn a flying Mi24 with the pilot/gunner crew by a trigger (already done) and be able to team switch to gunner or pilot so I can fly it myself for a while (not able to do). After I'm done with the enemy targets, I would like to switch back to playing as one of my infantry men and delete the Mi24.

    The reason I am doing this is because I am making a mission that features invading the Island from the sea. So, I do not want an option of starting the unit on the ground. Also, it would be neat to be able to spawn various playable units and delete them afterwards so I can save resources.


  6. @buliwyf

    I used this code in my trigger:

    ac = [markerPos "ship", random 360, "Mi24_p", EAST] call BIS_fnc_spawnVehicle; ac doMove getMarkerPos "airport";

    "ac" is the name of my heli. It works fine, it spawns and fly to the correct marker but I want to be able to control it as a pilot/gunner, and then delete it once I'm done with it.

    @ fuzzy bandit

    I guess the code I used counts as a script by BIS.


  7. I've set the SOM module to provide me with artillery, transport and CAS. It is synced to the Squad Leader, so if I play my mission as a Squad Leader it is constantly displaying message in the right upper corner of the screen saying which support options I have available. Like, it doesn't go away, at all. How do I get rid of that message so its not constantly on my screen? Its blocking the hint messages I've set with my triggers. Thanks for any help.


  8. I am making a mission where player is a pilot in the A10 flying CAS. So I got my ground soldiers to deploy red smoke on targets by a trigger and create option in Radio menu (0-0-1) "Confirm Red Smoke". How do I actually trigger next action after pressing 0-0-1? It is important to me that the custom radio message be available only after soldiers deploy smoke, not all the time by using Radio Alpha trigger. Any help and advice appreciated.

    == Nevermind, figured it out. In case someone else have a similar question, I used triggerActivated _trigger command and that solved everything.


  9. bobrock011, some addon is changing the class name of your A10, as A2 A10 is "A10", not "a10" with lowercase. Try to locate that addon and make sure you have its latest version.

    Mandoble, thanks to your last advice I finally managed to solve my A10 problem. I tracked the issue to addon called Project '85 Weapons and Config that was required for DIH_African units I used in my missions. After removing it everything worked great. Now I can finally enjoy blasting everything with my A10 with style :D. I was also able to figure out how to properly use Sidewinder missiles as well.

    Thanks for the help and please keep up your work with the mod. Cheers.


  10. Mandoble, I did what you said and this is the message I got:

    a10

    ["GAU8","MaverickLauncher","SidewinderLaucher_AH1Z","BombLauncherA10","FFARLauncher_14"]

    This was done having only @CBA and @mma, @mma_xex on. I also got the same message with the ACE on. If you look at the message it said "SidewinderLaucher_AH1Z" - that's not my typo, its actually like that in the message. One more question: is it normal that when using your mod, I can not select certain weapons by pressing "F" key ? For example, on most planes no matter what HUD mod I select, I do not have access to Sidewinder missiles? Any ideas?

    I really appreciate your time helping me with this. Cheers.


  11. Thats strange -just tried it and it works fine here. :confused:

    Any other mods your running?

    yes: ACE, ACEX, CBA, CBA\rsync, JTD (fire and smoke)

    I did try running the Mando mod without ANY other mod, but still same sad

    result. I even tried with script_suite method and even one of the missions on Utes that is included with the mod in download, and still A10 (a10.pbo with a10.pbo.bi.bisign in the addon folder) does not initialize Mando systems. I'm lost here. Thanks for reply.


  12. First of all big thanks to Mandoble for continuing amazing work... I need to plan my time so I can enjoy all the goodness of the last update.. its massive and great.

    My question is to all users: I still do not have any Mando Missile stuff working on A10.... no HUD, no LGB camera option, no Rearm option... nothing. Every other supported plane/heli works just fine and Mando system initialize just fine, but for A10 nothing. I am using A10 with the same class name, not STI or ACE version. I reinstalled the Arma2, regularly updated to new versions of this mod and still nothing. What's going on here?!?! Did anyone have this problem before or any ideas how to fix this? Much obliged.

×