|
Member
Join Date: Nov 2006
Posts: 82
|
How do you remove races, languages, spells, from the HL that are not in my world? Also can you tell me how to make my ammo usage count down instead of up. I looked around the forums, read the docs but was not able to find a way to do these things.
Great program keep the good work up!! Thank you, Sigil |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 8,232
|
At 10:09 AM 1/27/2007, you wrote:
Quote:
Let's assume you want to get rid of the "Gnome" race for an example. The first step is to create a data file you can use. The easiest way to do this is to use the editor to create an empty data file. Alternately, you can copy an existing data file and then strip out its guts. If you use the editor to create an empty file, you'll have a file that looks like the following: <?xml version="1.0" encoding="ISO-8859-1"?> <document signature="Hero Lab Data"></document> You'll need to insert your new material inbetween the "<document>" tags. For each thing you want to remove from use, you'll add one new "hidden" element with the appropriate attributes indicating what you want to hide. For the "Gnome" race, the unique id of the corresponding thing is "rGnome". You can find this id easily by using the editor. Click on the "Races" tab, click on the "New (Copy)" button, and you'll see the existing races listed by name along with their unique ids. Using proper XML syntax, the "hidden" element to remove the "Gnome" race will look like the following: <hidden id="rGnome"/> Putting this altogether, your data file will look like the following: <?xml version="1.0" encoding="ISO-8859-1"?> <document signature="Hero Lab Data"> <hidden id="rGnome"/> </document> That's all there is to it. Once you have your file created, re-compile the data files and re-load the game system - the specified things should no longer appear for selection. If you want to remove multiple things, just use multiple "hidden" elements, with each specifying the unique id of a different thing. When you use "hidden", the things are not physically removed from the data files. They still exist, but they are not accessible to users when creating heroes. This means you can still access the things within the editor to copy from when creating your own material. And adding them back is as simple as removing the "hidden" element(s) from the data file. Hope this helps, Rob |
|
#2 |
Member
Join Date: Nov 2006
Posts: 82
|
Thanks for the quick reply. That is just what I was looking for. I did look in the documentation, but hard to find stuff when you do not know what you are looking for.
|
#3 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 8,232
|
At 08:54 AM 1/28/2007, you wrote:
Quote:
-Rob |
|
#4 |
|
|