PDA

View Full Version : [Essentials script] Mode7 for Pokemon Essentials


help-14
October 26th, 2010, 07:17 AM
http://i177.photobucket.com/albums/w222/pokemonfan14/capture000-3.jpg

Hehe this is the old version of mode7 which i edited to work on essential :classic: Because it is old version so a bit laggy and don't have some functions (Can't share the newest version :P) You shouldn't use it if you don't have good RGSS knowledge.

Download: http://www.mediafire.com/?6mr2480objnbmvm

You must credit MGCaladtogel, Help-14, Golden Phoenix for this script :laugh:

Beam Me Up, Furry Bandit!
October 26th, 2010, 07:58 AM
Oh my god! A release! Thank you so much!

venom12
October 26th, 2010, 08:51 AM
Thanks dude its awesome ;d you're amazing :D

IceGod64
October 26th, 2010, 10:53 AM
I get an error using the Transfer Player command.

Exception: NameError
Message: uninitialized constant Game_Player::CENTER_X
Mode 7:1030:in `center'
Game_Player_:225:in `moveto'
Scene_Map:214:in `transfer_player'
Scene_Map:103:in `update'
Scene_Map:94:in `loop'
Scene_Map:107:in `update'
Scene_Map:63:in `main'
Scene_Map:60:in `loop'
Scene_Map:67:in `main'
Main:38:in `mainFunctionDebug'


It happens in the base project as well when I try to go outside.

Rai Rai
October 26th, 2010, 10:58 AM
I get an error using the Transfer Player command.

Exception: NameError
Message: uninitialized constant Game_Player::CENTER_X
Mode 7:1030:in `center'
Game_Player_:225:in `moveto'
Scene_Map:214:in `transfer_player'
Scene_Map:103:in `update'
Scene_Map:94:in `loop'
Scene_Map:107:in `update'
Scene_Map:63:in `main'
Scene_Map:60:in `loop'
Scene_Map:67:in `main'
Main:38:in `mainFunctionDebug'


It happens in the base project as well when I try to go outside.

Yeah that happens with me.

venom12
October 29th, 2010, 01:41 AM
Exception: NameError
Message: uninitialized constant Game_Player::CENTER_X
Mode 7:1030:in `center'
Game_Player_:225:in `moveto'
Scene_Map:214:in `transfer_player'
Scene_Map:103:in `update'
Scene_Map:94:in `loop'
Scene_Map:107:in `update'
Scene_Map:63:in `main'
Scene_Map:60:in `loop'
Scene_Map:67:in `main'
Main:38:in `mainFunctionDebug'

So you have this error? Here is fix, i though someone will fix that but no one fixed so i will post you fix it took me 1min to find fix :P
Find this code
class Game_Player < Game_Character
attr_accessor :map_number_x # map's number with X-looping
attr_accessor :map_number_y # map's number with Y-looping

And under that just add this two lines of code.
CENTER_X = (Graphics.width/2 - 16) * 4
CENTER_Y = (Graphics.height/2 - 16) * 4

nmorr
October 29th, 2010, 02:02 PM
Are you helping CNG with his starter kit?

thepsynergist
October 29th, 2010, 03:45 PM
Nevermind, fixed that too.

My only issue, is that you can't rotate the scene like you could in the other mode7. It's like this is a "pocket" version. I hope we can get more features soon. As it is, it helps greatly, thanks a bunch Help-14.

IceGod64
November 1st, 2010, 02:34 PM
So, I should probably be googling this because I'm sure the answer is out there, but what commands would I use to control mode7 through events and not map name?

http://oi51.tinypic.com/dfypp4.jpg
This happens when trying to use mode 7 running the game at half size. Odd bug.

Rai Rai
November 1st, 2010, 03:55 PM
So, I should probably be googling this because I'm sure the answer is out there, but what commands would I use to control mode7 through events and not map name?

http://oi51.tinypic.com/dfypp4.jpg
This happens when trying to use mode 7 running the game at half size. Odd bug.

To answer your first question, you can't. It's the old version of neo mode 7 that doesn't have event control.

IceGod64
November 1st, 2010, 05:00 PM
Exception: NoMethodError
Message: undefined method `addUserAnimation' for nil:NilClass
PokemonField:1065
PokemonField:1061:in `call'
PBEvent:58:in `trigger'
PBEvent:52:in `each'
PBEvent:52:in `trigger'
Game_Character_2:66:in `update_move'
Game_Character_2:7:in `update_old2'
Walk_Run:106:in `update_mode7_game_character'
7mode:942:in `update'
Game_Player_:396:in `update_old'

I just entered the tall grass in my own game and got this. Blech, I'm seeing this particular type of error far too often.

help-14
November 1st, 2010, 05:09 PM
Exception: NoMethodError
Message: undefined method `addUserAnimation' for nil:NilClass
PokemonField:1065
PokemonField:1061:in `call'
PBEvent:58:in `trigger'
PBEvent:52:in `each'
PBEvent:52:in `trigger'
Game_Character_2:66:in `update_move'
Game_Character_2:7:in `update_old2'
Walk_Run:106:in `update_mode7_game_character'
7mode:942:in `update'
Game_Player_:396:in `update_old'

I just entered the tall grass in my own game and got this. Blech, I'm seeing this particular type of error far too often.

It is easy to fix, i said in the first post: You shouldn't use it if you don't have good RGSS knowledge. so you shouldn't use it if you don't know how to fix that.

IceGod64
November 1st, 2010, 06:10 PM
It is easy to fix, i said in the first post: You shouldn't use it if you don't have good RGSS knowledge. so you shouldn't use it if you don't know how to fix that.
Looking at it actually, I think I do. I think.

I'll attempt a fix tomorrow. I do have a basic understanding of RGSS,it just take a second glance when I have a clearer mind sometimes.

Yeah, I dont. I tried a few different things, and the only thing I know that puts me a step in the right direction is knowing that your Mode 7 script also has a class called spriteset_map, which is where the original addUserAnimation command is.

PokemonTACOTAS
November 12th, 2010, 08:28 PM
Sorry for a little bump, but I think I need to mention this.

I'm a basic RGSSer, and so I'm not good at this, but please don't say I shouldn't be doing this, I already know that x]

So, uh... I'm trying to copy the Mode7 into the latest version of Pokemon Essentials. I put in the Mode7 script in the list, no problem. But when I try adding '[M7][#10][C]' next to test map, this is what I get.

---------------------------
Pokemon Essentials
---------------------------
Exception: TypeError
Message: nil can't be coerced into Fixnum
Mode7:251:in `-`
Mode7:251:in `init_sprites'
Mode7:153:in `initialize'
Mode7:1340:in `new'
Mode7:1340:in `initialize'
Scene_Map:27:in `new'
Scene_Map:27:in `createSpritesets'
Scene_Map:26:in `each'
Scene_Map:26:in `createSpritesets'
Scene_Map:58:in `main'
This exception was logged in ./errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------

Um... so, yeah.

Also, in the original PokeMode7, encountering a trainer will give you an error.

Shadow-Lucario
November 14th, 2010, 07:26 AM
this looks AMAZING shame that i am no good with scripting lol other wise i would love to use this

IceGod64
November 17th, 2010, 07:39 AM
So, uh... I'm trying to copy the Mode7 into the latest version of Pokemon Essentials. I put in the Mode7 script in the list, no problem. But when I try adding '[M7][#10][C]' next to test map, this is what I get.

---------------------------
Pokemon Essentials
---------------------------
Exception: TypeError
Message: nil can't be coerced into Fixnum
Mode7:251:in `-`
Mode7:251:in `init_sprites'
Mode7:153:in `initialize'
Mode7:1340:in `new'
Mode7:1340:in `initialize'
Scene_Map:27:in `new'
Scene_Map:27:in `createSpritesets'
Scene_Map:26:in `each'
Scene_Map:26:in `createSpritesets'
Scene_Map:58:in `main'
This exception was logged in ./errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------Um... so, yeah.

Start a new save. I'm not joking.

I'm still trying to figure out the fix for grass animation error. I understand what the cause is now, but the actually fix.. Well, I've tried several things, most of which just cause other errors.

thepsynergist
November 17th, 2010, 08:57 PM
If you find out, please post it. Crazyninjaguy can't even fix it. :[

IceGod64
November 21st, 2010, 03:12 AM
If you find out, please post it. Crazyninjaguy can't even fix it. :[

Wait, CNG can't even fix it, and help-14 told me I'm not good enough?

If CNG can't do it, it sounds to me like some one has set their expectations too high.

thepsynergist
November 21st, 2010, 04:56 AM
I think help-14 needs to fix it...

help-14
November 21st, 2010, 05:02 AM
It is not hard, just a simple copy/paste ~.~

IceGod64
November 21st, 2010, 07:10 PM
It is not hard, just a simple copy/paste ~.~
That's what I thought when I tried to tackle it before, but it didn't go as well as I'd thought.

Cilerba
November 21st, 2010, 07:52 PM
Thread locked at the request of the thread creator.

-locked-