Surfaceparm-issues when converting map to other game
When you convert a bsp from one game to another, surfaceparms can get mixed up. Means, surfaces can suddenly be slick or hurt when they shouldn't. This is probably a known issue, however is there a possible fix for that?
Pretty sure there's not a whole lot you can do and it's stipulated that such things happen in the readme.
I gather a translation might be possible but it's in bits so it will take some clever conversion engineering.
Could also run into issues with custom info parms feature. How would the conversion know if the original had used such thing?
Theoretically we can use surfaceparms names from games.h to deduce correct flags. But that still wont be 100% reliable solution.
BSP does not store surfaceparms by name, only as a bitflag integer.
games.h do that though!
Does what exactly? I thought it was a list of strings that maps to the integer value
Does store surfaceparms by name, not only as a bitflag integer.
Would be nice if there was at least a workaround
Well I mean it wasn't ever designed to be used for perfect porting purposes, given that ports are kinda grey area legally.
I'd suggest a plugin maybe, to which you would tell the game you loaded the map from, and what surfaceparm you'd like to convert to. That's not something we (GtkRadiant) will be writing any time soon though, but it sounds easy enough.