Bonyduck Campersang
Deity
- Joined
- Dec 11, 2022
- Messages
- 2,816
Trying to make a mod that renames already existing Great Generals. Tried to copy and adapt RawSasquatch's Ukraine mod's code that replaces the city-state of Kiev:
to this:
but it's not working (game crashing at loadup). How do I rename Great Generals?
Mod is attached.
(Note: Just so that anyone reading this knows, I don't actually intend the above names to be used in my mod, they're simply randomly named placeholders for testing the code.)
Code:
<MinorCivilizations>
<Update>
<Where Type="MINOR_CIV_KIEV"/>
<Set>
<Description>TXT_KEY_CITYSTATE_RS_MINSK</Description>
<ShortDescription>TXT_KEY_CITYSTATE_RS_MINSK</ShortDescription>
<Adjective>TXT_KEY_CITYSTATE_RS_MINSK_ADJ</Adjective>
<Civilopedia>TXT_KEY_CITYSTATE_RS_MINSK_PEDIA</Civilopedia>
</Set>
</Update>
</MinorCivilizations>
Code:
<Language_en_US>
<Update>
<Where Tag="TXT_KEY_GREAT_PERSON_PATTON"/>
<Set>
<Text>George S. Patton</Text>
</Set>
<Where Tag="TXT_KEY_GREAT_PERSON_ZHUKOV"/>
<Set>
<Text>Georgy Zhukov</Text>
</Set>
<Where Tag="TXT_KEY_GREAT_PERSON_GUERDIAN"/>
<Set>
<Text>Guardian</Text>
</Set>
<Where Tag="TXT_KEY_GREAT_PERSON_ROMMEL"/>
<Set>
<Text>Rommel von Pommel</Text>
</Set>
<Where Tag="TXT_KEY_GREAT_PERSON_MONTGOMERY"/>
<Set>
<Text>Ulysses</Text>
</Set>
<Where Tag="TXT_KEY_GREAT_PERSON_ROBERT_LEE"/>
<Set>
<Text>Johannes Cabal</Text>
</Set>
<Where Tag="TXT_KEY_GREAT_PERSON_GERONIMO"/>
<Set>
<Text>Charlie Brown</Text>
</Set>
<Where Tag="TXT_KEY_GREAT_PERSON_EUGENE_OF_SAVOY"/>
<Set>
<Text>Kisser Boy</Text>
</Set>
<Where Tag="TXT_KEY_GREAT_PERSON_CROMWELL"/>
<Set>
<Text>Tom Brown</Text>
</Set>
<Where Tag="TXT_KEY_GREAT_PERSON_MICHEL_DE_RUYTER"/>
<Set>
<Text>Master Oogway</Text>
</Set>
<Where Tag="TXT_KEY_GREAT_PERSON_IVAN_THE_TERRIBLE"/>
<Set>
<Text>Ivan the Sonkiller</Text>
</Set>
<Where Tag="TXT_KEY_GREAT_PERSON_FRANCISCO_PIZARRO"/>
<Set>
<Text>Carlo Ancelotti</Text>
</Set>
<Where Tag="TXT_KEY_GREAT_PERSON_HERNAN_CORTES"/>
<Set>
<Text>Pep Guardiola</Text>
</Set>
<Where Tag="TXT_KEY_GREAT_PERSON_AUITZOTL"/>
<Set>
<Text>Chief Big Stick</Text>
</Set>
<Where Tag="TXT_KEY_GREAT_PERSON_JEANNE_DARC"/>
<Set>
<Text>Andy</Text>
</Set>
<Where Tag="TXT_KEY_GREAT_PERSON_SUBUTAI"/>
<Set>
<Text>Big Chief No horsehocky</Text>
</Set>
</Update>
Mod is attached.
(Note: Just so that anyone reading this knows, I don't actually intend the above names to be used in my mod, they're simply randomly named placeholders for testing the code.)