Ghost Creations
Active Member
This will get you going on the way mounts work, This is a Quest type mount getting sytem, the only one I found to work.
Credits: God Arcanus of OTland - Mount Quest
Put this in your actions.xml
XML Code:
Make a lua file for each mount put in actions\scripts\mounts
Lua Code:
were it says: doPlayerAddMount(cid, 1)
change the cid, 1) to the mount number 1-25
Lua Code:
Midnight Panther Mount, notice the cid is 5.
Now you are all done, run your server, ctrl+click on the mossy stone you set as the uid, and wala you have the mount.
Right click on your character, set look, then set mount.
then right click on your character click mount
Credits go to god arcanus original post http://otland.net/f81/mount-quest-115680/
Credits: God Arcanus of OTland - Mount Quest
Put this in your actions.xml
XML Code:
Code:
<!-- Mounts -->
<action uniqueid="2601" script="mounts/Widow Queen.lua"/>
<action uniqueid="2602" script="mounts/Racing Bird.lua"/>
<action uniqueid="2603" script="mounts/War Bear.lua"/>
<action uniqueid="2604" script="mounts/Black Sheep.lua"/>
<action uniqueid="2605" script="mounts/Midnight Panther.lua"/>
<action uniqueid="2606" script="mounts/Draptor.lua"/>
<action uniqueid="2607" script="mounts/Titanica.lua"/>
<action uniqueid="2608" script="mounts/Tin Lizzard.lua"/>
<action uniqueid="2609" script="mounts/Blazebringer.lua"/>
<action uniqueid="2610" script="mounts/Rapid Boar.lua"/>
<action uniqueid="2611" script="mounts/Stampor.lua"/>
<action uniqueid="2612" script="mounts/Undead Cavebear.lua"/>
<action uniqueid="2613" script="mounts/Mule.lua"/>
<action uniqueid="2614" script="mounts/Tiger Slug.lua"/>
<action uniqueid="2615" script="mounts/Uniwheel.lua"/>
<action uniqueid="2616" script="mounts/Crystal Wolf.lua"/>
<action uniqueid="2617" script="mounts/Brown War Horse.lua"/>
<action uniqueid="2618" script="mounts/Kingly Deer.lua"/>
<action uniqueid="2619" script="mounts/Tamed Panda.lua"/>
<action uniqueid="2620" script="mounts/Dromedary.lua"/>
<action uniqueid="2621" script="mounts/Sandstone Scorpion.lua"/>
<action uniqueid="2622" script="mounts/Brown n White Rented Horse.lua"/>
<action uniqueid="2623" script="mounts/Fire War Horse.lua"/>
<action uniqueid="2624" script="mounts/Grey n White Rented Horse.lua"/>
<action uniqueid="2625" script="mounts/Brown Rented Horse.lua"/>
Make a lua file for each mount put in actions\scripts\mounts
Lua Code:
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.itemid == 1353 then
local pPos = getPlayerPosition(cid)
doSendMagicEffect(pPos, 50)
doPlayerAddMount(cid, 1)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You Have The Widow Queen Mount!")
end
return TRUE
end
were it says: doPlayerAddMount(cid, 1)
change the cid, 1) to the mount number 1-25
Lua Code:
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.itemid == 1353 then
local pPos = getPlayerPosition(cid)
doSendMagicEffect(pPos, 50)
doPlayerAddMount(cid, 5)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You Have The Midnight Panther Mount!")
end
return TRUE
end
Midnight Panther Mount, notice the cid is 5.
Now you are all done, run your server, ctrl+click on the mossy stone you set as the uid, and wala you have the mount.
Right click on your character, set look, then set mount.
then right click on your character click mount
Credits go to god arcanus original post http://otland.net/f81/mount-quest-115680/
Last edited: