Logo Platform
logo amplifiers simplified

Tech modding

Reply
Copied to clipboard!
4 years ago
Oct 19, 2020, 7:02:16 PM

Hi,


I would like to mod files a bit to copy Pooster Program effect from Xeno Anthropology to some other tech (to slightly alleviate overexpansion issues). However I am having enourmous trouble navigating vaules in game files (ewffects are not grupped by tech name, but rather Stages...), and I can't locate correct line.

Could you please advise?


For the sake of simplicy let's assume I want to add Pooster Program to Survival Suits.

0Send private message
4 years ago
Oct 19, 2020, 8:42:07 PM

the effects are located into SimulationDescriptors. Scroll through the ConstructibleElement_Science files that have names similar to what you're looking for. You can usually Ctrl+F the name of the science constructible element, and it'll lead you to the GUI element with the same name. The GUI element will link to the localization, which will let you find the names. The ConstructibleElement_Science will have a simulationdescriptor reference to the effects, so they are easy to find. You want to copy the simulation descriptor modifier to all the techs you think should have it, keep in mind some factions have unique versions of each tech.

I'll summarize each part of the tech below:

  • ConstructibleElement_Science - Defition for the tech, determines cost, links simulation descriptors, a GUI element of the same name will be expected to be created
  • GUIElement - Links any images, sounds, and localization to the tech definition, also determines its location
  • SimulationDescriptors - The effects of the building
  • Localization - Just the name and description of the building in plain text
That should make your life easier
0Send private message
4 years ago
Oct 19, 2020, 9:43:26 PM

I am either stupid or my methodology is flawed:

I am checking ConstructibleElement_Science[QuadrantEmpireDevelopment].xml for any traces of overcolonization:

Xeno Anthropology - not found

Pooster Program - not found

Overcolonization - not found

Colonization is there, but that looks like standard colonization tech.

0Send private message
4 years ago
Oct 19, 2020, 10:47:03 PM

Search all files in the directory when doing Ctrl + F, Localization is located in Localization/english/ one of the files there

Updated 4 years ago.
0Send private message
4 years ago
Oct 21, 2020, 9:50:11 PM

Took me a while, but I found it:

System Limit is actually Empire effect, so EmpireImprovements.xml controls assignment, and SimulationDescriptors[EmpireImprovements].xml controls values.


Pooster program is:

    </EmpireImprovementDefinition>

        <EmpireImprovementDefinition Name="EmpireImprovementExpansionDisapproval1"(wink wink to the old ES1 players) Category="CategoryOverColonization" SubCategory="SubCategoryApproval">

        <PathPrerequisite       Inverted="true"    Flags="Prerequisite,Discard,UnlockAvailability,Faction,AffinityGameplayTechnologyMajorHisshos">../ClassEmpire,AffinityGameplayMajorHisshos</PathPrerequisite>

        <TechnologyPrerequisite>TechnologyDisapproval1</TechnologyPrerequisite>

        <SimulationDescriptorReference Name="EmpireImprovementExpansionDisapproval1" />

    </EmpireImprovementDefinition>


By changing <TechnologyPrerequisite> line you can edit to which tech it is attached.

You can also copy whole "class" and paste it somhwere + edit Prerequisite - now you are getting effect on two techs (so basically this is what I wanted).


Edit:

If you copy, then remember to rename new class:

Change  <EmpireImprovementDefinition Name= to something else than EmpireImprovementExpansionDisapproval1 or 2 (99 will work :)  )

Updated 4 years ago.
0Send private message
?

Click here to login

Reply
Comment