CassMod2 (Experimental)
CassMod2 (CM2) is a lightweight experimental mod to determine the practical utility of Aliasing (creating derivative files using per-line replacements) to minimize filesize, complexity, load times, and improve the resiliency of mods to game updates, so that simple mods can function for long periods of time with virtually zero maintenance, allowing for more permanently functioning mods on the workshop
how do you use aliasing?
very simple, you can use it to make copies of existing files by including this line on the top;
including the symbols at the beginning, and linking whatever file you wish to clone
no other lines are necessary in the file if you want to make an identical clone
if you want to make changes, any lines you want to replace from the original file need to be under their sections, so BaseNoise needs to have [SensorData] over it
more thorough examples can be found in this mods files, which i suggest should be reverse-engineered to see how this should be implemented
why does this mod exist?
two reasons:
1) i wanted to push the limits of aliasing to see what i could get away with, and become familiar with the concept so that i could make use of it
2) other modders may be able to make use of this concept so that they can optimize their mods and make their mods easier to update and maintain their mods
i’m not a modder! what does this mod even do!
if you dont care about aliasing, this can be thought as a small, simple mod that adds a very small selection of ‘lazy’ units and weapons, 1990s refits (NTU Cruisers, late arm-launched Ticonderoga, ADCAP-armed SSNs) that do not replace any existing units
will any of this make it into the base game eventually?
No. nothing in this mod is endorsed by the Triassic team and this mod bears no relevance to the base game’s development, this is just an example mod to show how aliasing is done
why is it called CassMod2?
i am unimaginative and named it after myself, and this is technically the second CassMod
will you add new content, or update this mod for newer versions of the game?
only if aliasing as a feature changes in its operation, new functionality arises, or i get bored and add something i want to make. i will not be taking suggestions for additions or changes, this mod is delivered as-is
ini work nuclearstonk, made in about 3 hours, aliasing functionality and all base game art are courtesy of Triassic Games
contact me on discord (@nuclearstonk) if you have any questions or concerns
enjoy! ^^