Mod Component Requests Thread

like a bio-weapon or something?
EDIT: Or the world's funniest joke!!!!!
 
Hi guys,

I tried merging the Great Person Mod, but I just can't get it to work. It doesn't seem to work without running the WoC modules, although Orion wrote it should work. The GreatPersonEvents.py seems to be missing. Unfortunately the original mod is no longer hosted on filefront. Could anyone who still has the original files upload them on CFC?
 
·Imhotep·;11075718 said:
Hi guys,

I tried merging the Great Person Mod, but I just can't get it to work. It doesn't seem to work without running the WoC modules, although Orion wrote it should work. The GreatPersonEvents.py seems to be missing. Unfortunately the original mod is no longer hosted on filefront. Could anyone who still has the original files upload them on CFC?

I have your answer. The download includes both versions of the mod, WoC and standard. The WoC version has the modular GreatPersonEvents.py file, but the standard version does not. This is because the the standard version uses the standard CvEventManager.py file and there is no need for the GreatPersonEvents.py file. If you open the CvEventManager.py file and scroll down to the onGreatPersonBorn function, you will see the python changes need for the Great Person Mod clearly identified. Hope that helps cheers.
 
This is a rather semi-unimportant (ponder that for a second :p) question that I have. How do you make it so that a unit was visible to only one other unit or a unit with a certain promotion?
Also, what graphics do you need to have the default Navy SEAL unit paradrop?
 
I have your answer. The download includes both versions of the mod, WoC and standard. The WoC version has the modular GreatPersonEvents.py file, but the standard version does not. This is because the the standard version uses the standard CvEventManager.py file and there is no need for the GreatPersonEvents.py file. If you open the CvEventManager.py file and scroll down to the onGreatPersonBorn function, you will see the python changes need for the Great Person Mod clearly identified. Hope that helps cheers.

Part of it was correct. In fact one doesn't need GreatPersonEvents.py. Though one has to delete the import then and change

PHP:
d = GreatPersonEvents.g_dict

in GreatPersonScreen.py to

PHP:
d = YourMod.g_dict

then. I also have my mod running as Custom Assets mod, so I had to change

PHP:
szArtPath = BugPath.getModDir() + ...

to

PHP:
szArtPath = BugPath.getUserDir() + ...
. And I had to move some of the variables to the actual onGreatPersonBorn function as otherwise the dictionary stays empty. Works fine now! It's always a great feeling if you figure stuff out yourself... :)
 
This is a rather semi-unimportant (ponder that for a second :p) question that I have. How do you make it so that a unit was visible to only one other unit or a unit with a certain promotion?

You mean like submarines are visible to destroyers ;)?

Also, what graphics do you need to have the default Navy SEAL unit paradrop?

That's a modification in the graphic itself, so you'd need another unit.
At best this one ;).
Alternatively maybe you like to take a look at this, this or these units.
 
Mech, i'm using the first as my base SpecForce unit :p unfortunately, the others don't look as good...I'll use the 2nd as base specforce and the first(yours) as the SEAL. Thanks!
 
I need a promotion which makes units invisible (or at least until their first combat).

Anyone? :)
 
Sadly, this is for 3.17 and there is no download for his test of time for 3.19 and his last activity was: May 03, 2010 03:14 PM
 
I think it would be cool to have a limited version or war just like Advanced diplomacy does for open borders. Maybe just an air war or just able to fight on neutral territory.

@Cybah. Conquerer's delight should have the tags in it. The source code is downloadable with the mod for 3.17. It could probably be updated to 3.19 if it is required to do so.
 
I want to sort leaders and civilizations alphabetically at the custom game / lan lobby windows to make it simpler to choose. I tried to find the code for these windows at python / CvGameCoreDLL with no success. I suspect that some of the functions at the dll exposes a list of leaders, but I was not able to find it. Can anyone point me in the right direction? :)
 
No, this will help. In my mod leaders are in alphabetical order with their English name. When playing another language, the leaders will still remain in their English alphabetical order because of their position in the xml file. So if you are using another language than English (in my example), you will have to sort any leader in the xml file for your new language.
 
Back
Top Bottom