Logo Platform
logo amplifiers simplified

Algorithm for modules cost of Mothership(Vampirilis)

Copied to clipboard!
6 years ago
Oct 13, 2019, 7:59:57 PM

Hi everyone. 


I'm currently working on balance mod and i have problems with mothership for Vodyani(Vampirilis). Every module seems to have hardcoded cost ( as it seems in SimulationDescriptors[Mothership] ) but this is not the case if you played the game. If you launch game cost of every module is a non-linear function that grows as more modules are being attached. As you install more modules cost grows is non-liner fashion, but when i was looking in referenced files all i could find is static hardcoded base cost. Can anyone tell me what i am missing? 


To be precise: Where is the file in "Endless Space 2\Public" that is responsible for mothership modules incremental cost algorithm? Any hints were it is stored would be appreciated.

0Send private message
6 years ago
Oct 13, 2019, 11:29:14 PM

I'm not sure but it would be located at ModuleDefinition files in Simulations/Battle folder.

Updated 6 years ago.
0Send private message
6 years ago
Oct 14, 2019, 9:48:42 AM

Thank you for your response. 


First of all - i was wrong - cost of each module upgrade is linear (i didnt take into account that mothership by default has 3 modules [not 4] and replacing module cost is not the same as buying new one- i was sleepy last night ;) ).


Secondly : Yes- > I've found "ModuleDefinitions[Mothership]" in "Simulations/Battle" as u mentioned and changed base cost. It works , thanks again :)



0Send private message
Comment

Characters : 0
No results
0Send private message