Starting items for the character, coordinates of his appearance and basic characteristics

Deazer

Head Developer
Staff member
Location:
gameserver\data\stats\player\pcparams\

Starter classes that you must modify if necessary :
[0] human_fighter.xml - Human Warrior
[10] human_mage.xml - Human Mage
[18] elf_fighter.xml - Elf Warrior
[25] elven_mage.xml - Elf Mage
[31] dark_fighter.xml - Dark Elf Warrior
[38] dark_mage.xml - Dark Elf Warrior
[44] orc_fighter.xml - Orc Warrior
[49] orc_mage.xml - Orc Shaman
[53] dwarven_fighter.xml - Dwarven Warrior

Now consider the parameters for human_fighter:
Starting items, like all other parameters, are divided into male and female characters, each of them can have different parameters. But basically they have a difference only in the height and width of the model.

Starting items:
In this block, you can add any number of starting items and enchant them
XML:
<items>
    <item id="5588" amount="1"/>
    <item id="2369" amount="1" equipped="true" enchant="0"/>
    <item id="1147" amount="1" equipped="true" enchant="0"/>
    <item id="1146" amount="1" equipped="true" enchant="0"/>
    <item id="10" amount="1"/>
</items>

Spawn starting coordinates:
<spawn x="-71338" y="258271" z="-3104"/>

Base stats:
XML:
<stats>
                <set name="baseSTR" value="40"/> <!-- Starting STR-->
                <set name="baseCON" value="43"/> <!-- Starting CON-->
                <set name="baseDEX" value="30"/> <!-- Starting DEX -->
                <set name="baseINT" value="21"/> <!-- Starting INT-->
                <set name="baseWIT" value="11"/> <!-- Starting WIT -->
                <set name="baseMEN" value="25"/> <!-- Starting MEN -->
                <set name="baseHpMax" value="0"/> <!-- Taken from GainHp - should be 0 at initialization -->
                <set name="baseCpMax" value="0"/> <!-- Taken from GainСp - must be 0 during initialization -->
                <set name="baseMpMax" value="0"/> <!-- Taken from GainMp - should be 0 at initialization -->
                <set name="baseHpReg" value="0.01"/> <!-- Taken from GainHp - must be 0.01 at initialization -->
                <set name="baseCpReg" value="0.01"/> <!-- Taken from GainСp - should be 0.01 during initialization -->
                <set name="baseMpReg" value="0.01"/> <!-- Taken from GainMp - must be 0.01 at initialization -->
                <set name="basePAtk" value="4"/>  <!-- Basic Physical Attack-->
                <set name="basePDef" value="72"/> <!-- Basic P. Def. -->
                <set name="baseMAtk" value="3"/>  <!-- Basic Mage Attack  -->
                <set name="baseMDef" value="47"/> <!-- Base Mage Defense -->
                <set name="basePAtkSpd" value="330"/> <!-- Base physical attack speed -->
                <set name="baseMAtkSpd" value="333"/> <!-- Base Mage Attack Speed -->
                <set name="baseShldDef" value="0"/> <!-- Shield Defense base stat -->
                <set name="baseAtkRange" value="20"/> <!-- Base attack range -->
                <set name="baseShldRate" value="0"/> <!-- Base Chance to Defend with a Shield  -->
                <set name="baseCritRate" value="44"/> <!-- Base Critical Chance -->
                <set name="baseRunSpd" value="115"/> <!-- Base movement speed -->
                <set name="baseWalkSpd" value="80"/> <!-- Basic walking speed -->
                <set name="baseExp" value="0"/> <!-- What category does the profession belong to: 0 starting profession, 1 - first, 2 - second, 3 third  -->
                <set name="collision_radius" value="9.0"/> <!-- Model Width -->
                <set name="collision_height" value="23.0"/> <!-- Model Height -->
</stats>


SQL table char_templates will be deleted. Don't forget to add new files from the repository after the update.
 
Last edited:
How to clean starking items and use config StartingMageItems only ?
old times i used this query
UPDATE `char_templates` SET `items1`='0', `items2`='0', `items3`='0', `items4`='0', `items5`='0', `items6`='0', `items7`='0', `items8`='0', `items9`='0', `items10`='0', `items11`='0', `items12`='0', `items13`='0', `items14`='0';
 
deleting all tag?

<items> <!-- Starting Items -->
<item id="5588" amount="1"/>
<item id="2369" amount="1" equipped="true" enchant="0"/>
<item id="1147" amount="1" equipped="true" enchant="0"/>
<item id="1146" amount="1" equipped="true" enchant="0"/>
<item id="10" amount="1"/>
</items>

or whit "</items>" only
 
<!--tag -->
I have already done everything in the working version, you do not need to do anything. Everything is ready, you can simply add the items you need when creating a character, or change base stats, or change location
3fe349a1ea22294fd0804eed7f699ef0.png
 
Ok, i use config for give starting items StartingMageItems and StartingFighterItems
How to delete Starting items from this new method


like this? (deleting tag)
73d46ac6792a350bf527dcaf31a49a44.png


or like this? (whit empty tag)
774e46032aa6c8dfc383c0b1777dd398.png


i just want delete give starting items from this new method, i give the starting items from another side.
 
Last edited:
we just want delete give starting items from this new method
can you know us how to dont give starting items in this new method?
 
Please explain your task.
Before you ask it, forget about the table in the database, it is no longer used at all. It's destroyed and doesn't work.
 
At XML files
Location:
gameserver\data\stats\player\pcparams\
Starter classes that you must modify if necessary :
[0] human_fighter.xml - Human Warrior
[10] human_mage.xml - Human Mage
[18] elf_fighter.xml - Elf Warrior
[25] elven_mage.xml - Elf Mage
[31] dark_fighter.xml - Dark Elf Warrior
[38] dark_mage.xml - Dark Elf Warrior
[44] orc_fighter.xml - Orc Warrior
[49] orc_mage.xml - Orc Shaman
[53] dwarven_fighter.xml - Dwarven Warrior
you can remove it, or add any what you wish
 
ty!

deleting all tag?

<items> <!-- Starting Items -->
<item id="5588" amount="1"/>
<item id="2369" amount="1" equipped="true" enchant="0"/>
<item id="1147" amount="1" equipped="true" enchant="0"/>
<item id="1146" amount="1" equipped="true" enchant="0"/>
<item id="10" amount="1"/>
</items>

or whit "</items>" only
I suggested it earlier.

You can delete these recent posts to clean up the post.
 
11172efa2b1f197b2446d774ebd3f242.png


This serves to give items when leveling up to learn the class?
for example i level up and make .class and learn Gladiator class and receive this items configured ? is possible?
 
Nope. only start classes make spawn and start items, after only you can change base stats
For bonus reward to class up you can use Achievement system
 
Back
Top