There seems to be nothing wrong with the code. However, what do you want to do with this code? If you want to replace the Artillerbarrage#1, you shouldn't rename it (Enum is just hardcoded, but it doesn't affect the use and behaviour of a SW AT ALL...although it won't allow custom entries).
But you need to define the science as well, don't forget that. And sciences need to be defined in the Science.ini file, otherwise the entire thing will crash your comp...
|