Help creating new research tree

    Alright so i'm trying to create a whole new tech tree for a new race. I've just created one tech, and whenever i start the game i get dumped.
So here we go!
In the player entity file my research section looks like this:
    researchInfo
        count 17
        entityDefName "RESEARCHSUBJECT_MAXCAPITALSHIPSTECH0"
        entityDefName "RESEARCHSUBJECT_MAXCAPITALSHIPSTECH1"
        entityDefName "RESEARCHSUBJECT_MAXCAPITALSHIPSTECH2"
        entityDefName "RESEARCHSUBJECT_MAXCAPITALSHIPSTECH3"
        entityDefName "RESEARCHSUBJECT_MAXCAPITALSHIPSTECH4"
        entityDefName "RESEARCHSUBJECT_MAXCAPITALSHIPSTECH5"
        entityDefName "RESEARCHSUBJECT_MAXCAPITALSHIPSTECH6"
        entityDefName "RESEARCHSUBJECT_MAXCAPITALSHIPSTECH7"
        entityDefName "RESEARCHSUBJECT_MAXSHIPSLOTSTECH0"
        entityDefName "RESEARCHSUBJECT_MAXSHIPSLOTSTECH1"
        entityDefName "RESEARCHSUBJECT_MAXSHIPSLOTSTECH2"
        entityDefName "RESEARCHSUBJECT_MAXSHIPSLOTSTECH3"
        entityDefName "RESEARCHSUBJECT_MAXSHIPSLOTSTECH4"
        entityDefName "RESEARCHSUBJECT_MAXSHIPSLOTSTECH5"
        entityDefName "RESEARCHSUBJECT_MAXSHIPSLOTSTECH6"
        entityDefName "RESEARCHSUBJECT_MAXSHIPSLOTSTECH7"
        entityDefName "RESEARCHSUBJECT_EMPIRE_METAL1"

then I go to my researchsubject_empire_metal1.entity
I just took another tech and used it. I don't have any custom icons, and honestly have no idea where the hudIcon, or smallhudicon point to, could anyone tell me that?

and it looks like this:
TXT
entityType "ResearchSubject"
hudIcon "HUDICON_RESEARCHSUBJECT_STRUCTUREWORK_METALEXTRACTPSI1"
smallHudIcon "HUDICON_RESEARCHSUBJECT_STRUCTUREWORK_METALEXTRACTPSI1"
infoCardIcon ""
NameStringID "IDS_RESEARCHSUBJECT_EMPIRE_METAL1_NAME"
DescriptionStringID "IDS_RESEARCHSUBJECT_EMPIRE_METAL1_DESCRIPTION"
researchWindowLocation
    block 0
    pos [ 0 , 2 ]
ResearchField "NonCombat"
Prerequisites
    NumResearchPrerequisites 0
MinimumArtifactLevel -1
BaseUpgradeTime 40.000000
PerLevelUpgradeTime 5.000000
BaseCost
    credits 400.000000
    metal 0.000000
    crystal 25.000000
PerLevelCostIncrease
    credits 100.000000
    metal 0.000000
    crystal 25.000000
Tier 0
onlyWorksIfTierLabsExist FALSE
MaxNumResearchLevels 2
priority 1.000000
researchBoolModifiers 0
researchFloatModifiers 1
researchModifier
    modifierType "ExtractionRateMetalAdjustment"
    baseValue 0.000000
    perLevelValue 0.066667
artifactPicture ""

In addition i add namestrind and description string to the english.string file.
Game dumps.
Any ideas? Is it because i'm using an icon for another tech?
Thanks!
4,268 views 8 replies
Reply #1 Top
well... I should have just tried some things out before posting.
Seems you have to have a unique icon otherwise the game dumps.
:D
Reply #2 Top
Paint helps when it comes to placeholders.
Reply #3 Top
I think you'd better copy a PlayXXX.entity and all ResearchXXX.entity, and then, edit the entity's title and content(especially notice 'Prerequisites') one by one.
Reply #4 Top
No need for a unique icon. I deleted all mine, then copied a basic research ship tech a bunch of times and renamed it and it worked fine.
Reply #5 Top
No need for a unique icon. I deleted all mine, then copied a basic research ship tech a bunch of times and renamed it and it worked fine.
End of quote


Renamed = Unique

Yes ?!


Reply #6 Top
Renamed = UniqueYes ?!
End of quote


No, they all use the same icon.
Reply #7 Top
but the names are unique and the names are the identifier, i think. So you need a uniquely named icon.
Reply #8 Top
but the names are unique and the names are the identifier, i think. So you need a uniquely named icon.
End of quote


...the only thing changed was the filename. NOT THE ICON.