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.
|May 15, 2011, 11:56 AM||#63|
Join Date: May 2011
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.
|Aug 04, 2011, 10:22 AM||#64|
Join Date: Nov 2004
I used it do make a funny mini mod on resources:
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?
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.
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...
|Dec 10, 2011, 02:39 PM||#65|
Join Date: Oct 2005
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?
|Dec 10, 2011, 07:30 PM||#66|
Say No 2 Net Validations
Join Date: Oct 2008
Location: Germany / Netherlands
Can be done .
That's in the units\buildInfos.xml, the value for iCost.
|Thread||Thread Starter||Forum||Replies||Last Post|
|HOW TO : Add Bonus (Resource)||Vercors||Civ4 - Creation & Customization||1||Aug 02, 2007 09:55 AM|
|[Mod help/tut request] Does anyone know how to add in...||Civkid1991||Civ4 - Creation & Customization||2||Sep 05, 2006 04:12 PM|
|Add resources and tile improvements to home menu||Clovis||Civ4 - General Discussions||0||Dec 30, 2005 07:01 PM|
|Roads add movement bonus and NOTHING else ?||Hamil||Civ4 - General Discussions||31||Oct 08, 2005 02:40 PM|
|Modmakers Tutorial: Add new units, improvements, wonders, technologys, and Resources!||Plutarck||Civ3 - Tutorials, Reference, & Guides||153||Sep 29, 2004 09:34 AM|