Missionary 100% success

PGM

Chieftain
Joined
Sep 23, 2001
Messages
58
Location
Portugal
Hello, does anyone know how to edit the game so that Missionary attempts to spread a religion are always successful? Thanks.
 
Moderator Action: Moved to the main forum.
Because the mod components subforum is only for mod components, not for questions about them ;).


@topic: That's calculated somewhere in the .dll, so it's not that easy editable.
So 2 solutions:
- The clean and more complicated one: you change the C++ code in the .dll
- The dirty and fast one: You force 100% sucess via python. That's one line of code (max. 2), nothing more, but the AI will not understand it and you would still get the message about failing, despite it being not true. Could also attach the code here if you'd rather go with this.
 
I may be wrong but I thought you could over ride it in the XML UnitInfos file using the ReligionSpreads list eg:
Code:
			<ReligionSpreads>
				<ReligionSpread>
					<ReligionType>RELIGION_MORMON</ReligionType>
					<iReligionSpread>100</iReligionSpread>
				</ReligionSpread>
			</ReligionSpreads>

This is not documented in the Modiki.
 
Thank you both for your help. Is that 100 = 100% Missionary success? And don't you think it might affect religion spread from city to city (without Missionaries involved)?
 
Back
Top Bottom