Back to List
Maintained by
SmokeDragon
Last updated 4 days ago
Created 4 months ago
download JSON metadata of morph_me
morph me
PLAY THIS MOD
Maintained by


Last updated 4 days ago
Created 4 months ago
download JSON metadata of morph_me
just working on some things..
[Spoiler]
eta: 1-2 days.. all units can morph into next most expencive unit for cost..
[Spoiler]
local invalidUDNames = { ["terraunit"] = true, ["slicer"] = true } local validUnits = {} local sortedUnits = {} for name, ud in pairs(UnitDefs) do if validunitnames[ud.name] and not invalidUDNames[ud.name] then table.insert(validUnits, ud) end end table.sort(validUnits, function(a, b) return a.metalCost < b.metalCost end) for i, ud in ipairs(validUnits) do if not ud.customparams then ud.customparams = {} end if not ud.customparams.morphto then ud.customparams.morphto = "" end if not ud.customparams.morphtime then ud.customparams.morphtime = 4 end if validUnits[i + 1] then ud.customparams.morphto = validUnits[i + 1].name else ud.customparams.morphto = "" end end
eta: 1-2 days.. all units can morph into next most expencive unit for cost..
Zero-K is a free real time strategy (RTS), that aims to be the
best open source multi-platform strategy game available :-)