PDA

View Full Version : Hero titles


Le Carrera
24th Feb 2012, 10:00 PM
Is there a way to change a hero's title? There's more than a few that I don't like very much, like "Eye of Jacob" and "Rhapsodist"... it would also be cool to give my various Monarch characters their own nicknames, rather than just "the Great/Illustrious".

grimreefer24601
24th Feb 2012, 11:09 PM
Hero titles are generated dynamically by the game. Even my core which allows setting NPC titles, kind of, will not work for Heros. The easiest way, if you just want different titles, would be to edit the STBL. If that is something you'd be interested in, I'll be happy to help you figure it out.

SeishiNui
25th Feb 2012, 6:32 AM
@grim
can you share that? i think i'm interested in that way of modding...

i only started modding when i tried making Arglaar's Better Patrols (http://www.modthesims.info/showthread.php?t=440615) work since when i tried it, it killed the interaction "Patrol Seaway/Road To..." on the forest, village shop, and dock...

grimreefer24601
25th Feb 2012, 8:46 AM
The STBL edit I suggested will only work for mods that intend to change in game strings. It seems you're inention would go further.

The patrols in your listed mod may be controlled further by the game engine than the XML allows, but I doubt it. Seems like the game may disable patrols if it's not necesssay.

As with many things, I'll keep it in mind while looking at the game code.

I'm not sure the direction that this type of mod will lead, but I'm willing to explore it with you. It will be significantly more complicated than a simple STBL edit.

SeishiNui
25th Feb 2012, 3:52 PM
this is kinda off-topic:
on that page, Shim posted an edited version that works for 2.0, what made me try to mod was to compare the 2... arglaar's version is similar to what is in the FullBuild02.package (if i remembered it correctly) meaning similar to the default one with only the LoyaltyChange value higher, while shim's changed EP1 to BaseGame, GreenTreshold and RedThreshold higher instead of 0 and shim's version works... all having the same InstanceID... i'm testing it on a save that has Hero Knight in a quest... without using any of the 2, the interaction is present... using arglaar's removes the interaction and shim's fixes it... i haven't tried the effect though yet...

anyway, for the titles, i only looked into eng STBL, and since it deals with game scripts it's hard to pin-point the right one... here's a sample of what i've found: (using InstanceID = 001CB35C1877AF6F)
Bard:
[1C48] 0x3AF0E23C9D32B581: BardLevelExtraDescription
[1C49] 0x54473026D64DC270: {MA.Troubadour}{FA.Troubadour} {0.SimFirstName}
[1C4A] 0x0FEAC207E600E551: {MA.Minstrel}{FA.Minstrel} {0.SimFirstName}
[1C4B] 0xB17C27FEB16DDE72: {MA.Rhapsodist}{FA.Rhapsodist} {0.SimFirstName}

*haven't played a Bard so i'm guessing Levels 1-4 = Troubadour, Levels 5-9 = Minstrel, and Level 10 is Rhapsodist... is it safe to say that to change the titles to whatever i may want to call my hero is just to edit it respectively? since it's common sense that MA = male and FA = female...

on that, pointing to the TS, changing those values wouldn't create different titles for different characters, since i'm guessing it would be the default then... so different Monarch characters would still have the same "the Blank" and not Monarch 1 gets "the Blank" while Monarch 2 gets "the Second Blank"

**i do not have access to Internet all the time so i might not be able to discuss regularly...

***forgot to add, when it comes to the son/daughter of the Hero, this is the similar line:
[1C3D] 0x47E4068069C76EC9: {MA.Lil' Troubadour}{FA.Lil' Troubadour} {0.SimFirstName}

grimreefer24601
25th Feb 2012, 6:10 PM
It sounds like arglaar's mod isn't compatible with the latest version of the game. While it may still work, it would be absent any 2.0 additions.

Your assumptions are correct on the String Tables. It will change every character that gets the title.

Everything in brackets is the text used when the game dynamically generates text. The MA and FA actually are Male A and Female A. I've seen up to D. These work similar to the 0 in the 0.SimFirstName. Basically, the localizer can take multiple sims as arguments, and this is how it knows which sim to test. For something like a title only one sim is sent, so you only see A's and 0's.