Research speed? Can i make it slower.

General Stars in Shadow Discussion Forum
Post Reply
ArnuldH
Posts: 2
Joined: Thu Sep 26, 2019 4:53 pm

Research speed? Can i make it slower.

Post by ArnuldH »

Hello, is there a way to make the research take longer? By modding or editing some files.
bjg
Posts: 639
Joined: Wed Feb 03, 2016 10:55 pm

Re: Research speed? Can i make it slower.

Post 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).
gaerzi
Posts: 210
Joined: Wed Jul 10, 2019 1:30 pm

Re: Research speed? Can i make it slower.

Post 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.
ArnuldH
Posts: 2
Joined: Thu Sep 26, 2019 4:53 pm

Re: Research speed? Can i make it slower.

Post 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.
Post Reply