woratana
Jul 13 2008, 07:47 AM
MiniMapVersion 1.0
by Woratana
Release Date: 13/07/2008
IntroductionThis is the minimap script based on KGC Minimap in XP.
The minimap will be created by script, so it will be a little blocky. (VX tileset is also blocky anyhow

)
But the good point is that it doesn't require any image file.
Since I'm a little lazy, I prefer this script than the one using image file.

Enjoy~
FeaturesCODE
- Plug N Play script, don't need any graphic
- Turn minimap ON/OFF by switch, or disable it for specific map by put [NOMAP] in map's name
- Change minimap's position and size easily with call script
- Editable minimap's grid size, and color for passable tile / non-passable tile / player / events
Screenshots
DemoHere is demo that will show you how to call/setup this script.


Download file
Minimap_Demo.rarScriptPlace it above main
Click to view attachment
InstructionThe instruction to setup script is included in the script.

I recommend you to download demo to see how it works.
Author's NotesFree for use in your work if credit is included.
Special ThanksKGC who made XP Minimap script. Thanks a lot!
Bug Report?Please give me these informations:
QUOTE
- What is it says in error window?
- When is it get error? (Right after run game, when you choose something, etc.)
- Do you have any other scripts running in your game that may crash with this script?
Ryukodomo
Jul 13 2008, 08:18 AM
A completely awsome Script my friend...just awsome!
RoxasXIII
Jul 13 2008, 05:07 PM
Good to see this finished wara...I'll use it definately...
Heartofshadow
Jul 13 2008, 09:53 PM
Wora, this is simply awesome. Popped it into my game earlier today and it runs as snug as a bug in a rug. lawl. =P
I love how easy it is to add/edit how things such as NPCs, Enemies, Chests, etc. are displayed on the map. I already made it so Save Points have their own minimap display, and am considering making pure white dots to represent areas that can be entered. Doors, caves, paths, etc.
Thanks you Wora!! =D Love it.
Heart of Shadow
drebenk
Jul 14 2008, 12:46 AM
@woratana outstanding job mate! I was waiting for this script and here it is.
meganew2
Jul 14 2008, 02:11 PM
Where did you get that Script...
Where the clouds show??
meganew2
Jul 14 2008, 02:21 PM
I used script
Amazing job!!
But......
It dont show the enemys or items....WHY?
RoxasXIII
Jul 14 2008, 02:50 PM
Read the instructions in the script...It'll tell you what to do...
jkei2909
Jul 15 2008, 03:47 AM
I would like to ask Wora some questions, if you don't mind ....
1/ How can you make clouds floating over your map on the Screen Shot demo ?
2/ I can only set color pot by 'COMMENT : MMEV xyz' on only sprite set of animated things, but when I try on an event with no graphic or with a Tileset graphic it didn't work. How can I fix this ?
link245
Jul 15 2008, 01:18 PM
Thanks a lot woratana for the awsome mini map. This is gonna help things a lot on my side.
meganew2
Jul 16 2008, 10:54 AM
oh okay thanks
meganew2
Jul 16 2008, 11:04 AM
Wait...
Uhh exactly what to do????
meganew2
Jul 19 2008, 03:48 PM
QUOTE (jkei2909 @ Jul 15 2008, 03:09 AM)

I would like to ask Wora some questions, if you don't mind ....
1/ How can you make clouds floating over your map on the Screen Shot demo ?
2/ I can only set color pot by 'COMMENT : MMEV xyz' on only sprite set of animated things, but when I try on an event with no graphic or with a Tileset graphic it didn't work. How can I fix this ?
How do you make it able to show a event or enemy on item on the map?
jens009
Jul 19 2008, 03:55 PM
You write the proper keyword using the comment command in the event list.
By default these are the tags:
CODE
OBJECT_COLOR['npc'] = Color.new(30,144,255,160)
OBJECT_COLOR['treasure'] = Color.new(0,255,255,160)
OBJECT_COLOR['enemy'] = Color.new(139,35,35,160)
OBJECT_COLOR['merchant'] = Color.new(255,255,0,160)
Use 'enemy' for events that are considered your enemy.
'treasure' for events that are items/treasure.
meganew2
Jul 19 2008, 04:04 PM
QUOTE (jens009 @ Jul 19 2008, 03:17 PM)

You write the proper keyword using the comment command in the event list.
By default these are the tags:
CODE
OBJECT_COLOR['npc'] = Color.new(30,144,255,160)
OBJECT_COLOR['treasure'] = Color.new(0,255,255,160)
OBJECT_COLOR['enemy'] = Color.new(139,35,35,160)
OBJECT_COLOR['merchant'] = Color.new(255,255,0,160)
Use 'enemy' for events that are considered your enemy.
'treasure' for events that are items/treasure.
Ok....
What exactly do i start with???
How do i do it???
Say it slowley....
jens009
Jul 19 2008, 04:30 PM
Sorry. Figure it out on your own. I refuse to help people who plagiarizes other people's work.
http://www.rpgrevolution.com/forums/?showtopic=17589
meganew2
Jul 19 2008, 04:34 PM
QUOTE (jens009 @ Jul 19 2008, 03:17 PM)

You write the proper keyword using the comment command in the event list.
By default these are the tags:
CODE
OBJECT_COLOR['npc'] = Color.new(30,144,255,160)
OBJECT_COLOR['treasure'] = Color.new(0,255,255,160)
OBJECT_COLOR['enemy'] = Color.new(139,35,35,160)
OBJECT_COLOR['merchant'] = Color.new(255,255,0,160)
Use 'enemy' for events that are considered your enemy.
'treasure' for events that are items/treasure.
Like...
Show me what u put for yours....
MastaNEC
Jul 19 2008, 11:25 PM
QUOTE (meganew2 @ Jul 14 2008, 01:43 PM)

I used script
Amazing job!!
But......
It dont show the enemys or items....WHY?

first make an event, open the event up, go to the Event Commands, find where it says "Flow Control" then click where it says "Comment".
to make a enemy put MMEV enemy in the comment box, to make a merchant put MMEV merchant, for a npc put MMEV npc, and for treasure put MMEV treasure... >_<
meganew2
Jul 20 2008, 04:17 AM
QUOTE (MastaNEC @ Jul 19 2008, 11:47 PM)

QUOTE (meganew2 @ Jul 14 2008, 01:43 PM)

I used script
Amazing job!!
But......
It dont show the enemys or items....WHY?

first make an event, open the event up, go to the Event Commands, find where it says "Flow Control" then click where it says "Comment".
to make a enemy put MMEV enemy in the comment box, to make a merchant put MMEV merchant, for a npc put MMEV npc, and for treasure put MMEV treasure... >_<
TYVM
SouthWall
Jul 20 2008, 04:51 AM
Incredible! I've been waiting a long time for this, thanks.
zolaga
Jul 20 2008, 05:41 AM
Awesome!
nuff said
meganew2
Jul 21 2008, 03:27 PM
Worantas Script are very useful

))
bojjenclon
Jul 21 2008, 04:08 PM
The only suggestion I have is to make a color for non-passables and a color for map boundries, beacasue its wierd if you have spots on your mapt hat look like they simply arent there
meganew2
Jul 21 2008, 05:50 PM
QUOTE (bojjenclon @ Jul 21 2008, 03:30 PM)

The only suggestion I have is to make a color for non-passables and a color for map boundries, beacasue its wierd if you have spots on your mapt hat look like they simply arent there
Thats why you put it on the map yourself...
-.-
Did you try the script yet??
bojjenclon
Jul 21 2008, 06:36 PM
Dude me and scripting don't go together.
AnimeSnave
Jul 22 2008, 01:21 PM
Fantastic job! This is exactly what I have been looking for! One question however and sorry if it has already been answered!
[RESOLVED]How do I pinpoint Save locations on the map? I know of merchants and npcs etc. but I cannot seem to get savepoints on there!
Thanks a bunch and thank you very much Woratana! Great job!
EDIT: Whoops, issue solved! I never thought to check the script and include it!
home352
Jul 23 2008, 02:46 PM
This script is great, but it'd be better if water tiles were their own color. When the character is on a boat or ship, it looks like they are going over unpassable tiles. I tried to change it myself, but failed so badly I had to replace the script.
I still plan on using this mini-map in the game I'm developing, though.
Mech-Ah
Jul 24 2008, 08:54 AM
Error:
- What is it says in error window?
"Script 'Minimap 1.0' line 134: NoMethodError occurred.
undefined method `show_minimap?' for nil:NilClass
"
- When is it get error? (Right after run game, when you choose something, etc.)
Going from one map to another.
- Do you have any other scripts running in your game that may crash with this script?
Not that I know of.
Sorrowful Piņata
Jul 24 2008, 10:29 AM
Hi, I'm having a little "problem" with the minimap; it works perfectly in the technical part; however, I have a dilemma to deal with...
Situation: I have a chest in a dungeon, you can see the chest pinpoint on the map; after you open the chest, the pinpoint in the minimap won't disappear... I tried like, in the second page of the chest event, where it is open and is of no use, to place a random comment to see if it would disappear of the minimap, but it doens't work, no matter what I do... Could you please help me? It's just it doesn't make sense, if I open the chest, it continues to be visible on the map
Dynheart
Jul 24 2008, 11:23 AM
Awesome script! Plugged it in and fired it up no problem. I have one question, though. Is there a way for the map NOT to show secret walkable tiles? I have a few areas where you can walk across water (invisable bridge etc etc), but the map shows that you walk across...kinda kills the whole secret bit. I understand if there is not, but just thought I would throw this out there.
RisingPhoenix
Jul 24 2008, 08:40 PM
Nice script, as always.
@Dynheart: Just a suggestion, but perhaps you could put invisible events over the secret walkable path with a unique keyword that makes their color the same as the impassable tile color. You could even remove the events as they are walked over to reveal the path on the mini map as the player walks over it.
bojjenclon
Jul 25 2008, 06:49 AM
QUOTE (bojjenclon @ Jul 21 2008, 07:30 PM)

The only suggestion I have is to make a color for non-passables and a color for map boundries, beacasue its wierd if you have spots on your mapt hat look like they simply arent there
I still need help
blakerowe
Jul 26 2008, 11:20 AM
QUOTE (MastaNEC @ Jul 19 2008, 11:47 PM)

QUOTE (meganew2 @ Jul 14 2008, 01:43 PM)

I used script
Amazing job!!
But......
It dont show the enemys or items....WHY?

first make an event, open the event up, go to the Event Commands, find where it says "Flow Control" then click where it says "Comment".
to make a enemy put MMEV enemy in the comment box, to make a merchant put MMEV merchant, for a npc put MMEV npc, and for treasure put MMEV treasure... >_<
Thank you =)
brawler12
Jul 26 2008, 03:08 PM
I get this error whenever I enter a certain map:

Can someone help me fix this problem?
Now I can't finish my game... thanks guys!
brawler12
Jul 27 2008, 09:48 AM
I'm sorry for this double post, but can someone please help with my error???
Tewi Inaba
Jul 27 2008, 02:56 PM
I love the radary look the map has, it's so basic that I love it~
One thing would be seperating water with another color so it also looks cool on things like worldmaps~
RisingPhoenix
Jul 27 2008, 03:26 PM
QUOTE (brawler12 @ Jul 27 2008, 10:10 AM)

I'm sorry for this double post, but can someone please help with my error???
It has worked fine for me, and looking at the code does not show any obvious errors. Is there anything special about this map? Does it have any other scripts being applied to it, or do you have any scripts below the MiniMap script that modify classes related to the map?
brawler12
Jul 27 2008, 06:02 PM
What do you mean?
jens009
Jul 27 2008, 06:10 PM
QUOTE (brawler12 @ Jul 27 2008, 06:24 PM)

What do you mean?
He's saying that the map class below wora's Mini Map script could've been re-written.
Try placing Wora's script below everything else.
If it doesn't work, make a new project. Import one by one your game scripts and check which one conflicts with this minimap script. But it shouldn't because Wora aliased the methods. =]
If it still doesn't work, try recopying the script on a new project. If this works, that means that there is something wrong/conflicting with your game's scripts.
brawler12
Jul 27 2008, 07:57 PM
But, what if I don't want to start a new project?
Netto
Jul 27 2008, 08:07 PM
QUOTE (brawler12 @ Jul 27 2008, 08:19 PM)

But, what if I don't want to start a new project?
Your error will occur every time you edit the map, then test play it on the continued file, you have to start new game.
brawler12
Jul 27 2008, 10:15 PM
Wait, what?! But I worked my hardest on my game so far! I can't just start a new one... I just can't...
Netto
Jul 27 2008, 11:11 PM
QUOTE (brawler12 @ Jul 27 2008, 10:37 PM)

Wait, what?! But I worked my hardest on my game so far! I can't just start a new one... I just can't...

xD, I mean when you debug test your game, start a new game, instead of continuing on your save file.
brawler12
Jul 28 2008, 07:53 AM
Oh... my bad! I actually thought you meant to start a new project! Oops!
CGGenji
Aug 7 2008, 09:59 PM
Quick question, any way to set colors onto the map for events that aren't NPC, objects, etc.?
For example, I'm using the Mini-Map as an overworld map and tried to mark dungeons/towns but it doesn't work obviously.
5xhunterx5
Aug 10 2008, 05:24 PM
I got a question,how can you disable the map until you find a map? As in, I have a quest where you have to find a map then you unlock it. Any help?
Netto
Aug 10 2008, 05:38 PM
QUOTE (5xhunterx5 @ Aug 10 2008, 05:46 PM)

I got a question,how can you disable the map until you find a map? As in, I have a quest where you have to find a map then you unlock it. Any help?
Try setting the map to [NOMAP] then when you want the map, use call script.
Beecheese
Aug 13 2008, 04:43 PM
QUOTE
I got a question,how can you disable the map until you find a map? As in, I have a quest where you have to find a map then you unlock it. Any help?
You could just use the switch system, no? Taken from the OP:
CODE
- Turn minimap ON/OFF by switch, or disable it for specific map by put [NOMAP] in map's name
Basically, whenever you're entering an area where you're supposed to find a map, you put a command in the teleport event to turn off the switch (and vice-versa when you're exiting said area), and turn it back on once the player receives the map.
Well, maybe it would be easier to just use Call Script. Eh
fayt_leingod
Aug 17 2008, 10:33 PM
I get an error message when entering map with parallax background
VerifyedRasta
Aug 17 2008, 11:58 PM
QUOTE (fayt_leingod @ Aug 17 2008, 10:55 PM)

I get an error message when entering map with parallax background

What is the error?
I get no error when entering parallax backrounds :/
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.