Advertisement
Civilization Fanatics' Center  

Go Back   Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > Civ4 - Mod Components

Reply
 
Thread Tools
Old Jun 18, 2009, 07:26 AM   #1
Ikaros82
Chieftain
 
Join Date: Apr 2009
Posts: 11
Religion victory conditions

Hi all.
I'm not sure if this is the right place to post a request for help.
If I'm wrong, please excuse me (and excuse my english too).

I use to play [CIV][BTS][Thomas'War], which I've modified a little, but I think my request can apply to every CIV version. I made this clarification just in case you see something different in my examples.

I'm looking for customizing the victory condition, but something is unclear to me. I want to add new victory conditions that are a sum of pre-existent conditions. Let me post 3 examples.

1) you have to win both cultural and domination, i.e. you have to hold X legendary city AND rule a certain percentage of the map.

2) you have to win both space race and cultural, i.e. you have to hold X legendary city AND successfully launch the space ship.

3) you have to win both space race and domination, i.e. you have to rule a certain percentage of the map AND successfully launch the space ship.

I try adding some piece of code to \XML\GameInfo\CIV4VictoryInfo.xml, but it seems this it not sufficient.

example:
Code:
<VictoryInfo>
	<Type>VICTORY_CULTURAL_DOMINATION</Type>
	<Description>Cultural Domination</Description>
	<Civilopedia>Cultural Domination</Civilopedia>
	<bTargetScore>0</bTargetScore>
	<bEndScore>0</bEndScore>
	<bConquest>0</bConquest>
	<bDiploVote>0</bDiploVote>
	<bPermanent>0</bPermanent>
	<iPopulationPercentLead>0</iPopulationPercentLead>
	<iLandPercent>50</iLandPercent>
	<iMinLandPercent>40</iMinLandPercent>
	<iReligionPercent>0</iReligionPercent>
	<CityCulture>CULTURELEVEL_LEGENDARY</CityCulture>
	<iNumCultureCities>4</iNumCultureCities>
	<iTotalCultureRatio>0</iTotalCultureRatio>
	<iVictoryDelayTurns>0</iVictoryDelayTurns>
	<VictoryMovie>ART_DEF_MOVIE_VICTORY_CULTURAL</VictoryMovie>
</VictoryInfo>
This should realize my 1) point, right?
Or do I have to define <Type>VICTORY_CULTURAL_DOMINATION</Type> in some other files?

Then, how can I tell that Spaceship is necessary to more than one victory condition? Can I put "<Type>VICTORY_SPACE_RACE</Type>" in more than one single <VictoryInfo> block?

And how <iVictoryDelayTurns>0</iVictoryDelayTurns> affects non-spacerace victories?
I tried adding this block:

Code:
<VictoryInfo>
	<Type>VICTORY_NEW_DOMINATION</Type>
	<Description>New Domination</Description>
	<Civilopedia>New Domination</Civilopedia>
	<bTargetScore>0</bTargetScore>
	<bEndScore>0</bEndScore>
	<bConquest>0</bConquest>
	<bDiploVote>0</bDiploVote>
	<bPermanent>0</bPermanent>
	<iPopulationPercentLead>0</iPopulationPercentLead>
	<iLandPercent>25</iLandPercent>
	<iMinLandPercent>25</iMinLandPercent>
	<iReligionPercent>0</iReligionPercent>
	<CityCulture>NONE</CityCulture>
	<iNumCultureCities>0</iNumCultureCities>
	<iTotalCultureRatio>0</iTotalCultureRatio>
	<iVictoryDelayTurns>20</iVictoryDelayTurns>
	<VictoryMovie>ART_DEF_MOVIE_VICTORY_DOMINATION</VictoryMovie>
</VictoryInfo>
In custom game options, I correctly see both new victory conditions. Also in-game, I can see both victories situation. The strange thing is this:
On line regarding New Domination I can read "hold 25% of the map" (or something like that), and my percentage. But when my percentage exceeds 25%, no victory happen. Also, percentage of best rival is frozen at 15%.

What should I do? I think there is some (mybe python) file to edit?
Thanks!
Ikaros
Ikaros82 is offline   Reply With Quote
Old Jun 18, 2009, 11:32 AM   #2
The_J
Say No 2 Net Validations
 
The_J's Avatar
 
Join Date: Oct 2008
Location: Germany / Netherlands
Posts: 28,970
Quote:
Originally Posted by Ikaros82 View Post
Hi all.
I'm not sure if this is the right place to post a request for help.
No, it's not, the main forum is for questions.

But welcome to CFC .

Quote:
Originally Posted by Ikaros82 View Post
This should realize my 1) point, right?
Or do I have to define <Type>VICTORY_CULTURAL_DOMINATION</Type> in some other files?
No, it's the only file which has to be modified for that.


Quote:
Originally Posted by Ikaros82 View Post
Then, how can I tell that Spaceship is necessary to more than one victory condition? Can I put "<Type>VICTORY_SPACE_RACE</Type>" in more than one single <VictoryInfo> block?

And how <iVictoryDelayTurns>0</iVictoryDelayTurns> affects non-spacerace victories?
I think, the second is the first, but not sure.
You should try it out, if iVictoryDelayTurns is the space ship victory, try to build the space ship after you fullfil the other victory conditions.
__________________
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 - Mod Components > victory conditions

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
New Victory Conditions Flying Pig Civ4 - Creation & Customization 11 Feb 20, 2009 02:58 PM
Victory Conditions End er Civ4 - Strategy & Tips 1 Mar 04, 2006 09:52 PM
Victory conditions fulfilled but no victory??? Riolino Civ3 - General Discussions 4 Jul 15, 2004 12:46 PM
Victory conditions Sinis88 Civ3 - General Discussions 1 Jan 25, 2003 02:50 AM
Victory conditions Dell19 Civ3 - Strategy & Tips 5 May 31, 2002 02:44 PM


Advertisement

All times are GMT -6. The time now is 07:34 PM.


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