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

A question about planet wars

3 posts, 234 views
Post comment
Filter:    Player:  
sort
2 years ago
Is it possible to edit the stats of the planet wars units?

Im currently trying to see if i can edit the statistics of the planet wars units using stat tweaks but they don't appear to show up in the list of units in the zero k repository, its a very niche topic but help on the subject would be much appreciated.

(as for the reasoning im trying to make some of the planet wars structures able to be built from the strider hub as late game economy structures, but obviously the 6 energy something like a planetary solar array generates is quite small and i don't want to make an entire mod for testing this.)
+1 / -0


2 years ago
Planetwars units are generated by modifying a template structure. It happens here: https://github.com/ZeroK-RTS/Zero-K/blob/master/gamedata/unitdefs_post.lua#L132

This is after tweakunits are applied so you might have trouble editing them with tweakunits. There doesn't seem to be a good reason for planetwars units to be created after tweakunits though.
+0 / -0
2 years ago
Could i edit them using tweakdefs then you think? because if their edited statistically i believe i could get them to at least build at the strider hub as that shouldn't conflict.
+0 / -0