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

Thread: artillery script. in need of help

  1. #1

    Question artillery script. in need of help

    for you that have played the EW campaign/bonus mission, whatever, when you are flying into zelenogorsk to kill the general you can see artillery shells coming down without that it was me that called it, I have un-pbo it and found a gamelogic "symbol" (or what its called) and the name was "artillery" (without "") and I'm woundering how do I creat this script???


    this is another good example of what i mean http://www.youtube.com/watch?v=4rqB5oTAjPs
    "The fascists of the future will be called anti-fascists". Winston Churchill


    ███████████████
    ███████████████
    ███████████████
    ███████████████
    ███████████████

  2. #2

  3. #3
    Gunnery Sergeant sweguy96's Avatar
    Join Date
    Jun 17 2010
    Location
    Sweden
    Posts
    504
    Author of the Thread
    but that page doesnt say me anything and what I want is the AI to fire on a secefic location and I'm NOT the one thats requesting the artillery

  4. #4
    Actually, that page does tell you everything, including how to get AI to fire on a specific location even if you're not the one requesting it.

  5. #5
    The documentation there does talk a lot about using ARTY with the SecOp module, which can confuse the new users of this. You don't have to use that for scripting artillery strikes, just build your batteries, and create your fire missions - as kylania mentioned.

    There are some scripts to make this effort a bit easier floating around on this forum. Also I just released an addon to help in this very topic recently - ECHO fire director.
    "You are touched by darkness. I see it as a blemish that will grow with time. I could warn you of course, but you would not listen. I could kill you, but someone would take your place. So I do the only thing I can – I go."

  6. #6
    Gunnery Sergeant sweguy96's Avatar
    Join Date
    Jun 17 2010
    Location
    Sweden
    Posts
    504
    Author of the Thread
    Quote Originally Posted by Evil_Echo View Post
    The documentation there does talk a lot about using ARTY with the SecOp module, which can confuse the new users of this. You don't have to use that for scripting artillery strikes, just build your batteries, and create your fire missions - as kylania mentioned.

    There are some scripts to make this effort a bit easier floating around on this forum. Also I just released an addon to help in this very topic recently - ECHO fire director.
    Ok thanks this will make it a lot easer for me b/c i'm a real noob at this
    Last edited by sweguy96; Aug 16 2010 at 21:26.

  7. #7

  8. #8
    Let me know about any thoughts or suggestions. Can't promise I can always help, but if you have a specific scenario in mind I might be able to give you step-by-step instructions.

  9. #9
    Ive played around with a lot of scripts, and although i cant say im a master im fairly used to simple scripts.

    However this arty, AAHHH i have never been able to get working lol, when i say ive spent hours trying i mean hours. Ripping apart others scripts, going through the forums, thought the wiki. . . . only to end up with a great script that does'nt do what i need . All i am trying to do is:

    Battery1
    Select whatever ammo
    Select 10 round salvo
    Select dispertion
    Target and fire at Target1

    And il be happy

    Also cheers for any help, i will be BFFE with anyone who can
    Last edited by SteveJA360; Aug 19 2010 at 12:58. Reason: Mannors

    A Platoon sized friendly bunch!

    www.havoc-company.com
    http://www.youtube.com/HavocCompanyClan
    "Just guys from Bohemia Interactive deserve a little scratch for the handle, I have not come as a lonely limb" - RiE.

  10. #10
    How about this?

    Code:
    // Battery1 fires 10 rounds of HE at Target1, 15 mils of dispersion...
    _results = [Battery1, getPosATL Target1, "HE", 10, 15.0] call ECHO_fnc_doFireMission;
    HTML Code:
    ECHO_fnc_DoFireMission
     Description:
      Execute a fire mission if possible.
     Parameters:
       Battery - Artillery Module to fire.
       Position - Location ATL to fire at. [Pos3d]
       Ordnance Type - "HE", "SMOKE", "ILLUM", "WP", "SADARM", "LASER"
       Count - Number of rounds to fire. [Integer]
       Dispersion - Size of area to fire on, in milliradians.
     Returns:
      Status - status of mission.
       Values are.
         "good" - mission accepted and executed.
         "badammo" - battery cannot use this type of ordnance.
         "dead" - battery no longer functional.
         "busy" - battery busy with another mission.
         "range" - target not in the range or firing arc of this battery.

Page 1 of 2 12 LastLast

Posting Permissions

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