Loading...
  OR  Zero-K Name:    Password:   
Back to List

Badger Tweak

PLAY THIS MOD


Maintained by HRrankLukas321
Last updated 11 hours ago
Created 3 years ago
download JSON metadata of badgertweak
This makes the game much more playable, I feel. It's supposed to be primarily cosmetic. It makes the Badger read a lot more cleanly and makes Trinity launches more distinct. The ideal would be to have it in the base game, of course, but I have not yet talked to GoogleFrog about it.

This mod will be out of date and need another update whenever the vanilla badger gets another stat change, as the only way I know of to replace only a couple of stats while preserving the rest is through the unit tweak setting which doesn't appear to be possible to package with a mod at the moment. Please let me know if there's some other way not to replace a whole unitdef that I'm just not thinking of.


Preview
Filter:    Player:  
sort
This makes the game much more playable, I feel. It's supposed to be primarily cosmetic. It makes the Badger read a lot more cleanly and makes Trinity launches more distinct. The ideal would be to have it in the base game, of course, but I have not yet talked to GoogleFrog about it.

This mod will be out of date and need another update whenever the vanilla badger gets another stat change, as the only way I know of to replace only a couple of stats while preserving the rest is through the unit tweak setting which doesn't appear to be possible to package with a mod at the moment. Please let me know if there's some other way not to replace a whole unitdef that I'm just not thinking of.
+0 / -0
11 hours ago
mymod\gamedata\UnitDefs_post.lua

iclude the original UnitDefs_post.lua and at the end add your own code like so..

for name in pairs(storageUnits) do
    local u = UnitDefs[name]
    if u then
        u.energystorage = 8000
        u.metalstorage = 8000
    end
end
+0 / -0
60 minutes ago
Interesting. I think the core problem of overwriting a game file which means I need to update things whenever the base game's file changes remains, but vanilla ZK doesn't seem to even use UnitDefs_post at the moment. I supposed ZK continuing not to use UnitDefs_post in the future is probably a slightly safer bet than the Badger not getting updates again, which makes things a little less likely to break without maintenance if I for some reason stop updating the mod. I'll probably give it a try later.
+0 / -0