Gates for every race

Here talk about units and structures.
IMPORTANT!: Every unit type and structure type should be in a separate topic.
So if you have a new unit idea than open a new topic for it!
User avatar
Alexander82
Posts: 7969
Joined: Thu Feb 26, 2015 8:18 pm

Re: Gates for every race

Post by Alexander82 »

@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
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

Re: Gates for every race

Post by Stratego (dev) »

do we have such gates in any game?
User avatar
Alexander82
Posts: 7969
Joined: Thu Feb 26, 2015 8:18 pm

Re: Gates for every race

Post by Alexander82 »

yes. human gate change the tile used based on the shape of the wall
Age of Fantasy design leader
User avatar
Savra
Posts: 5629
Joined: Wed Aug 01, 2018 6:21 pm

Re: Gates for every race

Post by Savra »

Dwarves one does the same thing.
User avatar
General Brave
Posts: 4662
Joined: Thu Oct 19, 2017 3:12 am
Location: The Four Point Military Academy.

Re: Gates for every race

Post by General Brave »

Are these ready?
Wise, Might, Loyalty. Forever stands Warfell.
User avatar
Savra
Posts: 5629
Joined: Wed Aug 01, 2018 6:21 pm

Re: Gates for every race

Post by Savra »

General Brave wrote: Sat Jan 18, 2020 7:57 pm Are these ready?
Yes, but I think they have a problem with putting in the sets so that it works like the other gates I think.
User avatar
General Brave
Posts: 4662
Joined: Thu Oct 19, 2017 3:12 am
Location: The Four Point Military Academy.

Re: Gates for every race

Post by General Brave »

Perhaps I should send these to Daniel.
Wise, Might, Loyalty. Forever stands Warfell.
User avatar
Savra
Posts: 5629
Joined: Wed Aug 01, 2018 6:21 pm

Re: Gates for every race

Post by Savra »

Savra wrote: Sun Sep 08, 2019 3:32 pm Stats:
Image
Image
Skull gate:
Cost:1
Desc:
Hp:60
Atk:0
Rng:0
Sight:3
Const.bonus:300%
Mend.bonus:100%
Arm:4
P.arm:11
Res:0%
Could we get this in?
User avatar
Alexander82
Posts: 7969
Joined: Thu Feb 26, 2015 8:18 pm

Re: Gates for every race

Post by Alexander82 »

yes. I think that @Stratego (dev) might add it
Age of Fantasy design leader
User avatar
Savra
Posts: 5629
Joined: Wed Aug 01, 2018 6:21 pm

Re: Gates for every race

Post by Savra »

Alexander82 wrote: Fri May 29, 2020 10:33 pm yes. I think that @Stratego (dev) might add it
I remember that Godofkings posted the json's for such programming in the Dwarven wall topic:
download/file.php?id=9859
User avatar
Savra
Posts: 5629
Joined: Wed Aug 01, 2018 6:21 pm

Re: Gates for every race

Post by Savra »

Actually, looking at this it doesn't seem too hard to do, maybe I could try.
User avatar
Savra
Posts: 5629
Joined: Wed Aug 01, 2018 6:21 pm

Re: Gates for every race

Post by Savra »

@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"}         
         ]
   }
}   
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

Re: Gates for every race

Post by Stratego (dev) »

wow!
good!

please use email for sending me stuffs - thanks!

daniel
User avatar
Savra
Posts: 5629
Joined: Wed Aug 01, 2018 6:21 pm

Re: Gates for every race

Post by Savra »

Well, I was trying that first but the document wasn't loading.
User avatar
Savra
Posts: 5629
Joined: Wed Aug 01, 2018 6:21 pm

Re: Gates for every race

Post by Savra »

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?
User avatar
Savra
Posts: 5629
Joined: Wed Aug 01, 2018 6:21 pm

Re: Gates for every race

Post by Savra »

@Stratego (dev) would you like me to email you the code from here or is this fine for now?
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

Re: Gates for every race

Post by Stratego (dev) »

yes in email (to avoid any unwanted character converison)- thanks!
Post Reply

Return to “Units & Structures (See Races for accepted Unit Races)”