• 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!

Looking for special scripts ;)

Damon

Check my status to contact me :)
Joined
Mar 26, 2011
Messages
6,219
Solutions
1
Reaction score
2,039
Location
Germany
Hello dear otlanders,
Currently im looking out for a script, that gives each vocation another special outfit(where i can edit looktype or so in script). Or acc manager script, where he asks u in the end, if you want to be blabla(gives u outfit where i can edit looktype in script) or bloblo(gives outfit where i can edit looktype in script).Like different races for war project.
Kind Regards,
Damon


Maybee just edit script from mr. Sparkz an add to each vocation the function like starter outfit
http://otland.net/f16/war-ot-starter-equipment-155594/#
 
Last edited:
Well, afaik, outfits can be unlocked to players via setting them up a storage.

In data/XML/outfits.xml for example:

<outfit id="2" quest="storage">
<list gender="0" lookType="137" name="Hunter"/>
<list gender="1" lookType="129" name="Hunter"/>
</outfit>


Now, this outfit will only be enabled to players who have this storage higher than 0.
 
Storage can be any number, and every storage has its own value (which is -1 by default).

They can be set in scripts to players with the function:

setPlayerStorageValue(cid, storage, value)​

or checked by:

getPlayerStorageValue(cid, storage)​

So if you want an NPC to give this storage (that will enable the outfit for the player) as a reward, just insert that function in the part of the script where reward is defined.
 
Back
Top