Logo Platform
logo amplifiers simplified

How can i edit the Terran's (Emperor's Will) trait

Reply
Copied to clipboard!
7 years ago
Jul 8, 2018, 12:36:28 PM

First, i am korean that can't use english well. sorry to everyone


i have a question about, How can i edit the number?



I change the number of


SimulationDescriptors[Empire].xml


<Modifier TargetProperty="RatioOfProductionSpentGainedAsEmpirePoint" Operation="Addition" Value="0.1" Path="ClassEmpire" TooltipOverride="%ProductionSpentGainedAsEmpirePointUnlockedTooltip"/>
 



that  Value="0.1" to Value="1"




but anything happened.


i think it hard codded



Help friends

0Send private message
7 years ago
Jul 8, 2018, 12:55:27 PM

There's the TooltipOverride which forces it to show +0,1 Influence/Production. Changing the "RatioOfProductionSpentGainedAsEmpirePoint " works (every point of production is turned to influence when a construction finishes) but the tooltip will show "+0.1 [prestigeColored] per [industryColored] spent" Unless you delete the TooltipOverride or change it in localization

Updated 7 years ago.
0Send private message
7 years ago
Jul 9, 2018, 8:15:11 AM

Hey folks,


If you replace the "0.1" in the Localization with "$(Input)", the value in the text will always be replaced by the correct gameplay value :)

It's also possible to use "$(On)" and "$(Duration)" for the target of the effect and the duration in turns of the effect, if relevant.

0Send private message
7 years ago
Aug 21, 2018, 4:22:37 PM

That's really useful info @Numerlor @MonAmiral. Thanks


Just to clarify. Which localization file are we talking about?


Just a thought :)

I'm just starting out and looking around at the ES2 forums. I remember in the old forum there use to be a library for mods and wondered if we could not do the same for ES2 and another for all the really useful info, such as above. Forums grow so stuff is repeated and lost.

Updated 7 years ago.
0Send private message
7 years ago
Aug 21, 2018, 5:21:38 PM
indigav wrote:


Just to clarify. Which localization file are we talking about?


ES2_Localization_Locales.xml Line 8313

I recommend you to use something like Notepad++ which has search in file function

0Send private message
7 years ago
Sep 12, 2018, 10:04:03 PM

So if I've understood this correctly the following line...


<LocalizationPair Name="%ProductionSpentGainedAsEmpirePointUnlockedTooltip">+0.1 [prestigeColored] per [industryColored] spent</LocalizationPair>


should be changed to...


<LocalizationPair Name="%ProductionSpentGainedAsEmpirePointUnlockedTooltip">$(Input) [prestigeColored] per [industryColored] spent</LocalizationPair>


This will then pull into the tool tip any value that had been altered in...


<Modifier TargetProperty="RatioOfProductionSpentGainedAsEmpirePoint" Operation="Addition" Value="0.1" Path="ClassEmpire" TooltipOverride="%ProductionSpentGainedAsEmpirePointUnlockedTooltip"/>


I assume from what's been said that the localization file would have to be edited for any change to values in a simulation file where a tool tip exists in order for it to display correctly.

0Send private message
?

Click here to login

Reply
Comment

Characters : 0
No results
0Send private message