[Tutorial] Making a boat that paths in water.
So, I know some people like the idea of boats... but have you ever wanted to make one, with little to know SQL knowledge?
Well, you're in luck. Today, you get to learn how! First off, you're going to need a few things. - MySQL access to the database you're working on (Not required, but helps!) - GM access to the server you are working on, mainly the commands #npcspawn, #grid, #wp, and #npcedit. - Experience with how XYZ locations work. (-x = west, +x = east, etc.) Once you have all of those, you can begin to make your boat. First off, your boat is not that much of a boat, unless you have a boat to begin with! Begin by #spawning a blank NPC in-game. Code:
#spawn a_boat Code:
#npcspawn create Okay, next thing you do is zone out from the zone you wish to add the boat in. The quickest way, in my opinion, is to zone to the 'EverQuest Tutorial' zone, or 'The Nexus' zone. Code:
#zone tutorial Got that? When you're in the zone, you can begin to change the special flags of your untargetable NPC. By default, rain spells should hit your NPC, so you do not want this to happen. You should use MySQL to edit your NPC. If you don't have MySQL access, you can still set the flags for the npc with the command, #help npcspecial. Additionally, you will need the npc_types ID for your NPC. You can use #npcstats on your NPC to find this out. It is listed near the top of the command. Go into your favorite MySQL query program and type this in: Code:
UPDATE `npc_types` SET npcspecialattks='EFRSTQUMCNIDABf' WHERE `id`='yournpctypesid' Got that? Good! Now back to in-game. A good shortcut for this is the windows key combination alt tab, get used to it! Next, you need to set your NPC's race. The race for the smaller boats is 140. Code:
#npcedit race 140 To quote the wiki, Quote:
First, find the max grid in the zone. Code:
#grid max Code:
#grid add 4 0 1 To make sure your boat doesn't pause at all, just set pause as 0 in waypoints. Add one to the waypoint number each time you make another one. Code:
#wp add 4 0 1 Code:
target mob, run to water Code:
#repop Code:
#npcedit bodytype 11 That's all there is to it, congrats, you made your first boat. Make sure it stays in water, by the way. Sometimes zone gets picky about stuff like that. Any questions, comments, you can post them in this thread. Thanks! :D |
Nice work, Secrets. Thank you.
|
if anyone wants to see how to script the boats so you can trigger them and make them zone properly.. http://nug.cvs.sourceforge.net/nug/n...s/PERL/Quests/
check out the nro and erudsxing folders .. ill post some docu later on how it works. |
All times are GMT -4. The time now is 07:31 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.