How to make Traits appear ?
Posted: Sun Nov 18, 2018 8:48 am
Since version 1.30, it is possible to display by a right click on a unit the characteristics of this unit (fortkiller, mineswweper ... etc)
I would like to add this feature to some mods created before this release.
I modified the file Strings.pzdat by adding the paragraph
"# New in 1.30
IDS_TITLE_UNIT_TYPE UNIT TYPE
IDS_ABIL_SWITCH Can switch to a different unit type
IDS_ABIL_BRIDGE_ENGINEER Bridge Engineer
IDI_ABIL_BRIDGE_ENGINEER Acts as a bridge when placed on a river hex.
IDS_ABIL_BUNKER_KILLER Bunker Killer
IDI_ABIL_BUNKER_KILLER +5 attack strength against enemy structures.
IDS_ABIL_CAMO Camouflage
IDI_ABIL_CAMO Can only be detected by an adjacent ground unit.
IDS_ABIL_GLIDER Glider
IDI_ABIL_GLIDER Can disembark outside airfields.
IDS_ABIL_GREEN Green
IDI_ABIL_GREEN Purchased unit always starts with zero experience.
IDS_ABIL_KAMIKAZE Kamikaze
IDI_ABIL_KAMIKAZE This unit is always destroyed after attacking.
IDS_ABIL_MILITARY_ENGINEER Military Engineer
IDI_ABIL_MILITARY_ENGINEER Ignores enemy entrenchment level when attacking.
IDS_ABIL_MINE_SWEEPER Mine Sweeper
IDI_ABIL_MINE_SWEEPER Clears a minefield with a single attack.
IDS_ABIL_MISSILE Missile
IDI_ABIL_MISSILE Missiles cannot be resupplied on a friendly airfield.
IDS_ABIL_NO_ZOC No ZOC
IDI_ABIL_NO_ZOC Does not project Zone of Control to adjacent hexes.
IDS_ABIL_PARATROOPER Paratrooper
IDI_ABIL_PARATROOPER Can paradrop from air transport on any free hex.
IDS_ABIL_RADAR Radar
IDI_ABIL_RADAR +1 initiative to all friendly air units within spotting range.
IDS_RADIO_SOFT_CAP Prestige Soft Cap
IDS_OPTION_DEFAULT Default
IDS_OPTION_ON On
IDS_OPTION_OFF Off
IDS_TT_FORMAT_SOFT_CAP Soft cap: %d%%"
But this is not enough.
What else do you have to do?
NB: Traits are well listed in Equipment.pzeqp
How to make Traits appear?
Best regards
Yves
I would like to add this feature to some mods created before this release.
I modified the file Strings.pzdat by adding the paragraph
"# New in 1.30
IDS_TITLE_UNIT_TYPE UNIT TYPE
IDS_ABIL_SWITCH Can switch to a different unit type
IDS_ABIL_BRIDGE_ENGINEER Bridge Engineer
IDI_ABIL_BRIDGE_ENGINEER Acts as a bridge when placed on a river hex.
IDS_ABIL_BUNKER_KILLER Bunker Killer
IDI_ABIL_BUNKER_KILLER +5 attack strength against enemy structures.
IDS_ABIL_CAMO Camouflage
IDI_ABIL_CAMO Can only be detected by an adjacent ground unit.
IDS_ABIL_GLIDER Glider
IDI_ABIL_GLIDER Can disembark outside airfields.
IDS_ABIL_GREEN Green
IDI_ABIL_GREEN Purchased unit always starts with zero experience.
IDS_ABIL_KAMIKAZE Kamikaze
IDI_ABIL_KAMIKAZE This unit is always destroyed after attacking.
IDS_ABIL_MILITARY_ENGINEER Military Engineer
IDI_ABIL_MILITARY_ENGINEER Ignores enemy entrenchment level when attacking.
IDS_ABIL_MINE_SWEEPER Mine Sweeper
IDI_ABIL_MINE_SWEEPER Clears a minefield with a single attack.
IDS_ABIL_MISSILE Missile
IDI_ABIL_MISSILE Missiles cannot be resupplied on a friendly airfield.
IDS_ABIL_NO_ZOC No ZOC
IDI_ABIL_NO_ZOC Does not project Zone of Control to adjacent hexes.
IDS_ABIL_PARATROOPER Paratrooper
IDI_ABIL_PARATROOPER Can paradrop from air transport on any free hex.
IDS_ABIL_RADAR Radar
IDI_ABIL_RADAR +1 initiative to all friendly air units within spotting range.
IDS_RADIO_SOFT_CAP Prestige Soft Cap
IDS_OPTION_DEFAULT Default
IDS_OPTION_ON On
IDS_OPTION_OFF Off
IDS_TT_FORMAT_SOFT_CAP Soft cap: %d%%"
But this is not enough.
What else do you have to do?
NB: Traits are well listed in Equipment.pzeqp
How to make Traits appear?
Best regards
Yves