View Full Version : Unique Great General Problem


eggs2121
Oct 06, 2008, 07:08 PM
I've created a unit I call GREAT_COMMANDER to be a unique civ specific unit. I've created it normally like I would any other unique unit. In the civilopedia, the unit shows up as a unique unit to replace Great General for the civilization. However, in the game, the normal Great General is generated and not the unique unit.

I've checked my XML and everything appears to be correct.

Does anyone know why the unique unit is not being generated during gameplay.

Refar
Oct 07, 2008, 03:44 AM
It might be impossible to make unique great people. The GPP are for a specific Unit, and there is probably just no check for a UU replacement when one is created in the game.

General Tso
Oct 07, 2008, 07:05 AM
In my mod I have unique generals for each civ, but I did it manually without using the built in unique unit stuff.

There is a method in CvEventManager called onGreatPersonBorn. Just add a test to see if the great person being born is one that you're interested in. If so Create your new Great Person and delete the original one.

Gaius Octavius
Oct 07, 2008, 07:24 PM
It might be impossible to make unique great people.

:nono:

http://forums.civfanatics.com/showthread.php?t=199344


The method General Tso described is what I prefer, as doing it with UUs requires a small SDK change. It can be done, however.

Refar
Oct 08, 2008, 05:35 AM
Sure with a SDK change anything can be done.
Fot the vast mayouty of modders however SDK change is impossible...

Gaius Octavius
Oct 08, 2008, 12:42 PM
Which is why we have the Python modcomp. :D

rarmonio8920
Oct 15, 2008, 09:27 PM
I've been successful in having a UU for Great Artists, Merchants, Engineers, Scientists, and Prophets... not so much on the Great Generals though.

I think there was a mod for specific names according to the country for the Great People. The only one that was unsuccessful was the Great General as well.