Mokate
New Member
- Joined
- Sep 17, 2012
- Messages
- 19
- Reaction score
- 0
Hey guys I have a small problem as im a newbie scripter im trying to experiment with OT enginge and I have a question I was trying to add a certain outfit for a certain vocation. So say a sorcerer only has outfits of id 1,2,3 etc but I wish to get a new function in outfits.xml so i know i must edit something in source using C++.
Let me explain more what I need. So this line below is taken from outfits.xml:
Let me explain more what I need. So this line below is taken from outfits.xml:
LUA:
<outfit id="1">
<list gender="0" lookType="136" name="Citizen"/>
<list gender="1" lookType="128" name="Citizen"/>
</outfit>
[code=lua]
Im trying to change it so I could do this here:
[code=lua]
<outfit id="1" voc id="1" voc id="2">
<list gender="0" lookType="136" name="Citizen"/>
<list gender="1" lookType="128" name="Citizen"/>
</outfit>
[code=lua]
So I could add a function voc id="x" and choose a certain vocation id so it has that outfit. If the vocation id wouldn't be beside the outfit then he can't use it. I would really appreciate if someone would help me thanks. Oh and before I forget im using TFS 0.3.6pl1.