Results 1 to 5 of 5

Thread: Shooting Range base

  1. #1

    Shooting Range base



    These targets pop back up after being shot.
    This should work. Ive tested it on a few servers.
    new to making bases so let me know

    Code:
    cutText ["Generating Shooting Range, please wait","PLAIN",0.3];
    
    shootingrange = '
    if (isServer) then {
    call compile (''
    _vehicle_12 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["TargetEpopup", [9262.5664, 2219.3462, -0.00012016296], [], 0, "CAN_COLLIDE"];
      _vehicle_12 = _this;
      _this setDir 10.340636;
      _this setPos [9262.5664, 2219.3462, -0.00012016296];
    };
    
    _vehicle_15 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["Base_WarfareBBarrier10xTall", [9255.8438, 2217.6035, -5.7220459e-005], [], 0, "FLY"];
      _vehicle_15 = _this;
      _this setDir 10.042782;
      _this setPos [9255.8438, 2217.6035, -5.7220459e-005];
    };
    
    _vehicle_19 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["Base_WarfareBBarrier10xTall", [9249.6992, 2225.6091, -0.079690471], [], 0, "CAN_COLLIDE"];
      _vehicle_19 = _this;
      _this setDir 101.83801;
      _this setPos [9249.6992, 2225.6091, -0.079690471];
    };
    
    _vehicle_22 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["Base_WarfareBBarrier10xTall", [9263.3965, 2224.0352, -6.4849854e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_22 = _this;
      _this setDir 98.182739;
      _this setPos [9263.3965, 2224.0352, -6.4849854e-005];
    };
    
    _vehicle_25 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["TargetEpopup", [9261.4795, 2219.3779, -7.8201294e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_25 = _this;
      _this setDir 10.340636;
      _this setPos [9261.4795, 2219.3779, -7.8201294e-005];
    };
    
    _vehicle_27 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["TargetEpopup", [9260.4756, 2219.6331, -0.00016403198], [], 0, "CAN_COLLIDE"];
      _vehicle_27 = _this;
      _this setDir 10.340636;
      _this setPos [9260.4756, 2219.6331, -0.00016403198];
    };
    
    _vehicle_29 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["TargetEpopup", [9259.4092, 2219.8381, -7.8201294e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_29 = _this;
      _this setDir 10.340636;
      _this setPos [9259.4092, 2219.8381, -7.8201294e-005];
    };
    
    _vehicle_31 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["TargetEpopup", [9258.5146, 2219.9575, -2.8610229e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_31 = _this;
      _this setDir 10.340636;
      _this setPos [9258.5146, 2219.9575, -2.8610229e-005];
    };
    
    _vehicle_38 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["TargetEpopup", [9256.457, 2220.1912, 3.2424927e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_38 = _this;
      _this setDir 10.340636;
      _this setPos [9256.457, 2220.1912, 3.2424927e-005];
    };
    
    _vehicle_39 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["TargetEpopup", [9257.5439, 2220.1594, 0.011512756], [], 0, "CAN_COLLIDE"];
      _vehicle_39 = _this;
      _this setDir 10.340636;
      _this setPos [9257.5439, 2220.1594, 0.011512756];
    };
    
    _vehicle_40 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["TargetEpopup", [9255.4531, 2220.4463, -0.011274338], [], 0, "CAN_COLLIDE"];
      _vehicle_40 = _this;
      _this setDir 10.340636;
      _this setPos [9255.4531, 2220.4463, -0.011274338];
    };
    
    _vehicle_41 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["TargetEpopup", [9254.3867, 2220.6514, -0.022407532], [], 0, "CAN_COLLIDE"];
      _vehicle_41 = _this;
      _this setDir 10.340636;
      _this setPos [9254.3867, 2220.6514, -0.022407532];
    };
    
    _vehicle_42 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["TargetEpopup", [9253.4922, 2220.7708, -0.038728714], [], 0, "CAN_COLLIDE"];
      _vehicle_42 = _this;
      _this setDir 10.340636;
      _this setPos [9253.4922, 2220.7708, -0.038728714];
    };
    
    _vehicle_48 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["TargetEpopup", [9251.5918, 2221.0747, 0.00010490417], [], 0, "CAN_COLLIDE"];
      _vehicle_48 = _this;
      _this setDir 10.340636;
      _this setPos [9251.5918, 2221.0747, 0.00010490417];
    };
    
    _vehicle_49 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["TargetEpopup", [9252.6787, 2221.043, 0.010721207], [], 0, "CAN_COLLIDE"];
      _vehicle_49 = _this;
      _this setDir 10.340636;
      _this setPos [9252.6787, 2221.043, 0.010721207];
    };
    
    _vehicle_50 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["TargetEpopup", [9250.5879, 2221.3298, -0.011106491], [], 0, "CAN_COLLIDE"];
      _vehicle_50 = _this;
      _this setDir 10.340636;
      _this setPos [9250.5879, 2221.3298, -0.011106491];
    };
    
    _vehicle_51 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["TargetEpopup", [9249.5215, 2221.5349, -0.02233696], [], 0, "CAN_COLLIDE"];
      _vehicle_51 = _this;
      _this setDir 10.340636;
      _this setPos [9249.5215, 2221.5349, -0.02233696];
    };
    
    _vehicle_52 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["TargetEpopup", [9248.627, 2221.6543, -0.031536102], [], 0, "CAN_COLLIDE"];
      _vehicle_52 = _this;
      _this setDir 10.340636;
      _this setPos [9248.627, 2221.6543, -0.031536102];
    };
    
    _vehicle_62 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["Land_fortified_nest_small", [9251.2285, 2189.7917, 9.1558914], [], 0, "FLY"];
      _vehicle_62 = _this;
      _this setDir 550.54626;
      _this setVehicleArmor 0.5999999;
      _this setFuel 0.5999999;
      _this setVehicleAmmo 0.79999995;
      _this setPos [9251.2285, 2189.7917, 9.1558914];
    };
    
    _vehicle_64 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["TargetEpopup", [9250.376, 2190.8845, 9.4307356], [], 0, "CAN_COLLIDE"];
      _vehicle_64 = _this;
      _this setDir 10.340636;
      _this setPos [9250.376, 2190.8845, 9.4307356];
    };
    
    _vehicle_67 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["TargetEpopup", [9075.9951, 2033.8585, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
      _vehicle_67 = _this;
      _this setDir 10.340636;
      _this setPos [9075.9951, 2033.8585, 3.8146973e-006];
    };
    
    _vehicle_69 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["TargetEpopup", [9250.8965, 2190.7656, 9.3827133], [], 0, "CAN_COLLIDE"];
      _vehicle_69 = _this;
      _this setDir 10.340636;
      _this setPos [9250.8965, 2190.7656, 9.3827133];
    };
    
    _vehicle_76 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["Land_fortified_nest_small", [9288.2744, 2362.9863, 0.00035858154], [], 0, "FLY"];
      _vehicle_76 = _this;
      _this setDir 550.54626;
      _this setVehicleArmor 0.5999999;
      _this setFuel 0.5999999;
      _this setVehicleAmmo 0.79999995;
      _this setPos [9288.2744, 2362.9863, 0.00035858154];
    };
    
    _vehicle_83 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["TargetEpopup", [9597.6533, 2407.05, -0.0002822876], [], 0, "CAN_COLLIDE"];
      _vehicle_83 = _this;
      _this setPos [9597.6533, 2407.05, -0.0002822876];
    };
    
    _vehicle_85 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["TargetEpopup", [9251.5303, 2190.6882, 9.4331465], [], 0, "CAN_COLLIDE"];
      _vehicle_85 = _this;
      _this setDir 10.798067;
      _this setPos [9251.5303, 2190.6882, 9.4331465];
    };
    
    _vehicle_87 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["TargetPopUpTarget", [9251.751, 2190.7334, 11.296433], [], 0, "CAN_COLLIDE"];
      _vehicle_87 = _this;
      _this setDir 14.542061;
      _this setPos [9251.751, 2190.7334, 11.296433];
    };
    
    _vehicle_89 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["TargetPopUpTarget", [9213.7139, 2049.6084, 1.6212463e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_89 = _this;
      _this setDir 14.542061;
      _this setPos [9213.7139, 2049.6084, 1.6212463e-005];
    };
    
    _vehicle_91 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["TargetPopUpTarget", [9250.0742, 2191.1096, 11.288628], [], 0, "CAN_COLLIDE"];
      _vehicle_91 = _this;
      _this setDir 14.542061;
      _this setPos [9250.0742, 2191.1096, 11.288628];
    };
    
    _vehicle_99 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["Land_fort_bagfence_long", [9264.1865, 2234.656, -0.00027084351], [], 0, "CAN_COLLIDE"];
      _vehicle_99 = _this;
      _this setDir 10.867141;
      _this setPos [9264.1865, 2234.656, -0.00027084351];
    };
    
    _vehicle_101 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["Land_fort_bagfence_long", [9258.9092, 2235.6494, -2.0980835e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_101 = _this;
      _this setDir 10.867141;
      _this setPos [9258.9092, 2235.6494, -2.0980835e-005];
    };
    
    _vehicle_103 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["Land_fort_bagfence_long", [9255.9678, 2236.1577, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
      _vehicle_103 = _this;
      _this setDir 10.867141;
      _this setPos [9255.9678, 2236.1577, 3.8146973e-006];
    };
    
    _vehicle_105 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["Land_fort_bagfence_long", [9253.1924, 2236.7112, -0.000207901], [], 0, "CAN_COLLIDE"];
      _vehicle_105 = _this;
      _this setDir 10.867141;
      _this setPos [9253.1924, 2236.7112, -0.000207901];
    };
    
    _vehicle_107 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["Land_fort_bagfence_long", [9261.5732, 2235.145, -0.00010108948], [], 0, "CAN_COLLIDE"];
      _vehicle_107 = _this;
      _this setDir 10.867141;
      _this setPos [9261.5732, 2235.145, -0.00010108948];
    };
    
    _vehicle_110 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["Base_WarfareBBarrier10xTall", [9250.8281, 2231.2139, -0.00011825562], [], 0, "CAN_COLLIDE"];
      _vehicle_110 = _this;
      _this setDir 102.00818;
      _this setPos [9250.8281, 2231.2139, -0.00011825562];
    };
    
    _vehicle_112 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["Base_WarfareBBarrier10xTall", [9264.1133, 2228.6956, -7.2479248e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_112 = _this;
      _this setDir 98.41832;
      _this setPos [9264.1133, 2228.6956, -7.2479248e-005];
    };
    
    _vehicle_115 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["Chukar", [9258.0459, 2247.6331, -2.6702881e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_115 = _this;
      _this setPos [9258.0459, 2247.6331, -2.6702881e-005];
    };
    
    _vehicle_130 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["WeaponHolder_M4A1", [9262.9268, 2234.6819, 1.018813], [], 0, "CAN_COLLIDE"];
      _vehicle_130 = _this;
      _this setDir 94.365463;
      _this setPos [9262.9268, 2234.6819, 1.018813];
    };
    
    _vehicle_132 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["WeaponHolder_M4A1", [9262.6348, 2234.894, 1.0364696], [], 0, "CAN_COLLIDE"];
      _vehicle_132 = _this;
      _this setDir 94.365463;
      _this setPos [9262.6348, 2234.894, 1.0364696];
    };
    
    _vehicle_134 = objNull;
    if (true) then
    {
      _this = create''+''Vehicle ["WeaponHolder_Colt1911", [9263.2832, 2233.752, 1.0639703], [], 0, "CAN_COLLIDE"];
      _vehicle_134 = _this;
      _this setDir 100.03728;
      _this setPos [9263.2832, 2233.752, 1.0639703];
    };
    '');
    };';
    [shootingrange] execVM "scr\exec.sqf";
    
    sleep 3;
    hint "Teleporting";
    player setpos [9259.4688, 2237.1177, 0];
    player setDir 181;

    The Best VPN!
    VVV Click Below VVV


  2. #2
    Senior Member MrSohail's Avatar
    Join Date
    Mar 2013
    Location
    Canada
    Posts
    227
    Rep Power
    5
    Goodjob!
    Is this your first base script?

    The Best VPN!
    VVV Click Below VVV


  3. #3
    The Only Flameshocker Flameshocker's Avatar
    Join Date
    Apr 2013
    Location
    In Your Fire Place
    Posts
    104
    Rep Power
    0
    Nice joob wud you like to add me on skype: Flamethrone

    The Best VPN!
    VVV Click Below VVV


  4. #4
    Quote Originally Posted by MrSohail View Post
    Goodjob!
    Is this your first base script?
    First released yes

    The Best VPN!
    VVV Click Below VVV


  5. #5
    Senior Member
    Join Date
    Apr 2013
    Posts
    154
    Rep Power
    0
    Nice.
    Shadowy, i've seen some great stuff released from you recently. Keep it up!

    The Best VPN!
    VVV Click Below VVV


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
  •