Ultra Mode 7 [RMMV & RMMZ]

@Oscar92player You're the only one I have bad news for. ._. I couldn't figure out what was causing the problem. The VizuMZ core is obfuscated so my attempts to figure out what was going on ended in failure. There are 2 things that I noticed:

- The tiles seem to become increasingly transparent, but the lines that stay are totally weird. If you use a parallax, you can notice the transparency effect much better.
- There appears to be a sort of circular part in the lower half of the screen that displays the map normally. Does the core have some weird lighting code? That's the only thing I could think of that would cause a shape like this.

I think your best bet is to ask the devs to fix the problem. Since the core code is obfuscated it's basically impossible for me to fix it on my end unless I get the actual source code.

Well, the obfuscated code can be a problem, I heard the team behind those plugins made them that way to avoid issues with other plugins that can copy the code.

There are no lightning effects with VisuStella's plugins, for what I know.
@SigmaSuccour I fixed the rotation issue.

Thank you thank you thank you!
I have confirmed, that it's fixed now.
Thank you Bblizzard!




AAaaand I want to report another incompatibility with the roll feature... 😅 (Let me know when I'm becoming greedy in my requests.)

If any of the following plugin is turned ON in the plugin manager. And I activate Ultra Mode 7's roll, than the player and events do not rotate along with that roll. (The doodads do rotate, thanks to your fix. But events and player do not.)

These plugins are:
  1. EventEffects.js
  2. MOG_CharacterMotion.js
  3. EasyAction.js
  4. Eli_CharManager.js (requires Eli_Book.js to work)
I have sent the demo to you in your DM.
It also has a quick demo of the sort of things each of these plugins do. (Essentially, these plugins either rotate, or add motion effects to events.)

This issue was already there in the older version, and I knew about it during my last comment.
I simply had to delay mentioning it, because isolating the plugins in this case was more complicated. Since the same issue was being caused by multiple plugins. (And I have around 300 non-battle plugins installed in my project. 😊)

And so again, please do look into this Bblizzard. Whenever you can make time. :LZSooo:
Thank you!
@Aerosys I noticed and fixed a minor offset issue. All characters appeared to have been shifted to the left by maybe 2 or 4 pixels. Is that the issue you were referring to?
Now, it's working like charm! Thank you! 🙂


To answer your question about target: MZ. You can safely use it on plugins that are compatible with MV AND MZ. MV doesn't support this feature, so there are no side effects at all. I use it for my plugins, too.

I cannot find a good documentation about this one, I'm afraid. But I can show you how I'm doing it.

Spoiler
1646163750050.png
@Oscar92player That's understandable. Anyway, your best bet is to ask them.

@SigmaSuccour I'll take a look at it tomorrow. It's probably something simple that can be fixed easily.

@Aerosys Alright, I'll make sure I added it properly then. (I did add it in v2.0.2, but it's not at the very top so that might cause issues.)
Alright... There's been plenty of fixes for 2.0.2.

@Lunesis I found the problem and fixed it.
That's awesome, you are amazing, I am about to try this out!!

Edit: IT WORKS!! Smooth as butter
Thanks for taking the time to fix this so quickly. (Horizontal loop works now)
I don't think the target needs to be on top, I think it could be anywhere in the commented section.
The VizuMZ core is obfuscated so my attempts to figure out what was going on ended in failure.

@bblizzard I might get a warning of sorts from the VizuMZ team in here or the mods for saying what I will say but anyway, if it helps...you can sort of beautify the code and deduce a few things here and there, plus you can kind of use RPG Maker MZ to sort of decode the parts you need, but you have to be very sure were to look, it's not that difficult but takes a lot of time to debug the VizuMZ code, it might be obfuscated, but the way javascript works, you can sort of use the language itself to decode parts of it for debugging. Since javascript is a purely interpreted programing language, it needs to "deobfuscate" the code at a certain point in order to execute the instructions....but even then, don't expect to have an extremely clean code like the one you have, it will still have weird instructions that might not make sense until you kind of run them independently to deduce them.

If you don't want to go with the hassle of trying to make your script work with the VizuMZ plugins, then literaly mark them as incompatible. Don't expect the VizuMZ team to make changes to make them compatible, they have it in their terms that they won't even try to do such thing regardless if the incompatibility is with official MZ plugins.



As a final note, excellent that you ported this plugin to MZ, hope you keep supporting it.
@Winshifter I actually kinda did exactly that. xD I found some mentions of Tilemap's addShadow method and tried deleting that, but it didn't help. I also dug around some other pieces of code and tried disabling / deleting / overriding some stuff, but I couldn't solve the issue.

I don't mind making it compatible myself. I just need a pointer where to look. I actually got a tip from someone yesterday so I'll take another look at it. There is a piece of code that, when commented out, seems to revolve the issue. Maybe I can figure out what the code does and make a decent workaround for it.

EDIT: Woooooo, I found the problem! Something with the method that has the "_destroyInternalTextures" call inside causes this issue. I should be able now to figure out a workaround easily now.

EDIT: @Oscar92player Alright, found it. Best you report this bug to the VizuMZ team. Just forward them this message:

In the Tilemap.Renderer._createInternalTextures there is a bug that creates the wrong texture. A PIXI.BaseTexture is created, but a PIXI.BaseRenderTexture should actually be created. MZ's default methods also creates a PIXI.BaseRenderTexture. I confirmed the fix myself.
Is it possible for near_clip_z and far_clip_z to be a definable parameter by notetag/in map?
Is it possible for near_clip_z and far_clip_z to be a definable parameter by notetag/in map?

Well, I avoided adding it because I didn't really see the point. But I can add it if you really want.
Is there a way to change the settings when entering and exiting the airship? I would like to not see parallax sky "gap" while walking on ground so I have that working just fine, but I DO want that gap for the moving sky parallax while flying the airship.... any help?
@Aerosys I also have seen @target MZ MV on the same line,
but not sure why some use that as well, as it still works for both versions.

@bblizzard I dont use the plugin or have use for it in my case, but
just want to tell you, keep up the amazing work, it looks really nice 🙂
Is there a way to change the settings when entering and exiting the airship? I would like to not see parallax sky "gap" while walking on ground so I have that working just fine, but I DO want that gap for the moving sky parallax while flying the airship.... any help?
I'm having a bit of trouble understanding what it is you're trying to do. Do you have some screenshots maybe?
what it is you're trying to do
I understand. and it's something I think should be default as well. unless you actually have this done.
Walking on map - angle = 30-45
Enter airship - angle = 50-75
so you see the 'sky background' when flying.
Maybe even have another setting for boat/ship
I understand. and it's something I think should be default as well. unless you actually have this done.
Walking on map - angle = 30-45
Enter airship - angle = 50-75
so you see the 'sky background' when flying.
Maybe even have another setting for boat/ship

Oh, I get it now. Just check out the demo and talk to the NPCs. One of them "tilts the camera". Just look in the event how to do it, it's really simple.
Ok, so what we could do is make a parallel process to check if the player is on an airship then do the command to tilt the angle.
I think ChoVah and I would prefer is to have settings in the script to specify the angle and have it automatic when entering a vehicle.
ey @bblizzard , Qiujiu just made an awesome lighting plugin and his/her (soz, i dunno) own doodads to make it full compatible with the lighting system. He tryed out your mode7 and found some issues with the compatibility.

I know there's a lot stuff and problems on bringing different plugins together and I dont mean to demand anything to any of you, but it would be really awesome to be able to work with both things together.

anyways, love your work.
found some issues with the compatibility.
Awesome, you have compatibility issues. Not that you actually say what they are.
Your issue may not be with this plugin at all.
But until you say what the compatibility is, no one can offer any help.
Awesome, you have compatibility issues. Not that you actually say what they are.
Your issue may not be with this plugin at all.
But until you say what the compatibility is, no one can offer any help.
Man, I know english is not my first languaje, but you may have not read my post at all: I said HE found some issues, not me. I don't know where the passive-aggresive attitude comes from so I prefer to think it's just a missunderstanding.

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