Orion's Inquisition Mod

All I need is a function that doesn't pick always THE FIRST free religion, but that take the Favourite religion of the leader!
Any chance to let the <favoritereligion> tag be integrated with this? What I need to edit?

The founding of religions is not done through XML. I would need to develop a python function that would compare the list of remaining religions available and determine if one of them actually matches the favorite religion of the founding Civ. This could be an interesting function.

Orion Veteran :cool:
 
I would need to develop a python function that would compare the list of remaining religions available and determine if one of them actually matches the favorite religion of the founding Civ.

Are you going to do this and put this into LimitedReligion Mod? :crazyeye::crazyeye::crazyeye:
 
:confused: that error message makes completly no sense :confused:.
The error is thrown, because "egypt mythology" is added to a list...i don't understand it :confused:.
Some more situation details please.

The_J
Before i wrote this here i just looked at Building monestary religion, so i am asking more in your thread, sorry Orion.
 
Can you help me out on this pls???

You did not do what I asked you to do! I wanted you to move all of your modified functions into the InquisitionEvents.py file. You still have both files! (CvCustomEventManager.py and CvEventManager.py). This will cause many problems.

I have done much of the porting over you need. It needs testing and I'm certain you will have some bugs to work out, as I am not able to test it, without having the entire mod.

The python is attached.

Orion Veteran :cool:
 

Attachments

Found the error...missing code that was in my religion mod, but my full next war mod didnt have the issue. The basic limited religion mod is sound again :)

I tried to use your BLR mod, but it blew up on startup. Are you using BTS 3.19?

I recommend you you use the stock python files in the game and then add your functions one at a time.

Orion Veteran :cool:
 
You did not do what I asked you to do! I wanted you to move all of your modified functions into the InquisitionEvents.py file. You still have both files! (CvCustomEventManager.py and CvEventManager.py). This will cause many problems.

I have done much of the porting over you need. It needs testing and I'm certain you will have some bugs to work out, as I am not able to test it, without having the entire mod.

The python is attached.

Orion Veteran :cool:


I asked in the SDK/Python area like you said but NO one helped.

Here is the log when i tried to load, got all kinds of errors.
 
Scanning through PythonErr.log I see this:

Code:
IndentationError

You need to make sure the Python interpreter can parse your files. Check that you haven't mixed tabs and spaces for indentation.
 
@strategyonly:

If you use WinMerge, make sure you configure it to compare spaces. Options --> Compare --> Whitespace, tick Compare. If you merge python without this setting, WinMerge will f*** up the file for you. There's still bound to be a few slip ups, but this will avoid most of them. The remaining indentation errors you'll need to fix manually by going through the logs.
 
@strategyonly:

If you use WinMerge, make sure you configure it to compare spaces. Options --> Compare --> Whitespace, tick Compare. If you merge python without this setting, WinMerge will f*** up the file for you. There's still bound to be a few slip ups, but this will avoid most of them. The remaining indentation errors you'll need to fix manually by going through the logs.

Here's what mine looks like:

Spoiler :
WinMerge configuration:
Compare settings:
Ignore blank lines: No
Ignore case: No
Ignore carriage return differences: No
Whitespace compare: Compare all
Detect moved blocks: No
Compare method: 0
Stop after first diff: No

Other settings:
Automatic rescan: No
Simple EOL: Yes
Automatic scroll to 1st difference: No
Backup original file: Yes

Folder compare:
Identical files: Yes
Different files: Yes
Left Unique files: Yes
Right Unique files: Yes
Binary files: Yes
Skipped files: No
Tree-mode enabled: No

File compare:
Preserve filetimes: No
Match similar lines: No

Editor settings:
View Whitespace: No
Merge Mode enabled: No
Show linenumbers: No
Wrap lines: No
Syntax Highlight: Yes
Tab size: 4
Insert tabs: Yes

Font:
Font facename: Courier New
Font charset: 0 (Ansi)

System settings:
codepage settings:
ANSI codepage: 1252
OEM codepage: 437
Locale (Thread):
Def ANSI codepage: 1252
Def OEM codepage: 437
Country: United States
Language: English
Language code: 0409
ISO Language code: en
Locale (User):
Def ANSI codepage: 1252
Def OEM codepage: 437
Country: United States
Language: English
Language code: 0409
ISO Language code: en
Locale (System):
Def ANSI codepage: 1252
Def OEM codepage: 437
Country: United States
Language: English
Language code: 0409
ISO Language code: en
Detect codepage automatically for RC and HTML files: No
unicoder codepage: 1252

Plugins:
Plugins enabled: No
Unpackers:
CompareMSExcelFiles.dll [C:\Program Files\WinMerge\MergePlugins\CompareMSExcelFiles.dll]
CompareMSWordFiles.dll [C:\Program Files\WinMerge\MergePlugins\CompareMSWordFiles.dll]
DisplayXMLFiles.dll [C:\Program Files\WinMerge\MergePlugins\DisplayXMLFiles.dll]
WatchBeginningOfLog.dll [C:\Program Files\WinMerge\MergePlugins\WatchBeginningOfLog.dll]
WatchEndOfLog.dll [C:\Program Files\WinMerge\MergePlugins\WatchEndOfLog.dll]
Prediffers:
IgnoreColumns.dll [C:\Program Files\WinMerge\MergePlugins\IgnoreColumns.dll]
IgnoreCommentsC.dll [C:\Program Files\WinMerge\MergePlugins\IgnoreCommentsC.dll]
IgnoreFieldsComma.dll [C:\Program Files\WinMerge\MergePlugins\IgnoreFieldsComma.dll]
IgnoreFieldsTab.dll [C:\Program Files\WinMerge\MergePlugins\IgnoreFieldsTab.dll]
IgnoreLeadingLineNumbers.dll [C:\Program Files\WinMerge\MergePlugins\IgnoreLeadingLineNumbers.dll]
Editor scripts:
editor addin.sct [C:\Program Files\WinMerge\MergePlugins\editor addin.sct]
insert datetime.sct [C:\Program Files\WinMerge\MergePlugins\insert datetime.sct]

Archive support:
Enable: 1
7-Zip software installed on your computer: 0.00
Codecs:
Formats:
7-Zip components for standalone operation: 0.00
Codecs:
Formats:
Merge7z plugins on path:
 
Nice, OV. Are you going to include this piece of code in the Inquisitions mod?
 
@strategyonly:

If you use WinMerge, make sure you configure it to compare spaces. Options --> Compare --> Whitespace, tick Compare. If you merge python without this setting, WinMerge will f*** up the file for you. There's still bound to be a few slip ups, but this will avoid most of them. The remaining indentation errors you'll need to fix manually by going through the logs.

Is everything ok, as in post 254??:confused:
 
I would guess so. I've never seen the program options in that format, though.
 
Back
Top Bottom