• 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.

Antelop

Sergeant
52 Badges
Dec 15, 2012
71
4
  • Divine Wind
  • Stellaris
  • Cities: Skylines Deluxe Edition
  • Crusader Kings II
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Cities: Skylines - Mass Transit
  • Stellaris: Nemesis
  • Stellaris: Synthetic Dawn
  • Cities: Skylines - Green Cities
  • Crusader Kings II: Jade Dragon
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Cities: Skylines Industries
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Cities: Skylines - Campus
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Crusader Kings III
  • Cities: Skylines - Snowfall
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • 500k Club
  • Cities: Skylines
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Crusader Kings II: Conclave
  • Stellaris - Path to Destruction bundle
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
Character Tooltip Customization w/ Character ID and language localization

First, many thanks to the many kind, dedicated souls that have that have helped me achieve a more fulfilling game experience with Crusader Kings II. There have been many. ;)

I thought I would open a thread dedicated to character tool-tip pop-ups and delayed tooltip pop-ups as so much detail and effort is buried deeply in other MOD project-specific discussions.

My quest started from looking for a way to display the Character ID in game; it has led me to a full custom character sheet showing ambitions, plots, skills, with a simple mouse-over of any portrait - and supporting all four (4) languages (multilingual support) based on the #Code English;French;German;;Spanish;;;;;;;;;;;;x format.

Moreover, I'm looking for more input and better ideas to implement.

What I have come up with works reliably well (and I have even (manually) added it to CK2+ builds - to the tooltip file included - to ensure the best compatibility when running that MOD. BTW, thanks Wiz, its an incredible effort you have undertaken, and a great MOD as a result).

Paste and use at your leisure (but give me a shout out if you like or don't) - to whatever localization ("localisation") set-up you are using; this code supports English, French, German, Spanish as stated. I replaced and tested this in both native game files (line 267 in 1.08) and modes that do the same with great success. Screen shots below show various points of interest and languages in action. And I did steal some ideas from some of you :p... so in return feel free to use this under unrestricted terms. Its a single line of markup as represented below:


Code:
CHARACTER_TOOLTIP_DELAYED;§R Character Sheet:§!\n§!ID: §Y[GetID]§!   Dynasty: §Y[GetOnlyDynastyName]\n§!Culture: §Y[Culture.GetName]   §!Religion: §Y[Religion.GetName]\n§!DIP: §G[GetDiplomacy]§! MAR: §G[GetMartial]§! STW: §G[GetStewardship]§! INT: §G[GetIntrigue]§! LRN: §G[GetLearning]\n §B Ambition: §![GetAmbition]\n §B Objective: §![GetPlot]\n\n[GetStatusInfo];§R Feuille de personnage:§!\n§!ID: §Y[GetID]§!  Dynastie: §Y[GetOnlyDynastyName]\n§!Culture: §Y[Culture.GetName] §! Religion: §Y[Religion.GetName]\n§!DIP: §G[GetDiplomacy]§! MAR: §G[GetMartial]§! INTe: §G[GetStewardship]§! INTr: §G[GetIntrigue]§! SAV: §G[GetLearning]\n §B Ambition: §![GetAmbition]\n §B Objectif: §![GetPlot]\n\n[GetStatusInfo];§R Charakterseite:§!\n§!ID: §Y[GetID]§!   Dynastie: §Y[GetOnlyDynastyName]\n§!Kultur: §Y[Culture.GetName]   §!Glaube: §Y[Religion.GetName]\n§!DIP: §G[GetDiplomacy]§! KRI: §G[GetMartial]§! VER: §G[GetStewardship]§! INT: §G[GetIntrigue]§! BIL: §G[GetLearning]\n §B Ehrgeiz: §![GetAmbition]\n §B Ziel: §![GetPlot]\n\n[GetStatusInfo];;§R Carácter página:§!\n§!ID: §Y[GetID]§!   Dinastria: §Y[GetOnlyDynastyName]\n§!Cultura: §Y[Culture.GetName]   §!Religion: §Y[Religion.GetName]\n§!DIP: §G[GetDiplomacy]§! MAR: §G[GetMartial]§! ADM: §G[GetStewardship]§! INT: §G[GetIntrigue]§! SAB: §G[GetLearning]\n §B Ambición: §![GetAmbition]\n §B Objetivo: §![GetPlot]\n\n[GetStatusInfo];;;;;;;;;;;;x


(Screen shots below)


English1.jpg English2.jpg French1.jpg French2.jpg German1.jpg German2.jpg Spanish1.jpg

I use Notepad++ (GPL free-tool) for text editing, and OpenOffice.org for anything .csv... I find Notepad++to be incredibly useful...
 
Last edited: