Gates for every race
- Alexander82
- Posts: 7969
- Joined: Thu Feb 26, 2015 8:18 pm
Re: Gates for every race
@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
Age of Fantasy design leader
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: Gates for every race
do we have such gates in any game?
- Alexander82
- Posts: 7969
- Joined: Thu Feb 26, 2015 8:18 pm
Re: Gates for every race
yes. human gate change the tile used based on the shape of the wall
Age of Fantasy design leader
Re: Gates for every race
Dwarves one does the same thing.
- General Brave
- Posts: 4662
- Joined: Thu Oct 19, 2017 3:12 am
- Location: The Four Point Military Academy.
Re: Gates for every race
Yes, but I think they have a problem with putting in the sets so that it works like the other gates I think.
- General Brave
- Posts: 4662
- Joined: Thu Oct 19, 2017 3:12 am
- Location: The Four Point Military Academy.
Re: Gates for every race
Perhaps I should send these to Daniel.
Wise, Might, Loyalty. Forever stands Warfell.
- Alexander82
- Posts: 7969
- Joined: Thu Feb 26, 2015 8:18 pm
Re: Gates for every race
yes. I think that @Stratego (dev) might add it
Age of Fantasy design leader
Re: Gates for every race
I remember that Godofkings posted the json's for such programming in the Dwarven wall topic:
download/file.php?id=9859
Re: Gates for every race
Actually, looking at this it doesn't seem too hard to do, maybe I could try.
Re: Gates for every race
@Stratego (dev) mind checking this and seeing what I need to do next? I still have to add the corners I believe.
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"}
]
}
}
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: Gates for every race
wow!
good!
please use email for sending me stuffs - thanks!
daniel
good!
please use email for sending me stuffs - thanks!
daniel
Re: Gates for every race
Well, I was trying that first but the document wasn't loading.
Re: Gates for every race
Say, would this work still being that the images aren't named in the same way or do I have to change the image names?
Re: Gates for every race
@Stratego (dev) would you like me to email you the code from here or is this fine for now?
-
- Site Admin
- Posts: 15741
- Joined: Fri Apr 25, 2014 9:28 pm
Re: Gates for every race
yes in email (to avoid any unwanted character converison)- thanks!