Ultra Mode 7 [RMMV & RMMZ]

@Poppie360 >> You can try Terrax lighting plugin, that one works rather “fine” if you’re not too generous with the pitch angle. You will obviously still have some kind of shift, getting bigger when moving away from the light, but it’s barely noticeable if you use a big light and, again, if you don’t use a big pitch angle.

The default 45° might be a little too much anyway, I don’t know about everybody’s personal resources (gfx) but I found that for me, around half that number is already great to have a nice 3D effect while not having a pixelated ground/event at the bottom of the screen. Maybe for a classic worldmap, 45° works better.

And if you really want to have perfectly stable lights on screen, like a red halo around some red light for example, simply use an event/character with that light directly on it. It’s a good way to bypass Terrax limitations if one of your light is too small.

@bblizzard
Sorry man, I read your answer when you wrote it (thank you!) but I thought I’d be quicker to be done with stuff I’m creating for my game so I could show you at the same time I reply.
Well I think I’ll use your plugin for ONE specific area in the game, the overworld’s subterranean areas! I’m almost done with most of my resources and all the tests that were needed.

Here is a glimpse back when I was starting:


I have some feedbacks from what I see so far, I found that the function to “shake the screen” doesn’t work with your plugin (the map doesn’t shake, only the events) and the video playback function doesn’t work I think. This is minor (not vital) stuff anyway, just to let you know in case there is an easy fix. Speaking of easy fix, what about giving us the option to choose between black and white for the “fading color” (the horizon thing) because now we only have white and I can’t use it in an underground situation, I think with black and white you’ll cover most situation, even if any color choice would be even better. And of course having the events below the effect and not above it. ☺️

Beside that I’m very happy with the results and I can’t wait to show you how it looks, I made specific resources to match the 3D effect with a specific pitch angle and it looks great! The only minor drawback would be that we can still feel the events can be a little bit “jaggy” at time, maybe some kind “rounding numbers” thing that you could improve in the future in order the get a super smooth result? That would be amazing.
😎
This and as mentioned before by @Espilonarge some (minor in my case) performance things, to be honest I tried on a rather weak computer and was surprised to see that a 80x80 map was still holding on decently. Congratulation! I don’t know about bigger maps yet, I heard it's more problematic on super big maps like 256x256. But speaking of map size, do you think it would be possible to lock the camera BEFORE we can see the edges of the maps, as you already know we can see the limits of a map (and then we see the parallax on the sides) when we move to the edges and it can break immersion.

It’s an easy fix of course, simply put empty and/or unpassable tiles around the edges and you’re good, too bad it makes the maps way bigger for no reason (and might not help with performance issues?) but yeah, again it’s minor issues. It’s already great as it is. Sorry for the wall of text, next time I’ll show visual stuff instead!! 🙂


can't get the shadow to show up, do i need to tint the screen or anything? (i have also found a shadow script that works pretty good with it)
Spoiler: screenshot
40d4e35e343ce8a1db24e2f320824846.png
the flame thing is supposed to be the light source, it is set at a forty five degree angle. can't figure out what else to do....
Terrax Lightning doesn't give you shadows as far as I know, you'll need another script for this (if anyone knows a good one, I'd like it), and to make the lights you do need a tint on the map as far as I know (be free to correct me)
Terrax Lightning doesn't give you shadows as far as I know, you'll need another script for this (if anyone knows a good one, I'd like it), and to make the lights you do need a tint on the map as far as I know (be free to correct me)
i know it doesn't im using quasi's simple shadows for that, the problem is i cannot figure out how to make a dark map, i should just ask it on the thread of that plugin.
i know it doesn't im using quasi's simple shadows for that, the problem is i cannot figure out how to make a dark map, i should just ask it on the thread of that plugin.
Terrax's?
I think you need to set the player's light first, putting in an event's notebox something like Light 250 #FFFFFF
For the color I used a plugin command in an auto event that erased itself, Tint set #3333cc, 3333cc the tint I wanted for the screen.
Terrax's?
I think you need to set the player's light first, putting in an event's notebox something like Light 250 #FFFFFF
For the color I used a plugin command in an auto event that erased itself, Tint set #3333cc, 3333cc the tint I wanted for the screen.
meh, it doesn't work, it's probably an error with how the script is and the mode 7 system (or i am not doing something right
Spoiler: here's what is in the event that is supposed to change the tint set
6b35da0d899fc8c4f3d9d84c76c97846.png
You are doing it wrong.
in the plugin command, use just Tint set #3333cc
And instead of putting the Light 250 #FFFFFF in a plugin command, put it in an event's notebox. you know, that box right to the right of the name box.
You are doing it wrong.
in the plugin command, use just Tint set #3333cc
And instead of putting the Light 250 #FFFFFF in a plugin command, put it in an event's notebox. you know, that box right to the right of the name box.
the event next to that one is the one that is supposed to be the light, it has a light tag set in it's notebox. and still, changing that hasn't done anything. have you tested if the plugins both work together?
Nope.
But it wouldn't work anyway if you are using the light plugin wrong, so...

Does the light plugin work properly without the mode7 on that map?
Did you try changing the order?
Nope.
But it wouldn't work anyway if you are using the light plugin wrong, so...

Does the light plugin work properly without the mode7 on that map?
Did you try changing the order?
nope, still not working, could you provide screenshots of what you did? (i mean, i most likely am using it wrong, i have not been able to find anything about how to set it up after looking.)
I did this:
Spoiler
upload_2018-5-22_10-32-37.png
Put the light code in the plugin event (in this case Fire with radius 0, because for some reason at least the version I got doesn't move properly if the event is not the player), and in an autorun (in this case the same event) I set the screen's tint and player radius (player radius is 0 in this case because it is a cutscene and player is invisible)
I did this:
Put the light code in the plugin event (in this case Fire with radius 0, because for some reason at least the version I got doesn't move properly if the event is not the player), and in an autorun (in this case the same event) I set the screen's tint and player radius (player radius is 0 in this case because it is a cutscene and player is invisible)
okay, so it does work together with the mode 7 script (although there is some shifting of the light when it moves to the outer edges of the screen. but it does work. (i'll figure something out for that on my own.)
Spoiler: screenshot
886d12993fc6f6f26b73fc520940076e.png

Jonforum, please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.



This plugin is very interesting to experiment with 🙂
Double-post notice: Jonforum

This plugin is very interesting to experiment with 🙂
yeah, i've had a good amount of fun with it. im making a 3d map based battle system using it. unlike the mode 7 script for vx ace this system is much better at handling a lot of events on screen
Thank you for your answer @blizzard88 🙂

What happens when you try to play back a video? Because I didn't really touch anything regarding that. o.o
I'll check the screen shake later, it's likely an easy fix.
My apologies about the video thing, it was caused by a corrupted file.

Screen shake is still a valid glitch though.
Some camera related plugins can give us problems, the built-in “scroll map” function in MV works as intended, but when using another camera-control plugin, it can lead to incompatibilities, try that popular one for example: http://sumrndm.site/camera-core/

The options to control the camera (like to scroll it at specific X-Y position or Event ID’s position etc) lead to some kind of weird shake/freeze and then directly the result (we’re supposed to see the camera moving at user-specified duration) and sometimes instead of moving to a target the camera locks where it is.

I'm not 100% sure what you mean with the event being jaggy.
Well to be honest it’s mostly caused by the kind of camera plugin I just talked about, the same coder made a “smooth camera” plugin to go as an add-on: http://sumrndm.site/smooth-camera/

This plugin is the one that gives the best results with your Mode7 but we can still feel the “problem”, if you focus your attention on an event you’ll see it’s not totally “anchored” on the ground and has a tendency to shake a bit. It’s especially visible if you use something big that is supposed to be “super rooted” in the ground like a tree for example. You’d see the roots of the trunk not totally “synchronized” with the scrolling map.

To be fair even without any of those “smooth camera” plugin it’s still possible to slightly see this problem, the slower your character moves the more visible it gets, smooth camera plugins have a slow deceleration thing going on which is probably why it makes that problem more obvious.

If you want to see what I’m talking about in the most visible way, simply try this other “smooth camera” plugin, it’s plug and play:
https://galvs-scripts.com/2015/11/27/mv-cam-control/

That one is so generous with the deceleration/delay thing, that you’ll see all the events on your map look like they have no business on that map and want to go away ahah. It’s the same problem that makes “Doodadds” plugin from @Yanfly unusable with that kind of camera. Let’s hope you’ll be able to find a trick.
Would be amazing and could make your plugin even more badass! 😉
I'll check it out later at some point. Since character sprites are rendered still like billboard sprites, there's a limit to how accurate the sprites can be displayed on a 3D renderered map. Maybe I can do some things to reduce the issue, but i'm not sure it's possible to remove it entirely. ¯\_(ツ)_/¯
Hey, I found another bug with your plugin.

For some reason it makes the parallax scrolling function not work. So when I set the parallax to a sky and tell it to scroll by an X amount and/or Y amount in the map properties, it stays still when you run the game.

I tested this in a fresh project just to double check that this wasn't happening because it wasn't playing well with one of the other plugins I'm using in my project.
Maybe I can do some things to reduce the issue, but i'm not sure it's possible to remove it entirely.
Reducing would already be great 🙂 Worst-case scenario it would be good enough if we turn OFF camera smoothing. Good luck, can't wait to see your next version! 😉

So when I set the parallax to a sky and tell it to scroll by an X amount and/or Y amount in the map properties, it stays still when you run the game.
This is strange it works for me. Whether it's the vanilla MV control with only one parallax (using "map properties") or a multi parallax situation with a plugin. (Don't forget to have a look in the Mode7 plugin settings, there is something about the X and Y scrolling so perhaps you changed the numbers by accident or something...)
This is strange it works for me. Whether it's the vanilla MV control with only one parallax (using "map properties") or a multi parallax situation with a plugin. (Don't forget to have a look in the Mode7 plugin settings, there is something about the X and Y scrolling so perhaps you changed the numbers by accident or something...)

I didn't touch those numbers. And again, in a fresh project this is still occurring.
I did some more testing inside of the plugin demo project file itself and found the following.

BUG REPORT:
  • When on a non-Mode 7 map, a horizontal only scroll for the parallax doesn't work.
  • When on a non-Mode 7 map, a vertical only scroll for the parallax does work, but it adds in a horizontal scroll for some reason. The same result occurs on a non-Mode 7 map that has a horizontal AND vertical scroll value for the parallax. Changing the value of the horizontal scroll doesn't seem to do anything to affect the speed/direction of the horizontal scroll. Even if you set it to, say, 50.
  • Horizontal and vertical scrolling parallaxes work as they should on Mode7 maps.
Here is the edited plugin demo where I display these bugs. Just run the game on each map:
http://www.mediafire.com/file/8j5963fratraupr/Ultra Mode7 BUGS.zip
@AdamSakuru Thanks for the bug reports. I use a customized parallax setup in my game so I didn't pay too much attention in the version I released. I'll make sure to fix it and add parameters that let you control the vertical and horizontal scroll depending on the pitch and yaw angles on the maps (since it really makes sense in a 3D map xD).

@KaYsEr I'm sure I can do something to at least reduce the issue and you can keep using the plugin. Worst case scenario, I can write some code that attempts to detect the plugin and use customized code to resolve all compatibility issues. It's not the first time I've done something like this. xD And it's not that hard either.
Horizontal and vertical scrolling parallaxes work as they should on Mode7 maps.
Oh, that's why it "worked for me" I guess 🙂 (And, like @blizzard88 I use an external parallax plugin for regular non M7 maps so I didn’t see the glitch.)

@KaYsEr I'm sure I can do something to at least reduce the issue and you can keep using the plugin. Worst case scenario, I can write some code that attempts to detect the plugin and use customized code to resolve all compatibility issues. It's not the first time I've done something like this. xD And it's not that hard either.
Amazing! You're great. This is a motivating work you've done already, wait until people in the community see some cool example of maps done with it and it might become popular. First time ever that Mode7 is reliable on the RPG Maker series, that's something! 😉

Original thread: https://forums.rpgmakerweb.com/threads/ultra-mode-7-rmmv-rmmz.94100/