• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Outfit] Adding bonus to your addons at WITHOUT BUG using sources functions!

When I update my outfits.xml with what you give me, and switch through outfits (on 0.4). Nothing happens... is there more to it than just replacing the outfits or does it not work on my version for some reason..
 
[ OUTFIT STATS
Project Name
The Forgotten Server

Version
0.3.7

Codenamed
Crying Damson

License
GNU GPLv3

Forum
http://otland.net/
]

[ ABOUT
List with all the special outfit attributes/stats.
These are used in the outfit.xml file:

e.g.
<outfit id="1">
<list gender="0" lookType="136" name="Citizen">
<stats maxHealth="100"/>
<stats maxMana="100"/>
</list>
<list gender="1" lookType="128" name="Citizen">
<stats maxHealth="100"/>
<stats maxMana="100"/>
</list>
</outfit>

- This will increase the players health/mana by 100 when
they have the full citizen outfit.

The features are self explainitory and will give players
the attributes you have set when they have both addons
of the outfit.
]

[ "list" attributes

manaShield
<list gender="1" lookType="128" name="Citizen" manaShield="true" />

invisible
<list gender="1" lookType="128" name="Citizen" invisible="true" />

healthGain
<list gender="1" lookType="128" name="Citizen" healthGain="20" />

healthTicks
<list gender="1" lookType="128" name="Citizen" healthTicks="20" />

manaGain
<list gender="1" lookType="128" name="Citizen" manaGain="20" />

manaTicks
<list gender="1" lookType="128" name="Citizen" manaTicks="20" />

speed
<list gender="1" lookType="128" name="Citizen" speed="20" />

attackSpeed
<list gender="1" lookType="128" name="Citizen" speed="20" />

]

[ "reflect" attributes

reflect percentAll
-e.g.
<list ... >
<reflect percentAll="100"/> - reflect 100% of all damage types
</list>

More:
reflect percentElements
reflect percentMagic
reflect percentEnergy
reflect percentFire
reflect percentPoison
reflect percentIce
reflect percentHoly
reflect percentDeath
reflect percentLifeDrain
reflect percentManaDrain
reflect percentDrown
reflect percentPhysical
reflect percentHealing
reflect percentUndefined

reflect chanceAll
-e.g.
<list ... >
<reflect chanceAll="100"/> - 100% chance to reflect all damage types
</list>

More:
reflect chanceElements
reflect chanceMagic
reflect chanceEnergy
reflect chanceFire
reflect chancePoison
reflect chanceIce
reflect chanceHoly
reflect chanceDeath
reflect chanceLifeDrain
reflect chanceManaDrain
reflect chanceDrown
reflect chancePhysical
reflect chanceHealing
reflect chanceUndefined

]

[ "absorb" attributes

absorb percentAll
-e.g.
<list ... >
<absorb percentAll="100"/> - absorb 100% of all damage types
</list>

More:
absorb percentElements
absorb percentMagic
absorb percentEnergy
absorb percentFire
absorb percentPoison
absorb percentIce
absorb percentHoly
absorb percentDeath
absorb percentLifeDrain
absorb percentManaDrain
absorb percentDrown
absorb percentPhysical
absorb percentHealing
absorb percentUndefined

]

[ "skills" attributes

skills fist
-e.g.
<list ... >
<skills fist="10"/> - increase players fist fighting by 10
</list>

More:
skills club
skills axe
skills sword
skills distance
skills shielding
skills fishing
skills melee (fist, club, sword, axe)
skills weapon (club, sword, axe, dist)
skills fistPercent
skills clubPercent
skills axePercent
skills swordPercent
skills distancePercent
skills shieldingPercent
skills fishingPercent
skills meleePercent (fist, club, sword, axe)
skills weaponPercent (club, sword, axe, dist)

]

[ "stats" attributes

stats maxHealth
-e.g.
<list ... >
<stats maxHealth="100"/> - increase players max health by 100
</list>

More:
stats maxMana
stats soul
stats level
stats magLevel
stats maxHealthPercent
stats maxManaPercent
stats soulPercent
stats levelPercent
stats magLevelPercent

]

[ "supress" attributes

supress poison
-e.g.
<list ... >
<supress poison="true"/> - suppress all poison damage
</list>

More:
supress fire
supress energy
supress physical
supress haste
supress paralyze
supress invisible
supress light
supress manaShield
supress drunk
supress drown
supress muted

]

It was enough to read doc/
 
Go to your data/XML/outfits.xml and add parameters like this (by Kawon):

XML:
<?xml version="1.0"?>
<outfits>
    <outfit id="1">
        <list gender="0" lookType="136" name="Citizen">
        <attribute speed="5"/>
        <stats maxHealth="100"/>
            </list>
        <list gender="1" lookType="128" name="Citizen">
        <attribute speed="5"/>
        <stats maxHealth="100"/>
            </list>
    </outfit>

    <outfit id="2">
        <list gender="0" lookType="137" name="Hunter">
        <skills dist="3"/>
        </list>
        <list gender="1" lookType="129" name="Hunter">
        <skills dist="3"/>
        </list>
    </outfit>

    <outfit id="3">
        <list gender="0" lookType="138" name="Mage">
        <stats magLevel="2"/>
        <stats maxMana="200"/>
        </list>
        <list gender="1" lookType="130" name="Mage">
        <stats magLevel="2"/>
        <stats maxMana="200"/>
        </list>
    </outfit>

    <outfit id="4">
        <list gender="0" lookType="139" name="Knight">
        <skills sword="3"/>
        </list>
        <list gender="1" lookType="131" name="Knight">
        <skills sword="3"/>
        </list>
    </outfit>

    <outfit id="5" premium="yes">
        <list gender="0" lookType="140" name="Noblewoman">
        <skills club="3"/>
        </list>
        <list gender="1" lookType="132" name="Nobleman">
        <skills club="3"/>
        </list>
    </outfit>

    <outfit id="6" premium="yes">
        <list gender="0" lookType="141" name="Summoner">
        <stats magLevel="2"/>
        <stats maxMana="100"/>
        </list>
        <list gender="1" lookType="133" name="Summoner">
        <stats magLevel="2"/>
        <stats maxMana="100"/>
        </list>
    </outfit>

    <outfit id="7" premium="yes">
        <list gender="0" lookType="142" name="Warrior">
        <skills sword="3"/>
        </list>
        <list gender="1" lookType="134" name="Warrior">
        <skills sword="3"/>
        </list>
    </outfit>

    <outfit id="8" premium="yes">
        <list gender="0" lookType="147" name="Barbarian">
        <skills axe="3"/>
        </list>
        <list gender="1" lookType="143" name="Barbarian">
        <skills axe="3"/>
        </list>
    </outfit>

    <outfit id="9" premium="yes">
        <list gender="0" lookType="148" name="Druid">
        <stats magLevel="2"/>
        </list>
        <list gender="1" lookType="144" name="Druid">
        <stats magLevel="2"/>
        </list>
    </outfit>

    <outfit id="10" premium="yes">
        <list gender="0" lookType="149" name="Wizard">
        <stats magLevel="1"/>
        <stats maxMana="100"/>
        </list>
        <list gender="1" lookType="145" name="Wizard">
        <stats magLevel="1"/>
        <stats maxMana="100"/>
        </list>
    </outfit>

    <outfit id="11" premium="yes">
        <list gender="0" lookType="150" name="Oriental">
        <attribute speed="5"/>
        <stats maxHealth="200"/>
        <stats maxMana="200"/>
            </list>
        <list gender="1" lookType="146" name="Oriental">
        <attribute speed="5"/>
        <stats maxHealth="200"/>
        <stats maxMana="200"/>
            </list>
    </outfit>

    <outfit id="12" premium="yes">
        <list gender="0" lookType="155" name="Pirate">
        <stats maxHealth="100"/>
        <skills club="3"/>
        </list>
        <list gender="1" lookType="151" name="Pirate">
        <stats maxHealth="100"/>
        <skills club="3"/>
        </list>
    </outfit>

    <outfit id="13" premium="yes" >
        <list gender="0" lookType="156" name="Assassin">
        <attribute speed="5"/>
        <skills dist="2"/>
            </list>
        <list gender="1" lookType="152" name="Assassin">
        <attribute speed="5"/>
        <skills dist="2"/>
            </list>
    </outfit>

    <outfit id="14" premium="yes" >
        <list gender="0" lookType="157" name="Beggar">
        <stats maxHealth="200"/>
        </list>
        <list gender="1" lookType="153" name="Beggar">
        <stats maxHealth="200"/>
        </list>
    </outfit>

    <outfit id="15" premium="yes" >
        <list gender="0" lookType="158" name="Shaman">
        <stats magLevel="2"/>
        </list>
        <list gender="1" lookType="154" name="Shaman">
        <stats magLevel="2"/>
        </list>
    </outfit>

    <outfit id="16" premium="yes" >
        <list gender="0" lookType="252" name="Norsewoman">
        <skills shielding="2"/>
        <stats maxHealth="200"/>
        </list>
        <list gender="1" lookType="251" name="Norseman">
        <skills shielding="2"/>
        <stats maxHealth="200"/>
        </list>
    </outfit>

    <outfit id="17" premium="yes" >
        <list gender="0" lookType="269" name="Nightmare">
        <skills shielding="3"/>
        </list>
        <list gender="1" lookType="268" name="Nightmare">
        <skills shielding="3"/>
        </list>
    </outfit>

    <outfit id="18" premium="yes">
        <list gender="0" lookType="270" name="Jester">
        <stats maxMana="100"/>
        <attribute speed="5"/>
        <stats maxHealth="100"/>
        </list>
        <list gender="1" lookType="273" name="Jester">
        <stats maxMana="100"/>
        <attribute speed="5"/>
        <stats maxHealth="100"/>
        </list>
    </outfit>

    <outfit id="19" premium="yes">
        <list gender="0" lookType="279" name="Brotherhood">
        <stats magLevel="2"/>
        <stats maxHealth="100"/>
        </list>
        <list gender="1" lookType="278" name="Brotherhood">
        <stats magLevel="2"/>
        <stats maxHealth="100"/>
        </list>
    </outfit>

    <outfit id="20" premium="yes" >
        <list gender="0" lookType="288" name="Demonhunter">
        <attribute speed="10"/>
        <stats maxHealth="200"/>
        </list>
        <list gender="1" lookType="289" name="Demonhunter">
        <attribute speed="10"/>
        <stats maxHealth="200"/>
        </list>
    </outfit>

    <outfit id="21" premium="yes" >
        <list gender="0" lookType="324" name="Yalaharian">
        <attribute speed="5"/>
        <stats magLevel="2"/>
        </list>
        <list gender="1" lookType="325" name="Yalaharian">
        <attribute speed="5"/>
        <stats magLevel="2"/>
        </list>
    </outfit>

    <outfit id="22" premium="yes">
        <list gender="0" lookType="336" name="Warmaster">
        <stats maxMana="100"/>
        <attribute speed="15"/>
        <stats maxHealth="100"/>
        <stats magLevel="2"/>
        </list>
        <list gender="1" lookType="335" name="Warmaster">
        <stats maxMana="100"/>
        <attribute speed="15"/>
        <stats maxHealth="100"/>
        <stats magLevel="2"/>
        </list>
    </outfit>

    <outfit id="23" premium="yes">
        <list gender="0" lookType="366" name="Wayfarer"/>
        <list gender="1" lookType="367" name="Wayfarer"/>
    </outfit>

    <outfit id="24" premium="yes" >
        <list gender="0" lookType="329" name="Wedding"/>
        <list gender="1" lookType="328" name="Wedding"/>
    </outfit>

    <outfit id="25" access="5" premium="yes">
        <list gender="0-3" lookType="12" name="Archdemon"/>
    </outfit>

    <outfit id="26" access="5" premium="yes">
        <list gender="0-3" lookType="159" name="Elf"/>
    </outfit>

    <outfit id="27" access="5" premium="yes">
        <list gender="0-3" lookType="160" name="Dwarf"/>
    </outfit>

    <outfit id="28" access="5" premium="yes">
        <list gender="0-3" lookType="226" name="Frog"/>
    </outfit>

    <outfit id="29" access="5" premium="yes">
        <list gender="0-3" lookType="194" name="Cult"/>
    </outfit>

    <outfit id="30" access="5" premium="yes">
        <list gender="0-3" lookType="253" name="Headsplitter"/>
    </outfit>

    <outfit id="31" access="5" premium="yes">
        <list gender="0-3" lookType="254" name="Skullhunter"/>
    </outfit>

    <outfit id="32" access="5" premium="yes">
        <list gender="0-3" lookType="255" name="Bloodwalker"/>
    </outfit>

    <outfit id="33" access="5" premium="yes">
        <list gender="0-3" lookType="264" name="Brutetamer"/>
    </outfit>

    <outfit id="34" access="3" premium="yes">
        <list gender="0-3" lookType="75" name="Gamemaster"/>
    </outfit>

    <outfit id="35" access="4" premium="yes">
        <list gender="0-3" lookType="266" name="Community Manager"/>
    </outfit>

    <outfit id="36" access="5" premium="yes">
        <list gender="0-3" lookType="302" name="God"/>
    </outfit>
</outfits>

What you can add?

Code:
manaShield
invisible
healthGain/healthTicks
manaGain/manaTicks
speed
--------------
reflect percentAll
reflect percentElements
reflect percentMagic
reflect percentEnergy
reflect percentFire
reflect percentPoison
reflect percentIce
reflect percentHoly
reflect percentDeath
reflect percentLifeDrain
reflect percentManaDrain
reflect percentDrown
reflect percentPhysical
reflect percentHealing
reflect percentUndefined
reflect chanceAll
reflect chanceElements
reflect chanceMagic
reflect chanceEnergy
reflect chancetFire
reflect chancePoison
reflect chanceIce
reflect chanceHoly
reflect chanceDeath
reflect chanceLifeDrain
reflect chanceManaDrain
reflect chanceDrown
reflect chancePhysical
reflect chanceHealing
reflect chanceUndefined
--------------
absorb percentAll
absorb percentElements
absorb percentMagic
absorb percentEnergy
absorb percentFire
absorb percentPoison
absorb percentIce
absorb percentHoly
absorb percentDeath
absorb percentLifeDrain
absorb percentManaDrain
absorb percentDrown
absorb percentPhysical
absorb percentHealing
absorb percentUndefined
--------------
skills fist
skills club
skills axe
skills sword
skills distance
skills shielding
skills fishing
skills melee (fist, club, sword y axe)
skills weapon (club, sword, axe, dist)
skills fistPercent
skills clubPercent
skills axePercent
skills swordPercent
skills distancePercent
skills shieldingPercent
skills fishingPercent
skills meleePercent (fist, club, sword y axe)
skills weaponPercent (club, sword, axe, dist)
--------------
stats maxHealth
stats maxMana
stats soul
stats level
stats magLevel
stats maxHealthPercent
stats maxManaPercent
stats soulPercent
stats levelPercent
stats magLevelPercent
--------------
supress poison
supress fire
supress energy
supress physical
supress haste
supress paralyze
supress invisible
supress light
supress manaShield
supress drunk
supress drown
supress muted

If you like it, just rep me :)

Is possible to add these bonus only if player using both addons?
 
These bonuses is only working when you're wearing both addons.
 
Shouldn't it add +3 lvl?
XML:
	<outfit id="5">
		<list gender="0" lookType="140" name="Noblewoman">
        	<stats requirement="both" level="3"/>
        	</list>
		<list gender="1" lookType="132" name="Nobleman">
        	<stats requirement="both" level="3"/>
        	</list>
	</outfit>
 
It's only adding +2ml if using both addons :S
How can I add only to addon 1?
XML:
	<outfit id="21">
		<list gender="0" lookType="324" name="Yalaharian">
		<stats requirement="first" magLevel="2"/>
		<stats requirement="second" magLevel="2"/>
        	</list>
		<list gender="1" lookType="325" name="Yalaharian">
		<stats requirement="first" magLevel="2"/>
		<stats requirement="second" magLevel="2"/>
        	</list>
	</outfit>

And it's not adding level
XML:
	<outfit id="5">
		<list gender="0" lookType="140" name="Noblewoman">
        	<stats requirement="both" level="3"/>
        	</list>
		<list gender="1" lookType="132" name="Nobleman">
        	<stats requirement="both" level="3"/>
        	</list>
	</outfit>
 
Last edited:
What's up with this? :p

Code:
stats requirement="both"
 
You just have to use it if you want to:
GIVE bonus only if player is using both addons.

I want to give bonus if player is using addon 1
 
stats requirement doesn't exist though. xd
 
[15/08/2013 10:20:00] Line: 268, Info: Premature end of data in tag outfits line 2


help me please not working!
 
"absorb percentHealing="10" "

Does that mean the addon will make you heal 10% better?
 
Hello, Im using this one. Works fine except I only get one extra addon, after Archdemon addon it wont add Elf, frog, Dwarf etc. Anyone might know why?

Kind regards
 
Back
Top