Vaeringjar
Chieftain
- Joined
- Dec 19, 2020
- Messages
- 92
So when I play I like tweaking things a bit to fit my liking. In 2821 I made a new (xml) unit class to have a non-replacement "man-o-war" unit. Worked fine in 2821, and all XMLs I edited haven't changed from 2821 to 2822. However, in 2822 I now get a "DLL hardcoding error: NUM_UNITCLASS_TYPES" "Use a non-hardcoded DLL or recompile the DLL to match your new XML setting." Also getting the same error for "NUM_UNIT_TYPES".
I'd also argue not hardcoding things such as number of unit classes would be a standard submod-friendly thing.
Weird thing is it shows up fine in the colopedia, both the new unit and the black bear (last entry in both files) is showing up too. First entries are showing up too (criminal & colonist). Is this new error of no consequence?
On a different topic I rebalanced all ships to be historically accurate, since vanilla's ship balancing is rather nonsensical imo, is there any community interest in uploading one's tweaks?
I'd also argue not hardcoding things such as number of unit classes would be a standard submod-friendly thing.
Weird thing is it shows up fine in the colopedia, both the new unit and the black bear (last entry in both files) is showing up too. First entries are showing up too (criminal & colonist). Is this new error of no consequence?
On a different topic I rebalanced all ships to be historically accurate, since vanilla's ship balancing is rather nonsensical imo, is there any community interest in uploading one's tweaks?