From 942281352cbc27ee0b526020ae78a245bd8ed616 Mon Sep 17 00:00:00 2001 From: Steve Date: Thu, 17 Dec 2015 23:14:46 +0000 Subject: [PATCH] Corvette config updates. --- data/capitalShips/infCorvette01.json | 147 ++++++++++++++++++++++++++- data/capitalShips/unfCorvette01.json | 16 +-- 2 files changed, 154 insertions(+), 9 deletions(-) diff --git a/data/capitalShips/infCorvette01.json b/data/capitalShips/infCorvette01.json index f5985b5..f76457c 100644 --- a/data/capitalShips/infCorvette01.json +++ b/data/capitalShips/infCorvette01.json @@ -3,5 +3,150 @@ "health" : 0, "shield" : 500, "shieldRechargeRate" : 60, - "texture" : "gfx/capitalShips/infCorvette01/body.png" + "texture" : "gfx/capitalShips/infCorvette01/body.png", + "components" : [ + { + "health" : 150, + "texture" : "gfx/capitalShips/infCorvette01/component1.png", + "x" : -27, + "y" : 100, + "flags" : "EF_TAKES_DAMAGE+EF_STATIC" + }, + { + "health" : 150, + "texture" : "gfx/capitalShips/infCorvette01/component1.png", + "x" : 27, + "y" : 100, + "flags" : "EF_TAKES_DAMAGE+EF_STATIC" + }, + { + "health" : 150, + "texture" : "gfx/capitalShips/infCorvette01/component2.png", + "x" : 20, + "y" : -17, + "flags" : "EF_TAKES_DAMAGE+EF_STATIC" + }, + { + "health" : 150, + "texture" : "gfx/capitalShips/infCorvette01/component2.png", + "x" : -20, + "y" : -17, + "flags" : "EF_TAKES_DAMAGE+EF_STATIC" + }, + { + "health" : 150, + "texture" : "gfx/capitalShips/infCorvette01/component3.png", + "x" : -21, + "y" : -64, + "flags" : "EF_TAKES_DAMAGE+EF_STATIC" + }, + { + "health" : 150, + "texture" : "gfx/capitalShips/infCorvette01/component3.png", + "x" : 21, + "y" : -64, + "flags" : "EF_TAKES_DAMAGE+EF_STATIC" + }, + { + "health" : 150, + "texture" : "gfx/capitalShips/infCorvette01/component4.png", + "x" : -22, + "y" : -243, + "flags" : "EF_TAKES_DAMAGE+EF_STATIC" + }, + { + "health" : 150, + "texture" : "gfx/capitalShips/infCorvette01/component4.png", + "x" : 22, + "y" : -243, + "flags" : "EF_TAKES_DAMAGE+EF_STATIC" + } + ], + "engines" : [ + { + "health" : 1000, + "texture" : "gfx/capitalShips/infCorvette01/engine1.png", + "x" : -50, + "y" : 285, + "flags" : "EF_TAKES_DAMAGE+EF_STATIC" + }, + { + "health" : 1000, + "texture" : "gfx/capitalShips/infCorvette01/engine1.png", + "x" : 50, + "y" : 285, + "flags" : "EF_TAKES_DAMAGE+EF_STATIC" + }, + { + "health" : 1000, + "texture" : "gfx/capitalShips/infCorvette01/engine2.png", + "x" : 0, + "y" : 280, + "flags" : "EF_TAKES_DAMAGE+EF_STATIC" + } + ], + "guns" : [ + { + "health" : 250, + "texture" : "gfx/capitalShips/common/cannon01.png", + "x" : 0, + "y" : 170, + "reloadTime" : 40, + "type" : "BT_PLASMA", + "flags" : "EF_TAKES_DAMAGE+EF_SECONDARY_TARGET", + "aiFlags" : "AIF_AGGRESSIVE+AIF_LONG_RANGE_FIRE", + "missiles" : 9999 + }, + { + "health" : 250, + "texture" : "gfx/capitalShips/common/cannon01.png", + "x" : 0, + "y" : -150, + "reloadTime" : 40, + "type" : "BT_PLASMA", + "flags" : "EF_TAKES_DAMAGE+EF_SECONDARY_TARGET", + "aiFlags" : "AIF_AGGRESSIVE+AIF_LONG_RANGE_FIRE", + "missiles" : 9999 + }, + { + "health" : 250, + "texture" : "gfx/capitalShips/common/cannon01.png", + "x" : -30, + "y" : 50, + "reloadTime" : 10, + "type" : "BT_PLASMA", + "flags" : "EF_TAKES_DAMAGE+EF_SECONDARY_TARGET", + "aiFlags" : "AIF_AGGRESSIVE+AIF_LONG_RANGE_FIRE" + }, + { + "health" : 250, + "texture" : "gfx/capitalShips/common/cannon01.png", + "x" : 30, + "y" : 50, + "reloadTime" : 10, + "type" : "BT_PLASMA", + "flags" : "EF_TAKES_DAMAGE+EF_SECONDARY_TARGET", + "aiFlags" : "AIF_AGGRESSIVE+AIF_LONG_RANGE_FIRE" + }, + { + "health" : 250, + "texture" : "gfx/capitalShips/common/cannon01.png", + "x" : -50, + "y" : -60, + "reloadTime" : 10, + "type" : "BT_PLASMA", + "flags" : "EF_TAKES_DAMAGE+EF_SECONDARY_TARGET", + "aiFlags" : "AIF_AGGRESSIVE+AIF_LONG_RANGE_FIRE" + }, + { + "health" : 250, + "texture" : "gfx/capitalShips/common/cannon01.png", + "x" : 50, + "y" : -60, + "reloadTime" : 10, + "type" : "BT_PLASMA", + "flags" : "EF_TAKES_DAMAGE+EF_SECONDARY_TARGET", + "aiFlags" : "AIF_AGGRESSIVE+AIF_LONG_RANGE_FIRE" + } + ] } diff --git a/data/capitalShips/unfCorvette01.json b/data/capitalShips/unfCorvette01.json index 7cba2ba..fb35fae 100644 --- a/data/capitalShips/unfCorvette01.json +++ b/data/capitalShips/unfCorvette01.json @@ -102,7 +102,7 @@ "guns" : [ { "health" : 250, - "texture" : "gfx/capitalShips/common/cannon.png", + "texture" : "gfx/capitalShips/common/cannon01.png", "x" : -30, "y" : -250, "reloadTime" : 40, @@ -113,7 +113,7 @@ }, { "health" : 250, - "texture" : "gfx/capitalShips/common/cannon.png", + "texture" : "gfx/capitalShips/common/cannon01.png", "x" : 30, "y" : -250, "reloadTime" : 40, @@ -124,7 +124,7 @@ }, { "health" : 250, - "texture" : "gfx/capitalShips/common/cannon.png", + "texture" : "gfx/capitalShips/common/cannon01.png", "x" : -110, "y" : 20, "reloadTime" : 10, @@ -134,7 +134,7 @@ }, { "health" : 250, - "texture" : "gfx/capitalShips/common/cannon.png", + "texture" : "gfx/capitalShips/common/cannon01.png", "x" : 110, "y" : 20, "reloadTime" : 10, @@ -144,7 +144,7 @@ }, { "health" : 250, - "texture" : "gfx/capitalShips/common/cannon.png", + "texture" : "gfx/capitalShips/common/cannon01.png", "x" : -110, "y" : 100, "reloadTime" : 10, @@ -155,7 +155,7 @@ }, { "health" : 250, - "texture" : "gfx/capitalShips/common/cannon.png", + "texture" : "gfx/capitalShips/common/cannon01.png", "x" : 110, "y" : 100, "reloadTime" : 10, @@ -166,7 +166,7 @@ }, { "health" : 250, - "texture" : "gfx/capitalShips/common/cannon.png", + "texture" : "gfx/capitalShips/common/cannon01.png", "x" : 110, "y" : 180, "reloadTime" : 10, @@ -176,7 +176,7 @@ }, { "health" : 250, - "texture" : "gfx/capitalShips/common/cannon.png", + "texture" : "gfx/capitalShips/common/cannon01.png", "x" : -110, "y" : 180, "reloadTime" : 10,