Advertisement
Marum

Mrts official datapack

Jan 26th, 2022
1,140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 25.16 KB | None | 0 0
  1. {
  2.     population={
  3.         defaultMax=50,
  4.         url="https://raw.githubusercontent.com/marianolarre/mrts/master/Resources/population.png"
  5.     },
  6.     resources= {
  7.         {
  8.             name="Crystal",
  9.             uniqueName="cry",
  10.             description="A versatile and valuable material used to create most weapons, and pay most soldiers.",
  11.             url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Resources/gem.png"
  12.         },
  13.         {
  14.             name="Fuel",
  15.             uniqueName="fue",
  16.             description="A rare fuel used to power the mightiest machines.",
  17.             url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Resources/barrel.png"
  18.         },
  19.         {
  20.             name="Ingots",
  21.             uniqueName="ing",
  22.             description="An incredible material that allows for the creation of really advanced equipment.",
  23.             url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Resources/ingot.png"
  24.         }
  25.     },
  26.     groundResources= {
  27.         {
  28.             name= "Crystal Deposit",
  29.             uniqueName="ground_cry",
  30.             url= "https://raw.githubusercontent.com/marianolarre/mrts/master/Resources/ground_gem.png"
  31.         },
  32.         {
  33.             name= "Fuel Deposit",
  34.             uniqueName="ground_fue",
  35.             url= "https://raw.githubusercontent.com/marianolarre/mrts/master/Resources/ground_fue.png"
  36.         },
  37.         {
  38.             name= "Ore Deposit",
  39.             uniqueName="ground_ing",
  40.             url= "https://raw.githubusercontent.com/marianolarre/mrts/master/Resources/ground_ing.png"
  41.         }
  42.     },
  43.     worker= {
  44.         speed= 1,
  45.         range= 1,
  46.         texture= {
  47.             url= "https://raw.githubusercontent.com/marianolarre/mrts/master/Units/Troop_Air_Drone.png",
  48.             idleFrames= 4,
  49.             idleFps= 16,
  50.             workFrames= 4,
  51.             workFps= 16
  52.         }
  53.     },
  54.     status= {
  55.         {
  56.             uniqueName="status_speedboost",
  57.             url="https://raw.githubusercontent.com/marianolarre/mrts/master/Status/Speedboost.png",
  58.             speed=2
  59.         },
  60.         {
  61.             uniqueName="status_damageboost",
  62.             url="https://raw.githubusercontent.com/marianolarre/mrts/master/Status/Damageboost.png",
  63.             damage=2
  64.         },
  65.         {
  66.             uniqueName="status_fire",
  67.             url="https://raw.githubusercontent.com/marianolarre/mrts/master/Status/Fire.png",
  68.             dot=5
  69.         },
  70.         {
  71.             uniqueName="status_regen",
  72.             url="https://raw.githubusercontent.com/marianolarre/mrts/master/Status/Regen.png",
  73.             dot=-3
  74.         },
  75.         {
  76.             uniqueName="status_rage",
  77.             url="https://raw.githubusercontent.com/marianolarre/mrts/master/Status/Rage.png",
  78.             fireRate=2
  79.         },
  80.         {
  81.             uniqueName="status_shield",
  82.             url="https://raw.githubusercontent.com/marianolarre/mrts/master/Status/Shield.png",
  83.             resistance=2
  84.         }
  85.     },
  86.     troops = {
  87.         {
  88.             name= "Soldier",
  89.             uniqueName= "soldier",
  90.             description= "Nice little dude",
  91.             spawnSound= "items/ammopickup.wav",
  92.             deathSound= "physics/body/body_medium_impact_soft7.wav",
  93.             attack= {
  94.                 type= "basic",
  95.                 delay= 0.5,
  96.                 windup= 0,
  97.                 windupEveryShot= false,
  98.                 damage= 3,
  99.                 range= 100,
  100.                 effect= {
  101.                     start= "muzzle",
  102.                     trail= "smoketrail",
  103.                     hit="spark"
  104.                 },
  105.                 targetting= {
  106.                     types= {"infantry", "vehicle", "building", "air"}
  107.                 },
  108.                 sound= {
  109.                     path= "weapons/smg1/smg1_fire1.wav",
  110.                     pitch= 200,
  111.                     volume= 68
  112.                 }
  113.             },
  114.             captureSpeed = 0.05,
  115.             canAttackWhileMoving= false,
  116.             moveType= "ground",
  117.             type= "infantry",
  118.             cost= {cry=10},
  119.             income= {},
  120.             buildTime= 3,
  121.             capacity=0,
  122.             population=1,
  123.             mass= 1,
  124.             size= 6,
  125.             maxHealth= 10,
  126.             speed= 40,
  127.             texture={
  128.                 url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Units/Troop_Infantry_Soldier.png",
  129.                 idleFrames = 2,
  130.                 idleFps = 2,
  131.                 moveFrames = 4,
  132.                 moveFps = 10,
  133.                 windupFrames = 0,
  134.                 fireFrames = 2,
  135.                 fireFps = 8
  136.             }
  137.         },
  138.         {
  139.             name= "Medic",
  140.             uniqueName= "medic",
  141.             description= "Helps keep infantry in top health",
  142.             spawnSound= "items/ammopickup.wav",
  143.             deathSound= "physics/body/body_medium_impact_soft7.wav",
  144.             attack= {
  145.                 type= "heal_basic",
  146.                 delay= 1.5,
  147.                 windup= 0,
  148.                 windupEveryShot= false,
  149.                 health= 3,
  150.                 range= 50,
  151.                 targetting= {
  152.                     allies= true,
  153.                     hurt= true,
  154.                     types= {"infantry"},
  155.                     blacklist = {"medic"}
  156.                 },
  157.                 effect= {
  158.                     trail= "healbeam",
  159.                     hit="heal"
  160.                 },
  161.                 sound= {
  162.                     path= "items/medshot4.wav",
  163.                     pitch= 200,
  164.                     volume= 68
  165.                 }
  166.             },
  167.             captureSpeed = 0.05,
  168.             canAttackWhileMoving= false,
  169.             moveType= "ground",
  170.             type= "infantry",
  171.             cost= {cry=20},
  172.             income= {},
  173.             buildTime= 3,
  174.             capacity=0,
  175.             population=1,
  176.             mass= 1,
  177.             size= 6,
  178.             maxHealth= 10,
  179.             speed= 40,
  180.             texture={
  181.                 url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Units/Troop_Infantry_Medic.png",
  182.                 idleFrames = 2,
  183.                 idleFps = 2,
  184.                 moveFrames = 4,
  185.                 moveFps = 10,
  186.                 windupFrames = 0,
  187.                 fireFrames = 13,
  188.                 fireFps = 9
  189.             }
  190.         },
  191.         {
  192.             name= "Gunner",
  193.             uniqueName= "gunner",
  194.             description= "Nice chonky dude",
  195.             spawnSound= "items/ammopickup.wav",
  196.             deathSound= "physics/body/body_medium_impact_soft7.wav",
  197.             attack= {
  198.                 type= "basic",
  199.                 setup= 4,
  200.                 delay= 0.25,
  201.                 windup= 0,
  202.                 windupEveryShot= false,
  203.                 damage= 3,
  204.                 range= 150,
  205.                 effect= {
  206.                     start= "muzzle",
  207.                     trail= "smoketrail",
  208.                     hit="spark"
  209.                 },
  210.                 targetting= {
  211.                     types= {"infantry", "vehicle", "building", "air"}
  212.                 },
  213.                 sound= {
  214.                     path= "weapons/smg1/smg1_fireburst1.wav",
  215.                     pitch= 90,
  216.                     volume= 68
  217.                 }
  218.             },
  219.             captureSpeed = 0.05,
  220.             canAttackWhileMoving= false,
  221.             moveType= "ground",
  222.             type= "infantry",
  223.             cost= {cry=50},
  224.             income= {},
  225.             buildTime= 5,
  226.             capacity=0,
  227.             population=1,
  228.             mass= 1,
  229.             size= 6,
  230.             maxHealth= 15,
  231.             speed= 40,
  232.             texture={
  233.                 url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Units/Troop_Infantry_Gunner.png",
  234.                 idleFrames = 2,
  235.                 idleFps = 0.3,
  236.                 moveFrames = 4,
  237.                 moveFps = 10,
  238.                 setupFrames = 21,
  239.                 windupFrames = 0,
  240.                 fireFrames = 6,
  241.                 fireFps = 24
  242.             }
  243.         },
  244.         {
  245.             name= "Sniper",
  246.             uniqueName= "sniper",
  247.             description= "Nice long dude",
  248.             spawnSound= "items/ammopickup.wav",
  249.             deathSound= "physics/body/body_medium_impact_soft6.wav",
  250.             attack= {
  251.                 type= "basic",
  252.                 delay= 1.5,
  253.                 windup= 1.5,
  254.                 windupEveryShot= true,
  255.                 damage= 10,
  256.                 range= 200,
  257.                 effect= {
  258.                     start= "muzzle",
  259.                     trail= "smoketrail",
  260.                     hit="spark"
  261.                 },
  262.                 targetting= {
  263.                     types= {"infantry", "vehicle", "building"}
  264.                 },
  265.                 sound= {
  266.                     path= "weapons/pistol/pistol_fire2.wav",
  267.                     pitch= 70,
  268.                     volume= 75
  269.                 }
  270.             },
  271.             captureSpeed = 0.05,
  272.             canAttackWhileMoving= false,
  273.             moveType= "ground",
  274.             type= "infantry",
  275.             cost= {cry=75},
  276.             buildTime= 5,
  277.             capacity=0,
  278.             population=1,
  279.             mass= 1,
  280.             size= 6,
  281.             maxHealth= 10,
  282.             speed= 40,
  283.             texture={
  284.                 url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Units/Troop_Infantry_Sniper.png",
  285.                 idleFrames = 2,
  286.                 idleFps = 2,
  287.                 moveFrames = 4,
  288.                 moveFps = 10,
  289.                 windupFrames = 4,
  290.                 fireFrames = 8,
  291.                 fireFps = 8
  292.             }
  293.         },
  294.         {
  295.             name= "Tank buster",
  296.             uniqueName= "tankbuster",
  297.             description= "Anti tank infantry",
  298.             spawnSound= "items/ammopickup.wav",
  299.             deathSound= "physics/body/body_medium_impact_soft6.wav",
  300.             attack= {
  301.                 type= "area_instant",
  302.                 radius= 5,
  303.                 delay= 3.5,
  304.                 windup= 0.5,
  305.                 windupEveryShot= true,
  306.                 damage= 150,
  307.                 range= 100,
  308.                 effect= {
  309.                     start= "heavymuzzle",
  310.                     trail= "heavysmoketrail",
  311.                     hit="explosion"
  312.                 },
  313.                 targetting= {
  314.                     types= {"infantry", "vehicle", "building"}
  315.                 },
  316.                 sound= {
  317.                     path= "weapons/rpg/rocketfire1.wav",
  318.                     pitch= 200,
  319.                     volume= 75
  320.                 }
  321.             },
  322.             captureSpeed = 0.05,
  323.             canAttackWhileMoving= false,
  324.             moveType= "ground",
  325.             type= "infantry",
  326.             cost= {cry=50},
  327.             buildTime= 5,
  328.             capacity=0,
  329.             population=1,
  330.             mass= 1,
  331.             size= 6,
  332.             maxHealth= 15,
  333.             speed= 40,
  334.             texture={
  335.                 url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Units/Troop_Infantry_TankBuster.png",
  336.                 idleFrames = 2,
  337.                 idleFps = 2,
  338.                 moveFrames = 4,
  339.                 moveFps = 10,
  340.                 windupFrames = 2,
  341.                 fireFrames = 14,
  342.                 fireFps = 4
  343.             }
  344.         },
  345.         {
  346.             name= "Grenadier",
  347.             uniqueName= "grenadier",
  348.             description= "Nice chonky dude",
  349.             spawnSound= "items/ammopickup.wav",
  350.             deathSound= "physics/body/body_medium_impact_soft7.wav",
  351.             attack= {
  352.                 type= "projectile_arc",
  353.                 arc= 1 ,
  354.                 radius= 16,
  355.                 delay= 0.5,
  356.                 windup= 1,
  357.                 windupEveryShot= true,
  358.                 damage= 5,
  359.                 range= 100,
  360.                 status={
  361.                     type="status_fire",
  362.                     duration=3
  363.                 },
  364.                 effect= {
  365.                     start= "heavydiagonalmuzzle",
  366.                     bullet = "shell",
  367.                     bullettrail= "smoketrail",
  368.                     bullethit="explosion"
  369.                 },
  370.                 targetting= {
  371.                     types= {"infantry", "vehicle", "building"}
  372.                 },
  373.                 sound= {
  374.                     path= "weapons/crossbow/fire1.wav",
  375.                     pitch= 150,
  376.                     volume= 75
  377.                 }
  378.             },
  379.             captureSpeed = 0.05,
  380.             canAttackWhileMoving= false,
  381.             moveType= "ground",
  382.             type= "infantry",
  383.             cost= {cry=50},
  384.             income= {},
  385.             buildTime= 5,
  386.             capacity=0,
  387.             population=1,
  388.             mass= 1,
  389.             size= 6,
  390.             maxHealth= 20,
  391.             speed= 40,
  392.             texture={
  393.                 url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Units/Troop_Infantry_Grenadier.png",
  394.                 idleFrames = 2,
  395.                 idleFps = 1,
  396.                 moveFrames = 4,
  397.                 moveFps = 10,
  398.                 windupFrames = 4,
  399.                 fireFrames = 3,
  400.                 fireFps = 5.5
  401.             }
  402.         },
  403.         {
  404.             name= "Shield",
  405.             uniqueName= "shield",
  406.             description= "Nice chonky dude",
  407.             spawnSound= "items/ammopickup.wav",
  408.             deathSound= "physics/body/body_medium_impact_soft7.wav",
  409.             attack= {
  410.                 type= "basic",
  411.                 delay= 1.1,
  412.                 windup= 0.2,
  413.                 windupEveryShot= true,
  414.                 damage= 5,
  415.                 range= 75,
  416.                 effect= {
  417.                     start= "muzzle",
  418.                     trail= "smoketrail",
  419.                     hit="spark"
  420.                 },
  421.                 targetting= {
  422.                     types= {"infantry", "vehicle", "building"}
  423.                 },
  424.                 sound= {
  425.                     path= "weapons/shotgun/shotgun_fire6.wav",
  426.                     pitch= 133,
  427.                     volume= 68
  428.                 }
  429.             },
  430.             captureSpeed = 0.05,
  431.             canAttackWhileMoving= false,
  432.             moveType= "ground",
  433.             type= "infantry",
  434.             cost= {cry=30},
  435.             income= {},
  436.             buildTime= 3,
  437.             capacity=0,
  438.             population=1,
  439.             mass= 1,
  440.             size= 6,
  441.             maxHealth= 40,
  442.             speed= 40,
  443.             texture={
  444.                 url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Units/Troop_Infantry_Shield.png",
  445.                 idleFrames = 2,
  446.                 idleFps = 1,
  447.                 moveFrames = 4,
  448.                 moveFps = 10,
  449.                 windupFrames = 2,
  450.                 fireFrames = 4,
  451.                 fireFps = 6
  452.             }
  453.         },
  454.         {
  455.             name= "Tank",
  456.             uniqueName= "tank",
  457.             description= "Nice little tank",
  458.             spawnSound= "items/ammopickup.wav",
  459.             deathSound= "physics/metal/metal_barrel_impact_hard6.wav",
  460.             attack= {
  461.                 type= "area_instant",
  462.                 radius= 15,
  463.                 delay= 2.5,
  464.                 windup= 0.75,
  465.                 windupEveryShot= false,
  466.                 damage= 100,
  467.                 range= 100,
  468.                 effect= {
  469.                     start= "heavymuzzle",
  470.                     trail= "heavysmoketrail",
  471.                     hit="explosion"
  472.                 },
  473.                 targetting= {
  474.                     types= {"infantry", "vehicle", "building"}
  475.                 },
  476.                 sound= {
  477.                     path= "weapons/shotgun/shotgun_fire6.wav",
  478.                     pitch= 200,
  479.                     volume= 75
  480.                 }
  481.             },
  482.             canAttackWhileMoving= false,
  483.             moveType= "ground",
  484.             type= "vehicle",
  485.             cost= {cry=100, fue=50},
  486.             income= {},
  487.             buildTime= 10,
  488.             capacity=0,
  489.             population=1,
  490.             mass= 2,
  491.             size= 8,
  492.             maxHealth= 300,
  493.             speed= 40,
  494.             texture={
  495.                 url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Units/Troop_Vehicle_Tank.png",
  496.                 idleFrames = 1,
  497.                 idleFps = 1,
  498.                 moveFrames = 2,
  499.                 moveFps = 10,
  500.                 fireFrames = 4,
  501.                 fireFps = 8
  502.             }
  503.         },
  504.         {
  505.             name= "Flak",
  506.             uniqueName= "flak",
  507.             description= "Nice little flak",
  508.             spawnSound= "items/ammopickup.wav",
  509.             deathSound= "physics/metal/metal_barrel_impact_hard6.wav",
  510.             attack= {
  511.                 type= "area_instant",
  512.                 radius= 25,
  513.                 delay= 1,
  514.                 windup= 0.75,
  515.                 windupEveryShot= false,
  516.                 damage= 20,
  517.                 range= 150,
  518.                 effect= {
  519.                     start= "heavydiagonalmuzzle",
  520.                     trail= "heavysmoketrail",
  521.                     hit="flakexplosion"
  522.                 },
  523.                 targetting= {
  524.                     types= {"air"}
  525.                 },
  526.                 sound= {
  527.                     path= "weapons/shotgun/shotgun_fire6.wav",
  528.                     pitch= 200,
  529.                     volume= 75
  530.                 }
  531.             },
  532.             canAttackWhileMoving= false,
  533.             moveType= "ground",
  534.             type= "vehicle",
  535.             cost= {cry=100, fue=50},
  536.             income= {},
  537.             buildTime= 10,
  538.             capacity=0,
  539.             population=1,
  540.             mass= 2,
  541.             size= 8,
  542.             maxHealth= 200,
  543.             speed= 40,
  544.             texture={
  545.                 url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Units/Troop_Vehicle_Flak.png",
  546.                 idleFrames = 13,
  547.                 idleFps = 6,
  548.                 moveFrames = 2,
  549.                 moveFps = 10,
  550.                 fireFrames = 4,
  551.                 fireFps = 8
  552.             }
  553.         }
  554.         ,
  555.         {
  556.             name= "Tonk",
  557.             uniqueName= "tonk",
  558.             description= "Nice big tank",
  559.             spawnSound= "items/ammopickup.wav",
  560.             deathSound= "physics/metal/metal_barrel_impact_hard1.wav",
  561.             attack= {
  562.                 type= "area_instant",
  563.                 radius=24,
  564.                 delay= 0.5,
  565.                 windup= 4,
  566.                 windupEveryShot= true,
  567.                 damage= 500,
  568.                 range= 100,
  569.                 effect= {
  570.                     start= "heavymuzzle",
  571.                     trail= "heavysmoketrail",
  572.                     hit="giantexplosion"
  573.                 },
  574.                 targetting= {
  575.                     types= {"infantry", "vehicle", "building"}
  576.                 },
  577.                 sound= {
  578.                     path= "ambient/explosions/explode_1.wav",
  579.                     pitch= 100,
  580.                     volume= 75
  581.                 }
  582.             },
  583.             canAttackWhileMoving= false,
  584.             moveType= "ground",
  585.             type= "vehicle",
  586.             cost= {cry=1000,fue=100,ing=20},
  587.             buildTime= 15,
  588.             capacity=0,
  589.             population=3,
  590.             mass= 60,
  591.             size= 16,
  592.             maxHealth= 1500,
  593.             speed= 40,
  594.             texture={
  595.                 url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Units/Troop_Vehicle_Tonk.png",
  596.                 idleFrames = 2,
  597.                 idleFps = 1,
  598.                 moveFrames = 2,
  599.                 moveFps = 10,
  600.                 windupFrames = 6,
  601.                 fireFrames = 4,
  602.                 fireFps = 8
  603.             }
  604.         }
  605.         ,
  606.         {
  607.             name= "Bomb",
  608.             uniqueName= "bomb",
  609.             description= "Nice walking bomb",
  610.             spawnSound= "items/ammopickup.wav",
  611.             deathSound= "physics/metal/metal_solid_impact_soft2.wav",
  612.             attack= {
  613.                 type= "detonate",
  614.                 radius=50,
  615.                 damage= 250,
  616.                 range= 20,
  617.                 effect= {
  618.                     start= "giantexplosion"
  619.                 },
  620.                 targetting= {
  621.                     types= {"infantry", "vehicle", "building"}
  622.                 },
  623.                 sound= {
  624.                     path= "ambient/explosions/explode_1.wav",
  625.                     pitch= 100,
  626.                     volume= 75
  627.                 }
  628.             },
  629.             canAttackWhileMoving= false,
  630.             moveType= "ground",
  631.             type= "vehicle",
  632.             cost= {cry=100,fue=25},
  633.             buildTime= 5,
  634.             capacity=0,
  635.             population=2,
  636.             mass= 2,
  637.             size= 8,
  638.             maxHealth= 50,
  639.             speed= 45,
  640.             texture={
  641.                 url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Units/Troop_Vehicle_Bomb.png",
  642.                 idleFrames = 4,
  643.                 idleFps = 4,
  644.                 moveFrames = 4,
  645.                 moveFps = 10
  646.             }
  647.         }
  648.         ,
  649.         {
  650.             name= "Artillery",
  651.             uniqueName= "artillery",
  652.             description= "Nice little artillery",
  653.             spawnSound= "items/ammopickup.wav",
  654.             deathSound= "physics/metal/metal_barrel_impact_hard6.wav",
  655.             attack= {
  656.                 type= "projectile_arc",
  657.                 arc=2 ,
  658.                 radius= 10,
  659.                 setup= 3,
  660.                 windup= 0,
  661.                 delay= 3,
  662.                 windupEveryShot= false,
  663.                 damage= 100,
  664.                 range= 200,
  665.                 effect= {
  666.                     start= "heavydiagonalmuzzle",
  667.                     bullet = "shell",
  668.                     bullettrail= "shelltrail",
  669.                     bullethit="explosion"
  670.                 },
  671.                 targetting= {
  672.                     types= {"infantry", "vehicle", "building"}
  673.                 },
  674.                 sound= {
  675.                     path= "weapons/357/357_fire2.wav",
  676.                     pitch= 50,
  677.                     volume= 75
  678.                 }
  679.             },
  680.             canAttackWhileMoving= false,
  681.             ignoresWalls= true,
  682.             moveType= "ground",
  683.             type= "vehicle",
  684.             cost= {cry=150,fue=50},
  685.             income= {},
  686.             buildTime= 10,
  687.             population=2,
  688.             capacity=0,
  689.             mass= 2,
  690.             size= 8,
  691.             maxHealth= 200,
  692.             speed= 40,
  693.             texture={
  694.                 url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Units/Troop_Vehicle_Artillery.png",
  695.                 idleFrames = 1,
  696.                 idleFps = 1,
  697.                 moveFrames = 2,
  698.                 moveFps = 10,
  699.                 setupFrames = 6,
  700.                 fireFrames = 15,
  701.                 fireFps = 5
  702.             }
  703.         },
  704.         {
  705.             name= "Rocket Truck",
  706.             uniqueName= "rockettruck",
  707.             description= "Nice little truck",
  708.             spawnSound= "items/ammopickup.wav",
  709.             deathSound= "physics/metal/metal_barrel_impact_hard6.wav",
  710.             attack= {
  711.                 type= "projectile_arc",
  712.                 arc=1.5 ,
  713.                 radius= 16,
  714.                 delay=0.25,
  715.                 windup= 1,
  716.                 windupEveryShot= true,
  717.                 damage= 9,
  718.                 range= 100,
  719.                 effect= {
  720.                     start= "heavydiagonalmuzzle",
  721.                     bullet = "shell",
  722.                     bullettrail= "shelltrail",
  723.                     bullethit="explosion"
  724.                 },
  725.                 targetting= {
  726.                     types= {"infantry", "vehicle", "building"}
  727.                 },
  728.                 sound= {
  729.                     path= "npc/sniper/sniper1.wav",
  730.                     pitch= 200,
  731.                     volume= 75
  732.                 }
  733.             },
  734.             canAttackWhileMoving= false,
  735.             ignoresWalls= true,
  736.             moveType= "ground",
  737.             type= "vehicle",
  738.             cost= {cry=150,fue=50},
  739.             income= {},
  740.             buildTime= 5,
  741.             population=2,
  742.             capacity=0,
  743.             mass= 2,
  744.             size= 8,
  745.             maxHealth= 200,
  746.             speed= 40,
  747.             texture={
  748.                 url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Units/Troop_Vehicle_RocketTruck.png",
  749.                 idleFrames = 1,
  750.                 idleFps = 1,
  751.                 moveFrames = 2,
  752.                 moveFps = 10,
  753.                 windupFrames = 20,
  754.                 windupFps = 24,
  755.                 fireFrames = 1,
  756.                 fireFps = 1
  757.             }
  758.         },
  759.         {
  760.             name= "Boogey",
  761.             uniqueName= "boogey",
  762.             description= "Nice little boogey",
  763.             spawnSound= "items/ammopickup.wav",
  764.             deathSound= "physics/metal/metal_barrel_impact_hard6.wav",
  765.             attack= {
  766.                 type= "basic",
  767.                 delay= 0.4,
  768.                 windup= 0,
  769.                 windupEveryShot= false,
  770.                 damage= 4,
  771.                 range= 100,
  772.                 effect= {
  773.                     start= "muzzle",
  774.                     trail= "smoketrail",
  775.                     hit="spark"
  776.                 },
  777.                 targetting= {
  778.                     types= {"infantry", "vehicle", "building", "air"}
  779.                 },
  780.                 sound= {
  781.                     path= "weapons/smg1/smg1_fire1.wav",
  782.                     pitch= 150,
  783.                     volume= 68
  784.                 }
  785.             },
  786.             canAttackWhileMoving= true,
  787.             ignoresWalls= false,
  788.             moveType= "ground",
  789.             type= "vehicle",
  790.             cost= {cry=75,fue=25},
  791.             income= {},
  792.             buildTime= 5,
  793.             population=2,
  794.             capacity=0,
  795.             mass= 2,
  796.             size= 8,
  797.             maxHealth= 125,
  798.             speed= 55,
  799.             texture={
  800.                 url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Units/Troop_Vehicle_Boogey.png",
  801.                 idleFrames = 1,
  802.                 idleFps = 1,
  803.                 moveFrames = 2,
  804.                 moveFps = 10,
  805.                 fireFrames = 2,
  806.                 fireFps = 6
  807.             }
  808.         },
  809.         {
  810.             name= "Helicopter",
  811.             uniqueName= "helicopter",
  812.             description= "Nice little chopper",
  813.             spawnSound= "items/ammopickup.wav",
  814.             deathSound= "physics/metal/metal_barrel_impact_hard6.wav",
  815.             attack= {
  816.                 type= "basic",
  817.                 delay= 0.5,
  818.                 windup= 0.5,
  819.                 windupEveryShot= false,
  820.                 damage= 4,
  821.                 range= 100,
  822.                 effect= {
  823.                     start= "muzzle",
  824.                     trail= "smoketrail",
  825.                     hit="spark"
  826.                 },
  827.                 targetting= {
  828.                     types= {"infantry", "vehicle", "building", "air"}
  829.                 },
  830.                 sound= {
  831.                     path= "weapons/smg1/smg1_fire1.wav",
  832.                     pitch= 120,
  833.                     volume= 68
  834.                 }
  835.             },
  836.             canAttackWhileMoving= false,
  837.             moveType= "air",
  838.             type= "air",
  839.             cost= {cry=150, fue=50},
  840.             income= {},
  841.             buildTime= 5,
  842.             capacity=0,
  843.             population=1,
  844.             mass= 2,
  845.             size= 12,
  846.             maxHealth= 80,
  847.             speed= 55,
  848.             texture={
  849.                 url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Units/Troop_Air_Helicopter.png",
  850.                 idleFrames = 4,
  851.                 idleFps = 4,
  852.                 moveFrames = 4,
  853.                 moveFps = 8,
  854.                 fireFrames = 4,
  855.                 fireFps = 8
  856.             }
  857.         }
  858.     },
  859.     buildings = {
  860.         {
  861.             name= "HQ",
  862.             uniqueName= "hq",
  863.             description= "Your main base",
  864.             spawnSound= "items/ammopickup.wav",
  865.             deathSound= "ambient/explosions/explode_2.wav",
  866.             type= "building",
  867.             cost= {},
  868.             income= {cry=2},
  869.             buildTime= 0.5,
  870.             population=0,
  871.             capacity=10,
  872.             big=true,
  873.             maxHealth= 1000,
  874.             objective= true,
  875.             texture={
  876.                 url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Units/Building_HQ.png",
  877.                 idleFrames = 1,
  878.                 idleFps = 0,
  879.                 flippable = false
  880.             },
  881.             makesTroops={"soldier"},
  882.             makesBuildings={"barracks", "housing", "mine", "buildingport"},
  883.             buildingRange=150
  884.         },
  885.         {
  886.             name= "Building Port",
  887.             uniqueName= "buildingport",
  888.             description= "A hub for building drones to unlock more buildings and expand your territory",
  889.             spawnSound= "items/ammopickup.wav",
  890.             deathSound= "ambient/explosions/explode_2.wav",
  891.             type= "building",
  892.             cost= {cry=150},
  893.             income= {},
  894.             buildTime= 10,
  895.             population=0,
  896.             capacity=0,
  897.             big=false,
  898.             maxHealth= 200,
  899.             objective= false,
  900.             texture={
  901.                 url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Units/Building_BuildingPort.png",
  902.                 idleFrames = 1,
  903.                 idleFps = 0,
  904.                 flippable = false
  905.             },
  906.             makesTroops={},
  907.             makesBuildings={"barracks", "academy", "factory", "airport", "housing", "mine", "buildingport", "wall"},
  908.             buildingRange=250
  909.            
  910.         },
  911.         {
  912.             name= "Wall",
  913.             uniqueName= "wall",
  914.             description= "Basic defense",
  915.             spawnSound= "items/ammopickup.wav",
  916.             deathSound= "ambient/explosions/explode_2.wav",
  917.             type= "building",
  918.             cost= {cry=50},
  919.             income= {},
  920.             buildTime= 10,
  921.             population=0,
  922.             capacity=0,
  923.             big=false,
  924.             maxHealth= 200,
  925.             objective= false,
  926.             texture={
  927.                 url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Units/Building_Wall.png",
  928.                 idleFrames = 1,
  929.                 idleFps = 0,
  930.                 flippable = false
  931.             },
  932.             makesTroops={},
  933.             makesBuildings={"wall"},
  934.             buildingRange=50
  935.            
  936.         },
  937.         {
  938.             name= "Barracks",
  939.             uniqueName= "barracks",
  940.             description= "Your main barracks",
  941.             spawnSound= "items/ammopickup.wav",
  942.             type= "building",
  943.             cost= {cry=300},
  944.             buildTime= 10,
  945.             population=0,
  946.             capacity=0,
  947.             big= false,
  948.             maxHealth= 300,
  949.             texture={
  950.                 url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Units/Building_InfantryBarracks.png",
  951.                 idleFrames = 1,
  952.                 idleFps = 1,
  953.                 flippable = false
  954.             },
  955.             makesTroops={"soldier","grenadier","tankbuster"},
  956.         },
  957.         {
  958.             name= "Academy",
  959.             uniqueName= "academy",
  960.             description= "Barracks for specialists",
  961.             spawnSound= "items/ammopickup.wav",
  962.             type= "building",
  963.             cost= {cry=600},
  964.             buildTime= 10,
  965.             population=0,
  966.             capacity=0,
  967.             big= false,
  968.             maxHealth= 300,
  969.             texture={
  970.                 url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Units/Building_SpecialistBarracks.png",
  971.                 idleFrames = 1,
  972.                 idleFps = 1,
  973.                 flippable = false
  974.             },
  975.             makesTroops={"gunner","shield","medic"},
  976.         },
  977.         {
  978.             name= "Factory",
  979.             uniqueName= "factory",
  980.             description= "Your main factory",
  981.             spawnSound= "items/ammopickup.wav",
  982.             type= "building",
  983.             cost= {cry=750, fue=10},
  984.             buildTime= 10,
  985.             population=0,
  986.             capacity=0,
  987.             big= false,
  988.             maxHealth= 300,
  989.             texture={
  990.                 url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Units/Building_VehicleFactory.png",
  991.                 idleFrames = 1,
  992.                 idleFps = 1,
  993.                 flippable = false
  994.             },
  995.             makesTroops={"boogey","bomb","tank","rockettruck","artillery","flak"},
  996.         },
  997.         {
  998.             name= "Airport",
  999.             uniqueName= "airport",
  1000.             description= "To build air vehicles",
  1001.             spawnSound= "items/ammopickup.wav",
  1002.             type= "building",
  1003.             cost= {cry=750, fue=10},
  1004.             buildTime= 10,
  1005.             population=0,
  1006.             capacity=0,
  1007.             big= false,
  1008.             maxHealth= 300,
  1009.             texture={
  1010.                 url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Units/Building_AirFactory.png",
  1011.                 idleFrames = 1,
  1012.                 idleFps = 1,
  1013.                 flippable = false
  1014.             },
  1015.             makesTroops={"helicopter"},
  1016.         },
  1017.         {
  1018.             name= "House",
  1019.             uniqueName= "housing",
  1020.             description= "Your main house",
  1021.             spawnSound= "items/ammopickup.wav",
  1022.             type= "building",
  1023.             cost= {cry=100},
  1024.             buildTime= 10,
  1025.             population=0,
  1026.             capacity=5,
  1027.             big= false,
  1028.             maxHealth= 250,
  1029.             texture={
  1030.                 url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Units/Building_House.png",
  1031.                 idleFrames = 1,
  1032.                 idleFps = 1,
  1033.                 flippable = false
  1034.             },
  1035.             makesBuildings={"housing"},
  1036.             buildingRange=50
  1037.         },
  1038.         {
  1039.             name= "Mine",
  1040.             uniqueName= "mine",
  1041.             description= "Place this mine on top of a ground resource",
  1042.             spawnSound= "items/ammopickup.wav",
  1043.             type= "building",
  1044.             cost= {cry=200},
  1045.             buildTime=15,
  1046.             population=0,
  1047.             capacity=0,
  1048.             big= false,
  1049.             maxHealth= 300,
  1050.             mustBeBuiltOn= {"ground_cry", "ground_fue", "ground_ing"},
  1051.             whenBuiltOn= {
  1052.                 ground_cry="mine_cry",
  1053.                 ground_fue="mine_fue",
  1054.                 ground_ing="mine_ing"
  1055.             },
  1056.             texture={
  1057.                 url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Units/Building_Mine.png",
  1058.                 idleFrames = 1,
  1059.                 idleFps = 1,
  1060.                 flippable = false
  1061.             }
  1062.         },
  1063.         {
  1064.             name= "Crystal Mine",
  1065.             uniqueName= "mine_cry",
  1066.             type= "building",
  1067.             income= {cry=1},
  1068.             maxHealth= 300,
  1069.             texture={
  1070.                 url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Units/Building_CrystalMine.png",
  1071.                 idleFrames = 3,
  1072.                 idleFps = 8,
  1073.                 flippable = false
  1074.             }
  1075.         },
  1076.         {
  1077.             name= "Fuel Pump",
  1078.             uniqueName= "mine_fue",
  1079.             type= "building",
  1080.             income= {fue=1},
  1081.             maxHealth= 300,
  1082.             texture={
  1083.                 url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Units/Building_FuelMine.png",
  1084.                 idleFrames = 3,
  1085.                 idleFps = 8,
  1086.                 flippable = false
  1087.             }
  1088.         },
  1089.         {
  1090.             name= "Metal Mine",
  1091.             uniqueName= "mine_ing",
  1092.             type= "building",
  1093.             income= {ing=1},
  1094.             maxHealth= 300,
  1095.             texture={
  1096.                 url = "https://raw.githubusercontent.com/marianolarre/mrts/master/Units/Building_MetalMine.png",
  1097.                 idleFrames = 3,
  1098.                 idleFps = 8,
  1099.                 flippable = false
  1100.             }
  1101.         }
  1102.     }
  1103. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement