Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > Code Gallery
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-12-2008, 04:18 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Default Map Emulation

UPDATES: added click warping, PM opening and nick name display

Since Graal seems to not support maps online anymore, I figured it would be useful to rescript it to replicate the default as much as possible. Huge credit to Tig and PFA for helping me with various problems.

Things to add:
DONE showing the name of selected player from playerlist(I have to figure out how to receive the data from the external, if it's possible).
DONE ctrl+click warping for staff.
> a way to automatically detect gmaps and data about them, instead of adding them.
DONE blinking a players head with a PM bubble if they have sent a PM/toall. I don't know if this is possible though.
> pause/unpause the player.
> perhaps a way to show shrunken heads of the last position of players who left the map. I don't think this will be possible, though.

Anyways, in order to get this to work simply add it to a WNPC and add it to the player. When the map is opened and closed, it hides/shows stats, you should make sure you fix that to work with whatever stats you are showing. All you have to do then is add the needed gmap details to the array and be on your way.

Please post any bugs you encounter with it, or any suggestions for that matter.

Also attached some screenshots of it.

I'VE ATTACHED THE SCRIPT NOW.
Attached Thumbnails
Click image for larger version

Name:	graal_1226456001.png
Views:	636
Size:	9.9 KB
ID:	46458   Click image for larger version

Name:	graal_1226456103.png
Views:	659
Size:	17.0 KB
ID:	46459   Click image for larger version

Name:	graal_1226456089.png
Views:	773
Size:	28.4 KB
ID:	46460   Click image for larger version

Name:	graal_1226456124.png
Views:	643
Size:	8.4 KB
ID:	46461   Click image for larger version

Name:	mapscreen.PNG
Views:	654
Size:	28.3 KB
ID:	46469  

Attached Files
File Type: txt mapscript.txt (7.7 KB, 749 views)

Last edited by DustyPorViva; 11-13-2008 at 04:17 AM..
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:08 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.