Is it possible to turn research agreements off?

Changing from True to False is tempting, but as Spamikonne says: it all depend on the internal structure of the code.

The risk is that a "False" condition can return a NULL (it means: nothing, not even "empty", simply not existing) value in a parameter if the programmer has not used a real boolean logic (True / False), the value "true" can be actually a string/variable value expected further in the code, not a boolean value. And the value False can be ignored as not part of an internal boolean condition.

A NULL value can then be associated to a parameter if the False condition is not understood/processed, and it can trigger an unhandled error in the code, at worst crashing the game, at best skipping a part of routine...

But it is also true (boolean...) that perhaps there is 90% of chance that it will work, and False may generate a correct value understood by the rest of the code.

Try, and if there is something abnormal happening, like the AI being much much smarter, there is definitely something wrong !!!!:lol:

If you look at the xml file you'll see in the table definitions at the top that "false" is the default value for the "ResearchAgreementTradingAllowed" column. Either deleting the line in the Philosophy entry or changing its value to "false" will accomplish the same thing and carries none of the risk you suggest. All the xml files are used for in this game is to load values into database tables. This is explained in the modding guide.

If doing this before a new game doesn't disable research agreements it may be a caching issue.
 
just want to add the Research_Agreement_Timer in globaldefines does nothing at all. Ive changed it many times & it doesn't change a thing. I can increase the cost of RA but not the duration, which i'd rather change both if i could, any ideas?
 
I can't seem to find civ5technologies.xml file. Could someone please guide me as to how to locate it ? Thanks.
 
I don't know if this had been posted, but I have changed the price for RA's in every Era of the game.

For me, the folder is:

C:\Program Files\Steam\Steamapps\Common\Sid meier's civilization v\Assets\Gameplay\XML\GameInfo

and the file to be moderated is:

CIV5ERAS

Search for research and raise the prices !!!
 
For me, the folder is:

C:\Program Files\Steam\Steamapps\Common\Sid meier's civilization v\Assets\Gameplay\XML\GameInfo

Thanks for this bit of info, I found the file and removed RA altogether and then enjoyed a game free from mindless and endless attacks.
 
I made this into a mod for those who don't want to mess with their xml.

Available on the ModHub browser or down below.

Actually toggling this doesn't remove research agreements. What it does remove is the ability to learn how to use them. Same effect though.
 

Attachments

  • Remove Research Agreements (v 1).civ5mod
    885 bytes · Views: 78
Top Bottom