Announcement

Collapse
No announcement yet.

Armed and Automatic Repairing Destoyer Spawn Script

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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, 07:50 PM.
    Yink | Vanilla Pilot | Killer of Stirling | CS GOD | Projects Team


  • #2
    Armed and Automatic Repairing Destoyer Spawn Script

    Naval gun support, awesome!

    TGU Instructor TG Pathfinder

    Former TGU Dean Former ARMA Admin Former Irregulars Officer

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

    Comment


    • #3
      Re: Armed and Automatic Repairing Destoyer Spawn Script

      I will be checking this out. Nice Yink.

      Current ARMA Development Project: No Current Project

      "An infantryman needs a leader to be the standard against which he can judge all soldiers."

      Friend of |TG| Chief

      Comment


      • #4
        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 | CS GOD | Projects Team

        Comment

        Connect

        Collapse

        TeamSpeak 3 Server

        Collapse

        Advertisement

        Collapse

        Twitter Feed

        Collapse

        Working...
        X