Mode7 Help

Started by Hadeki, December 18, 2008, 10:49:07 pm

Previous topic - Next topic

Hadeki

Hi, it's me again.
I'm attempting to use that Mode7 script by MGCaladtogel with RPG Maker XP, but 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 #<Tilemap_mode7:0x6a80748>".
(This is all for redrawing progressively with Mode7.)

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)".
(And this is all for redrawing instantly with Mode7.)

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.

Ryex

December 18, 2008, 11:55:45 pm #1 Last Edit: December 19, 2008, 12:09:11 am by Ryexander
I'm not sure many people here could help you only MGCaladtogel would really be able to help you if you can find out what forum he is on you should ask him

EDIT: here's the official tread he made on rmxp.org ask there for better help
http://www.rmxp.org/forums/index.php?topic=19976.0

Edit: It just occurred to me that your script might not be set up correctly. do you have the "MGCmode7.dll" file from the demo in your games base folder?
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

Hadeki

Oh, I didn't know there was a .dll file that I needed. And... I can't find the file anywhere in the demo folder.
I will ask on that forum you showed me though.

Ryex

there is a dill file in the same folder as the demos game.exe if you cant see it go in to folder options from you control pannel and click "show system files" or some such
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

Hadeki

All right, first things first, I'm using Vista. So half the time I have no idea what the heck's going on.
Anyway, I could only uncheck the "Hide protected operating system files" box. Which didn't do anything.
There is an .ini file in the game folder. Is that it?

Ryex

did you download the demo form the forum? because there is a .dll file in it called Mode7 something you need to put it into your games base folder if you cant find it just redownload it should only take a second

I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

Hadeki

December 19, 2008, 02:35:01 am #6 Last Edit: December 19, 2008, 02:36:44 am by Hadeki
Um... I downloaded it again and I found the .dll file.
But now I just get the "wrong argument(0 for 1)" thing for progressively redrawing the map and instantly redrawing it.

Ryex

well I can't help you any further as I don't kn ow the script if putting the dll file in your game folder did't work I'd ask the author at that forum i linked to.
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

Hadeki

December 30, 2008, 09:59:37 pm #8 Last Edit: December 30, 2008, 10:08:03 pm by Hadeki
All right, I just discovered the Neo Mode 7 script (which enables rotation and zooming and whatever), but I have yet another error. It's on line 493 and it says something about the NilClass not being able to be converted into a bitmap. Here's the line:

@map_tileset.blt(32 * ((k - 1) % 8), 32 * ((k - 1) / 8), bitmap, rect)

Someone posted the same problem on the main Mode 7 forum and then they said they fixed it. There was an empty layer or something. I have no idea what that means and they didn't say how they fixed it.

Blizzard

You should probably contact MGCaladtogel about this issue. :/
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Hadeki

Eeeeeeeeerrrgh.
I guess I should. But I keep feeling like I'm just retarded and it's my fault nothing's working.
I did figure out that if I just use the terrain ID 1, and not 2, then it works perfectly. But that is sort of annoying when making maps and stuff... I dunno. I think I will contact him somehow.