How to limit the amount of raiders that attack?

Started by DaveG, June 12, 2014, 08:06:47 PM

Previous topic - Next topic

DaveG

So I made a few small changes to make the game easier for my nephew ( sawing log gives you metal as well as wood small things like that ) but I noticed that since raiders strength is now based on how "rich" you are this causes some issues like 600 raiders attacking at once.......lowering the frame rate to almost zero, so my question is where would I edit to make a limit of 100 for example?

nmid

I haven't tested this out, but looking at the .xml files so far, I would suggest making changes to
Mods\Core\Defs\FactionDefs\BaseFactionDefs.xml
to adjust the weights of which raiding party is selected

and

Mods\Core\Defs\PawnKindDefs\ (all the faction files.xml)
to adjust the number of raiders.
      <countRange>
        <min>1</min>
        <max>100</max>

You could also potentially adjust the money available for weapons to make it easier for your nephew.. letting him shoot away at the raiders without worry, but that won't affect the lag problem.

I like how this game can result in quotes that would be quite unnerving when said in public, out of context. StorymasterQ

DaveG