Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: RPG man fire on Blackhawk

  1. #1

    Question RPG man fire on Blackhawk

    I want to make mission where RPG man has fire on Blackhawk and hit it.How can I make to he fire on Blackhawk and hit it with only 1 rocket?



    SORRY FOR BAD ENGLISH
    Editor is my life!

  2. #2
    I shall not insult moderators
    Join Date
    Nov 25 2010
    Posts
    1,576
    You can adapt this for a guaranteed hit (choose angles carefully or the rocket will track) :
    http://www.kylania.com/ex/?p=21
    Swap the laser target for the helicopter, change ammo type to rpg and set launch position to the AI, I adapted it for an A10 to drop a laser guided bomb from a higher speed an altitude rather than the standard kamikazi, bomb run of certain death, but it will work for a range of situations:
    To see the ammo in action put this in a radio trigger:
    Code:
    rkt = "R_PG7VL_AT" createVehicle getpos player; rkt setpos [ getPos player select 0, getPos player select 1, +2]
    Info to help you:
    http://browser.six-projects.net/cfg_...fig?version=58
    http://browser.six-projects.net/cfg_...fig?version=58

    http://forums.bistudio.com/showthrea...r-crash-script
    http://forums.bistudio.com/showthrea...wk#post1981309
    http://forums.bistudio.com/showthrea...tor-Fail/page2
    http://forums.bistudio.com/showthrea...ge#post1753124
    http://forums.bistudio.com/showthrea...ge#post1815576
    http://forums.bistudio.com/showthrea...struction-Help

    alternative:
    This works if the helicopter speed is limited, distance is <100m, unit skill is high and flightpath is over AT unit.
    Code:
    doStop unitName;
    unitName setUnitPos "up";
    unitName removeWeapon "AK_107_Kobra"; //whatever primary weapon is
    unitName selectWeapon "RPG7V";
    unitName dotarget heliName;
    sleep 5;
    gameLogicName action ["useWeapon", vehicle unitName, unitName, 0];
    Last edited by PELHAM; Apr 9 2012 at 02:43.

  3. #3
    Lance Corporal KrisSerbia's Avatar
    Join Date
    Apr 7 2012
    Location
    Beograd, Serbia
    Posts
    45
    Author of the Thread

    Thumbs up

    Thanks man that's realy good.Im serbian and i dont't understand that I need here to laser traget for rpg hit or rpg men will use his rpg or both?




    SORRY FOR BAD ENGLISH

  4. #4
    I shall not insult moderators
    Join Date
    Nov 25 2010
    Posts
    1,576
    If you give me a few hours I will do an example mission as I would find this useful too (no laserTarget).
    If you use kylania's script without change, you will need laser target.
    Alternative - no lasertarget but not 100% guaranteed hit.

  5. #5
    First Sergeant Buliwyf's Avatar
    Join Date
    Jan 1 2004
    Location
    Hamburg / Germany
    Posts
    823
    Quote Originally Posted by KrisSerbia View Post
    Im serbian..
    Not only english people can speak/understand english language... the whole world speaks english... expected serbian?

    ;o)

  6. #6
    I shall not insult moderators
    Join Date
    Nov 25 2010
    Posts
    1,576
    OK it's done. It spawns a target object and attaches it to the tail rotor gear box of an UH60M. This script will produce a direct hit on the tailrotor of the UH60M and send it into a spin / crash landing. An RPG rocket is fired from the AI position and makes a guaranteed hit on target object. Have a look at the target type - you may need to change it depending on game version A2/OA. It should look realistic for any AA/AT soldier.
    You need a named soldier and target helicopter on the map for it to work.
    Example missions here, Utes and Desert:
    http://www.mediafire.com/?5b3dqk9pt11y1uq

    guidedRPG.sqf
    Spoiler:
    Last edited by PELHAM; Apr 10 2012 at 11:15. Reason: added smoke effect on tail

  7. #7
    Lance Corporal KrisSerbia's Avatar
    Join Date
    Apr 7 2012
    Location
    Beograd, Serbia
    Posts
    45
    Author of the Thread

    Thumbs up

    Thanks man you are god!!!Can you teach me how can I be good scripter?Please

    Quote Originally Posted by Buliwyf View Post
    Not only english people can speak/understand english language... the whole world speaks english... expected serbian?

    ;o)

    @Buliwyt

    We have one of hardest gramar Try to speak serbian and you will see!
    Last edited by KrisSerbia; Apr 10 2012 at 08:31.

  8. #8
    I shall not insult moderators
    Join Date
    Nov 25 2010
    Posts
    1,576
    Not God lol just made some changes to a script - the clever stuff was done by someone else.

  9. #9
    Lance Corporal KrisSerbia's Avatar
    Join Date
    Apr 7 2012
    Location
    Beograd, Serbia
    Posts
    45
    Author of the Thread

    Cool

    This is the little mision what i made.Sorry for bad resolution.I don't know what is with FRAPS.





  10. #10
    I shall not insult moderators
    Join Date
    Nov 25 2010
    Posts
    1,576
    You need to change the position of the target when using different helicopters, I can see it floating above the tail of the helicopter:
    change the lines to this - if using A2/chernarus you can use the baseball which is even smaller than the bucket I use for OA.

    _primaryTarget = "Baseball" createVehicle (getPos _targetHeli); //target for the missile, A2 use: "Baseball" ,or OA use: "Land_Bucket_EP1"
    _primaryTarget attachTo [_targetHeli, [0, -9.7, 0]];//changed this for Mi-17 - target is hidden in tail

Page 1 of 2 12 LastLast

Similar Threads

  1. Forcing rpg tto fire for ambush!
    By george86 in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 2
    Last Post: May 30 2011, 03:09
  2. How do I force AI to fire an RPG?
    By MacScottie in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 5
    Last Post: Mar 25 2011, 19:26
  3. Force AI RPG to target and fire
    By Stugwi in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 5
    Last Post: Feb 4 2010, 04:26
  4. man sized fire
    By JohnnyBoy in forum ARMA - MISSION EDITING & SCRIPTING
    Replies: 0
    Last Post: Jun 12 2008, 04:45
  5. Forcing RPG fire into the sky?
    By Victor in forum ARMA - MISSION EDITING & SCRIPTING
    Replies: 2
    Last Post: Apr 13 2007, 13:23

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •