- Removed (hide) Spooky from M.E.R.C website

o If you want to have him back on M.E.R.C, just remove the comment block at the end of the MercAvailability.xml file

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1441 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
Wanne
2012-05-29 20:47:24 +00:00
parent 735dbb57ec
commit f3598da61c
@@ -1,3 +1,49 @@
<!--
In this file you can define, which mercs should be available on M.E.R.C website.
This works for USE_PROFILE_DATA_FROM_XML = TRUE (using MercProfiles.xml) and FALSE (using BinaryData\Prof*.dat).
If you want to hide any merc from M.E.R.C website, just delete the entry.
uiIndex: 0 - 254
Name: Optional Name of the merc
MercBioID: ID from the file "BinaryData\Mercbios.edt" file. Set this to -1 and no bios will be shown for the merc.
INFO: See list with entries below.
Drunk: If you set this to 1, then the merc should also have a drunken profile defined in MercProfiles.xml/Prof*.dat
There also has to be an entry here in this file right underneath (with uiIndex + 1) the "normal" profile.
INFO: In vanilla JA2, Larry has a "normal" and a "drunken" profile.
AlternateIndex: If <Drunk> is set to 0, you can always set this to -1. This indicates that there is no additional drunken profile for ther merc.
If <Drunk> is set to 1, then also an additional "drunken" profile has to exist.
In both profiles (normal, drunken) set the <AlternateIndex>, which points to the <uiIndex> of the alternating profile.
StartMercsAvailable: Set to 1 and the merc is available at the beginning. Set to 0 and merc will be available after X (<usDay>) days.
NewMercsAvailable: Accessible mercenary in the next day. Just set this to 0 for all mercs. This will only be set internal ingame.
ProfilId: uiIndex from MercProfiles.xml/Prof*.dat.
usMoneyPaid: The amount of money you have to pay Speck for this merc to show up on the website. If set to 0 then cost is taken from MercProfiles.xml/Prof*.dat.
usDay: When <StartMercsAvailable> is set to 0, you can set the days, when the merc should be available in M.E.R.C.
For example, if you set <usDay> to 3, the merc will be available on Day 3 + 1 day offset on the website.
Also the total amount of money you paid Speck has to be greater than <usMoneyPaid> for the merc to show up.
The following list shows the records defined in "BinaryData\Mercbios.edt". Use this for the <MercBioID> tag.
Record Merc
0 Biff
1 Haywire
2 Gastek
3 Razor
4 Flo
5 Gumpy
10 Bubba
6 Larry
7 Larry drunk
9 Numb
13 Tex
14 Beggins
8 Couger
11 Gaston
12 Stogie
-->
<MERC_AVAILABLES>
<MERC>
<uiIndex>0</uiIndex>
@@ -251,6 +297,7 @@
<usMoneyPaid>26000</usMoneyPaid>
<usDay>31</usDay>
</MERC>
<!-- Spooky is an optional merc and not enabled in default 1.13. If you want to enable him, just remove the comment
<MERC>
<uiIndex>21</uiIndex>
<Name>Spooky</Name>
@@ -263,4 +310,5 @@
<usMoneyPaid>20000</usMoneyPaid>
<usDay>30</usDay>
</MERC>
-->
</MERC_AVAILABLES>