Advertisement
Civilization Fanatics' Center  

Welcome to Civilization Fanatics' Center.

You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support.

Go Back   Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > Civ4 - Modding Tutorials & Reference

Notices

Reply
 
Thread Tools
Old Jul 10, 2010, 05:36 PM   #61
BeastofStrength
Chieftain
 
BeastofStrength's Avatar
 
Join Date: Jun 2010
Posts: 34
thank you!!
BeastofStrength is offline   Reply With Quote
Old Mar 10, 2011, 07:10 PM   #62
thecowwarrior
Warlord
 
thecowwarrior's Avatar
 
Join Date: May 2010
Posts: 135
help?

Very thorough guide, helped me a ton. Thank you!

Last edited by thecowwarrior; Mar 10, 2011 at 08:45 PM.
thecowwarrior is offline   Reply With Quote
Old May 15, 2011, 10:56 AM   #63
NusRa
Chieftain
 
Join Date: May 2011
Location: USA
Posts: 16
Great Tut... Never under estimate programers though

I followed your Tutorial.
Was able to add resources to xml, no problem.
However, the section of tutorial on adding the mini map icons to the font files was trial and error.
Was able to do it after a while using Psp 4.14.
The learning curve was high.

First hurdle was adding that blue/green pixle.
Solution: save the mask to file. Then delete the mask.
Then add the pixle to correct location.
After which the mask is reloaded.
Save the gameFont file, so you don't have to repeat this step.

Next, make active the icon image, crtl-c to copy. Then make the gameFont image the active image.
My icon image has a black background, so make sure the background color is black for the clipboard copy. More on why the background is black in a moment. Anyway paste the icon into the gameFont image using crtl-shift-e(paste as a transparent seltion).
Don't unselect the paste outline.
Next mask->edit. Then change foreground color to a gray scale white. And, paint or fill the still selected icon with this foreground color.
Unselect the icon. Now view through mask in the view menu to check your work.
Save the gameFont file. And place in the your mods custom assets res/font folder.
Repeat process for the gameFont_75 file.

Note this is what took me so long to implement his mod.
I was testing out my changes made to only one of these files, to see if I was doing it correctly.
And, it wasn't working, so my thinking was that I wasn't doing the change correctly.
Once I made the leap of thinking to maybe, firixas programmed the loading of these mini icons as pairs, the above instructions worked like a charm.
NusRa is offline   Reply With Quote
Old Aug 04, 2011, 09:22 AM   #64
civ2
Emperor
 
civ2's Avatar
 
Join Date: Nov 2004
Posts: 1,656
Nice tutorial!
I used it do make a funny mini mod on resources:
http://www.2shared.com/file/2r8TnNgZ/AAA_Resources.html
It does 2 things (and was done in those 2 major steps too)
1. Simple value tweaking - making resources much more useful.
2. Improvements tweaking - this was done after reading your tutorial.
The second part includes:
a. Taking MINE and FARM, and adding MINE_2 and FARM_2.
b. The original upgrade is made "cottage style" to immediately upgrade into the second/new one.
So what's the catch?
Simple:
c. The first upgrade doesn't give BONUS bonuses.
Instead, it SPAWNS resources!
Like, build a FARM on an normal tile, and you can get a RICE!
Same goes for MINE - need some GOLD?
I made the discovering values very small (aka chances VERY high), but my first tests were with low chances.
Which made it kinda GAMBLING.
Why?
Cause the _2 thingy gives useful stuff ONLY with resources!
So there was a chance of an "abandoned mine" that was just sitting there, EMPTY.
Which meant you had to change it to, say, COTTAGE, and then rebuild it for another TRY!
d. Now almost the same was done with COTTAGE.
It now can spawn ALL other resources that aren't spawned by MINE/FARM!
Except for WATER ones - I found no way to spawn them...

I'm awaiting everyone's reviews on this "mod", and maybe someone knows THIS:
How to make resources spawn WITHOUT building improvements???
Why those WATER/LAND_WORKED things don't work like other improvements???
I tried to make them do the trick, but it didn't happen...

Do you think I should.could post this in the MODS section???
It just seems to be so minor...
Thanks!
civ2 is offline   Reply With Quote
Old Dec 10, 2011, 01:39 PM   #65
cfeyyaz
Chieftain
 
cfeyyaz's Avatar
 
Join Date: Oct 2005
Location: Istanbul
Posts: 17
Hi, I want that building a mine/farm/pasture etc. to cost money(gold from the empire's treasury). Is it possible by doing small modifications on those XML files, or does it require other advanced programming skills?
cfeyyaz is offline   Reply With Quote
Old Dec 10, 2011, 06:30 PM   #66
The_J
Say No 2 Net Validations

 
The_J's Avatar
 
Join Date: Oct 2008
Location: Germany / Netherlands
Posts: 24,837
Images: 51
Can be done .
That's in the units\buildInfos.xml, the value for iCost.
__________________
Civ4-BtS-Mod "Mars, Now!"


Steam eats the souls of little gamers!!!
The_J is offline   Reply With Quote
Reply

Bookmarks

Go Back Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > Civ4 - Modding Tutorials & Reference > [TUTORIAL] [TUT] skin and add new Bonus Resources and add Improvements

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOW TO : Add Bonus (Resource) Vercors Civ4 - Creation & Customization 1 Aug 02, 2007 08:55 AM
[Mod help/tut request] Does anyone know how to add in... Civkid1991 Civ4 - Creation & Customization 2 Sep 05, 2006 03:12 PM
Add resources and tile improvements to home menu Clovis Civ4 - General Discussions 0 Dec 30, 2005 06:01 PM
Roads add movement bonus and NOTHING else ? Hamil Civ4 - General Discussions 31 Oct 08, 2005 01:40 PM
Modmakers Tutorial: Add new units, improvements, wonders, technologys, and Resources! Plutarck Civ3 - Tutorials, Reference, & Guides 153 Sep 29, 2004 08:34 AM


Advertisement

All times are GMT -6. The time now is 05:31 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
This site is copyright © Civilization Fanatics' Center.
Support CFC: Amazon.com | Amazon UK | Amazon DE | Amazon CA | Amazon FR