Customizing unit names and restricting builds in Beyond All Reason uses the tweak system. The customparams structure handles display changes like renaming units, while maxthisunit controls build availability.
Tags: beyond all reason, rename units, customparams, i18n, maxthisunit, unit restrictions, nutty b raptors
The Oracle renaming by Nutty B Raptors demonstrates the pattern. Unit names live in customparams under i18n keys:
i18n_en_humanname changes the display namei18n_en_tooltip changes the tooltipApply the same pattern to any unit. The changes appear in the build menu and unit selection screens.
The maxthisunit parameter controls how many of a unit type can exist. Setting it to zero effectively bans the unit from being built. This replaced the older parameter naming in previous versions.
The tweak returns a LUA table structure with unit names mapped to their restrictions.
These tweaks enable custom game modes, practice scenarios, and balanced matches. Players who master the tweak system create more engaging experiences for their groups.
[Crd] One of the few places where you can for sure coordinate with people in matches with a good supportive attitude. Everybody tends to be understanding and constructive.