zoom on map (not battle)

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
I am looking for a script which enables me to zoom in on a portion of a map - and, of course, then zoom back out. I know of scripts which do this just for the character sprite or in battle, but neither of those are what I am looking for, as I want to use this in cut scenes.

Does anyone know of something which would do this?
Thank you.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
@lordosthyvel Sadly no, as that is for MV and this is the Ace section.
But thank you for taking the time to go hunting for me.
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,592
Reaction score
6,522
First Language
Indonesian
Primarily Uses
RMVXA
The only map zooming I know is zeus map effect. Other than that, idk.
 

Zeriab

Huggins!
Veteran
Joined
Mar 20, 2012
Messages
1,268
Reaction score
1,422
First Language
English
Primarily Uses
RMXP
If you know exactly how the cutscene will look as when you want to do the zoom you can "cheat" by using a picture.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
@Zeriab While that would make the map appear to be zoomed in, the sprites would remain the default size, and when they move around there would be all sorts of problems, I think.
 

JGreene

Veteran
Veteran
Joined
Oct 24, 2015
Messages
395
Reaction score
297
First Language
English
Primarily Uses
RMMV
@Kes I found this script. Hopefully it helps. Site link is in the description of the video. The site is in French, but the demo download is in the bold blue link right before the comments.

 

cabfe

Cool Cat
Veteran
Joined
Jun 13, 2013
Messages
2,353
Reaction score
2,549
First Language
French
Primarily Uses
RMVXA
@Kes It requires another script first, that rewrites the Tilemap class.
In case you were wondering, all the scripts on that site are free to use.
Conditions d’utilisation
Tous mes scripts sont complètement libres d’utilisation. Ils peuvent être utilisés et/ou modifiés dans n’importe quel type de projet sans avoir besoin de demander mon accord.

My own translation as a French native speaker:
Terms of use
All of my scripts are completely free to use. They can be used and/or modified in any project without asking for my permission.
 
  • Like
Reactions: Kes

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
@JGreene and @cabfe Thank you both very much.

I do have a query, and that's about the required script which rewrites the Tilemap class. Naturally I'm a bit concerned about what this will do to my existing maps. Would I be correct in thinking that if I set line 46 to false, then I can restrict the effect of the script to just the maps where I have the cut scenes? I am posting below the section about this, because there is another line at 51 and I am unsure about whether that is dealing with the same thing.
Code:
[starting at line 33]
33 # Configuration :
34 # - NEW_TILEMAP_FOR_ALL_MAPS : alimenté à true ou false
35 #         - true : la nouvelle Tilemap sera utilisée pour toutes les cartes
36 #         - false : la nouvelle Tilemap ne sera utilisée que pour les
37 #                   cartes dont l'id est dans NEW_TILEMAP_MAPS_IDS
38 # - NEW_TILEMAP_MAPS_IDS : utilisé si NEW_TILEMAP_FOR_ALL_MAPS est à false
39 #         Contient la liste des id des cartes pour lesquelles la nouvelle
40 #         tilemap doit être utilisée
41 #====================================================================
42 module MGC
43 #--------------------------------------------------------------------------
44 # * CONFIGURATION
45 #--------------------------------------------------------------------------
46 NEW_TILEMAP_FOR_ALL_MAPS = true 
47 NEW_TILEMAP_MAPS_IDS = [1, 2] # seules les cartes 1 et 2 utilisent cette tilemap
48  #--------------------------------------------------------------------------
49  # * Initialisation [1.2]
50  #--------------------------------------------------------------------------
51  @new_tilemap_active = false
 

Zeriab

Huggins!
Veteran
Joined
Mar 20, 2012
Messages
1,268
Reaction score
1,422
First Language
English
Primarily Uses
RMXP
The sprites will zoom in just fine if they are part of the picture you use. Here is an example: There are definitely downsides and limits to this approach, but it is worth knowing about ^^

*hugs*
 
  • Like
Reactions: Kes

cabfe

Cool Cat
Veteran
Joined
Jun 13, 2013
Messages
2,353
Reaction score
2,549
First Language
French
Primarily Uses
RMVXA
A little bit of translation to help understand things:
Line 35 - True: the new Tilemap will be used on all maps
Line 36 - False: the new Tilemap will only be used on maps whose id is in NEW_TILEMAP_MAPS_IDS

So, yes, if you set False at line 46, it will not work on maps not included in line 47's settings.

The setting at line 51 is another thing and since it's False by default, it won't trigger (it works it either one is True at Line 433)
 
  • Like
Reactions: Kes

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
@cabfe That's what I hoped it meant, but I was thrown by line 51. I need to get some sleep now, but I'll test it out tomorrow.
@Zeriab Thanks for the example, I'll have a close look at it tomorrow.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,845
Messages
1,016,961
Members
137,561
Latest member
JaCrispy85
Top