Mod Component Requests Thread

In the Civ4BonusInfos.xml is a tag
PHP:
<iUnique>0</iUnique>

The number means (iirc), that you can only have one of these resouces in the range of these fields.
Putting in a real high value would mean, that there could be only one resource on the map.
But it's only guessing.
 
Thanks for answering.

We did come up with that, however, we want to make sure that it only comes up the specific number of times at the Map start up and never reoccurs (which I think we figured out). However, we would like this to work on random maps and that means we need a specific coding that only allows that resource to appear in x amount upon research of the proper tech.

I hope I have explined clearly, sorry if I haven't.
 
I am not sure if this has been asked before, but is there a Unique Resource Mod out there or how would I be able to set it up so that only 1 or a limited number of a specific resource will appear on a Map?

ANy help is appreciated.

Thank-you.

why not just start a normal game on the map you want then WorldBuilder and delete all those resources you dont like ? You can access WorldBuilder from the menu that shows "Quit to desktop", "Quit to main menu", etc

The interface is very simple. 5 minutes of playing around with it should be enough for you to get good at it.
 
Also you could write it into your own versions of all the mapscripts for all but one of the resource to be eliminated. Also I think
<iMinAreaSize>3</iMinAreaSize> pertains to how large an area has to be bonus free for the bonus to be placed there, so if you could set this number pretty high and reduce the chance of the bonus. Also Wonder class bonuses
<BonusClassType>BONUSCLASS_WONDER</BonusClassType>
tend to not be generated for each and every Civ, though I don't understand exactly how. Maybe it applies so that each civ gets one bonus class type, so the chances of any one depends on how many bonuses are in that type. How often do you get Copper, Iron, and Horses? But I think what you are asking for is one and only one, exactly one (or some other specific number other than one) to be generated on all maps. That sounds like you want a new XML tag
<iMaxPerMap>1</iMaxPerMap>.
 
That sounds like it might work. Thank you for the help guys. This is for the Arda Mod, not just my own personal maps, sorry I didn't mention that before. Specifically this is for the Mithril Resource. We don't want everybody running around with it after all. :lol:

Tholish:
But I think what you are asking for is one and only one, exactly one (or some other specific number other than one) to be generated on all maps. That sounds like you want a new XML tag
<MaxPerMap>1</MaxPerMap>.

That is exactly right. I hope it will work.
 
Peoples's Political struggle (regular elections, coups, revolts etc.)
Lets say you're Lenin ruling newly created USSR. You look at the diplomatic relations list and see that some Roosevelt dont like you too much. So lets depose him in any we we can to bring some Joe Leftsman of CPUSA to power and let American people join our glorious Marxist ranks in eternal friendship! In order to do this we need that every civ will be having at least 5 leaders each, with different moral values. With one leader ruling only limited amount of time depending on actual civics of his state. People should have voice in their country, elect their leaders if civic allows it or live happily under Dear Leader's wise and perfect decisions if civic supposes that. Player should be able to deal with people directly in his country and abroad as well :)
 
can some1 plz make a mounty unit I'm trying to make a mod with canada as a new civ and just cannot make an acceptable unit
 
can some1 plz make a mounty unit I'm trying to make a mod with canada as a new civ and just cannot make an acceptable unit

Wrong thread, you should try the Unit Requests thread in the Unit's forum. Also check the database, I wouldn't be surprised if a mounty hadn't already been released.
 
I'm looking for a mod where i can adjust the maximum number of cities (ideally 5) and to apply it to the AI players aswell. Like the one city challenge, but applying globally and with a bit more (or less?) challenge :-)

I'd be most grateful if someone could make it!
 
You know what Civilization needs? It needs a tag to determine what eras a civ can start in. So, if you start a game in the Ancient Era, only a set of Ancient Era civs can be generated on the map or selected to be played, ie only those with

<EraStartables>
<EraStartable>ERA_ANCIENT</EraStartable>
</EraStartables>

The above might be for Sumeria, whereas Rome might use:

<EraStartables>
<EraStartable>ERA_ANCIENT</EraStartable>
<EraStartable>ERA_CLASSICAL</EraStartable>
</EraStartables>

meaning that it would be among the possible civs generated on a the map for an Ancient or Classical era start
and America might be

<EraStartables>
<EraStartable>ERA_RENNAISSANCE</EraStartable>
<EraStartable>ERA_INDUSTRIAL</EraStartable>
<EraStartable>ERA_MODERN</EraStartable>
</EraStartables>

meaning America would not appear on any map before the Rennaissance, but might appear on any after that. Something like this would be particularly good synergized with Revolutions and Barbarian Civs and derivative civs.
 
That sounds like it might work. Thank you for the help guys. This is for the Arda Mod, not just my own personal maps, sorry I didn't mention that before. Specifically this is for the Mithril Resource. We don't want everybody running around with it after all. :lol:



That is exactly right. I hope it will work.

Not that I can make such a thing, but looking at your post I just thought of an XML solution. Let Mithril be produced only by a World Wonder like Hollywood produces movies, except
...
<FreeBonus>BONUS_MITHRIL</FreeBonus>
<iNumFreeBonuses>1</iNumFreeBonuses>
 
You could make new improvements that combine the effects of multiple improvements and just take longer to build. Attachment includes text files containing stuff you could add to XML/Terrain/ImprovementInfos and XML/Units/BuildInfos to make a Fortified Farm improvement. Example uses the art of farm. You would have to make a mod and paste the material into copies of the xml files, these won't work as is.
 

Attachments

Are there any modular corps? Im thinking one for GSpy and Prophet, since they dont have corps they can found.
 
I have an idea to a new feature for Civ IV. This idea came to me because I hate to let traitorous dictators and their filthy armies walking across my graceful country just because I want the commercial benefits of the agreement. Besides, a friendly neighbour who wants those same benefits, is obligated to let them pass to attack me, and I have few arguments to stop this. So, what I'm politely asking here is for you guys who know Python, SDK, C++, ancient greek and stuff, to make this mod. Obviously, if you like the idea and want it in your games. I would greatly appreciate it!:)
My initial idea was like that:

Open Borders Division:
- Civil Open Borders (Scouts, Workers, Merchants)
- Commercial Open Borders - Trade Routes
- Military Open Borders
The differents levels of these would change the anger caused by spies getting caught.

A guy agreed with me but he proposed some slight changes. Like this:

Cross-Border Trade (my "Civil" combined with my "Commercial") -> Open Borders (my "Military") -> Defensive Pact -> Permanent Alliance
Each stage would require the others to be complete.

So, anyone who know programming and is interested in this, feel free to modify our ideas. But, please, please, take out Mansa Musa and Genghis Khan of my land! :crazyeye:

Somebody? :(
 
Back
Top Bottom