[Action] Mount tutorial for 9.31 TFS!
2 posters
Page 1 of 1
[Action] Mount tutorial for 9.31 TFS!
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
Make a lua file for each mount put in actions\scripts\mounts
were it says: doPlayerAddMount(cid, 1)
change the cid, 1) to the mount number 1-25
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\OTLand!
Credits: God Arcanus of OTland - Mount Quest
Put this in your actions.xml
- 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
- 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
- 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\OTLand!
Sacred Anlyest- Global Moderator
- Profession :
- Mapper
- Scripter
Posts : 20
Reputation : 1
Join date : 2011-12-20
Age : 26
Location : Egypt
Re: [Action] Mount tutorial for 9.31 TFS!
No problem! I hope that helped you!
Regards,
Sacred Anlyest
Regards,
Sacred Anlyest
Sacred Anlyest- Global Moderator
- Profession :
- Mapper
- Scripter
Posts : 20
Reputation : 1
Join date : 2011-12-20
Age : 26
Location : Egypt
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Tue Nov 05, 2013 9:57 am by ftcyber
» heyyy
Tue Jul 02, 2013 9:44 am by Amiroslo
» Emporia - Global map by 5mok3 [8.6x]
Tue Feb 05, 2013 5:39 am by elsab3
» Information! This is a must read!
Sat Jan 28, 2012 6:28 am by Zatjin
» Which world are/were you playing in?
Thu Jan 26, 2012 4:18 pm by Zatjin
» How to make a proper thread (APPLYING)
Thu Jan 26, 2012 3:23 pm by Zatjin
» [Sweden][8.6] Quzed.TK BrandNEW RL Server
Thu Jan 26, 2012 2:27 pm by Cypher
» Inactive!
Thu Jan 26, 2012 2:24 pm by Cypher
» League of Legends (LoL)
Wed Jan 18, 2012 8:22 am by FreshM
» Blazing RPG - We are in a need of a team!
Wed Jan 18, 2012 4:24 am by Zatjin