here is your first study lecture
change the bonus of flak88 to this:
the latest flak json is in the uloaded json pack under faq.+300% vehicles and tank killers
+400% bonus on tanks
the latest flak json is in the uloaded json pack under faq.+300% vehicles and tank killers
+400% bonus on tanks
Code: Select all
{
"unitTypeName":"UNIT_GER_AAA_FLAK_88_AT",
"unitType":327,
"uiDefinition":{
"visuals":[
{
"imgName":"unit_ger_aa_flak_88at.png",
"type":"DEFAULT",
"shiftIndicatorsDown":0,
"typeExtra":0.0,
"imgColumns":1,
"imageDefParts":[
{
"cropToRect":{
"top":0,
"left":0,
"bottom":64,
"right":64
},
"layer":"UNITS",
"shiftCol":0,
"shiftRow":0,
"clickable":true
}
]
}
]
},
"unitStatSheet":{
"unit":{
"isTechnology":false,
"costTurn":3,
"grantorShopItems":null,
"hpMax":15,
"power":8,
"rangeAttack":2,
"armorPierce":0,
"armorNormal":0,
"sight":7,
"unitSizeCol":1,
"unitSizeRow":1,
"isUnderConstruction":false,
"isFactory":false,
"isFactoryThatNotAffectsFactoryLimits":false,
"isOccupiableBuilding":false,
"isWalkableThrough":true,
"powerAccuracyPenalty":0.0,
"powerRange":0,
"powerRangePenaltyPercent":0,
"attackTypeBurningRock":true,
"attackTypeArrow":false,
"rangeWalk":1,
"trnWalkTerrain":[
{
"terrainType":"TERRAINS_FORESTWALKABLE",
"modifier":1
}
],
"convertRange":0,
"convertResistance":0.0,
"convertPossibility":0.0,
"rangeHeal":0,
"healRate":0,
"rangeMend":0,
"mendRate":0,
"canBuild":false,
"bonusMendingWhenConstructing":0.0,
"bonusMending":1.0,
"bonusHealing":0.0,
"carryCapacity":0,
"canBeCarried":true,
"isCarriedUnitSurvivesIfIDie":false,
"isCarrierCanCarryUnderConstruction":false,
"isCarrierHidesCarriedUnits":true,
"isCarrierLetCarriedUnitsToShoot":false,
"isCarrierRemovesTerrainDrawbacks":false,
"maxActionCount":1,
"canOccupyBuilding":false,
"canKillForest":false,
"canFlyAsteroid":false,
"isStealthUnit":false,
"canSeeStealthUnits":false,
"trnWeaponEffects":[
{
"weaponSlot":"WEAPON_EFFECT_SLOT_SPELLCAST",
"effDefault":"EFFECT_TRANSFORM_FLAK_AA_OR_AT",
"effOptions":["EFFECT_TRANSFORM_FLAK_AA_OR_AT"]
}
],
"trnRaces":["RACE_AXIS", "RACE_GER"],
"trnCategories":["U_ARTILLERY_AT_STANDARD", "U_ANTI_TANK", "U_TRANSPORTABLE", "DOC_AA_ARTILLERY"],
"trnModifiers":null,
"trnCanNotCarryMe":{
},
"trnSpecUnitActions":["CAN_NOT_COUNTERATTACK"],
"trnBuilders":null,
"trnTransformTo1":"TO_FLAK88",
"trnBonusList":[
{
"modifier":2,
"unitList":{"categories":["U_VEHICLE_NONCOMBAT"]}
},
{
"modifier":4,
"unitList":{"categories":["U_TANKS"]}
}
],
"trnBestAgainstMeWater":{
"categories":[
"U_SHIPS"
]
},
"trnBestAgainstMeGround":{
"categories":[
"U_INFANTRY"
]
}
}
},
"soundDefinition":{
"soundPacks":[
{"soundEvent":"UNIT_SELECTED","packName":"SOUND_PACK_UNIT_SELECT_GER"},
{"soundEvent":"UNIT_AFFIRM_MOVE","packName":"SOUND_PACK_UNIT_MOVE_FIXED"},
{"soundEvent":"UNIT_ATTACK","packName":"SOUND_PACK_UNIT_ATTACK_AA_SHOOT"},
{"soundEvent":"UNIT_DAMAGE","packName":"SOUND_PACK_UNIT_DAMAGE_FIXED"}
]
},
"arrowSpriteDefinition":{
"arrowSprites":[
{"arrowType":"ATTACK_FIREBURN","spriteName":"TEXTURE_N_SPRITE_BULLET_TANK"}
]
}
}
Code: Select all
{
"unitTypeName":"UNIT_GER_AAA_FLAK_88_AT",
"unitType":327,
"uiDefinition":{
"visuals":[
{
"imgName":"unit_ger_aa_flak_88at.png",
"type":"DEFAULT",
"shiftIndicatorsDown":0,
"typeExtra":0.0,
"imgColumns":1,
"imageDefParts":[
{
"cropToRect":{
"top":0,
"left":0,
"bottom":64,
"right":64
},
"layer":"UNITS",
"shiftCol":0,
"shiftRow":0,
"clickable":true
}
]
}
]
},
"unitStatSheet":{
"unit":{
"isTechnology":false,
"costTurn":3,
"grantorShopItems":null,
"hpMax":15,
"power":8,
"rangeAttack":2,
"armorPierce":0,
"armorNormal":0,
"sight":7,
"unitSizeCol":1,
"unitSizeRow":1,
"isUnderConstruction":false,
"isFactory":false,
"isFactoryThatNotAffectsFactoryLimits":false,
"isOccupiableBuilding":false,
"isWalkableThrough":true,
"powerAccuracyPenalty":0.0,
"powerRange":0,
"powerRangePenaltyPercent":0,
"attackTypeBurningRock":true,
"attackTypeArrow":false,
"rangeWalk":1,
"trnWalkTerrain":[
{
"terrainType":"TERRAINS_FORESTWALKABLE",
"modifier":1
}
],
"convertRange":0,
"convertResistance":0.0,
"convertPossibility":0.0,
"rangeHeal":0,
"healRate":0,
"rangeMend":0,
"mendRate":0,
"canBuild":false,
"bonusMendingWhenConstructing":0.0,
"bonusMending":1.0,
"bonusHealing":0.0,
"carryCapacity":0,
"canBeCarried":true,
"isCarriedUnitSurvivesIfIDie":false,
"isCarrierCanCarryUnderConstruction":false,
"isCarrierHidesCarriedUnits":true,
"isCarrierLetCarriedUnitsToShoot":false,
"isCarrierRemovesTerrainDrawbacks":false,
"maxActionCount":1,
"canOccupyBuilding":false,
"canKillForest":false,
"canFlyAsteroid":false,
"isStealthUnit":false,
"canSeeStealthUnits":false,
"trnWeaponEffects":[
{
"weaponSlot":"WEAPON_EFFECT_SLOT_SPELLCAST",
"effDefault":"EFFECT_TRANSFORM_FLAK_AA_OR_AT",
"effOptions":["EFFECT_TRANSFORM_FLAK_AA_OR_AT"]
}
],
"trnRaces":["RACE_AXIS", "RACE_GER"],
"trnCategories":["U_ARTILLERY_AT_STANDARD", "U_ANTI_TANK", "U_TRANSPORTABLE", "DOC_AA_ARTILLERY"],
"trnModifiers":null,
"trnCanNotCarryMe":{
},
"trnSpecUnitActions":["CAN_NOT_COUNTERATTACK"],
"trnBuilders":null,
"trnTransformTo1":"TO_FLAK88",
"trnBonusList":[
{
"modifier":3,
"unitList":{"categories":["U_VEHICLE_NONCOMBAT"]}
},
{
"modifier":3,
"unitList":{"categories":["U_TANKS_KILLER"]}
},
{
"modifier":4,
"unitList":{"categories":["U_TANKS"]}
}
],
"trnBestAgainstMeWater":{
"categories":[
"U_SHIPS"
]
},
"trnBestAgainstMeGround":{
"categories":[
"U_INFANTRY"
]
}
}
},
"soundDefinition":{
"soundPacks":[
{"soundEvent":"UNIT_SELECTED","packName":"SOUND_PACK_UNIT_SELECT_GER"},
{"soundEvent":"UNIT_AFFIRM_MOVE","packName":"SOUND_PACK_UNIT_MOVE_FIXED"},
{"soundEvent":"UNIT_ATTACK","packName":"SOUND_PACK_UNIT_ATTACK_AA_SHOOT"},
{"soundEvent":"UNIT_DAMAGE","packName":"SOUND_PACK_UNIT_DAMAGE_FIXED"}
]
},
"arrowSpriteDefinition":{
"arrowSprites":[
{"arrowType":"ATTACK_FIREBURN","spriteName":"TEXTURE_N_SPRITE_BULLET_TANK"}
]
}
}
Code: Select all
{
"unitTypeName":"UNIT_GER_AAA_FLAK_88_AT",
"unitType":327,
"uiDefinition":{
"visuals":[
{
"imgName":"unit_ger_aa_flak_88at.png",
"type":"DEFAULT",
"shiftIndicatorsDown":0,
"typeExtra":0.0,
"imgColumns":1,
"imageDefParts":[
{
"cropToRect":{
"top":0,
"left":0,
"bottom":64,
"right":64
},
"layer":"UNITS",
"shiftCol":0,
"shiftRow":0,
"clickable":true
}
]
}
]
},
"unitStatSheet":{
"unit":{
"isTechnology":false,
"costTurn":3,
"grantorShopItems":null,
"hpMax":15,
"power":8,
"rangeAttack":2,
"armorPierce":0,
"armorNormal":0,
"sight":7,
"unitSizeCol":1,
"unitSizeRow":1,
"isUnderConstruction":false,
"isFactory":false,
"isFactoryThatNotAffectsFactoryLimits":false,
"isOccupiableBuilding":false,
"isWalkableThrough":true,
"powerAccuracyPenalty":0.0,
"powerRange":0,
"powerRangePenaltyPercent":0,
"attackTypeBurningRock":true,
"attackTypeArrow":false,
"rangeWalk":1,
"trnWalkTerrain":[
{
"terrainType":"TERRAINS_FORESTWALKABLE",
"modifier":1
}
],
"convertRange":0,
"convertResistance":0.0,
"convertPossibility":0.0,
"rangeHeal":0,
"healRate":0,
"rangeMend":0,
"mendRate":0,
"canBuild":false,
"bonusMendingWhenConstructing":0.0,
"bonusMending":1.0,
"bonusHealing":0.0,
"carryCapacity":0,
"canBeCarried":true,
"isCarriedUnitSurvivesIfIDie":false,
"isCarrierCanCarryUnderConstruction":false,
"isCarrierHidesCarriedUnits":true,
"isCarrierLetCarriedUnitsToShoot":false,
"isCarrierRemovesTerrainDrawbacks":false,
"maxActionCount":1,
"canOccupyBuilding":false,
"canKillForest":false,
"canFlyAsteroid":false,
"isStealthUnit":false,
"canSeeStealthUnits":false,
"trnWeaponEffects":[
{
"weaponSlot":"WEAPON_EFFECT_SLOT_SPELLCAST",
"effDefault":"EFFECT_TRANSFORM_FLAK_AA_OR_AT",
"effOptions":["EFFECT_TRANSFORM_FLAK_AA_OR_AT"]
}
],
"trnRaces":["RACE_AXIS", "RACE_GER"],
"trnCategories":["U_ARTILLERY_AT_STANDARD", "U_ANTI_TANK", "U_TRANSPORTABLE", "DOC_AA_ARTILLERY"],
"trnModifiers":null,
"trnCanNotCarryMe":{
},
"trnSpecUnitActions":["CAN_NOT_COUNTERATTACK"],
"trnBuilders":null,
"trnTransformTo1":"TO_FLAK88",
"trnBonusList":[
{
"modifier":3,
"unitList":{"categories":["U_VEHICLE_NONCOMBAT"]}
},
{
"modifier":3,
"unitList":{"categories":["U_VEHICLE_LIGHT_AA"]}
},
{
"modifier":3,
"unitList":{"categories":["U_VEHICLE_NONCOMBAT"]}
},
{
"modifier":3,
"unitList":{"categories":["U_VEHICLE_LIGHT_ARTILLERY"]}
},
{
"modifier":3,
"unitList":{"categories":["U_VEHICLE_LIGHT_MG"]}
},
{
"modifier":3,
"unitList":{"categories":["U_VEHICLE_HEAVY"]}
},
{
"modifier":3,
"unitList":{"categories":["U_VEHICLE_HEAVY_AA"]}
},
{
"modifier":3,
"unitList":{"categories":["U_ARTILLERY_AT_SELF_PROPELLED"]}
},
{
"modifier":3,
"unitList":{"categories":["U_ARTILLERY_AA_SELF_PROPELLED"]}
},
{
"modifier":3,
"unitList":{"categories":["U_VEHICLE_HEAVY_MG"]}
},
{
"modifier":3,
"unitList":{"categories":["U_VEHICLE_NONCOMBAT_TRANSPORT"]}
},
{
"modifier":3,
"unitList":{"categories":["U_VEHICLE_NONCOMBAT_RECON"]}
},
{
"modifier":3,
"unitList":{"categories":["U_TANKS_KILLER"]}
},
{
"modifier":4,
"unitList":{"categories":["U_TANKS"]}
},
],
"trnBestAgainstMeWater":{
"categories":[
"U_SHIPS"
]
},
"trnBestAgainstMeGround":{
"categories":[
"U_INFANTRY"
]
}
}
},
"soundDefinition":{
"soundPacks":[
{"soundEvent":"UNIT_SELECTED","packName":"SOUND_PACK_UNIT_SELECT_GER"},
{"soundEvent":"UNIT_AFFIRM_MOVE","packName":"SOUND_PACK_UNIT_MOVE_FIXED"},
{"soundEvent":"UNIT_ATTACK","packName":"SOUND_PACK_UNIT_ATTACK_AA_SHOOT"},
{"soundEvent":"UNIT_DAMAGE","packName":"SOUND_PACK_UNIT_DAMAGE_FIXED"}
]
},
"arrowSpriteDefinition":{
"arrowSprites":[
{"arrowType":"ATTACK_FIREBURN","spriteName":"TEXTURE_N_SPRITE_BULLET_TANK"}
]
}
}
Code: Select all
{
"unitTypeName":"UNIT_GER_AAA_FLAK_88_AT",
"unitType":327,
"uiDefinition":{
"visuals":[
{
"imgName":"unit_ger_aa_flak_88at.png",
"type":"DEFAULT",
"shiftIndicatorsDown":0,
"typeExtra":0.0,
"imgColumns":1,
"imageDefParts":[
{
"cropToRect":{
"top":0,
"left":0,
"bottom":64,
"right":64
},
"layer":"UNITS",
"shiftCol":0,
"shiftRow":0,
"clickable":true
}
]
}
]
},
"unitStatSheet":{
"unit":{
"isTechnology":false,
"costTurn":3,
"grantorShopItems":null,
"hpMax":15,
"power":8,
"rangeAttack":2,
"armorPierce":0,
"armorNormal":0,
"sight":7,
"unitSizeCol":1,
"unitSizeRow":1,
"isUnderConstruction":false,
"isFactory":false,
"isFactoryThatNotAffectsFactoryLimits":false,
"isOccupiableBuilding":false,
"isWalkableThrough":true,
"powerAccuracyPenalty":0.0,
"powerRange":0,
"powerRangePenaltyPercent":0,
"attackTypeBurningRock":true,
"attackTypeArrow":false,
"rangeWalk":1,
"trnWalkTerrain":[
{
"terrainType":"TERRAINS_FORESTWALKABLE",
"modifier":1
}
],
"convertRange":0,
"convertResistance":0.0,
"convertPossibility":0.0,
"rangeHeal":0,
"healRate":0,
"rangeMend":0,
"mendRate":0,
"canBuild":false,
"bonusMendingWhenConstructing":0.0,
"bonusMending":1.0,
"bonusHealing":0.0,
"carryCapacity":0,
"canBeCarried":true,
"isCarriedUnitSurvivesIfIDie":false,
"isCarrierCanCarryUnderConstruction":false,
"isCarrierHidesCarriedUnits":true,
"isCarrierLetCarriedUnitsToShoot":false,
"isCarrierRemovesTerrainDrawbacks":false,
"maxActionCount":1,
"canOccupyBuilding":false,
"canKillForest":false,
"canFlyAsteroid":false,
"isStealthUnit":false,
"canSeeStealthUnits":false,
"trnWeaponEffects":[
{
"weaponSlot":"WEAPON_EFFECT_SLOT_SPELLCAST",
"effDefault":"EFFECT_TRANSFORM_FLAK_AA_OR_AT",
"effOptions":["EFFECT_TRANSFORM_FLAK_AA_OR_AT"]
}
],
"trnRaces":["RACE_AXIS", "RACE_GER"],
"trnCategories":["U_ARTILLERY_AT_STANDARD", "U_ANTI_TANK", "U_TRANSPORTABLE", "DOC_AA_ARTILLERY"],
"trnModifiers":null,
"trnCanNotCarryMe":{
},
"trnSpecUnitActions":["CAN_NOT_COUNTERATTACK"],
"trnBuilders":null,
"trnTransformTo1":"TO_FLAK88",
"trnBonusList":[
{
"modifier":3,
"unitList":{"categories":["U_VEHICLE", "U_TANKS_KILLER"]}
},
{
"modifier":4,
"unitList":{"categories":["U_TANKS"]}
}
],
"trnBestAgainstMeWater":{
"categories":[
"U_SHIPS"
]
},
"trnBestAgainstMeGround":{
"categories":[
"U_INFANTRY"
]
}
}
},
"soundDefinition":{
"soundPacks":[
{"soundEvent":"UNIT_SELECTED","packName":"SOUND_PACK_UNIT_SELECT_GER"},
{"soundEvent":"UNIT_AFFIRM_MOVE","packName":"SOUND_PACK_UNIT_MOVE_FIXED"},
{"soundEvent":"UNIT_ATTACK","packName":"SOUND_PACK_UNIT_ATTACK_AA_SHOOT"},
{"soundEvent":"UNIT_DAMAGE","packName":"SOUND_PACK_UNIT_DAMAGE_FIXED"}
]
},
"arrowSpriteDefinition":{
"arrowSprites":[
{"arrowType":"ATTACK_FIREBURN","spriteName":"TEXTURE_N_SPRITE_BULLET_TANK"}
]
}
}
Code: Select all
"trnBonusList":[
{
"modifier":3,
"unitList":{"categories":["U_TANKS_KILLER"]}
},
{
"modifier":3,
"unitList":{"categories":["U_VEHICLE"]}
},
{
"modifier":4,
"unitList":{"categories":["U_TANKS"]}
}
],
Code: Select all
"trnBonusList":[
{"modifier":3, "unitList":{"categories":["U_VEHICLE", "U_TANKS_KILLER"]}},
{"modifier":4, "unitList":{"categories":["U_TANKS"]}}
],