Orcs Must Die! 2

Orcs Must Die! 2

Craft Your Own Spellbook
Modify and share your own Spellbook items like traps, trinkets, weapons, and character costumes. Create custom waves of enemies for Orcs Must Die! 2 fortresses. Read the Starter Guide for more information.
DedRed 2 14 Jul, 2013 @ 4:20pm
Mod Tips
We should have a place to put information we learn about modding in the workshop. Unless there's a better place I vote to start it here.

One thing I've found out, and notice is effecting a lot of people is not being able to switch characters without crashing after making a mod.

I believe the solution to this is to also include the other player xml file in your mod folder.

Ex. If you make a change in the PlayerSorceress.xml file, also copy the PlayerWarmage.xml file over to your mod/game/ensembles folder. Even if you haven't made any changes to either, if you have one xml file in there you have to include the other.

You should now be able to switch characters without crashing!
Last edited by DedRed; 14 Jul, 2013 @ 4:24pm
< >
Showing 1-4 of 4 comments
RagingWookie 15 Jul, 2013 @ 7:15pm 
Great thread idea, i'm new to the modding community, and new the programming community as well, so i'm sure this thread will be a great help. Question, how do you change one model to a different one? For example change the orcs in to the warmage. The basic tutourial didn't explain it much, so some extra help might be nice, Thanks.
DedRed 2 15 Jul, 2013 @ 8:37pm 
I haven't tested this, but I'd start with just referencing the new .model file you want in whatever xml file has the info for that character.

For example. If I wanted to change the model on the sorceress

1) I would go into the appropriate xml file (PlayerSorceress.xml, any of the DLC skin xmls, or even create my own xml put into the right folder).

2) Find the code that points to the .model info. Should look something like this

<ModifyComponents name="PlayerSorceress" type="Visual">
<Model>art\avatar\Sorceress\SorcBikini.model</Model>
</ModifyComponents>

3) Change the reference to an existing .model file

<Model>art\avatar\Sorceress\Sorceress.model<\Model>


I've tried messing with the .model files themselves to no avail. Even just just copying an existing one, renaming it and referencing it with that new name causes the game to crash. So I'm not sure making a huge change from orc to warmage would work. I think Robot has purposefully made editing model information to a significant extent water tight. It might be possible but from what I can tell looks like it will take a lot of trickery from advanced programmers. I'm probably only beginner to intermediate level.

ograstamon 17 Jul, 2013 @ 11:32am 
The first thing I learned about modding this game is that the Workshop Tool is not what it seems. It doesn't let you create mods as it claims. It's nothing more than a utility to import your creations to Steam.

Now I'm off to Google something that can actually help. Perhaps I'll post my findings here for the next modding noob with no idea where to start.
< >
Showing 1-4 of 4 comments
Per page: 1530 50