• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Custom Outfit and Quest Items. Help please.

Seanr

New Member
Joined
Jul 11, 2011
Messages
168
Reaction score
3
Location
Mo Town
Hey, I am new to this website but I haven't found any help anywhere else.

I want to add custom outfits into my server like, Hero, Necromancer, and others like the barbarian outfits and this is self explanatory.

However, I need help scripting an NPC who will make these outfits appear in a player's "Change Outfit" option after the player gives the NPC a special item. I don't want the outfits going away when the player changes to a different outfit or goes invis or whatever. I want the player to be able to go to that outfit at any time if he/she chooses to change outfits.

Also, if anyone can help me script raids for creatures to drop these items that would be helpful.

Sincerely,
Sean
 
Last edited:
ok u need SPR Editor and Data Editor to make ur own customs Or Simply Change in ur outfits.xml by making the access of the Players etc and the look type of outfit u want for example Go in ur Server and write /newtype number and if its what u want just copy script line of an outfit and change name/Looktype thanks and make a name for the outfit and itll be done! thanks *this is for Outfits*
 
Use this http://otland.net/f83/exchanger-152175/ and modify this to your own needs...
Replace doPlayerAddItem(cid, ITEMID) with doPlayerAddOutfit(cid, 73) (hero)
doPlayerAddOutfit(cid, 73) -- replace with creature looktype you desire.
You can get looktypes from your monsters files.
LUA:
monster name="Hero" nameDescription="a hero" race="blood" experience="1200" speed="268" manacost="0">
	<health now="1400" max="1400"/>
	<look type="73" corpse="6080"/>
 
I get this error:

[Error - Npc interface]
data/npc/scripts/exchange.lua:onCreatureSay
Description:
<luaDoPlayerAddOutfit> Player not found


You know why?
 
Last edited:
I think you need to add it to your outfits.xml but i am not sure, there is possibility that it will be available without the npc giving it... test it... i am not sure.
LUA:
	<outfit id="37" access="1" premium="yes">
		<list gender="0-3" lookType="73" name="Hero"/>
	</outfit>



Edit:
you have 2 threads for this?
http://otland.net/f132/request-custom-outfits-scripts-npc-163789/
soulution is there.
 
Back
Top