Welcome to Tactical Gamer

User Tag List

Results 1 to 4 of 4
  1. #1

    Achievements:
    SocialRecommendation Second Class1 year registered1000 Experience Points

    Yink's Avatar

    Join Date
    Feb 2012
    Location
    Santa Barbara, CA
    Age
    19
    Posts
    255
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Armed and Automatic Repairing Destoyer Spawn Script

    Yink's Destroyer Script aka fishing boats

    https://www.dropbox.com/s/ucxvcxrmtntccbp/shipspawn.sqf


    this script spawns in a destroyer at a specified location. it is armed with a front gun (tank gun basically), a repair module in the middle, an AA pod, an MLRS and M119 (for indirect fire support), and an engine (AAV).

    you can set parameters for the spawn location, where you want the destroyer to attack/move, the skill of the crew, health of the destroyer, the repair urgency routine (if it hits a certain health it will automatically repair), the reset time on the repair routine, and the name of the ship (purely nolstagic).

    run this script in the init of any units or mission init, or any other script:

    Code:
     
    if (isserver) then 
    {nul = ["spawn marker","move marker",skill (0.1-1.0), health number, repair number, repair cooldown, "name"] execVM "shipspawn.sqf"};
    you can leave everthing blank except for "spawn marker", which is the name of the marker where the ship spawns.
    the defaults are:
    Code:
    if (isserver) then 
    {nul = ["spawn marker","move marker", .1 * (round(random 10)), 100, 45, 160, (_names select _ran1)] execVM "shipspawn.sqf"};
    the minimum you need is:
    Code:
    if (isserver) then 
    {nul = ["spawn marker"] execVM "shipspawn.sqf"};
    Any script requests or changes to this one are appreciated. please, ask me for anything (related to this)
    Last edited by Yink; 06-20-2013 at 07:50 PM.
    Yink | Vanilla Pilot | Killer of Stirling | TG-355ᵀᴴ | Kerbalnaut | Projects Team


  2.  
  3. #2
    Achievements:
    SocialRecommendation Second ClassVeteranTagger First Class10000 Experience Points

    LowSpeedHighDrag's Avatar

    Join Date
    Dec 2008
    Location
    Here
    Posts
    4,032
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Armed and Automatic Repairing Destoyer Spawn Script

    Naval gun support, awesome!



    "Do not seek death. Death will find you. But seek the road which makes death a fulfillment." - Dag Hammarskjold

  4.  
  5. #3
    Achievements:
    SocialRecommendation First ClassVeteranTagger Second Class10000 Experience Points

    Dimitrius's Avatar

    Join Date
    Apr 2007
    Location
    The Windy City of Chicago, Illinois. USA.
    Age
    33
    Posts
    1,358
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Armed and Automatic Repairing Destoyer Spawn Script

    I will be checking this out. Nice Yink.
    Ex-ARMA Irregulars Platoon Commander
    Ex-ARMA Administrator | Ex-Pathfinder | Ex-TGU Instructor

  6.  

  7. #4

    Achievements:
    SocialRecommendation Second Class1 year registered1000 Experience Points

    Yink's Avatar

    Join Date
    Feb 2012
    Location
    Santa Barbara, CA
    Age
    19
    Posts
    255
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Armed and Automatic Repairing Destoyer Spawn Script

    fix: i had a debug line in there i forgot to remove.

    in line 224 remove:
    Code:
    hint format["%1", damage _destroyer1];
    Yink | Vanilla Pilot | Killer of Stirling | TG-355ᵀᴴ | Kerbalnaut | Projects Team


  8.  

Tags for this Thread

Bookmarks

Posting Permissions

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

Back to top