The hard part of it is to un-hard-code all the things that depend on the exact value of weaponSubClass. I am thinking of an .ini file such as this:
Code: Select all
[WSC_MISSILE]
name = "MISSILE"
flags = "WSC_EFFECT_RAIL", "WSC_EFFECT_DRAW_LAST", "WSC_EFFECT_ADDITIVE"
I'm not sure if all these hard-coded dependencies are really necessary, though. They seem somewhat arbitrary.
If someone did the job of filling out an .ini file such as the above example, with all the use cases in the code where weaponsubclasses are referenced, I'd add the support code required to read and use it.