Hello.
I'm trying to learn how to create mods. It's not going so well, so I thought I'd ask here for some help getting started. I'm having trouble getting anything at all to work. I suppose I'm doing the coding wrong.
To my knowledge I'm not attempting to do things that are overly complicated, so rather than you pointing out my embarrassing mistakes I'd very much appreciate it if someone who can do this in their sleep could show me what the code should look like and how to get the mod to work.
Let's say, as an example, that I want to make the following changes:
1. give Monuments +10 Culture, but if the city has a Granary I want the monument to only give +2 Culture.
2. remove the Granary's Food bonus for tiles with Wheat, Bananas and Deer.
3. reduce the Scout's movement speed to 1, but get it back up to 2 when The Wheel is discovered.
4. change the construction time and research time for the Quick speed to 30 and 150 respectively (instead of 67). (I know how to edit the file, but how do I get it to work in a mod?)
... and lastly ...
5. would it be possible to gather all entries about World Wonders in a completely new xml file and then just have that file override all other entries? (Just so it's easier to get an overview of them.) Could someone show me what such an entry would look like with, let's say the Pyramids but with the two free workers removed from the effect?
I know I'm asking a lot here, but I wouldn't be bothering you all with it unless I was stumped.
Thanks in advance!
I'm trying to learn how to create mods. It's not going so well, so I thought I'd ask here for some help getting started. I'm having trouble getting anything at all to work. I suppose I'm doing the coding wrong.
To my knowledge I'm not attempting to do things that are overly complicated, so rather than you pointing out my embarrassing mistakes I'd very much appreciate it if someone who can do this in their sleep could show me what the code should look like and how to get the mod to work.
Let's say, as an example, that I want to make the following changes:
1. give Monuments +10 Culture, but if the city has a Granary I want the monument to only give +2 Culture.
2. remove the Granary's Food bonus for tiles with Wheat, Bananas and Deer.
3. reduce the Scout's movement speed to 1, but get it back up to 2 when The Wheel is discovered.
4. change the construction time and research time for the Quick speed to 30 and 150 respectively (instead of 67). (I know how to edit the file, but how do I get it to work in a mod?)
... and lastly ...
5. would it be possible to gather all entries about World Wonders in a completely new xml file and then just have that file override all other entries? (Just so it's easier to get an overview of them.) Could someone show me what such an entry would look like with, let's say the Pyramids but with the two free workers removed from the effect?
I know I'm asking a lot here, but I wouldn't be bothering you all with it unless I was stumped.
Thanks in advance!