Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-27-2008, 12:33 AM
vigilant_death2 vigilant_death2 is offline
Registered User
Join Date: Sep 2003
Location: n/a
Posts: 25
vigilant_death2 is on a distinguished road
Send a message via AIM to vigilant_death2 Send a message via Yahoo to vigilant_death2
My minimap script

Just wondering what everyones opinion on this minimap is?
Rather then using images it makes an image from the tiles in the level so there is no need for updating

If you want to see it in it's live form just log into Dark Diamond though
keep in mind we have started fresh and have many temporary systems setup for now!

The arrow you see is also a preview of what will guide you to your quest targets
or other useful POI... Any suggestions or things you would like to see on it?

(image quality lowered to reduce filesize)
Attached Thumbnails
Click image for larger version

Name:	prev1.jpg
Views:	222
Size:	143.0 KB
ID:	43993   Click image for larger version

Name:	prev2.jpg
Views:	205
Size:	139.6 KB
ID:	43994  
__________________
-Neo
Reply With Quote
  #2  
Old 02-27-2008, 12:38 AM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Wee, I'm in the pic (my nick is )

Anyways, I really like that, loading tiles in the level instead of taking screenies etc :o
__________________
Reply With Quote
  #3  
Old 02-27-2008, 12:39 AM
Knightmare1 Knightmare1 is offline
Billy Allan
Knightmare1's Avatar
Join Date: Apr 2007
Posts: 804
Knightmare1 can only hope to improve
coool. why would you post this here though?
__________________
I am the devil, I am here to do to devils work.
Reply With Quote
  #4  
Old 02-27-2008, 12:43 AM
vigilant_death2 vigilant_death2 is offline
Registered User
Join Date: Sep 2003
Location: n/a
Posts: 25
vigilant_death2 is on a distinguished road
Send a message via AIM to vigilant_death2 Send a message via Yahoo to vigilant_death2
I am asking for suggestions for it!
(also opinions count as suggestions as they could lead to changes being made)
__________________
-Neo
Reply With Quote
  #5  
Old 02-27-2008, 03:26 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Post the script please
__________________
Reply With Quote
  #6  
Old 02-27-2008, 03:37 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
Hmm, so you're showing individual images for each tile? I'm guessing that will be a bit sluggish?
Reply With Quote
  #7  
Old 02-27-2008, 04:00 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Quote:
Originally Posted by DustyPorViva View Post
Hmm, so you're showing individual images for each tile? I'm guessing that will be a bit sluggish?
Using 4096 images for one little map does seem to be a bit sluggish. I'm sure there's a way to disable the minimap though.
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote
  #8  
Old 02-27-2008, 04:28 AM
vigilant_death2 vigilant_death2 is offline
Registered User
Join Date: Sep 2003
Location: n/a
Posts: 25
vigilant_death2 is on a distinguished road
Send a message via AIM to vigilant_death2 Send a message via Yahoo to vigilant_death2
It isn't using 4096 images though it does use a GuiDrawingPanel which draws at a limited rate (as you'll see if you go look at it) then turns it into a png file

Stefan says saveimage is messed up right now so I cannot yet script it to load the files the player already has...

But in the end it will render the map, save to a png, then load from that point on until it needs to update again!
__________________
-Neo
Reply With Quote
  #9  
Old 02-27-2008, 05:03 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
Ya, I noticed when I got on to check... I hadn't a clue there was even a saveimage. Cool script, but I think the loading is a bit much for just a map.

Have you thought of loading the level file itself and taking the text from that and making an image?
Reply With Quote
  #10  
Old 02-27-2008, 05:07 AM
vigilant_death2 vigilant_death2 is offline
Registered User
Join Date: Sep 2003
Location: n/a
Posts: 25
vigilant_death2 is on a distinguished road
Send a message via AIM to vigilant_death2 Send a message via Yahoo to vigilant_death2
Yes, but even so you still have to get the positions in the tileset image to draw it!
__________________
-Neo
Reply With Quote
  #11  
Old 02-27-2008, 05:20 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
Hmm, I guess so.
I dunno, the idea is firm, but it doesn't seem practical(CPU-usage wise) for something to be released.
I doubt this will even work on anything other than a single level, no?
Reply With Quote
  #12  
Old 02-27-2008, 11:33 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Just have a staff person generate the images ahead of time then have a folder on the server where the clients download. This is if saveimage() gets fixed, which I would really like.
__________________
Reply With Quote
  #13  
Old 02-27-2008, 07:37 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Hmm, you said the images was saved to scriptfiles/ in the players script files folder.. why not just upload those images to the server? Make a staff go around all levels once in a while and upload?
__________________
Reply With Quote
  #14  
Old 02-29-2008, 01:08 AM
Frankie Frankie is offline
xChugxLifex
Frankie's Avatar
Join Date: Feb 2008
Location: New York
Posts: 1,610
Frankie is a jewel in the roughFrankie is a jewel in the rough
Send a message via AIM to Frankie Send a message via MSN to Frankie
Pretty neat system, I logged on and checked it out myself.
Although like you said, the load time is a bit slow, it still works flawlessly.
__________________
*Sum41Freeeeek
*Frankie
Reply With Quote
Reply


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 11:16 AM.


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