What you want to do makes sense, and seems like it shouldn't be that hard. Would be nice if we could just update a few templates.
I'm afraid I don't know how to make this change currently. The editor hasn't aged well. The front end (user interface) was written in VB6. VB6 hasn't had an updated compiler released in about 20 years. Additionally, Microsoft doesn't provide the old one for free as part of any downloadable Visual Studio package. I hear you can get the old VB6 compiler with one of their paid packages or subscriptions. Failing that, someone would need to use a hacked version to work on the editor front end.
The code generation feature is part of the front end.
For reference, the backend was written in C++. It does all the file parsing and writing, handling of archives and compression, and provides the front end with (hopefully) easy to use objects. We can update the backend using freely available versions of Visual Studio. The backend code is also a bit antiquated, but still works.
If you're interested in digging up an old version of VB6 and working on this, perhaps we can offer some help and guidance. One of my current stumbling blocks with this project is I use Linux now, and the old VB6 compiler supposedly doesn't work under Wine, so I'd have no way to use it without access to a Windows development environment.