Loading...
  OR  Zero-K Name:    Password:   

Error to do with big unit tweaks

2 posts, 277 views
Post comment
Filter:    Player:  
sort
21 months ago
Ive recently started using the unit tweak system to do some very light "modding" however ive reached a stage where the code itself is long to the degree it can cause errors loading up, primarily stopping other advanced settings options from working.

Something of note with this is it says its something to do with server memory and it only occurs when i attempt to host multiplayer games, am i overstressing the zero k servers by putting in such a long code into the unit tweaks section or is their a physical limitation to how long a unit tweak code can be?



Oh and to avoid this if anyone could help with the process of putting unit tweaks into a custom gamemode format that would be much appreciated, as id rather not have to deal with potential issues caused by this well issue.
+0 / -0

21 months ago
quote:
Oh and to avoid this if anyone could help with the process of putting unit tweaks into a custom gamemode format that would be much appreciated

I guess you have already looked at https://zero-k.info/mediawiki/Mod_Creation ?
The part under "More Significant Changes" is what you want.

Basically, instead of supplying the differences in units you supply the whole unit file.
A bit more maintenance for small tweaks, but for larger things it's much easier to work with.

Heres a super small mod I made earlier, that was born out of unit tweaks.
https://zero-k.info/Maps/Detail/61598

You can download the sdz file and unzip it to look inside.
+0 / -0