Error Message?

You didn't post the files. Before you do, however, do yourself and us a favor and check CIV4UnitInfos.xml to make sure it is <Type>UNIT_GREAT_DOCTOR</Type>. You have the mod's author here saying that's probably UNIT_DOCTOR. This has nothing to do with BUG. Unit XML types must always match or BTS won't work.

Yeah i have a Great Doctor. I took out the # in front of the Doctor just in case also?
 
...You have the mod's author here saying that's probably UNIT_DOCTOR...

Ah, let me clarify that I am not the author... just that I had edited the file to modify it, and it was there that I found someone else's comments about a Great_Doctor addition; I originally had the same problem as strategyonly with adding Great Doctors to Rise of Mankind.
 
Yeah i have a Great Doctor. I took out the # in front of the Doctor just in case also?

I didn't understand that at all. You have a Great Doctor, okay. What is the key for its unit in CIV4UnitInfos.xml? Paste the XML for just that unit here (not a zip) in [code][/code] tags.

I'm trying to help, but you're making me do all the work. :(
 
I didn't understand that at all. You have a Great Doctor, okay. What is the key for its unit in CIV4UnitInfos.xml? Paste the XML for just that unit here (not a zip) in [code][/code] tags.

I'm trying to help, but you're making me do all the work. :(



Sorry about that, i thought thats what you asked for?:blush:

OK heres the GPUtil:
Spoiler :
Code:
g_gpBarList = (
	"UNIT_GREAT_SPY",
	"UNIT_ENGINEER",
	"UNIT_MERCHANT",
	"UNIT_SCIENTIST",
	"UNIT_ARTIST",
	"UNIT_PROPHET",
# MOD: specify the unit type (XML key) for each new great person (1)
	"UNIT_DOCTOR",
	"UNIT_STATESMAN",	
	"UNIT_GREAT_CITIZEN",
	"UNIT_LAWYER",
	"UNIT_GREAT_PUA",
	"UNIT_GREAT_DOCTOR",
)

# Named constants for each great person and total number of GP types
# These must be in the exact same order as the list above

NUM_GP = len(g_gpBarList)
(
	GP_SPY,
	GP_ENGINEER,
	GP_MERCHANT,
	GP_SCIENTIST,
	GP_ARTIST,
	GP_PROPHET,
# MOD: define a constant for each new great person in same order as above (2)
	GP_DOCTOR,
	GP_STATESMAN,
	GP_GREAT_CITIZEN,
	GP_LAWYER,
	GP_GREAT_PUA,
	GP_GREAT_DOCTOR,
) = range(NUM_GP)

# Maps GP type to unit ID and color to show in GP Bar

g_gpUnitTypes = None
g_gpColors = None
g_unitIcons = None


# Information

def init():
	global g_gpUnitTypes
	g_gpUnitTypes = [None] * NUM_GP
	for i, s in enumerate(g_gpBarList):
		g_gpUnitTypes[i] = gc.getInfoTypeForString(s)
	
	global g_gpColors
	g_gpColors = [None] * NUM_GP
	g_gpColors[GP_SPY] = gc.getInfoTypeForString("COLOR_WHITE")
	g_gpColors[GP_ENGINEER] = gc.getYieldInfo(YieldTypes.YIELD_PRODUCTION).getColorType()
	g_gpColors[GP_MERCHANT] = gc.getInfoTypeForString("COLOR_YELLOW")
	g_gpColors[GP_SCIENTIST] = gc.getInfoTypeForString("COLOR_RESEARCH_STORED")
	g_gpColors[GP_ARTIST] = gc.getInfoTypeForString("COLOR_CULTURE_STORED")
	g_gpColors[GP_PROPHET] = gc.getInfoTypeForString("COLOR_BLUE")
	# MOD: specify color for each new great person (3)
	g_gpColors[GP_DOCTOR] = gc.getInfoTypeForString("COLOR_WHITE")
	g_gpColors[GP_STATESMAN] = gc.getInfoTypeForString("COLOR_GREEN")
	g_gpColors[GP_GREAT_CITIZEN] = gc.getInfoTypeForString("COLOR_BLUE")
	g_gpColors[GP_LAWYER] = gc.getInfoTypeForString("COLOR_CYAN")
	g_gpColors[GP_GREAT_PUA] = gc.getInfoTypeForString("COLOR_RED")
	g_gpColors[GP_GREAT_DOCTOR] = gc.getInfoTypeForString("COLOR_WHITE")
	
	global g_unitIcons
	g_unitIcons = {}
	g_unitIcons[g_gpUnitTypes[GP_SPY]] = u"%c" %(gc.getCommerceInfo(CommerceTypes.COMMERCE_ESPIONAGE).getChar())
	g_unitIcons[g_gpUnitTypes[GP_ENGINEER]] = u"%c" %(gc.getYieldInfo(YieldTypes.YIELD_PRODUCTION).getChar())
	g_unitIcons[g_gpUnitTypes[GP_MERCHANT]] = u"%c" %(gc.getCommerceInfo(CommerceTypes.COMMERCE_GOLD).getChar())
	g_unitIcons[g_gpUnitTypes[GP_SCIENTIST]] = u"%c" %(gc.getCommerceInfo(CommerceTypes.COMMERCE_RESEARCH).getChar())
	g_unitIcons[g_gpUnitTypes[GP_ARTIST]] = u"%c" %(gc.getCommerceInfo(CommerceTypes.COMMERCE_CULTURE).getChar())
	g_unitIcons[g_gpUnitTypes[GP_PROPHET]] = u"%c" % CyGame().getSymbolID(FontSymbols.RELIGION_CHAR)
	# MOD: specify icon (font glyph) for each new great person (4)
	g_unitIcons[g_gpUnitTypes[GP_DOCTOR]] = u"%c" % CyGame().getSymbolID(FontSymbols.HEALTHY_CHAR)
	g_unitIcons[g_gpUnitTypes[GP_STATESMAN]] = u"%c"  %(gc.getCommerceInfo(CommerceTypes.COMMERCE_ESPIONAGE).getChar())
	g_unitIcons[g_gpUnitTypes[GP_GREAT_CITIZEN]] = u"%c"  %(gc.getCommerceInfo(CommerceTypes.COMMERCE_ESPIONAGE).getChar())
	g_unitIcons[g_gpUnitTypes[GP_LAWYER]] = u"%c"  %(gc.getCommerceInfo(CommerceTypes.COMMERCE_ESPIONAGE).getChar())
	g_unitIcons[g_gpUnitTypes[GP_GREAT_PUA]] = u"%c"  %(gc.getCommerceInfo(CommerceTypes.COMMERCE_GOLD).getChar())
	g_unitIcons[g_gpUnitTypes[GP_GREAT_DOCTOR]] = u"%c" % CyGame().getSymbolID(FontSymbols.HEALTHY_CHAR)

UnitXML:

Spoiler :
Code:
<UnitInfo>
			<Class>UNITCLASS_GREAT_DOCTOR</Class>
			<Type>UNIT_GREAT_DOCTOR</Type>
			<UniqueNames>
				<UniqueName>TXT_KEY_GREAT_PERSON_HIPPOCRATES_OF_COS</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_SIR_MAGDI_YACOUB</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_SAMUEL_HAHNEMANN</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_CLAUDIUS_GALENUS_OF_PERGAMUM</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_MADHAVAKARA</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_CHAKRAPANI_DATTA</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_ZAKARIA_AL-RAZI</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_IBN_SINA</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_IBN_RUSHD</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_PIERRE_FAUCHARD</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_MOSHE_BEN_MAIMON</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_GIROLAMO_FRACASTORO</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_THEOPHRAST_VON_HOHENHEIM</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_GARCIA_DE_ORTA</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_AMATO_LUSITANO</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_ANDREAS_VESALIUS</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_WILLIAM_HARVEY</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_OLE_WORMIUS</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_MARCELLO_MALPIGHI</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_RICHARD_LOWER</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_THOMAS_SYDENHAM</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_JEAN_ASTRUC</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_EDWARD_JENNER</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_RENE_THEOPHILE_HYACINTHE_LAENNEC</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_WILLIAM_MCBRIDE</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_JOHN_SNOW</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_THEODOR_KOCHER</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_IGNAZ_SEMMELWEIS</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_WILLIAM_WORRALL_MAYO</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_JOSEPH_LISTER</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_THEODOR_BILLROTH</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_JEAN-MARTIN_CHARCOT</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_ERNST_HAECKEL</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_ROBERT_KOCH</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_WILLIAM_OSLER</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_SIGMUND_FREUD</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_CHRISTIAAN_EIJKMAN</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_CARL_GUSTAV_JUNG</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_WILLIAM_JAMES_MAYO</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_CHARLES_HORACE_MAYO</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_CHARLES_JEAN_HENRI_NICOLLE</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_EGAS_MONIZ</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_ALLEN_OLDFATHER_WHIPPLE</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_OTTO_FRITZ_MEYERHOF</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_GEORGE_RICHARDS_MINOT</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_NORMAN_BETHUNE</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_WILDER_PENFIELD</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_FREDERICK_BANTING</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_CHARLES_R._DREW</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_VIRGINIA_APGAR</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_JONAS_SALK</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_JOSEPH_RANSOHOFF</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_CHRISTIAAN_BARNARD</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_DANIEL_CARLETON_GAJDUSEK</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_SUSRUTA</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_CARLO_URBANI</UniqueName>
				<UniqueName>TXT_KEY_GREAT_PERSON_CARL_WOOD</UniqueName>
			</UniqueNames>
			<Special>SPECIALUNIT_PEOPLE</Special>
			<Capture>NONE</Capture>
			<Combat>NONE</Combat>
			<Domain>DOMAIN_LAND</Domain>
			<DefaultUnitAI>UNITAI_GENERAL</DefaultUnitAI>
			<Invisible>NONE</Invisible>
			<SeeInvisible>NONE</SeeInvisible>
			<Description>TXT_KEY_UNIT_GREAT_DOCTOR</Description>
			<Civilopedia>TXT_KEY_CONCEPT_GREAT_DOCTOR_PEDIA</Civilopedia>
			<Strategy>TXT_KEY_UNIT_GREAT_DOCTOR_STRATEGY</Strategy>
			<Advisor>ADVISOR_MILITARY</Advisor>
			<bAnimal>0</bAnimal>
			<bFood>0</bFood>
			<bNoBadGoodies>0</bNoBadGoodies>
			<bOnlyDefensive>0</bOnlyDefensive>
			<bNoCapture>0</bNoCapture>
			<bQuickCombat>0</bQuickCombat>
			<bRivalTerritory>0</bRivalTerritory>
			<bMilitaryHappiness>0</bMilitaryHappiness>
			<bMilitarySupport>0</bMilitarySupport>
			<bMilitaryProduction>0</bMilitaryProduction>
			<bPillage>0</bPillage>
			<bSpy>0</bSpy>
			<bSabotage>0</bSabotage>
			<bDestroy>0</bDestroy>
			<bStealPlans>0</bStealPlans>
			<bInvestigate>0</bInvestigate>
			<bCounterSpy>0</bCounterSpy>
			<bFound>0</bFound>
			<bGoldenAge>1</bGoldenAge>
			<bInvisible>0</bInvisible>
			<bFirstStrikeImmune>0</bFirstStrikeImmune>
			<bNoDefensiveBonus>0</bNoDefensiveBonus>
			<bIgnoreBuildingDefense>0</bIgnoreBuildingDefense>
			<bCanMoveImpassable>0</bCanMoveImpassable>
			<bCanMoveAllTerrain>0</bCanMoveAllTerrain>
			<bFlatMovementCost>0</bFlatMovementCost>
			<bIgnoreTerrainCost>0</bIgnoreTerrainCost>
			<bNukeImmune>0</bNukeImmune>
			<bPrereqBonuses>0</bPrereqBonuses>
			<bPrereqReligion>0</bPrereqReligion>
			<bMechanized>0</bMechanized>
			<bSuicide>0</bSuicide>
			<bHiddenNationality>0</bHiddenNationality>
			<bAlwaysHostile>0</bAlwaysHostile>
			<UnitClassUpgrades/>
			<UnitClassTargets/>
			<UnitCombatTargets/>
			<UnitClassDefenders/>
			<UnitCombatDefenders/>
			<FlankingStrikes/>
			<UnitAIs>
				<UnitAI>
					<UnitAIType>UNITAI_GENERAL</UnitAIType>
					<bUnitAI>1</bUnitAI>
				</UnitAI>
				<UnitAI>
					<UnitAIType>UNITAI_PROPHET</UnitAIType>
					<bUnitAI>1</bUnitAI>
				</UnitAI>
			</UnitAIs>
			<NotUnitAIs/>
			<Builds/>
			<ReligionSpreads/>
			<CorporationSpreads/>
			<GreatPeoples>
				<GreatPeople>
					<GreatPeopleType>SPECIALIST_GREAT_DOCTOR</GreatPeopleType>
					<bGreatPeople>1</bGreatPeople>
				</GreatPeople>
			</GreatPeoples>
			<Buildings>
				<Building>
					<BuildingType>BUILDING_RED_CROSS</BuildingType>
					<bBuilding>1</bBuilding>
				</Building>
			</Buildings>
			<ForceBuildings/>
			<HolyCity>NONE</HolyCity>
			<ReligionType>NONE</ReligionType>
			<StateReligion>NONE</StateReligion>
			<PrereqReligion>NONE</PrereqReligion>
			<PrereqCorporation>NONE</PrereqCorporation>
			<PrereqBuilding>NONE</PrereqBuilding>
			<PrereqTech>NONE</PrereqTech>
			<TechTypes/>
			<BonusType>NONE</BonusType>
			<PrereqBonuses/>
			<ProductionTraits/>
			<Flavors>
				<Flavor>
					<FlavorType>FLAVOR_GROWTH</FlavorType>
					<iFlavor>1</iFlavor>
				</Flavor>
			</Flavors>
			<iAIWeight>0</iAIWeight>
			<iCost>-1</iCost>
			<iHurryCostModifier>0</iHurryCostModifier>
			<iAdvancedStartCost>-1</iAdvancedStartCost>
			<iAdvancedStartCostIncrease>0</iAdvancedStartCostIncrease>
			<iMinAreaSize>-1</iMinAreaSize>
			<iMoves>2</iMoves>
			<bNoRevealMap>0</bNoRevealMap>
			<iAirRange>0</iAirRange>
			<iAirUnitCap>0</iAirUnitCap>
			<iDropRange>0</iDropRange>
			<iNukeRange>-1</iNukeRange>
			<iWorkRate>0</iWorkRate>
			<iBaseDiscover>1000</iBaseDiscover>
			<iDiscoverMultiplier>2</iDiscoverMultiplier>
			<iBaseHurry>0</iBaseHurry>
			<iHurryMultiplier>0</iHurryMultiplier>
			<iBaseTrade>0</iBaseTrade>
			<iTradeMultiplier>0</iTradeMultiplier>
			<iGreatWorkCulture>0</iGreatWorkCulture>
			<iEspionagePoints>0</iEspionagePoints>
			<TerrainImpassables/>
			<FeatureImpassables/>
			<TerrainPassableTechs/>
			<FeaturePassableTechs/>
			<iCombat>0</iCombat>
			<iCombatLimit>0</iCombatLimit>
			<iAirCombat>0</iAirCombat>
			<iAirCombatLimit>0</iAirCombatLimit>
			<iXPValueAttack>0</iXPValueAttack>
			<iXPValueDefense>0</iXPValueDefense>
			<iFirstStrikes>0</iFirstStrikes>
			<iChanceFirstStrikes>0</iChanceFirstStrikes>
			<iInterceptionProbability>0</iInterceptionProbability>
			<iEvasionProbability>0</iEvasionProbability>
			<iWithdrawalProb>0</iWithdrawalProb>
			<iCollateralDamage>0</iCollateralDamage>
			<iCollateralDamageLimit>0</iCollateralDamageLimit>
			<iCollateralDamageMaxUnits>0</iCollateralDamageMaxUnits>
			<iCityAttack>0</iCityAttack>
			<iCityDefense>0</iCityDefense>
			<iAnimalCombat>0</iAnimalCombat>
			<iHillsAttack>0</iHillsAttack>
			<iHillsDefense>0</iHillsDefense>
			<TerrainNatives/>
			<FeatureNatives/>
			<TerrainAttacks/>
			<TerrainDefenses/>
			<FeatureAttacks/>
			<FeatureDefenses/>
			<UnitClassAttackMods/>
			<UnitClassDefenseMods/>
			<UnitCombatMods/>
			<UnitCombatCollateralImmunes/>
			<DomainMods/>
			<BonusProductionModifiers/>
			<iBombRate>0</iBombRate>
			<iBombardRate>0</iBombardRate>
			<SpecialCargo>NONE</SpecialCargo>
			<DomainCargo>NONE</DomainCargo>
			<iCargo>0</iCargo>
			<iConscription>0</iConscription>
			<iCultureGarrison>0</iCultureGarrison>
			<iExtraCost>0</iExtraCost>
			<iAsset>1</iAsset>
			<iPower>0</iPower>
			<UnitMeshGroups>
				<iGroupSize>1</iGroupSize>
				<fMaxSpeed>1.75</fMaxSpeed>
				<fPadTime>1</fPadTime>
				<iMeleeWaveSize>1</iMeleeWaveSize>
				<iRangedWaveSize>0</iRangedWaveSize>
				<UnitMeshGroup>
					<iRequired>1</iRequired>
					<EarlyArtDefineTag>ART_DEF_UNIT_WITCH_DOCTOR</EarlyArtDefineTag>
					<LateArtDefineTag>ART_DEF_UNIT_GREAT_DOCTOR</LateArtDefineTag>
				</UnitMeshGroup>
			</UnitMeshGroups>
			<FormationType>FORMATION_TYPE_DEFAULT</FormationType>
			<HotKey/>
			<bAltDown>0</bAltDown>
			<bShiftDown>0</bShiftDown>
			<bCtrlDown>0</bCtrlDown>
			<iHotKeyPriority>0</iHotKeyPriority>
			<FreePromotions>
				<FreePromotion>
					<PromotionType>PROMOTION_MEDIC4</PromotionType>
					<bFreePromotion>1</bFreePromotion>
				</FreePromotion>
			</FreePromotions>
			<LeaderPromotion>NONE</LeaderPromotion>
			<iLeaderExperience>0</iLeaderExperience>
		</UnitInfo>

SpecialistXML:

Spoiler :
Code:
<SpecialistInfo>
			<Type>SPECIALIST_GREAT_DOCTOR</Type>
			<Description>Great Doctor</Description>
			<Civilopedia>TXT_KEY_CONCEPT_GREAT_DOCTOR_PEDIA</Civilopedia>
			<Strategy>TXT_KEY_UNIT_GREAT_DOCTOR_STRATEGY</Strategy>
			<Help/>
			<Texture>Art/GreatDoctor/Buttons/great_doctor.dds</Texture>
			<bVisible>0</bVisible>
			<GreatPeopleUnitClass>NONE</GreatPeopleUnitClass>
			<iGreatPeopleRateChange>0</iGreatPeopleRateChange>
			<Yields>
				<iYield>2</iYield>
				<iYield>0</iYield>
				<iYield>0</iYield>
			</Yields>
			<Commerces>
				<iCommerce>0</iCommerce>
				<iCommerce>1</iCommerce>
				<iCommerce>0</iCommerce>
				<iCommerce>0</iCommerce>
			</Commerces>
			<iExperience>0</iExperience>
			<Flavors/>
			<HotKey/>
			<bAltDown>0</bAltDown>
			<bShiftDown>0</bShiftDown>
			<bCtrlDown>0</bCtrlDown>
			<iHotKeyPriority>0</iHotKeyPriority>
			<Button>Art/GreatDoctor/Buttons/great_doctor.dds</Button>
		</SpecialistInfo>

btw i have a doctor in my specialist but not a unit for it.
 
I don't see anything wrong. Try the cheat code thing by putting "chipotle" without quotes into your CivilizationIV.ini file's "cheat code" field.
 
Bah, another typo, but more importantly that is a period and not a space:

print gc.getUnitInfo(353).getDescription()
 
OK on another subject, i got this error message: (I just dont like making new threads)

Traceback (most recent call last):

File "CvScreensInterface", line 225, in pediaJumpToUnit

File "CvPediaMain", line 877, in pediaJump

File "CvPediaUnit", line 111, in interfaceScreen

RuntimeError: unidentifiable C++ exception
ERR: Python function pediaJumpToUnit failed, module CvScreensInterface

and this with it?

RESMGR: Scene file Art/Units/animals/BrownPanther/Panther_FX.nif failed to load. Reason: (code:1) Cannot open file.
RESMGR: Failed loading file Art/Units/animals/BrownPanther/Panther.kfm. Error message: A file I/O error occurred.

but i looked at the file and if shows up in the NifScope ok?
 
I just dont like making new threads

Do it anyway. Don't do it to be nice or to respect the time of those from whom you are asking help. If you need to, do it for the selfish reason: it'll increase your chances of getting an answer!

Instead of "error" pick a title that gives us a clue as to what's going on.

  • Unidentifiable C++ exception in CvPediaUnit
  • RESMGR I/O error, but I can open the file
Something to go on. People are hesitant to read an open-ended "problem" thread. But if you put something meaningful in the title, you'll catch those that have seen it before. It also makes it easier to follow the threads, and people with the same problem later can more easily search for the solution.

And yeah, it's also about being respectful. You are asking for our help. It is up to you to do as much work up front to solve the problem as you can:

  • Start a new thread
  • Pick a meaningful title
  • Describe the problem in-depth
  • Include stack traces and/or logs
You're getting much better with 3 and 4. :goodjob: Now let's nail down 1 and 2. :D

As to your error, the C++ exception looks to be a bad unit button as you've seen before. Go through all of your new units and make sure their buttons are specified correctly in the XML, they exist, and they work. Try drawing them manually in some test code so you can find which unit it is. What does the screen look like after you get that error? Is the pedia half-drawn? If so, the first thing that's missing is probably the problem.

For the other one, I don't know the file format of NIFs. Do they hold names of other files, e.g. the skins? If so, NifSkope may be more lenient when opening a NIF with missing skins whereas the game will barf so you can notice and fix it. That's a total guess.
 
Top Bottom