Added laser cannons to certain fighters.

This commit is contained in:
Steve 2015-11-18 18:37:27 +00:00
parent af913bc4cf
commit d5a5271961
7 changed files with 66 additions and 5 deletions

View File

@ -36,6 +36,26 @@
"type" : "BT_PLASMA", "type" : "BT_PLASMA",
"x" : -13, "x" : -13,
"y" : -8 "y" : -8
},
{
"type" : "BT_LASER",
"x" : -5,
"y" : 0
},
{
"type" : "BT_LASER",
"x" : 5,
"y" : 0
},
{
"type" : "BT_MAG",
"x" : -5,
"y" : 0
},
{
"type" : "BT_MAG",
"x" : 5,
"y" : 0
} }
], ],
"missiles" : { "missiles" : {

View File

@ -13,12 +13,12 @@
"y" : -2 "y" : -2
}, },
{ {
"type" : "BT_PARTICLE", "type" : "BT_PLASMA",
"x" : 12, "x" : 12,
"y" : -2 "y" : -2
}, },
{ {
"type" : "BT_PLASMA", "type" : "BT_PARTICLE",
"x" : 0, "x" : 0,
"y" : -4 "y" : -4
} }

View File

@ -1,5 +1,5 @@
{ {
"name" : "Hyena", "name" : "Hyena-A",
"health" : 60, "health" : 60,
"shield" : 30, "shield" : 30,
"speed" : 1.7, "speed" : 1.7,

35
data/fighters/hyenaB.json Normal file
View File

@ -0,0 +1,35 @@
{
"name" : "Hyena-B",
"health" : 60,
"shield" : 30,
"speed" : 1.7,
"reloadTime" : 15,
"shieldRechargeRate" : 40,
"textureName" : "gfx/fighters/hyena.png",
"guns" : [
{
"type" : "BT_PLASMA",
"x" : -12,
"y" : -12
},
{
"type" : "BT_PLASMA",
"x" : 12,
"y" : -12
},
{
"type" : "BT_LASER",
"x" : -8,
"y" : -12
},
{
"type" : "BT_LASER",
"x" : 8,
"y" : -12
}
],
"missiles" : {
"type" : "MISSILE_MISSILE",
"ammo" : 4
}
}

View File

@ -10,7 +10,8 @@
"data/fighters/ray.json", "data/fighters/ray.json",
"data/fighters/nymph.json", "data/fighters/nymph.json",
"data/fighters/firefly.json", "data/fighters/firefly.json",
"data/fighters/hyena.json", "data/fighters/hyenaA.json",
"data/fighters/hyenaB.json",
"data/fighters/leopard.json", "data/fighters/leopard.json",
"data/fighters/civilian.json", "data/fighters/civilian.json",
"data/fighters/tug.json", "data/fighters/tug.json",

View File

@ -21,6 +21,11 @@
"type" : "BT_PLASMA", "type" : "BT_PLASMA",
"x" : -9, "x" : -9,
"y" : 0 "y" : 0
},
{
"type" : "BT_LASER",
"x" : 0,
"y" : 0
} }
], ],
"missiles" : { "missiles" : {

View File

@ -25,7 +25,7 @@
"fighterGroups" : [ "fighterGroups" : [
{ {
"name" : "ALLIES", "name" : "ALLIES",
"types" : "Firefly;Nymph;Leopard;Hyena", "types" : "Firefly;Nymph;Leopard;Hyena-A;Hyena-B",
"side" : "SIDE_ALLIES", "side" : "SIDE_ALLIES",
"x" : 25, "x" : 25,
"y" : 24, "y" : 24,