Sythen
Sorceror
Pirates! Their Back!!! Enjoy.... [RunUO 2.0] [Callador2k's ML SVN]
This script is ingenious! Basically it involves an NPC controlled Pirate Ship that will follow any playermobile boat that gets close enough to it. The captain and crew of this ship will try and kill anyone on board the playermobile ship and even board the playermobile ship if necessary to finish the job! IMO A really true to life NPC pirating system!
What I did was (1) translate the code in this script from German to English; I did this so that server owners can read it more clearly and edit it as needed. (2) I made it so the Pirate Captain can say random phrases from a text file in the Data Folder. (3) The Crew and Captain now display their titles in brackets [Crew] and [Captain]. (4) I fixed an issue with the boat spawning under the water and I fixed an issue with the Captain and Crew spawning on top of each other and unable to move. So now the NPC's move around the deck and the boat will spawn at sea level. And (5) I changed the ship from a small boat to a large dragon ship! I figured that was more appropriate given the role-playing nature of this script.
Instructions: to add a pirate ship simple type: [add PirateCaptain
where ever the captain spawns is where the ship will spawn as well.
Also, you can add a ship without a captain simply by typing: [add PirateShip
I did not change any other features of this script. I think its perfect the way it is. I just felt it needed some touching up and I'm sure you all will appreciate it once you get this script running.
On A Final Note: I just wanted to say that if you download this script, please offer some feedback. Its very hard to determine what needs to be tweaked if no one offers up some ideas. Plus I like to know my work is of some benefit to everyone. I hope everyone enjoys this script as much as I have.
ORIGINAL THREAD AND DESCRIPTION
Original Change Log By: haazen
This guy Haazen... who's quoted is quoted below, is a boat scripting guru... meaning he has a ton of releases that just might improve boating on your servers. Click on his name above and check out his threads.
This script is ingenious! Basically it involves an NPC controlled Pirate Ship that will follow any playermobile boat that gets close enough to it. The captain and crew of this ship will try and kill anyone on board the playermobile ship and even board the playermobile ship if necessary to finish the job! IMO A really true to life NPC pirating system!
What I did was (1) translate the code in this script from German to English; I did this so that server owners can read it more clearly and edit it as needed. (2) I made it so the Pirate Captain can say random phrases from a text file in the Data Folder. (3) The Crew and Captain now display their titles in brackets [Crew] and [Captain]. (4) I fixed an issue with the boat spawning under the water and I fixed an issue with the Captain and Crew spawning on top of each other and unable to move. So now the NPC's move around the deck and the boat will spawn at sea level. And (5) I changed the ship from a small boat to a large dragon ship! I figured that was more appropriate given the role-playing nature of this script.
Instructions: to add a pirate ship simple type: [add PirateCaptain
where ever the captain spawns is where the ship will spawn as well.
Also, you can add a ship without a captain simply by typing: [add PirateShip
I did not change any other features of this script. I think its perfect the way it is. I just felt it needed some touching up and I'm sure you all will appreciate it once you get this script running.
On A Final Note: I just wanted to say that if you download this script, please offer some feedback. Its very hard to determine what needs to be tweaked if no one offers up some ideas. Plus I like to know my work is of some benefit to everyone. I hope everyone enjoys this script as much as I have.
ORIGINAL THREAD AND DESCRIPTION
Original Change Log By: haazen
This guy Haazen... who's quoted is quoted below, is a boat scripting guru... meaning he has a ton of releases that just might improve boating on your servers. Click on his name above and check out his threads.
Thank you t.r.schmidt for releasing this. And thank you for allowing us to modify it. I feel obligated to give back a bit of the things I have found and fixed.
When the Captain is deleted or in my case, respawned, the ship now sinks.
I also changed so the ship sinks as soon as the Captain is killed so not having to wait for the next server save to decay.
The pirates that are still alive when the boat sinks, if any, they get killed.
I added pirates that can board the chased ship.
I gave the Captain a bit more hits so harder to kill.
The pirate ship will only target a ship with PlayerMobile on it.
I am still trying to find and fix a way to make it smarter following around land and to possibly return to spawn area when chased ship is removed from the water or for example, crosses the map edges from north to south or east to west.
This is for RunUO 2
Thanks again for releasing this script. It is great.