Ludeon Forums

RimWorld => Mods => Topic started by: Quasarrgames on June 18, 2014, 11:06:44 AM

Title: [PLEEEZ HAALP!] how to update mods!
Post by: Quasarrgames on June 18, 2014, 11:06:44 AM
I have problem. i made a mod for alpha 3 and it breaks my alpha 4 game if i activate it. i used the output log to find some of the bugs, but i haven't yet figured out how to fix them all though.

in my mod i had made some guns in thingdef. i had also toyed around with the pawnkinddef and made a lot of errors, which i later found out in alpha 4, so i just deleted the pawnkinddef from my mod. I hope it didnt come back to haunt me...

anyways, when i turn on rimworld and activate my mod, i get these errors:
XML error: <bulletImpactSound>BulletImpactMetal</bulletImpactSound> doesn't correspond to any field in type ThingDef.
Could not find a type named UI.ITab_Storage
Could not load UnityEngine.Texture2D at Things/Building/Hopper in any active mod or in default resources.
MatFrom with null sourceTex
ArgumentNullException: Argument cannot be null.

All i understood in there was the thing about the bulletimpactsound in thingdef, but i couldn't find it anywhere in my thingdef when i looked for it.

do you understand any of this? could you help me? please? :)
Title: Re: [PLEEEZ HAALP!] how to update mods!
Post by: iame6162013 on June 18, 2014, 11:10:46 AM
<bulletImpactSound>BulletImpactMetal</bulletImpactSound>
is changed to:
<soundBulletHit>BulletImpactMetal</soundBulletHit>

UI.ITab_Storage
should be
ITab_Storage

Could not load UnityEngine.Texture2D at Things/Building/Hopper in any active mod or in default resources.

the vanilla hopper texture moved to "Things/Building/Production/Hopper"

MatFrom with null sourceTex
ArgumentNullException: Argument cannot be null.

i can not fix without the code :/
Title: Re: [PLEEEZ HAALP!] how to update mods!
Post by: mrofa on June 18, 2014, 11:14:42 AM
Could not load UnityEngine.Texture2D at Things/Building/Hopper in any active mod or in default resources.

Means that texture path is wrong
Title: Re: [PLEEEZ HAALP!] how to update mods!
Post by: Quasarrgames on June 18, 2014, 11:31:42 AM
ISFIXED!:DDDDDDDDDDDDD

i forgot that i had also been toying around with the buildings_big file in thingdef. It was the thing that was causing all the errors. I deleted that, and the game worked fine! yaaaaaaay!

thanks 4 help guys! :)