Uty
I hate you, Milkman Dan
Hey folks. I'm working on a mod (I see I'm not the only one) and decided to start out simple. The ultimate goal is to improve the military advisor screen. Just to get things started I wanted to change some text on that screen to read "hello, world." (After that I get started with the real work, which needs to be done in Python)
In my install dir, I made a "MyMod" subdirectory within Mods. Here's the structure I filled in.
MyMod
|
--Assets
--Python
--|
----Screens
----EntryPoints // Added this during the second try, after I got the error
I havn't made any XML files or anything, so I didn't make XML directories. Same for art or any other oddities. I made a quick change to CvMilitaryAdvisor.py and put that in MyMod/Python/Screens. Civ was started, and my mod showed up in the list. I picked that, and Civ restarted. During the load a popup appeared noting "Failed to load python module CvEventInterface.py" I made the MyMod/Python/EntryPoints subdirectory and populated it with Assets/Python/EntryPoints/CvEventInterface.py ... I reloaded the module and got the same error.
To my knowledge you only have to provide the files that you have changed. Then the game loads the files you have not overridden from Assets. Are there other files that need to be included, or other steps that I need to take?
Thanks
In my install dir, I made a "MyMod" subdirectory within Mods. Here's the structure I filled in.
MyMod
|
--Assets
--Python
--|
----Screens
----EntryPoints // Added this during the second try, after I got the error
I havn't made any XML files or anything, so I didn't make XML directories. Same for art or any other oddities. I made a quick change to CvMilitaryAdvisor.py and put that in MyMod/Python/Screens. Civ was started, and my mod showed up in the list. I picked that, and Civ restarted. During the load a popup appeared noting "Failed to load python module CvEventInterface.py" I made the MyMod/Python/EntryPoints subdirectory and populated it with Assets/Python/EntryPoints/CvEventInterface.py ... I reloaded the module and got the same error.
To my knowledge you only have to provide the files that you have changed. Then the game loads the files you have not overridden from Assets. Are there other files that need to be included, or other steps that I need to take?
Thanks