I got this error log when I tried to run a mod Ive been attempting to update:
(Filename: C:/BuildAgent/work/aeedb04a1292f85a/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)
Platform assembly: C:\Users\XanderDox\Downloads\RimWorldAlpha5Win\RimWorld492Win\RimWorld492Win_Data\Managed\System.Xml.dll (this message is harmless)
Platform assembly: C:\Users\XanderDox\Downloads\RimWorldAlpha5Win\RimWorld492Win\RimWorld492Win_Data\Managed\System.Xml.Linq.dll (this message is harmless)
Failed to find active mod Antelope at C:\Users\XanderDox\Downloads\RimWorldAlpha5Win\RimWorld492Win\Mods\Antelope
(Filename: C:/BuildAgent/work/aeedb04a1292f85a/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)
XML error: <kindLabel>Untelope</kindLabel> doesn't correspond to any field in type PawnKindDef.
(Filename: C:/BuildAgent/work/aeedb04a1292f85a/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)
Exception reading TestModUntelope.xml as XML: unexpected end of file. Current depth is 1 Line 76, position 1..
(Filename: C:/BuildAgent/work/aeedb04a1292f85a/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)
Could not resolve cross-reference: No Verse.ThingDef named Untelope found to give to Verse.PawnKindDef Untelope
(Filename: C:/BuildAgent/work/aeedb04a1292f85a/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)
Could not resolve cross-reference: No Verse.ThingDef named Untelope found to give to Verse.PawnKindDef Untelope
(Filename: C:/BuildAgent/work/aeedb04a1292f85a/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)
NullReferenceException: Object reference not set to an instance of an object
at Verse.PawnKindDef+<ConfigErrors>c__Iterator7F.MoveNext () [0x00000] in <filename unknown>:0
at Verse.DefDatabaseHelper.FinalizeDefs[PawnKindDef] (IEnumerable`1 defs) [0x00000] in <filename unknown>:0
at Verse.DefDatabase`1[Verse.PawnKindDef].FinalizeLoad () [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
at Verse.GenGeneric.InvokeStaticMethodOnGenericType (System.Type genericBase, System.Type genericParam, System.String methodName) [0x00000] in <filename unknown>:0
at Verse.PlayDataLoader.LoadAllPlayData () [0x00000] in <filename unknown>:0
at RimWorld.Page_MainMenu..ctor () [0x00000] in <filename unknown>:0
at Verse.LayerStack.Remove (Verse.Layer dialog) [0x00000] in <filename unknown>:0
at Verse.Layer.Close () [0x00000] in <filename unknown>:0
at Verse.Layer.LayerOnGui () [0x00000] in <filename unknown>:0
at Verse.LayerStack.LayerStackOnGui () [0x00000] in <filename unknown>:0
at Verse.UIRoot.UIRootOnGUI () [0x00000] in <filename unknown>:0
at Verse.UIEntryRoot.UIRootOnGUI () [0x00000] in <filename unknown>:0
at VerseBase.Root.OnGUI () [0x00000] in <filename unknown>:0
(Filename: Line: -1)
Anyone know how I can fix this? It would be really helpful! Thanks!
Antelope mod? Yeah, I've been trying myself to update it. I have no idea how I got it working, though... I think I just copied the "AlphaMuffalo" mod. I replaced the "Alphalo" with "Antelope" and tweaked a few things for texture, body size, n' such. It's a difficult thing to do, 'cause I messed up real easy without knowing what was wrong. The Antelope mod has outdated code, so you should try to use updated code (like the default 'muffalo' pawndef thingdef_races codes) to fix it.
It's a tedious task, aye, but rewarding. If you need any additional help, just ask. Maybe send me the xml code, too, eh? You might just have a little something wrong with a piece of text. Could just be missing a '<', '>', or something really small. Ya never know. Well, hope I helped ya.
Make sure you have a PawnKindDefs.
Muffalo example:
<PawnKindDef>
<defName>Muffalo</defName>
<label>Muffalo</label>
<race>Muffalo</race>
<pointsCost>90</pointsCost>
<standardBodyGraphicPath>Things/Pawn/Animal/Muffalo</standardBodyGraphicPath>
<wildSpawn_spawnWild>true</wildSpawn_spawnWild>
<wildSpawn_EcoSystemWeight>1</wildSpawn_EcoSystemWeight>
<wildSpawn_GroupSizeRange>
<min>3</min>
<max>9</max>
</wildSpawn_GroupSizeRange>
<wildSpawn_SelectionWeight>0.5</wildSpawn_SelectionWeight>
</PawnKindDef>
Make sure you have ThingDefs for the animal.
Muffalo example:
<ThingDef ParentName="BaseAnimal">
<defName>Muffalo</defName>
<label>Muffalo</label>
<description>A large herding herbivore descended from buffalo and adapted for some exotic environment. Peaceful unless disturbed.</description>
<maxHealth>160</maxHealth>
<overdraw>true</overdraw>
<sunShadowInfo>
<baseWidth>0.6</baseWidth>
<baseHeight>0.6</baseHeight>
<tallness>0.6</tallness>
</sunShadowInfo>
<targetHitChanceFactor>2.0</targetHitChanceFactor>
<race>
<thinkTree>HerbivoreHerd</thinkTree>
<walkSpeed>0.47</walkSpeed>
<meleeDamage>10</meleeDamage>
<hungerThreshold>80</hungerThreshold>
<bodySize>1.8</bodySize>
<diet>Herbivorous</diet>
<wildBiomes>
<li>XericShrubland</li>
</wildBiomes>
<soundCallIntervalRange>
<min>3500</min>
<max>6000</max>
</soundCallIntervalRange>
<soundWounded>Pawn_Muffalo_Wounded</soundWounded>
<soundDeath>Pawn_Muffalo_Death</soundDeath>
<soundCall>Pawn_Muffalo_Call</soundCall>
<soundAngry>Pawn_Muffalo_Angry</soundAngry>
<soundMeleeHitPawn>Pawn_Melee_BigBash_HitPawn</soundMeleeHitPawn>
<soundMeleeHitBuilding>Pawn_Melee_BigBash_HitBuilding</soundMeleeHitBuilding>
<soundMeleeMiss>Pawn_Melee_BigBash_Miss</soundMeleeMiss>
</race>
</ThingDef>
Cause the error said you were missing a PawnKindDefs if i'm not mistaking.
I had both, I eventually fixed the issue after screwing around with it for awhile. Thanks for the replies.