change-uiflags - Change UIFlags of the models
change-uiflags [--help|-h] [--version|-V] [--verbose|-v] [--config config-file] [--type|-t type-regexp] [--uiflags|-u uiflags] [--output|-s output-file-or-dir] [--force|-f] filename ...
change-uiflags --help
change-uiflags changes the UIFlags of the model based on the list of regexps and new values. Regexp and new uivalues are given in pairs. If regexp given in --type matches, then uiflags is set to the value given in --uiflags option.
If --output option is given and specifies directory then new models are written to that directory with same name as the input file. If it is not directory then output file is written to that file (if no mdb prefix is specified then it is automatically added). If not --output option is given, then the input file is overwritten with the new file.
This will only write output files if it actually changes the model unless --force option is given (useful if used with --output option pointing to directory).
=item [B<--output>|B<-s> I<output-file-or-dir>]
Output file or directory. If it is directory then outuput files are written to that directory with same name as input file (it might be useful to include --force option in that case). If it points to file then output is written to that file (if multiple input file names are given all output is still written to same file). If not given then input files are overwritten with the new modified version.
change-uiflags --type "rigd\$" --uiflags 64 --type "(walk|col[23])$" --uiflags 0 *.mdb change-uiflags -o output-dir/ *.mdb
trnprint(1), Trn(3), TrnWrite(3)
and TrnRead(3).
Tero Kivinen <kivinen@iki.fi>.
Program made for Hellfire to set the UIFlags in the models when making tilesets.