MODDING LAND OF LEGENDS
Hey all,
I wanted to post this in the event that anyone is interested in experimenting with modding Land of Legends.
But first, a couple of things:
MODDING IS AN UNSUPPORTED FEATURE
I am giving these directions as-is, with no commitments of support. Modding Land of Legends is NOT an officially supported feature, and if it makes your installation stop working, breaks your computer, or eats your baby, I can't be held responsible.
THIS IS AT YOUR OWN RISK
Make sure you have your Land of Legends CD (or installer file, if you bought online) available to re-install Land of Legends if you break something and can't fix it.
NO DOCUMENTATION WILL BE PROVIDED
You are on your own. Things will be pretty obvious in most cases, less so in others. I will try to answer questions, but make no commitments.
ONLINE PLAY WILL PROBABLY NOT WORK IF YOU MODIFY ANYTHING
This is one of the biggest reasons I didn't expose this functionality sooner. If the two players start a game with different data, bad things will happen and everyone involved will be sad. If you are going to play online, I ask that you please turn that UseXML registry setting back to false, and play it as intended.
THE AI (or any other part of the game) MAY CHOKE OR CRASH WHEN USING MODIFIED DATA
It *should* work, but we only tested using the data that shipped with the game. There are nearly limitless permutations of data using mods, and they may break the game and/or AI.
To get started, you need to do 2 things:
1) Create a special registry entry.
-Using the windows registry editor (Start-->Run-->regedit), navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Shrapnel Games\Land of Legends\GameSettings.
-Right-click on the GameSettings folder, and click "New"-->"String value".
-Name it "UseXML". (no quotes)
-Right-click on that, and select Modify.
-Enter "True" (no quotes)
That will tell Land of Legends to look at the XML files for all data, rather than the WAD file.
AT THIS POINT LAND OF LEGENDS WILL NOT RUN UNLESS YOU HAVE THE XML IN PLACE (as per the next step), OR YOU CHANGE THAT VALUE BACK TO "FALSE".
To change Land of Legends back to use the WAD file, as it shipped, edit that registry setting to say 'false'.
2) Unzip the contents of the attached .zip file to the "Mods\Default\Data\" folder. By default, this should be:
C:\Program Files\Shrapnel Games\Land of Legends\Mods\Default\Data\
If you followed those two steps and run Land of Legends, it should load normally. If you want to confirm that it's using the XML files, go modify something small, and then verify it in game. If you see your change reflected, then it's working!
__________________
Tiny Hero Game Studios
Makers of "Land of Legends"
|