Problem with my mod

Started by Redfire1200, October 29, 2017, 01:25:21 PM

Previous topic - Next topic

Redfire1200

The Red Empire shall rise, The Red Empire shall grow... POTATOES!!!

CannibarRechter

Okay. Did you try the verbatim recommendation for the version number as specified in the error log? It shouldn't require something so specific, but this is an unstable build, so who knows?

The third error looks like it might be a bug in A18. Are you developing against A18 with only your mod or are there other mods enabled? I'm saying this as the "Cannot call ItemFromXmlFile" isn't the kind of thing that an XML modder is likely to have access to.

Regarding your could not resolve cross-reference error with FlameBite, I'd look at that carefully, and diff (WinDiff, or similar) it with similar things released in the core to see if they updated something.

If you are ONLY developing for your mod, don't have any C#, don't have any other mods, I might suggest you post this over as a potential A18 bug. The line "Cannot call ItemFromXmlFile with resolveCrossRefs=true while loading is already in progress" looks highly suspicious to me.

I don't think I can add anything further at this point.
CR All Mods and Tools Download Link
CR Total Texture Overhaul : Gives RimWorld a Natural Feel
CR Moddable: make RimWorld more moddable.
CR CompFX: display dynamic effects over RimWorld objects

Redfire1200

#17
1 verbatim? sry im new to modding.
2 im only using a single mod ,my mod trying to add animals
3 diff/windiff? again new, cant seem to find anything named that in core folder

do you want to take a look at the my xml files i made incase i screwded up somehow

Defs/DamageDefs/       
first attachment

and
Defs/ThingDefs_Races/
second atachment



[attachment deleted by admin: too old]
The Red Empire shall rise, The Red Empire shall grow... POTATOES!!!

Redfire1200

i based the dragon off a warg and the flame bite off the snakes toxicbite
The Red Empire shall rise, The Red Empire shall grow... POTATOES!!!

CannibarRechter

Did you try "<targetVersion>0.18.1700</targetVersion>" as the error log recommended? It shouldn't be required, but.

CR All Mods and Tools Download Link
CR Total Texture Overhaul : Gives RimWorld a Natural Feel
CR Moddable: make RimWorld more moddable.
CR CompFX: display dynamic effects over RimWorld objects

CannibarRechter

You should go back to A17 and make it work there before playing around with the developmental release.
CR All Mods and Tools Download Link
CR Total Texture Overhaul : Gives RimWorld a Natural Feel
CR Moddable: make RimWorld more moddable.
CR CompFX: display dynamic effects over RimWorld objects

Redfire1200

The Red Empire shall rise, The Red Empire shall grow... POTATOES!!!

Redfire1200

ok i got the mod to work in a17
Question can you make a single attack make multiple hediffs eg:        <verbClass>Verb_MeleeAttack</verbClass>
        <defaultCooldownTime>1.65</defaultCooldownTime>
        <meleeDamageBaseAmount>10</meleeDamageBaseAmount>
        <meleeDamageDef>FireChomp</meleeDamageDef>
        <linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup>

and :        <verbClass>Verb_MeleeAttack</verbClass>
        <defaultCooldownTime>1.65</defaultCooldownTime>
        <meleeDamageBaseAmount>10</meleeDamageBaseAmount>
        <meleeDamageDef>Burn</meleeDamageDef>
        <linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup>

combined
The Red Empire shall rise, The Red Empire shall grow... POTATOES!!!