Modding Not working regarding Happiness or Health

AAGamer

Hauptman-JG53
Joined
May 5, 2002
Messages
67
Location
Sparta, WI, USA
Hello all,

Hi guys, I was just modding about and tried to change the technology and add a happiness bonus to developing a mod. When I pop into a city I dont see any change. I also tried the same thing with a building and it made no effect on the city. Anyone else having this happin?

I went into the files and in the section where it states <iHealth>0</iHealth>
<iHappiness>1</iHappiness>

I changed the zero in the happiness section to the 1 as shown and no effect happened.

Any ideas on why not?

Thanks for your help.
 
Ok, first did you create it in a mod folder, or did you change the default xml files? Have you tried clearing the cache yet?

To clear the cache open my computer.

Click on Options / Folder Options
Go to view tab / Select 'Show hidden files and folders' in the middle / apply and then browse to

C:\Documents and Settings\<user name>\ApplicationData\MyGames\Civ4\cache

Delete all of the files here.
 
AAGamer said:
Hello all,

Hi guys, I was just modding about and tried to change the technology and add a happiness bonus to developing a mod. When I pop into a city I dont see any change. I also tried the same thing with a building and it made no effect on the city. Anyone else having this happin?

I went into the files and in the section where it states <iHealth>0</iHealth>
<iHappiness>1</iHappiness>

I changed the zero in the happiness section to the 1 as shown and no effect happened.

Any ideas on why not?

Thanks for your help.

No actually my experience is just the opposite it worked like a charm. I added a building called a Domicil. It's a force buil;t building by the Saint unit I added. It adds a small bit of happy, health and culture to the young city.

How are you trying to implement it? What files etc.
 
I tried it with the main files not a mod.. I have it on two machines so I just messed with the main files on this one machine and it didnt allow the change to take place. As for the clearing of the cache I have to ensure that I do that from now on.

I found it strange that it didnt work right away since everything else has been so simple to change. Thanks for the assistance will update on progress.
 
Clearing the cache solved the problem..

Thanks again.. Now to find the answer to my other problem..

where do i mod the technologies for lumbermill, watermill and such? Dont need to know how to change the numbers, can do that.. Just need to find out where and how to change the technologies for those.
 
If you're speaking of the technologies that allow you to build them, I think you need to mod Assets\XML\Units\Civ4BuildInfos.xml

If adding a new tech you'll also of course have to add it to XML\Technologies\Civ4Techinfos.xml
 
Back
Top Bottom