New Mode7 script / Neo Mode 7 script

Thank you so much!, and sorry if I look like a retard >__<.
Very good script. Maybe I'll use it in next project (next part of current game).
Every time I try to use the call script command "$scene.spriteset.tilemap.M7_set_p(45)", I get this message: "NoMethodError occurred while running the script. undefined method for `M7_set_p' for #".
And then when I try to use "$scene.spriteset.tilemap.mode7_set(45)" it tells me I have the "wrong number of arguments(0 for 1)".
I've tried both of these commands on multiple maps. A really big one, and then a small one. I have no idea what's going on.

Someone mentioned a .dll file from the demo, but I can't find it.
try $scene.spriteset.tilemap.Mode7_set_p
I'm getting a

Script "Neo Mode 7 Part 5' line 493: TypeError Occurred. can't convert NilClass into bitmap

as soon as I test my game from New Game, not using an old save or anything like that.

What could be the problem?

EDIT: Line 493 is:

     @map_tileset.blt(32 * ((k - 1) % 8), 32 * ((k - 1) / 8), bitmap, rect)
Expand to see the code.



SECOND EDIT: I fixed it, I had an empty layer. Now I get another error insteadl.

Script "Neo Mode 7 Part 3' line 299: TypeError Occurred. nil can't be coerced into Fixnum

Line 299 is:

    self.y -= 32 * @character.height * zoom_y # height correction
Expand to see the code.


How do I define the character's height in every map? The "@character.height" variable seems to be giving me problems.
@Kirby: You could use a common event that includes this script command: $game_player.height = value

@MCaladtogel: About heights, how does one gradually increase the players, or an event's height? (if you're even reading this topic anymore)
Hi!!!! well im new one..... and i have a question.....

My project works with Blizz ABS, and he tell me that exist a way to create a compatibility with this ABS.... i really need this awesome script for my work....is the only way that i have to continue this project.... can you help me???
Kirby4life0 wrote:
I'm getting a Script "Neo Mode 7 Part 5' line 493: TypeError Occurred. can't convert NilClass into bitmap as soon as I test my game from New Game, not using an old save or anything like that. What could be the problem?
EDIT: Line 493 is:
      @map_tileset.blt(32 * ((k - 1) % 8), 32 * ((k - 1) / 8), bitmap, rect)
Expand to see the code.

SECOND EDIT: I fixed it, I had an empty layer. Now I get another error instead.
Script "Neo Mode 7 Part 3' line 299: TypeError Occurred. nil can't be coerced into Fixnum
Line 299 is:
     self.y -= 32 * @character.height * zoom_y # height correction
Expand to see the code.

How do I define the character's height in every map? The "@character.height" variable seems to be giving me problems.


The error caused by line 493 is the same error I'm getting. How did you fix it? I removed "2" from the list of terrain ID's the script uses which sort of fixed it, but that's severely inconvenient. Using terrain ID's 1 and 2 works for just a couple maps though... It's really weird.
Also, did you fix the second error?
Is it possible you're starting the game without any characters in the starting party? That might screw you up.
MGCaladtogel wrote:
Neo Mode7 script

This new mode7 script is written from an old french script I created, and it is far different from Mewsterus's Mode07 script.

Features
  • flat maps (not curved)
  • high resolution (each screen line is independent)
  • map looping (x or/and y)
  • animated autotiles
  • (new version) Tiles with fixed terrain_tag not drawn flat with the map

Demo

new (24/04/08) :
http://www.rpg-palace.com/downloads/details.php?id=174
or
http://www.mediafire.com/?nmywdamii1z


'ello
I'm using (or trying to use) this script but ran up with a problem. When I leave a map with M7 to a non m7, or go from non m7 to a m7, it stops working. No errors or anything popup, the map just doesn't go mode 7. Any help?
I have a Question
I use many Charsets. But wenn Mode7 is in my Scripts, The Charsets look like this:
Image
I dont know if this because of the new Mode7 Rotation Effect and the Charsets you need for, but i dont realy want to rotate the map. Okeythe function is cool and the New Version works lagfree ,even the maps with 500x500!
And the Old Version had hard lags on 200x200!
So is there a Way to disable the Charset Option? I use many Charsets and mode 7 only on the World Map. to work all over is a stupid idea. Can some one Help me?
my trees and the all things from my tileset are also slanted..... what would i do?
Razziel² wrote:
So is there a Way to disable the Charset Option? I use many Charsets and mode 7 only on the World Map. to work all over is a stupid idea. Can some one Help me?


Go to line 81 in Neo Mode 7 Part 1 and change $player_directions = 8 to $player_directions = 4
I had the same problem!

reiven12 wrote:
my trees and the all things from my tileset are also slanted..... what would i do?

Change the terrain type for the trees to 1 or 2.
im really confusing..... how to change the terrain type? and what is 1 and 2 terrain type.
Go onto the Database. Go to the Tileset tag. Go to the tileset you are using on your Mode 7 map. Click on the terrain button. Change the 0 to 1 or 2 by clicking on it for the things you don't want to get slanted.

Does this help?
I got it.... thank you very much oblivia5
i got an error Image
Image
That error is because there has to be an autotile as a background. If you want to have background showing you need to make a new autotile (size96X128) in paint or something. Just fill it in a solid colour, like blue or something. Then import it into your game and set this new autotile to your tileset and fill this in as the background. Hopefully this should work!
thank you very much oblivia5 for help!!!
but i got another problem when opening the menu
Image
Image
I've never got this error. Do all of your actors have a charset when opening the menu? That could be the problem. If not, I don't know.
Hey Guys
I am Using Blizz ABS and i really need help
I am also using A script of mine that allows me to skip the title screen
Also many events on the First map screen (to create the title screen effect)
Please help me
Its says the following when i try to run the game

"Script 'Neo Mode 7 Part 2' line 336: Name Error occurred.

undefined method `center' for class `Game_player'"

Any help will be appreciated
reiven12 wrote:
thank you very much oblivia5 for help!!!
but i got another problem when opening the menu


Um... I'm not sure if this helps at all, but I got this error when I used a ring menu with this script.
Maybe you have a weird script that's messing up Mode7.

If you haven't added any scripts aside from Mode 7 then I have no idea what is wrong. :crazy:
hi everybody!

Is there a way to use characters with more than only 4 frames? Maybe by also making a comment similarly to the "Direction X" comment (e.g. "Frames X") and then replacing

@cw = bitmap.width / 4
@ch = bitmap.height / @character.directions

by

@cw = bitmap.width / @character.frames
@ch = bitmap.height / @character.directions

and adding

if (command.parameters[0].to_s).include?("Frames")
self.frames = (command.parameters[0][7,command.parameters[0].length-1]).to_f
end

??? Thanks for your help!!!
man, why this NeoMode7 script deosn't support the Antilag Script! That's so ********
Hi everyone quick questions. I cant see to find a link to download neo mode 7, can someone pass me one please.

Also, is there no mode 7 script at all that works with XAS?
One other thing, I see on RPG palace people have managed to make airships using this. How do I go about doing this as I really would want to use this in mode 7 (sorry for the rooky questions)
You might be mistaken; the "Hot Picks" screenshot of Mode 7 was made with my old script, not MGCaladtogel's. The script had the beginnings of airship implementation, but neither it, nor this script, has full airship functionality. However, Dargor has been working with this script in his FF6 SDK. That shows a lot of promise, especially the working airship script that he's still working on somewhat.
LEGENDARY!
The cockroaches praises you!
Hello, this script is amazing! I'm definetily going to use this!

Question: Is it possible to change the zoom/angle/height ingame?

What I want is that the player can control the zoom and angle ingame by pressing buttons.

Thanks.
DreadOmen: Yes. I remember reading about how in the instructions, which are at the beginning of the script.

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=19976