Does anyone know how to use this map script?

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,660
Reaction score
563
First Language
English
Primarily Uses
RMVXA
What are you trying to do? It looks fairly straight forward. The instructions are sort of embedded in the demo. Script calls listed in the script header.
 

tale

Volunteer
Veteran
Joined
Dec 16, 2016
Messages
709
Reaction score
1,194
First Language
English
Primarily Uses
N/A
ImageWorldMap script uses Arlmechia_Minimized.jpg, Quill_New.png (in Graphics/Pictures folder)

You can use your own images however you have to update image name in the script.
Line 71 for cursor image. Line 114 for map image. (case sensitive)

Starting on line 131, you can set coordinates for your map.
You need a paint program to see where to put coordinates for location.

Once you open map image with paint editor. Move mouse cursor to where you want location to be.
Image editor should tell you where X,Y coordinate are from the mouse cursor pointer.


:map_x => 163,
:map_y => 414,

Database > Items > click on the icon > select an icon


Bottom left box is an Index for map_icon_index.

:transfer_mapid => is number id of your map.
If you have 3 maps. Id could be 1 2 or 3.
You can reuse map id if transfer is on the same map.

Transfer coordinates are based on the VX Ace map editor.
Pick a spot and put the coordinate for transfer x,y in the script.


:transfer_f => is where player facing (2 is down, 4 is left, 6 is right, 8 is up)

To add more Map points, after line 166- press enter to start a new line.
And copy this below & paste into a blank line.
Code:
   MAP_POINTS.push({:name=>'insert',
       :map_x => ,
       :map_y => ,
       :map_icon_index => 189,
       :transfer_mapid => ,
       :transfer_x => ,
       :transfer_y => ,
       :transfer_f => ,
       :default => true});
Event setup-
3rd page of Event Commands > Advanced - Script... - put
Code:
loc = 'current map name'
call_worldmap(loc)
Note: current map name is map name you used from script

When using this script call, it'll open up a world map.
 

Wavelength

MSD Strong
Global Mod
Joined
Jul 22, 2014
Messages
5,624
Reaction score
5,104
First Language
English
Primarily Uses
RMVXA

I've moved this thread to RGSS Script Support. Please be sure to post your threads in the correct forum next time. Thank you.

 

QueenTeaYT

Veteran
Veteran
Joined
Nov 8, 2019
Messages
45
Reaction score
11
First Language
English
Primarily Uses
RMVXA
What are you trying to do? It looks fairly straight forward. The instructions are sort of embedded in the demo. Script calls listed in the script header.
Maybe I just don't know enough about the program's terminology but when I tried reading those I ended up confused. I'll do my research first before asking next time!
 

QueenTeaYT

Veteran
Veteran
Joined
Nov 8, 2019
Messages
45
Reaction score
11
First Language
English
Primarily Uses
RMVXA
ImageWorldMap script uses Arlmechia_Minimized.jpg, Quill_New.png (in Graphics/Pictures folder)

You can use your own images however you have to update image name in the script.
Line 71 for cursor image. Line 114 for map image. (case sensitive)

Starting on line 131, you can set coordinates for your map.
You need a paint program to see where to put coordinates for location.

Once you open map image with paint editor. Move mouse cursor to where you want location to be.
Image editor should tell you where X,Y coordinate are from the mouse cursor pointer.


:map_x => 163,
:map_y => 414,

Database > Items > click on the icon > select an icon


Bottom left box is an Index for map_icon_index.

:transfer_mapid => is number id of your map.
If you have 3 maps. Id could be 1 2 or 3.
You can reuse map id if transfer is on the same map.

Transfer coordinates are based on the VX Ace map editor.
Pick a spot and put the coordinate for transfer x,y in the script.


:transfer_f => is where player facing (2 is down, 4 is left, 6 is right, 8 is up)

To add more Map points, after line 166- press enter to start a new line.
And copy this below & paste into a blank line.
Code:
   MAP_POINTS.push({:name=>'insert',
       :map_x => ,
       :map_y => ,
       :map_icon_index => 189,
       :transfer_mapid => ,
       :transfer_x => ,
       :transfer_y => ,
       :transfer_f => ,
       :default => true});
Event setup-
3rd page of Event Commands > Advanced - Script... - put
Code:
loc = 'current map name'
call_worldmap(loc)
Note: current map name is map name you used from script

When using this script call, it'll open up a world map.
Thank you so much! This is so helpful! >.<
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,575
Latest member
akekaphol101
Top