.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

winSPWW2- Save $6.00
World Supremacy- Save $8.00

   







Go Back   .com.unity Forums > Shrapnel Community > The Honorably Discharged > Land of Legends

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old November 7th, 2007, 11:14 PM
Hiro_Antagonist's Avatar

Hiro_Antagonist Hiro_Antagonist is offline
Second Lieutenant
 
Join Date: Mar 2005
Location: Seattle, WA
Posts: 571
Thanks: 0
Thanked 0 Times in 0 Posts
Hiro_Antagonist is on a distinguished road
Default 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!
Attached Files
File Type: zip 562616-LOLModData.zip (301.2 KB, 462 views)
__________________
Tiny Hero Game Studios
Makers of "Land of Legends"
Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 07:15 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2018, Shrapnel Games, Inc. - All Rights Reserved.