Title Giver!
Well, thanks to Trevius I have successfully made a NPC that will give the player a Title infront of their name , this is only the start of the script. I will be adding more to it to allow players to get Titles for killing bosses or doing quests! Thanks Trevius for the command!
Code:
sub EVENT_SAY |
Good to know the prefix title command works :) Now, we just need to see if the suffix stuff works. Glad I could be of some help to you.
Ultimately, it would be best for eqemu to implement the Title window at some point that would let players earn Titles and select them at any point from the window. Until then, quests like this should help fill that need some. |
Yep, it requires the player to zone for it to work, but it can be good for turn in titles, or even kill titles. EX: Kill mob, when mob dies spawn a npc that rewards title to players who hail before a period of time, as in about 15seconds to hail before he disappears.. or have an NPC that checks for a global quest from a boss kill to let you have a specific title... guess there could be a lot of ideas done with this, hope some people find this useful though :D
|
Well Trevius, #titlesuffix works well, but so far I don't have any idea how to set it into a command.
|
Isn't there a way to ....
Code:
if (count($client->AAtotal) >= 60 && $class == "Wizard") |
Hmm, sounds like it may work. Tested it?
|
I'm struggling here a little due to my lack of knowledge:
I've created aan npc give him a quest to set the players title which works great using the line Code:
$client->SetAATitle("Newbie"); I can set suffix in game with #titlesuffix "whatever" but I can't guess the command in the quest code - I've tried Code:
$client->SetAATitleSuffix ("something"); I guess what I really don't know is how SetAATitle works or where it is stored. |
It should be $client->SetTitleSuffix("something");
The list here should be up to date: http://www.eqemulator.net/wiki/wikka...a=QuestObjects |
You can also insert the title into the database, give it a titleset higher than 0, and enable it in Perl using quest::enabletitle(titleset). quest::checktitle(titleset) and quest::removetitle(titleset) are also valid. You can give a player a suffix or prefix using this method.
|
OMG that must have been the only combination I didn't try..
and that link is a goldmine for me thanks Derision.. is there any way to put a line break in like it does when you give an npc a second name it appears on a second line under their their name in brackets like Soulbinder Grunson (Soulbinder) Code:
$client->SetAATitle("Countess"); Countess playername the Cruel Butcher of Qeynos but it came out as "Countess playername Butcher of Qeynos the Cruel" all on one line. your help has been invaluable so far and if it always stays on one line I can work around it. |
I got it I got it never mind the old backslash n works a treat
Code:
$client->SetAATitle("Countess"); Countess playername (The Butcher of Blackburrow) I'm sorted thanks again. I'm going to create a massive list of Titles Suffix and Last names that work together then give them to players when they do stuff off the top of my head: on the death of certain mobs or npc's paying an npc for random title I might seed the random number on base stats.. playername the weak or wreched or ugly if their CHR is low.. I love playing with this stuff |
Back in June when I actually had time run a server, I made two scripts for players to make thier own tiltles and suffixes. I believe these still work.
Code:
###NPC Name: Curre Code:
###NPC Name: Kurre |
All times are GMT -4. The time now is 03:32 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.