Squirrel5555: task 2: updating unit to be AOD unit PASSED
Posted: Mon Jul 06, 2020 7:19 am
here is a new task for modding learning curve:
lets turn this "unit_rep_inf_alphas.json" unit to be an AOD unit
- change its image to an AOD image, eg. a ship from here (https://www.androidutils.com/forum/view ... 242&t=7930) use the "Carrack.png"- change its walkable terrain to a naval (look into another unit that is a naval unit and copy from there eg. unit_hum_ship_destroyer_sam.json and look "trnWalkTerrain")
- change its "unitTypeName" to UNIT_GB_SHIP_CARRACK (is it british?)- change its movement to needed value as ship- change its attack value to needed one
- ! update the id/units_id_list.txt line so the UNIT_GB_SHIP_CARRACK will be listed under that ID the unit has.
- search the whole asset where the UNIT_REP_INF_ALPHAS appears and change to the UNIT_GB_SHIP_CARRACK (buildlist json, initialization json)
- change its range value to needed one
- change its armor values
- and any other needed to be this ship
When ready, open in modded mode and open mapeditor place the ship on a water tile and click it and screenshot me that position.
send me
- screenshot
- and your assetpack so i can check.
thanks!
lets turn this "unit_rep_inf_alphas.json" unit to be an AOD unit
- change its image to an AOD image, eg. a ship from here (https://www.androidutils.com/forum/view ... 242&t=7930) use the "Carrack.png"- change its walkable terrain to a naval (look into another unit that is a naval unit and copy from there eg. unit_hum_ship_destroyer_sam.json and look "trnWalkTerrain")
- change its "unitTypeName" to UNIT_GB_SHIP_CARRACK (is it british?)- change its movement to needed value as ship- change its attack value to needed one
- ! update the id/units_id_list.txt line so the UNIT_GB_SHIP_CARRACK will be listed under that ID the unit has.
- search the whole asset where the UNIT_REP_INF_ALPHAS appears and change to the UNIT_GB_SHIP_CARRACK (buildlist json, initialization json)
- change its range value to needed one
- change its armor values
- and any other needed to be this ship
When ready, open in modded mode and open mapeditor place the ship on a water tile and click it and screenshot me that position.
send me
- screenshot
- and your assetpack so i can check.
thanks!