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

Axons Amok

Sergeant
21 Badges
Jul 22, 2012
68
2
  • Crusader Kings II
  • Pillars of Eternity
  • BATTLETECH: Heavy Metal
  • BATTLETECH: Season pass
  • Prison Architect
  • BATTLETECH: Flashpoint
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • BATTLETECH
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Crusader Kings II: Way of Life
  • 500k Club
  • Magicka
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
I was trying to make some improvements to the info the game shows when I hover over a character. I screwed something up, so I reverted to the copy of the file I'd saved as "text1-original.csv." But now when I try to make my changes again, nothing happens. Every delayed tooltip block comes out showing only what the vanilla game showed.

I think I've somehow inserted a comment or an extra semicolon or something like that into my backup file. Would one of you be so kind as to post a copy of the unaltered text1.csv?

If that's not allowed for some reason, could one of you post lines 273, 274, and 275 from your file?
 

Arko

Red zone
45 Badges
Jul 1, 2009
7.087
1.124
  • Europa Universalis IV
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings II
  • Crusader Kings III
  • Deus Vult
  • Cities: Skylines
  • Magicka
the 3 lines.
note the third one is inactive, I don't know where its newer version is situated.
Code:
CHARACTER_TOOLTIP;§Y[GetBestName]§!§G[GetPlayerRelation]§!\n[GetHighestTitles];§Y[GetBestName]§!§G[GetPlayerRelation]§!\n[GetHighestTitles];§Y[GetBestName]§!§G[GetPlayerRelation]§!\n[GetHighestTitles];;§Y[GetBestName]§!§G[GetPlayerRelation]§!\n[GetHighestTitles];;;;;;;;;x
CHARACTER_TOOLTIP_DELAYED;[GetStatusInfo];[GetStatusInfo];[GetStatusInfo];;[GetStatusInfo];;;;;;;;;x
#CHARACTER_DEAD_TOOLTIP;Died: §Y[GetDeathDate] §!at age §Y[GetAgeYears]§!;Mort le : §Y[GetDeathDate] §! à l’âge de §Y[GetAgeYears]§! ans;Gestorben: §Y[GetDeathDate] §! Im Alter von §Y[GetAgeYears]§!;;Fallecido: §Y[GetDeathDate] §!a la edad de §Y[GetAgeYears]§!;;;;;;;;;x
 

Axons Amok

Sergeant
21 Badges
Jul 22, 2012
68
2
  • Crusader Kings II
  • Pillars of Eternity
  • BATTLETECH: Heavy Metal
  • BATTLETECH: Season pass
  • Prison Architect
  • BATTLETECH: Flashpoint
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • BATTLETECH
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Crusader Kings II: Way of Life
  • 500k Club
  • Magicka
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
Thanks for that. I'm still stumped about this, though.

I copy/pasted your lines into text1.csv to replace what I had there, saved the file, loaded the game to confirm that it runs and shows tooltips correctly, then quit to desktop.

Then I re-opened text1.csv and added "\n ID: [GetID] " to the end of the first [GetStatusInfo] on line 274. Save, re-launch the game, aaaaaaand -- no change to the tooltip.

Here's my line 274 as it currently stands:

Code:
CHARACTER_TOOLTIP_DELAYED;[GetStatusInfo]\n ID: [GetID] ;[GetStatusInfo];[GetStatusInfo];;[GetStatusInfo];;;;;;;;;x

What am I missing here? Does the [GetStatusInfo] block override any other entries on that line? Do I need to save the changed .csv into a different folder? Did I screw up the syntax for the file?
 

richvh

Preserver of the Light
63 Badges
Dec 1, 2001
14.691
1.999
Visit site
  • Stellaris: Leviathans Story Pack
  • Pillars of Eternity
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Knights of Pen and Paper 2
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Crusader Kings II: Reapers Due
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Tyranny: Gold Edition
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Surviving Mars
  • Stellaris: Synthetic Dawn
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
  • Age of Wonders III
  • Age of Wonders: Shadow Magic
  • Age of Wonders
  • Age of Wonders II
  • Crusader Kings II: Jade Dragon
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II
  • 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: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • A Game of Dwarves
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • Majesty 2 Collection
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Rome Gold
  • Rome: Vae Victis
  • 500k Club
  • Cities: Skylines
Take a look at the CHARACTER_TOOLTIP_DELAYED line in the Lux Invicta mod which displays various non-standard lines (including GetID but not GetStatusInfo)
 

Alphanos

Second Lieutenant
116 Badges
Jun 23, 2012
112
0
  • Europa Universalis IV: Res Publica
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Warlock 2: The Exiled
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Lead and Gold
  • Leviathan: Warships
  • The Kings Crusade
  • Magicka
  • Majesty 2 Collection
  • Warlock: Master of the Arcane
  • Gettysburg
  • Rome Gold
  • Semper Fi
  • Sengoku
  • Sword of the Stars
  • Sword of the Stars II
  • Starvoid
  • Rome: Vae Victis
  • The Showdown Effect
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Dungeonland
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Crusader Kings II
  • 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: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • A Game of Dwarves
  • East India Company Collection
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
At this point I'd recommend deleting the file and then telling Steam to validate your game cache so you'll get a fresh copy. You may find it helpful to experiment with altered tooltips using a copied version of the localization file in a mod folder :).
 

unmerged(527302)

Corporal
1 Badges
Jul 21, 2012
26
0
  • Crusader Kings II
CHARACTER_TOOLTIP_DELAYED;§G Character Sheet:§!\n §Y ID:§! §B[GetID]§! §Y Age:§! [GetAgeYears] §G Dynasty:§! [GetOnlyDynastyName]\n §G Spouse:§! [Spouse.GetBestName] §B[Spouse.GetID]§!\n §Y Heir:§! [heir.GetBestName] §B[heir.GetID]§!\n §G Father:§! [Father.GetBestName] §B[Father.GetID]§!\n §G Mother:§! [Mother.GetBestName] §B[Mother.GetID]§!\n\n §G Player:§! [GetInstantPlayerOpinion]\n §Y Liege:§! [GetInstantLiegeOpinion]\n LRN: §G[GetLearning]§! INT: §G[GetIntrigue]§! STW: §G[GetStewardship]§! MAR: §G[GetMartial]§! DIP: §G[GetDiplomacy]§!\n §B Ambition:§! [GetAmbition]\n §B Objective:§! [GetObjective]\n;[GetDebugInfo];[GetDebugInfo];;[GetDebugInfo];;;;;;;;;x

There's mine. Spent a whole day on it, feel free to take it and copy it. I've found it works best if you take text1.csv and find the string and actually replace what's there with this version. Here's a screenshot:

View attachment 48694

It's not perfect, but you can easily fix anything you don't like.

I found this tooltip by Collider and it works very well.

BTW to get the Heir line to work change the h in heir to H - Heir:§! [Heir.GetBestName] §B[Heir.GetID]§!\n

BTW what do you add to show who the Lover is?
 

Axons Amok

Sergeant
21 Badges
Jul 22, 2012
68
2
  • Crusader Kings II
  • Pillars of Eternity
  • BATTLETECH: Heavy Metal
  • BATTLETECH: Season pass
  • Prison Architect
  • BATTLETECH: Flashpoint
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • BATTLETECH
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Crusader Kings II: Way of Life
  • 500k Club
  • Magicka
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
Thanks for the tip on having Steam verify the local files; I hadn't thought of that.

After getting Steam to assure me everything was peachy, I added the extra tooltip info through a dummy mod and it works fine. If I disable the mod and edit the standard text1.csv to show either the Lux Invicta string, my string, or the Collider string clanger posted, I get nothing but the standard tooltip.

Which is a bit of a downer, since I won't have access to the improved tooltip without ditching my saved game. Right? Any way to get around that issue?
 

unmerged(527302)

Corporal
1 Badges
Jul 21, 2012
26
0
  • Crusader Kings II
Anyone have any ideas of how to include who the lover is in the CHARACTER_TOOLTIP_DELAYED. Thanks

(Yeah, I know I am bumping this thread and that I have already asked the same question 2 posts up about a modded tooltip)

I have tried
§G Lover:§! [Lover.GetBestName] §B[Lover.GetID]§!\n
§G Lover:§! [lover.GetBestName] §B[lover.GetID]§!\n
and various combinations of Root and From
 

Axons Amok

Sergeant
21 Badges
Jul 22, 2012
68
2
  • Crusader Kings II
  • Pillars of Eternity
  • BATTLETECH: Heavy Metal
  • BATTLETECH: Season pass
  • Prison Architect
  • BATTLETECH: Flashpoint
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • BATTLETECH
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Crusader Kings II: Way of Life
  • 500k Club
  • Magicka
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
Can I just check, your backup file isn't a csv file in the localisations folder? If so it could still be read by the game.

:eek:o How often the simple solutions elude us. I renamed my file to .bak and now my changes and edits work as expected.

Clanger, sorry I can't help. Such things are clearly over my head.