Essentials Script Fast Map Exporter

Started by KleinStudio June 26th, 2015 11:11 AM
  • 4009 views
  • 13 replies
Male
Spain
Seen January 1st, 2016
Posted November 27th, 2015
52 posts
5.4 Years

Download: http://pokemonfangames.com/script.php?id=5

Features
-Support for my footprints script (only current map)
-Support for my water bubbles script (only current map)
-Support for reflected sprites (only current map)
-Bush tiles are supported

Okay but what exactly this does?
The script export a bitmap with the map and the things you've selected just pressing keys. For example this is the Route 3 from Essentials exported with events:
http://i.imgur.com/SO9BMEY.png

How to install
Copy and paste the script above main.

How to use
While you're testing the game you can use some key shortcuts for save maps.
-Save current map with events and player: Control + P
-Save current map with events: Control + E
-Save current map (only the map): Alt + M

Saving not current maps
While pressing control, type with the numbers keys a map id.
-Save selected map with events: Control + Map id
-Save selected map (only the map): Alt + Map id

The map bitmap will be exported to SavedMaps folder.

Credits and thanks to Zeus81 for his bitmap exporter script!

KillerMapper

Helix Follower

Male
Paris
Seen October 19th, 2020
Posted January 1st, 2017
200 posts
6.2 Years
It worked well, except for my starting town:

Exception: NoMethodError
Message: undefined method `>' for nil:NilClass
MapExporter:386:in `pbSaveMapGraphic'
MapExporter:383:in `each'
MapExporter:383:in `pbSaveMapGraphic'
MapExporter:382:in `each'
MapExporter:382:in `pbSaveMapGraphic'
MapExporter:381:in `each'
MapExporter:381:in `pbSaveMapGraphic'
MapExporter:208:in `update'
Scene_Map:37:in `updateMaps'
Scene_Map:36:in `each'
I don't know what could cause this error. This map uses the same tileset than other maps.
Praise Helix.
Male
Spain
Seen January 1st, 2016
Posted November 27th, 2015
52 posts
5.4 Years
It worked well, except for my starting town:



I don't know what could cause this error. This map uses the same tileset than other maps.
Very weird, don't know what is causing the error, try replacing the line 386:
helper.bltTile(bitmap,x*32,y*32,id) if priorities[id]>0
With
helper.bltTile(bitmap,x*32,y*32,id) if priorities!=nil && priorities[id]!=nil && priorities[id]>0

KillerMapper

Helix Follower

Male
Paris
Seen October 19th, 2020
Posted January 1st, 2017
200 posts
6.2 Years
Very weird, don't know what is causing the error, try replacing the line 386:
helper.bltTile(bitmap,x*32,y*32,id) if priorities[id]>0
With
helper.bltTile(bitmap,x*32,y*32,id) if priorities!=nil && priorities[id]!=nil && priorities[id]>0
Sorry for the delay, the fix works. Thanks.

I just noticed events using tileset for their appearance are not displayed on the maps, even with events enabled. Only events using character sheets will appear.
Praise Helix.
Male
Spain
Seen January 1st, 2016
Posted November 27th, 2015
52 posts
5.4 Years
Sorry for the delay, the fix works. Thanks.

I just noticed events using tileset for their appearance are not displayed on the maps, even with events enabled. Only events using character sheets will appear.
Mmm, I'll update the script when I can fixing that and adding more features like water reflection, thanks for report the error :)
Male
Seen September 5th, 2015
Posted August 12th, 2015
91 posts
10.8 Years
Mmm, I'll update the script when I can fixing that and adding more features like water reflection, thanks for report the error :)
Such a fan of you already!
If we're talking about adding features, I'd like to point out Screen Tint/Tone changes, which are currently ignored :p
Male
Spain
Seen January 1st, 2016
Posted November 27th, 2015
52 posts
5.4 Years
Such a fan of you already!
If we're talking about adding features, I'd like to point out Screen Tint/Tone changes, which are currently ignored :p
That would be nice but I've to make a function to apply tones to bitmaps and maybe can take some time, but maybe in a future ;)

Anyways, I've updated right now the script to V1.1 adding support for events using tileset as characters and reflected sprites. Here's a example map:

Male
Alola Reigon
Seen 7 Hours Ago
Posted 7 Hours Ago
491 posts
3.8 Years
The download link just says "File not Found"
Ofcourse it does. It's 5 years old
Try using this instead.

Golisopod User Challenges you to a Battle on his Discord! (Golisopod User#2006)

I've been working with Pokemon Essentials for about a year now. Check out my resources: