Help Wanted Ads

Are you asking to change existing missions or add new ones? If the latter then you can use the outcome system for very simple stuff although AIAndy is promising calls to python at some stage.
Well, you can trigger events now from outcomes and events can have Python callbacks.
 
Another question. If I have two Civ4GameText files with different text for the same tag, which one takes precedence? How is that controlled?
 
Another question. If I have two Civ4GameText files with different text for the same tag, which one takes precedence? How is that controlled?

It is all random. No iirc the last one loaded is the one that has precedence. However it is much better to have only one.
 
It is all random. No iirc the last one loaded is the one that has precedence. However it is much better to have only one.

Could you explain that a little more, like exactly how that order is determined? I got the effect I wanted by putting files in the Assets/XML/Test folder, but that does not seem like the optimal solution.
 
Could you explain that a little more, like exactly how that order is determined? I got the effect I wanted by putting files in the Assets/XML/Test folder, but that does not seem like the optimal solution.

If its in a modularly loaded part then the module takes precedence over a non-modular def (if the module is enabled of course). If it's between two modules then 'radnom' is the best way to think about it - it's actually down to filesystem enumeration order, which could vary (at least in principal) betweens versions of Windows) - I think in practise it depends on the order the filesd were created (which in trun will depend on how you installed it)
 
Another question. If I have two Civ4GameText files with different text for the same tag, which one takes precedence? How is that controlled?

It is all random. No iirc the last one loaded is the one that has precedence. However it is much better to have only one.

If its in a modularity loaded part then the module takes precedence over a non-modular def (if the module is enabled of course). If it's between two modules then 'random' is the best way to think about it - it's actually down to filesystem enumeration order, which could vary (at least in principal) between versions of Windows) - I think in practice it depends on the order the files were created (which in turn will depend on how you installed it)

Yes its all in the ORDER of the MLF, thats why certain ones are in certain spots, its actually very important which order they are in.

And like they said modules are loaded last so they take preference over the core files.
 
If its in a modularly loaded part then the module takes precedence over a non-modular def (if the module is enabled of course). If it's between two modules then 'radnom' is the best way to think about it - it's actually down to filesystem enumeration order, which could vary (at least in principal) betweens versions of Windows) - I think in practise it depends on the order the filesd were created (which in trun will depend on how you installed it)

Here is what I am trying to do: I don't like a lot of technology names, so I created an XML file to rename them. I have tried placing the file in various locations in the Modules folder, but it doesn't work and the original tech names appear. If the file is in the Assets/XML/Text folder, then the technologies are renamed.

I'm also trying to rename a few wonders to remove "The" at the beginning; I don't like how it messes up the alphabetizing. The text file I created will rename the Apostolic Palace, but not Colossus, Statue of Liberty, or United Nations. This seems even weirder.
 
Here is what I am trying to do: I don't like a lot of technology names, so I created an XML file to rename them. I have tried placing the file in various locations in the Modules folder, but it doesn't work and the original tech names appear. If the file is in the Assets/XML/Text folder, then the technologies are renamed.

I'm also trying to rename a few wonders to remove "The" at the beginning; I don't like how it messes up the alphabetizing. The text file I created will rename the Apostolic Palace, but not Colossus, Statue of Liberty, or United Nations. This seems even weirder.

Send me a copy thru a PM from a free server and i will take a look at what your doing ok, and give you some tips, hows that.
 
Send me a copy thru a PM from a free server and i will take a look at what your doing ok, and give you some tips, hows that.

Here's my test file (really small, less than 1K). If you unzip the file and put it in the Assets/XML/Text folder, it should rename the Advanced Metallurgy tech to Materials Science. It does not rename if this file is placed in a module. I even tried creating a new module and it doesn't work.

Renaming the file is iffy. A couple of things I tried:
  • If the file is renamed VO_Techs_CIV4GameText.xml, it doesn't work.
  • If the file is renamed VQ_Techs_CIV4GameText.xml, it works.

I have the tech rename working, but I don't understand why, so that's the problem.
 
Here's my test file (really small, less than 1K). If you unzip the file and put it in the Assets/XML/Text folder, it should rename the Advanced Metallurgy tech to Materials Science. It does not rename if this file is placed in a module. I even tried creating a new module and it doesn't work.

Renaming the file is iffy. A couple of things I tried:
  • If the file is renamed VO_Techs_CIV4GameText.xml, it doesn't work.
  • If the file is renamed VQ_Techs_CIV4GameText.xml, it works.

I have the tech rename working, but I don't understand why, so that's the problem.

It reads from the top and finds a match and places that one in the area effected,
Since Advanced Metallurgy is in StrategyOnly_text, it reads that one first, and your is VO, S is before V, got it.

The attached should work, but only if you have it in a modular format, OR have the one in my txt deleted.

If more questions go ahead and ask, thats what this thread is all about.
 
It reads from the top and finds a match and places that one in the area effected,
Since Advanced Metallurgy is in StrategyOnly_text, it reads that one first, and your is VO, S is before V, got it.

The attached should work, but only if you have it in a modular format, OR have the one in my txt deleted.

If more questions go ahead and ask, thats what this thread is all about.

I tried your file and it doesn't work for me, either in a module (I tried it in the Vokarya module, the Wonders module, and the DancingHoskuld module) or in the Text folder. Is there a file somewhere that tells what order the components are loaded in when the mod starts up? Maybe that would help.

Just to clarify: My file works (at least for me) without deleting anything. I want this to be usable as a modmod, even if it needs to be put in the core files to work. Since it's just a GameText file, it should be able to be added or deleted without causing any problems for the game.
 
I tried your file and it doesn't work for me, either in a module (I tried it in the Vokarya module, the Wonders module, and the DancingHoskuld module) or in the Text folder. Is there a file somewhere that tells what order the components are loaded in when the mod starts up? Maybe that would help.

Just to clarify: My file works (at least for me) without deleting anything. I want this to be usable as a modmod, even if it needs to be put in the core files to work. Since it's just a GameText file, it should be able to be added or deleted without causing any problems for the game.

Like i said, you got to go into "My" TXT and delete Advance Metall .. there.
 
Like i said, you got to go into "My" TXT and delete Advance Metall .. there.

Right, I can do that. I'm trying to avoid deleting anything because I would have to delete it again after every SVN update. The file that I posted works without deleting from files, but I don't know why it works or how to get it to work from a module.
 
OK, I now have a specific request. I would like to add the Congress of Vienna wonder, which will act as a proto-UN (although its resolution list actually is a copy of the Apostolic Palace, except it's not religion-specific and no Diplomatic Victory). I have all the files made up (including the VoteInfo.xml and VoteSourceInfos.xml files). I know this wonder will need modding of CvGame.cpp, which I do not want to try myself.

This is what I would like to have as the major settings:

Member: Any civilization not at war with the owner of the Congress.
Defiance penalty: +5 unhappiness ("The world considers you a villain!", same as UN). I also put in a free SPECIALIST_NOBLE in the <FreeSpecialist> tag of Civ4VoteSourceInfos.

Please let me know which files you need me to provide so that we can add this.
 
@Vokarya

Since you have some experience with having a UN like wonder could you make a Galactic Federation wonder for the Galactic Era which would act the same way as the UN but for very late game?

I just made up the Congress, and it has not been tested at all, but I think I can create a Galactic Federation without problems. Most of the heavy work seems to be in the CvGame file. Do we want to keep Diplomatic Victory with the UN? Or should we put that off until the Federation? Changing the parameters of a Diplomatic Victory is not something I can do, if we want to keep some kind of Diplomatic Victory with the UN but save the regular DV for the Federation.

The only other problem I can see for now is that the Federation won't be that different than the UN. There is only so much I can do with the XML for voting. On the other hand, if we have all the diplomatic wonders in place (Apostolic Palace, Congress of Vienna, United Nations, Galactic Federation), when we come up with something new we can decide how to apply it to all of them.

Do you by any chance know of mods with any other kind of diplomatic wonder?
 
I just made up the Congress, and it has not been tested at all, but I think I can create a Galactic Federation without problems. Most of the heavy work seems to be in the CvGame file. Do we want to keep Diplomatic Victory with the UN? Or should we put that off until the Federation? Changing the parameters of a Diplomatic Victory is not something I can do, if we want to keep some kind of Diplomatic Victory with the UN but save the regular DV for the Federation.

The only other problem I can see for now is that the Federation won't be that different than the UN. There is only so much I can do with the XML for voting. On the other hand, if we have all the diplomatic wonders in place (Apostolic Palace, Congress of Vienna, United Nations, Galactic Federation), when we come up with something new we can decide how to apply it to all of them.

Do you by any chance know of mods with any other kind of diplomatic wonder?

I have on my agenda some work with UN resolution options. So down the road I'll have a lot more familiarity here and we can get rather expansive with that end.
 
Top Bottom