Please add dynamic text support to Traits [opens up modded leader properties & timed traits]

  • We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Pancakelord

Lord of Pancakes
43 Badges
Apr 7, 2018
3.369
12.251
  • Cities: Skylines - Green Cities
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Ancient Relics
  • Cities: Skylines - Mass Transit
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Imperator: Rome
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Cities: Skylines Industries
  • Imperator: Rome Deluxe Edition
  • Cities: Skylines - After Dark
  • Stellaris: Nemesis
  • Europa Universalis IV
  • Stellaris: Necroids
  • Crusader Kings III
  • War of the Roses
  • Cities: Skylines
  • Stellaris: Federations
  • Magicka: Wizard Wars Founder Wizard
  • Cities: Skylines - Snowfall
  • Stellaris: Lithoids
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Stellaris - Path to Destruction bundle
  • Stellaris: Megacorp
  • Stellaris: Synthetic Dawn
  • Crusader Kings II
  • Stellaris
  • Cities: Skylines Deluxe Edition
  • Sword of the Stars II
  • March of the Eagles
  • Darkest Hour
1645979053285.png

If this worked, these [GetName] commands would be outputting the name of the ship, fleet, leader or country, depending on the scope.

Title. Please add support for [scope.modifier or scope.localisation] commands within trait descriptions.

It would open up a lot of opportunities for leader modding. (simplest example would be timed leader traits. For example a scientist in a spiritualist empire randomly gets the "divine spark" trait which adds 100% research progress for 10 years. The description field could track the time until this trait is removed by dynamically displaying its end date.
1645979411173.png

Ironically, there is already a timer DDS in the game files for leader traits. But, to the best of my knowledge, it is not currently used anywhere at all. There dont seem to be hardcoded functions to display timed traits either? Traits like wounded, traumatised and so on are permanent fixtures, not temporary modifiers.

Other options are things like presenting additional modded properties for leaders in their trait descriptions.
Maybe your leaders now all have a homeworld, whose name could be dynamically displayed, which might enhance their other traits when fighting in that system/sector/governing that planet etc? or a favoured political ethic which could impact how they do their jobs.
 
Last edited:
  • 1Like
Reactions: