Cossacks 3

Cossacks 3

View Stats:
MagneticJerk Sep 21, 2016 @ 8:09am
[How to] Increase game speed and global unit limit
Open data/scripts/dmscript.global with a text editor.
For gamespeed, find the line "gc_settings_gamespeed_2 = 14" and change 14 to a higher number. I'm currently using 30 which might be a tad too high, something in the 20s seems alright to me. This is the value for the "Very Fast" setting, and for it to apply in-game you might have to switch to Normal or Slow and then back to Very Fast for it to kick in.

For the unit limit, find "gc_MaxObjCount = 10000;" and change the 10k to whatever you want.
< >
Showing 1-15 of 17 comments
ClEm Sep 21, 2016 @ 8:13am 
Funny. The file shows an unused 4th speed option with a value of 20.

Anyway, thanks for the tip
MagneticJerk Sep 21, 2016 @ 8:17am 
Yeah, I tried enabling that by removing the slashes, but I think you need to add some lines elsewhere to make it show up in the settings, since I didn't see it. Might have been able to switch to it with the hotkeys though, didn't try that.

Also, I encourage anyone to play around with this file, there's a lot of stuff in there, including some values regarding order limits, which might explain why sometimes my peasants just stop constructing all the dwellings I queued up. Bigger maps *might* also be possible via editing this file, there are a few lines regarding map height and width, but the best results I got from playing with those is making me and the enemy spawn in the same spot. Worst case you might have to change something in the map generation scripts, and after taking a glance at them, I have no idea how I'd go about that.
ClEm Sep 21, 2016 @ 8:26am 
Originally posted by MagneticJerk:
Yeah, I tried enabling that by removing the slashes, but I think you need to add some lines elsewhere to make it show up in the settings, since I didn't see it. Might have been able to switch to it with the hotkeys though, didn't try that.

Try changing the line gc_settings_gamespeed_count = 3;
to gc_settings_gamespeed_count = 4;
Last edited by ClEm; Sep 21, 2016 @ 8:28am
Armored Baron Sep 21, 2016 @ 8:37am 
Thanks for the unit cap limit, now all I need to do is figure out how to fix the damn gate crashing bug.
pcgk Sep 24, 2016 @ 4:57pm 
can write me where I change the data of buildings.
the construction period, and the durability

thank you
MagneticJerk Sep 24, 2016 @ 5:44pm 
Originally posted by pcgk:
can write me where I change the data of buildings.
the construction period, and the durability

thank you
In data/scripts/lib/unit.script you can find all the data for both units and buildings. The buildings start at line 1695. The line "SetObjBuildingProperties" has 3 numbers in the parenthesies, the first one is the maximum hp, the second is the build time and the third is called "costpercent", I assume it's what determines the price increase every time you build it.

So the first building in the code at line 1695 is the mill, which has 20,000 HP, has 300 build time and a 200% cost increase.
pcgk Sep 25, 2016 @ 3:14am 
Thanks, it was found :-)
TR4SPY Dec 3, 2017 @ 4:29pm 
Originally posted by ClEm:
Originally posted by MagneticJerk:
Yeah, I tried enabling that by removing the slashes, but I think you need to add some lines elsewhere to make it show up in the settings, since I didn't see it. Might have been able to switch to it with the hotkeys though, didn't try that.

Try changing the line gc_settings_gamespeed_count = 3;
to gc_settings_gamespeed_count = 4;


It's not working for me either. I added up game speed 4 translation in locale but still nothing appear
pcgk Feb 15, 2018 @ 12:39pm 
hallo Magnetic Jerk

Unfortunately, it does not work for some time to change the speed, I can change the data there but it has no function

is there a new solution?

Many Thanks
Kingdark Sep 6, 2020 @ 8:34am 
I'm late to answer on this topic, but changing this, doesn't do anything for me. I find the fastest speed on default, so very very SLOW! changing it to thirty didn't change a thing!
Armored Baron Sep 6, 2020 @ 9:03am 
Sadly you boys are 4 years late.
Kingdark Sep 7, 2020 @ 8:22am 
Yea, I know, but apparently, you can speed the game up, by using a cheat (www) and then using two keys to slow down the game and increase its speed. Not exactly what I wanted, but better than nothing. Also, I still find the original game better. This one is prettier, I'll give you that, but the first one feels a lot smoother for some reason.
Armored Baron Sep 7, 2020 @ 8:48am 
It runs better because it's using 2D sprites instead of 3D models and they've done a piss poor job of optimizing this one when it needs to host thousands of the previously mentioned 3D models.
Kingdark Sep 7, 2020 @ 1:01pm 
It's prettier though, that's true enough, but I agree completely that they did a poor job optimizing it. It doesn't feel finished for a lack of a better way of expressing myself.
Mad_Commander Sep 13, 2020 @ 12:51pm 
I don't want more units. Random map land based with impossible NPC's vs me seen my rig drop to 6/5fps and my setup is no slouch Running a clocked i5 8600k, NVME and 16GB 3000mhz
< >
Showing 1-15 of 17 comments
Per page: 1530 50

Date Posted: Sep 21, 2016 @ 8:09am
Posts: 17