I don't seem to be able to get any custom python scripts in my mod directory to be used by the game. Here's what I did.
- Created a mod called Test: Mods/Test/
- Created subdirectories: Mods/Test/Assets/
Mods/Test/Assets/XML/
Mods/Test/Assets/XML/Terrain/
Mods/Test/Assets/Python/
- Copied all XML files from the main Assets/XML/Terrain/ directory to the corresponding mod directory
- Copied the CvEventManager.py from the main Assets/Python directory to the corresponding mod directory
When I load my mod, the changes I made in my XML directory do take effect. However, the changes I made in my CvEventManager.py script do not. The only change I made in my CVEventManager.py script was to change the text of a single debug message. My debug message isn't getting printed, but the one in the main Assets/Python directory is.
Any ideas?
John
- Created a mod called Test: Mods/Test/
- Created subdirectories: Mods/Test/Assets/
Mods/Test/Assets/XML/
Mods/Test/Assets/XML/Terrain/
Mods/Test/Assets/Python/
- Copied all XML files from the main Assets/XML/Terrain/ directory to the corresponding mod directory
- Copied the CvEventManager.py from the main Assets/Python directory to the corresponding mod directory
When I load my mod, the changes I made in my XML directory do take effect. However, the changes I made in my CvEventManager.py script do not. The only change I made in my CVEventManager.py script was to change the text of a single debug message. My debug message isn't getting printed, but the one in the main Assets/Python directory is.
Any ideas?
John