Best Learning Mods

Magma the Great

Chieftain
Joined
Dec 7, 2014
Messages
19
Hello, I'm relatively new to modding and was wondering if anyone had suggestions for some good mods to learn from. This would be looking at the code of the mod to see how things work and possibly playing around with things to see what they do.
Thanks!
 
This depends a lot on what kind of mod you plan to make. New civilization code is fairly different from something like Suk's Events and Decisions, which is fairly different from DLL modding. So...
 
I can do XML pretty well, but the Lua is a bit hard for me. I'm currently trying to make something that updates a database but will update it to different values based on the difficulty, and I have no clue how to do that.
 
If you mean the GameData database, you can't update it using Lua. All the database changes are made when the mod gets activated, before any Lua code is executed, and any changes made later will have no effect.

(At least this is how I understand it, if anyone disagrees with it, please let us know.)
 
Top Bottom