Buildings issue - IMPLEMENTED
- Alexander82
- Posts: 7969
- Joined: Thu Feb 26, 2015 8:18 pm
Buildings issue - IMPLEMENTED
Both monster's cave and the uruk tent doesn't hide units when they enter it. If you place a unit on those buildings it remains visible out of the building image.
Age of Fantasy design leader
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: Buildings issue
you can try fix these too, you have the jsons to modify, i suggest the "show_units_while_carried" or similar option needs to set off.
- Alexander82
- Posts: 7969
- Joined: Thu Feb 26, 2015 8:18 pm
Re: Buildings issue
Can you send me the jsons for all the units? I can find only few in the pack you've sent me
Age of Fantasy design leader
- Alexander82
- Posts: 7969
- Joined: Thu Feb 26, 2015 8:18 pm
Re: Buildings issue
Code: Select all
{
"unitTypeName":"UNIT_ORC_BUILDING_URUK_TENT",
"unitType":133,
"uiDefinition":{
"visuals":[
{
"imgName":"unit_orc_building_uruk_tent.png",
"type":"DEFAULT",
"shiftIndicatorsDown":0,
"typeExtra":0.0,
"imgColumns":2,
"imageDefParts":[
{
"cropToRect":{"top": 0,"left":0,"bottom":32,"right":64},
"layer":"UNITS",
"shiftCol":0,
"shiftRow":0,
"clickable":true
}
]
}
]
},
"unitStatSheet":{
"unit":{
"isTechnology":false,
"costTurn":8,
"grantorShopItems":[268],
"hpMax":50,
"power":0,
"rangeAttack":0,
"armorPierce":5,
"armorNormal":2,
"sight":4,
"unitSizeCol":1,
"unitSizeRow":1,
"isUnderConstruction":false,
"isFactory":true,
"isFactoryThatNotAffectsFactoryLimits":false,
"isOccupiableBuilding":false,
"isWalkableThrough":true,
"powerAccuracyPenalty":0.0,
"powerRange":0,
"powerRangePenaltyPercent":0,
"attackTypeBurningRock":false,
"attackTypeArrow":true,
"rangeWalk":0,
"trnWalkTerrain":[
{"terrainType":"TERRAINS_PLAINSWALKABLE", "modifier":0}
],
"convertRange":0,
"convertResistance":0.0,
"convertPossibility":0.0,
"rangeHeal":0,
"healRate":0,
"rangeMend":0,
"mendRate":0,
"canBuild":false,
"bonusMendingWhenConstructing":1.0,
"bonusMending":1.0,
"bonusHealing":0.0,
"carryCapacity":2,
"canBeCarried":false,
"isCarriedUnitSurvivesIfIDie":true,
"isCarrierCanCarryUnderConstruction":false,
"isCarrierHidesCarriedUnits":true,
"isCarrierLetCarriedUnitsToShoot":false,
"isCarrierRemovesTerrainDrawbacks":true,
"maxActionCount":0,
"canOccupyBuilding":false,
"isStealthUnit":false,
"canSeeStealthUnits":false,
"trnWeaponEffects":null,
"trnCategories":["U_BUILDINGS"],
"trnRaces":["RACE_ORC"],
"trnModifiers":null,
"trnCanNotCarryMe":{},
"trnBuilders":{"categories":["U_WORKERS"]},
"trnBonusList":null
}
}
}
Age of Fantasy design leader
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: Buildings issue
cool! please send me by email - thanks!
- Alexander82
- Posts: 7969
- Joined: Thu Feb 26, 2015 8:18 pm
Re: Buildings issue
The building are fixed but i have no clue why the units poisoning and trample doesn't works
I've found the text nuder the jsons but they doesn't work in game:
I've found the text nuder the jsons but they doesn't work in game:
Code: Select all
"trnWeaponEffects":[
{
"weaponSlot":"WEAPON_EFFECT_SLOT_SPELLCAST",
"effDefault":"EFFECT_CAST_POISON_WEAPON",
"effOptions":null
}
],
Age of Fantasy design leader
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: Buildings issue
this is fixed now, isnt it?
- Alexander82
- Posts: 7969
- Joined: Thu Feb 26, 2015 8:18 pm