Page 1 of 1

Research speed? Can i make it slower.

Posted: Thu Sep 26, 2019 4:55 pm
by ArnuldH
Hello, is there a way to make the research take longer? By modding or editing some files.

Re: Research speed? Can i make it slower.

Posted: Thu Sep 26, 2019 5:22 pm
by bjg
You don't have to do any modding. There is a speed setting on the second screen (normal/epic/marathon the last time I've checked). It makes everything more expensive (buildings, ships, science, agreements - the last two maybe only on the "marathon" if I remember correctly).

Re: Research speed? Can i make it slower.

Posted: Thu Sep 26, 2019 5:30 pm
by gaerzi
Yeah.

First, when starting a new game, you can change "game speed" on the "map settings" screen. Use "Epic" or "Marathon" to slow things down. Epic increases research costs by 50%, while marathon increases research costs by 100% (so, they're doubled) but also production costs and influence costs by 50% both.

Modding wise, make a directory called "Slower Research" or something like that in the Stars in Shadow\Mods. In it, create a subdirectory called "@Technology" (yes, starting with an "at" symbol). Then copy the file "~TECHNOLOGY.lua" (yes, starting with a tilde) from Stars in Shadow\Lua state\@Technology to Stars in Shadow\Mods\Slower Research\@Technology. Edit that copied file. Scroll down just a little bit and you'll see:

Code: Select all

--!! COST definitions

local early = binner 
  { 60, 80, 100, 120, 150, 200, 250, 300, 360, 420, 480  }
--  0   0.1 0.2  0.3  0.4  0.5  0.6  0.7  0.8  0.9   1


local mid = binner
--jwf  { 500, 600, 700, 800, 900, 1000, 1200, 1500, 2000, 2500, 3000}
  { 500, 600, 700, 800, 900, 1000, 1500, 2000, 3000, 4000, 5000}
--  0    0.1  0.2  0.3  0.4  0.5    0.6  0.7    0.8  0.9   1

local late = binner
--jwf  {3000, 3500, 4000, 5000, 6000, 7000, 8000, 10000, 15000, 18000, 20000 }
  {6000, 7000, 8000, 9000, 10000, 12500, 15000, 20000, 25000, 30000, 40000 }
--  0     0.1  0.2   0.3   0.4    0.5  0.6   0.7    0.8   0.9  1

_G.tech_costs = {..early,..mid,..late}

Those are the values that are attributed to techs, e.g. "guidance systems" is "early(.1)" which means it costs 80, "fusion warheads" is "mid(.2)" which means it costs 600 by default, while "planet construction" is "late(.9)" so it costs 30000.

Re: Research speed? Can i make it slower.

Posted: Fri Sep 27, 2019 5:31 am
by ArnuldH
Thanks for the quick reply, i noticed the speed setting in game after the post i made. But it also decreases everything else in the game. I will try out that editing you posted to only slower the research speed.

thank you very much.