Page 1 of 1

Research handicapping (MP Teams)

Posted: Tue Mar 21, 2017 2:01 pm
by DutchTed
A few of us play a Bob's modded game together on separate teams with separate research. Some of us play more than others :roll: and the overall ability of the players differs. Also some of the more frequent players have a lot of blueprints so advance quicker in the mid and end game.

I was wondering if it is possible for a mod to be developed which would allow for a research multiplier which would mean that certain player forces require more science packs in order to complete research.

I've been having a rudimentary look myself but I'm thinking this isn't currently possible since I am not able to modify science pack recipes after the game has been created and players have entered.

Effectively we want:

Player 1 on Force 1- Newbie -research costs 0.5 times normal
Player 2 on Force 2 - Casual player - research costs normal
Player 3 on Force 3 - Hardcore with blueprints coming out of his ears - research costs 3x normal
... etc

Alternatively would it be possible to write a mod which effectively sets up the teams and research handicap before the game even starts?

Thanks in advance

DT

Re: Research handicapping (MP Teams)

Posted: Thu Apr 13, 2017 8:42 am
by Mooncat
From the 0.14 API doc, there is no way to change the research cost per force.
But you can change the research speed with LuaForce::laboratory_speed_modifier

An alternative is to decrease LuaForce::research_progress by script, to void the used science packs. But that won't change the cost shown on the technology UI. So it may not be a good solution.

Re: Research handicapping (MP Teams)

Posted: Thu Apr 20, 2017 10:33 pm
by SyncViews
Only way to change the cost in the UI would be to clone the tech tree in the data for each player (LuaTechnology has an enabled flag to give each force the right set). Im not sure if the game UI will however hide the "impossible" techs from the research screen, which could be a problem.

It will also need to be scripted in a way not dependent on bobs or angles due to licence restrictions (e.g. fully dynamic, you shouldn't copy paste the tech file and edit all the names/costs there then distribute the modified modifications).

Re: Research handicapping (MP Teams)

Posted: Fri Apr 21, 2017 1:18 am
by BenSeidel
Is there an efficiency stat for the lab? much like the efficiency stat in anything burner?