Help with Research tree modding

Hi

I've tried reading various threads on how to mod the research tree using Notepad++ but still having problems.

 

I am tiring to add an 'increase population cap' to Ice and Greenhouse planets (Maelstrom mod) usable for the Advent.

So far I have.

1) Created the new research subject and allocated to free slots on the research hub. The research subject is named

RESEARCHSUBJECT_POPULATIONCAPICEPSI0

I have checked, double checked and triple checked that the position is empty.

Does it matter that I use the hudIcon's and Name/Description StringID's in use for the Norlamin version of the research?

entityType "ResearchSubject"
hudIcon "HUDICON_RESEARCHSUBJECT_POPULATIONCAPICE0_Norlamins"
smallHudIcon "HUDICON_RESEARCHSUBJECT_POPULATIONCAPICE0_Norlamins"
infoCardIcon ""
NameStringID "IDS_RESEARCHSUBJECT_POPULATIONCAPICE0_NAME_Norlamins"
DescriptionStringID "IDS_RESEARCHSUBJECT_POPULATIONCAPICE0_DESCRIPTION_Norlamins"
researchWindowLocation
 block 2
 pos [ 1 , 1 ]
ResearchField "NonCombat"
Prerequisites
 NumResearchPrerequisites 1
 ResearchPrerequisite
  Subject "RESEARCHSUBJECT_PLANETACCESS_ICEPSI"
  Level 1
 RequiredFactionNameID ""
 RequiredCompletedResearchSubjects 0
MinimumArtifactLevel -1
BaseUpgradeTime 70.000000
PerLevelUpgradeTime 10.000000
BaseCost
 credits 1000.000000
 metal 150.000000
 crystal 250.000000
PerLevelCostIncrease
 credits 100.000000
 metal 25.000000
 crystal 25.000000
Tier 1
onlyWorksIfTierLabsExist FALSE
MaxNumResearchLevels 2
priority 0.000000
researchBoolModifiers 0
researchFloatModifiers 1
researchModifier
 modifierType "PlanetPopulationCapAdjustment"
 baseValue 0.000000
 perLevelValue 0.075000
 linkedPlanetType "Ice"
artifactPicture ""
uniqueOverlayBrush ""
dlcId 204880

2) Added the subject to both manifest and player entity files (increased count on both).

 researchInfo
  count 157
  entityDefName "RESEARCHSUBJECT_POPULATIONCAPICEPSI0"

 

But just getting minidump when I try to load the mod. Any advice?

 

Thanks

2,593 views 1 replies
Reply #1 Top

Where's the TXT? Every entity file I've looked at has "TXT" (without quotes) as the first line, entityType only starts on the second line...