Development > Newbie Coding
extracting surface parameters from .map files
ShipIt:
--- Quote from: Duke on March 11, 2014, 03:36:31 pm ---ufo2map seems to have a material file generation feature. Have you tried that ?
--- End quote ---
I did. But, using this for the tiles of an RMA it generates a file for each tile, e.g. iterating over +mansion gives 29 new .mat files. For some reason it always only adds exactly one entry to the file. Therefore, it uses some hardcoded values that are not the best imo.
Also, it doesn´t check whether an entry already existst or not, so it is not usable for maintenance.
Duke:
Set aside the 'only one entry per file' and '1 file per tile' problems (that could be fixed/changed):
Can the values in the mat file *only* be entered there or can they be entered elsewhere (eg. radiant) ?
I.o.w.: does ufo2map at least have a chance to extract the wanted values from the map file ?
ShipIt:
The material settings for the textures are not stored in the map. Afaik the only chance to set material parameters for textures is the material file.
Duke:
There is also something in the UI called 'material_editor'. Not sure if that is just unfinished business. Do you know anything about that ?
(ui_push material_editor at the game console shows the window at least)
ShipIt:
--- Quote from: Duke on March 12, 2014, 03:35:08 pm ---There is also something in the UI called 'material_editor'. Not sure if that is just unfinished business. Do you know anything about that ?
(ui_push material_editor at the game console shows the window at least)
--- End quote ---
It is possible to open an editor and edit the material file out of radiant.
Navigation
[0] Message Index
[*] Previous page
Go to full version