Re: Gates for every race
Posted: Sun Nov 17, 2019 8:40 pm
@Stratego (dev) I've never put in walls or gates. I might need your help to make these tiles to show on the right sections of the wall
Forums for the FREE Android Game "Age of Strategy" (AOS)
https://server.androidutils.com/forum/
Yes, but I think they have a problem with putting in the sets so that it works like the other gates I think.
I remember that Godofkings posted the json's for such programming in the Dwarven wall topic:
Code: Select all
{
"unitTypeName":"UNIT_BUILDING_UNDEAD_SKULL_GATE",
"unitType":1,
"uiDefinition":{
"similarAtJoin":["UNIT_BUILDING_UNDEAD_WALL"],
"visuals":[
{
"imgName":"unit_building_undead_skull_gate.png",
"type":"DEFAULT",
"shiftIndicatorsDown":20,
"typeExtra":0,
"imgColumns":1,
"imageDefShort":"OVERLAP_1x2"
},
{
"imgName":"unit_building_undead_skull_gate_set.png",
"type":"JOIN",
"types":[
{
"type":"JOIN",
"typeExtraString":"UP"
},
{
"type":"JOIN",
"typeExtraString":"UP,DN"
},
{
"type":"JOIN",
"typeExtraString":"DN"
}
],
"shiftIndicatorsDown":20,
"typeExtra":0,
"imgColumns":1,
"autoSpriteShift":32,
"imageDefShort":"OVERLAP_1x2"
},
{
"imgName":"unit_building_undead_skull_gate_set.png",
"type":"JOIN",
"types":[
{
"type":"JOIN",
"typeExtraString":"LT"
},
{
"type":"JOIN",
"typeExtraString":"LT,RT"
},
{
"type":"JOIN",
"typeExtraString":"RT"
}
],
"shiftIndicatorsDown":20,
"typeExtra":0.1,
"imgColumns":1
}
]
},
"unitStatSheet":{
"unit":{
"isTechnology":false,
"costTurn":1,
"grantorShopItems":null,
"hpMax":60,
"power":0,
"rangeAttack":0,
"armorPierce":11,
"armorNormal":4,
"sight":3,
"unitSizeCol":1,
"unitSizeRow":1,
"isUnderConstruction":false,
"isFactory":false,
"isFactoryThatNotAffectsFactoryLimits":false,
"isOccupiableBuilding":false,
"isWalkableThrough":true,
"powerAccuracyPenalty":0.0,
"powerRange":0,
"powerRangePenaltyPercent":0,
"attackTypeBurningRock":false,
"attackTypeArrow":false,
"rangeWalk":0,
"trnWalkTerrain":[
{"terrainType":"TERRAINS_PLAINSWALKABLE", "modifier":0}
],
"convertRange":0,
"convertResistance":1.0,
"convertPossibility":0.0,
"rangeHeal":0,
"healRate":0,
"rangeMend":0,
"mendRate":0,
"canBuild":false,
"bonusMendingWhenConstructing":3.0,
"bonusMending":2.0,
"bonusHealing":0.0,
"carryCapacity":0,
"canBeCarried":false,
"isCarriedUnitSurvivesIfIDie":false,
"isCarrierCanCarryUnderConstruction":false,
"isCarrierHidesCarriedUnits":false,
"isCarrierLetCarriedUnitsToShoot":false,
"isCarrierRemovesTerrainDrawbacks":true,
"maxActionCount":1,
"canOccupyBuilding":false,
"trnWeaponEffects":[],
"trnCategories":["U_FORTIFIED_BUILDINGS"],
"trnRaces":["RACE_UNDEAD"],
"trnModifiers":null,
"trnCanNotCarryMe":{},
"trnBuilders":{"categories":["U_WORKERS"]},
"trnBonusList":[]
}
},
"soundDefinition":{
"soundPacks":[
{"soundEvent":"UNIT_SELECTED","packName":"SOUND_PACK_UNIT_SELECT_BUILDING"},
{"soundEvent":"UNIT_DAMAGE","packName":"SOUND_PACK_UNIT_DAMAGED_BUILDING"}
]
}
}