Editing Research Stations

My main goal is to make multiple research labs reduce both the time and cost to research technologies slightly.  I have found a line in the entity files "isAffectedBySimilarModuleCostResearch FALSE".  What exactly does that do?

I figured that to get this to work, there are two modifiers I need to use, ResearchBuildRateAdjustment and ResearchCostAdjustment.  Can I just give it the modifiers, or do I have to link them with a passive ability somehow?

6,107 views 10 replies
Reply #1 Top

It doesn't help your goals. isAffectedBySimilarModuleCostResearchhas to do with TEC research that makes their extractors and factories cheaper.

You can't link it to the structures or an ability, as they use a different set of modifiers. However, you could create a string of researches that go from tier 1 to tier 8. Can't go higher though, so 8 is still max useful.

 

:fox:

Reply #2 Top

Thanks.  I'd really not create more research to do this though; I'd far rather have it be an innate ability from the stations themselves.  There's simply no way to do that?

Reply #3 Top

Quoting coinich, reply 2
Thanks.  I'd really not create more research to do this though; I'd far rather have it be an innate ability from the stations themselves.  There's simply no way to do that?
End of coinich's quote

You could make the required research free and researched instantly, but I think that is the only way. Only research can change the properties of research, so I don't think you have a lot of options to work with either.

Reply #4 Top

Free and researched immediately when you get that required Research Station level?

Reply #5 Top

No. Just have to click on it.

 

:fox:

Reply #6 Top

Bleh.  Oh well, I suppose thats more or less a copy of the Advent research, with a few adjustments.  I can do that.  Probably easier to code...  Thanks for the help.

Reply #7 Top

For cost decrease too, look at the reserch file for the research artifact. They use the same modifiers, and same naming convention for the files.

 

:fox:

Reply #8 Top

Well, the game isn't playing nice with my new techs.  I'm getting minidumps all over the place.  I made sure that the research files are in the proper folder, and listed in both PlayerTech.entity and entity.manifest, but it still says it cannot locate them.

Reply #9 Top

Exact error is that it can't locate the file?

 

:fox:

Reply #10 Top

Entity Ref not found: RESEARCHSUBJECT_RESEARCHBOOST_TEC_0.entity

Thats the first error that causes a minidump; the rest are related somehow, but I don't know.  The are full of code, such as:

Assert @ c:\gs\entrenchment\CodeSource\Engine/Archive/TextFileArchive.cpp(183)

*stringSrc == _T('"')

Assert @ c:\gs\entrenchment\CodeSource\GS/Entity/Interfaces/IResearchSubject.cpp(109)

m_Tier == researchWindowLocation.pos.m_X

Assert @ c:\gs\entrenchment\CodeSource\GS/Entity/Interfaces/IBuff.cpp(2265)

(instantAction.instantActionTriggerType == InstantActionTriggerType::AlwaysPerform) || (instantAction.instantActionTriggerType == InstantActionTriggerType::OnChance)

Assert @ c:\gs\entrenchment\CodeSource\GS/Entity/Interfaces/IAbility.cpp(284)

m_researchPrerequisites.HasSubject(m_baseSourceResearchSubject)

The others seem to be either the same error repeated, or a similar version of.