Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Scripts & Tutorials
Reload this Page [Essentials script] Mode7 for Pokemon Essentials

Notices
For all updates, view the main page.

Scripts & Tutorials This forum is for scripts and code, as well as all kinds of tutorials, software, tools and so forth. Remember to give credit!
The thread revival limit does not apply here.



Reply
 
Thread Tools
  #1    
Old October 26th, 2010 (07:17 AM).
help-14's Avatar
help-14 help-14 is offline
 
Join Date: Jul 2007
Location: Viet Nam
Age: 22
Gender: Male
Nature: Adamant
Posts: 281
Send a message via Windows Live Messenger to help-14

Hehe this is the old version of mode7 which i edited to work on essential Because it is old version so a bit laggy and don't have some functions (Can't share the newest version ) 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
Reply With Quote
  #2    
Old October 26th, 2010 (07:58 AM).
Beam Me Up, Furry Bandit!'s Avatar
Beam Me Up, Furry Bandit! Beam Me Up, Furry Bandit! is offline
Naito Park
 
Join Date: Jul 2008
Location: Don't Know
Nature: Quiet
Posts: 129
Oh my god! A release! Thank you so much!
__________________
2ne1!
Reply With Quote
  #3    
Old October 26th, 2010 (08:51 AM).
venom12's Avatar
venom12 venom12 is offline
Pokemon Crystal Rain Relased
 
Join Date: Sep 2006
Age: 24
Gender: Male
Nature: Adamant
Posts: 524
Send a message via Windows Live Messenger to venom12
Thanks dude its awesome ;d you're amazing :D
Reply With Quote
  #4    
Old October 26th, 2010 (10:53 AM).
IceGod64's Avatar
IceGod64 IceGod64 is offline
My imagination.
 
Join Date: Oct 2008
Location: Castelia City
Age: 27
Gender: Male
Nature: Naive
Posts: 604
I get an error using the Transfer Player command.

Code:
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.
__________________

Reply With Quote
  #5    
Old October 26th, 2010 (10:58 AM).
Rai Rai's Avatar
Rai Rai Rai Rai is offline
Master of everything!
 
Join Date: Aug 2010
Gender: Male
Posts: 267
Quote originally posted by IceGod64:
I get an error using the Transfer Player command.

Code:
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.
Reply With Quote
  #6    
Old October 29th, 2010 (01:41 AM).
venom12's Avatar
venom12 venom12 is offline
Pokemon Crystal Rain Relased
 
Join Date: Sep 2006
Age: 24
Gender: Male
Nature: Adamant
Posts: 524
Send a message via Windows Live Messenger to venom12
Spoiler:
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
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
Reply With Quote
  #7    
Old October 29th, 2010 (02:02 PM).
nmorr's Avatar
nmorr nmorr is offline
Takin a brake. -_-
 
Join Date: May 2009
Location: Poke City
Age: 18
Gender: Male
Nature: Jolly
Posts: 215
Are you helping CNG with his starter kit?
__________________
This signature has been disabled.
Spoiler tags in Signatures are not allowed
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
Reply With Quote
  #8    
Old October 29th, 2010 (03:45 PM). Edited October 30th, 2010 by thepsynergist.
thepsynergist's Avatar
thepsynergist thepsynergist is offline
A Gym Leader, Kyushu Region
 
Join Date: Mar 2009
Location: California, USA
Age: 25
Gender: Male
Nature: Adamant
Posts: 711
Send a message via Yahoo to thepsynergist Send a message via Skype™ to thepsynergist
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.
__________________



My Youtube Channel: http://www.youtube.com/thepsynergist
Reply With Quote
  #9    
Old November 1st, 2010 (02:34 PM).
IceGod64's Avatar
IceGod64 IceGod64 is offline
My imagination.
 
Join Date: Oct 2008
Location: Castelia City
Age: 27
Gender: Male
Nature: Naive
Posts: 604
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?


This happens when trying to use mode 7 running the game at half size. Odd bug.
__________________

Reply With Quote
  #10    
Old November 1st, 2010 (03:55 PM).
Rai Rai's Avatar
Rai Rai Rai Rai is offline
Master of everything!
 
Join Date: Aug 2010
Gender: Male
Posts: 267
Quote originally posted by IceGod64:
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?


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.
Reply With Quote
  #11    
Old November 1st, 2010 (05:00 PM).
IceGod64's Avatar
IceGod64 IceGod64 is offline
My imagination.
 
Join Date: Oct 2008
Location: Castelia City
Age: 27
Gender: Male
Nature: Naive
Posts: 604
Code:
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.
__________________

Reply With Quote
  #12    
Old November 1st, 2010 (05:09 PM).
help-14's Avatar
help-14 help-14 is offline
 
Join Date: Jul 2007
Location: Viet Nam
Age: 22
Gender: Male
Nature: Adamant
Posts: 281
Send a message via Windows Live Messenger to help-14
Quote originally posted by IceGod64:
Code:
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.
Reply With Quote
  #13    
Old November 1st, 2010 (06:10 PM). Edited November 7th, 2010 by IceGod64.
IceGod64's Avatar
IceGod64 IceGod64 is offline
My imagination.
 
Join Date: Oct 2008
Location: Castelia City
Age: 27
Gender: Male
Nature: Naive
Posts: 604
Quote originally posted by help-14:
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.
__________________

Reply With Quote
  #14    
Old November 12th, 2010 (08:28 PM).
PokemonTACOTAS PokemonTACOTAS is offline
 
Join Date: Nov 2010
Posts: 7
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.

Code:
---------------------------
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.
Reply With Quote
  #15    
Old November 14th, 2010 (07:26 AM).
Shadow-Lucario's Avatar
Shadow-Lucario Shadow-Lucario is offline
People Just Get In The Way
 
Join Date: Aug 2007
Location: look behind you
Age: 26
Gender: Male
Nature: Serious
Posts: 157
this looks AMAZING shame that i am no good with scripting lol other wise i would love to use this
__________________
Lucario
"people who dont understand me Fear me,People who try to understand me should Fear me"
Reply With Quote
  #16    
Old November 17th, 2010 (07:39 AM).
IceGod64's Avatar
IceGod64 IceGod64 is offline
My imagination.
 
Join Date: Oct 2008
Location: Castelia City
Age: 27
Gender: Male
Nature: Naive
Posts: 604
Quote originally posted by PokemonTACOTAS:
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.

Code:
---------------------------
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.
__________________

Reply With Quote
  #17    
Old November 17th, 2010 (08:57 PM).
thepsynergist's Avatar
thepsynergist thepsynergist is offline
A Gym Leader, Kyushu Region
 
Join Date: Mar 2009
Location: California, USA
Age: 25
Gender: Male
Nature: Adamant
Posts: 711
Send a message via Yahoo to thepsynergist Send a message via Skype™ to thepsynergist
If you find out, please post it. Crazyninjaguy can't even fix it. :[
__________________



My Youtube Channel: http://www.youtube.com/thepsynergist
Reply With Quote
  #18    
Old November 21st, 2010 (03:12 AM).
IceGod64's Avatar
IceGod64 IceGod64 is offline
My imagination.
 
Join Date: Oct 2008
Location: Castelia City
Age: 27
Gender: Male
Nature: Naive
Posts: 604
Quote originally posted by thepsynergist:
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.
__________________

Reply With Quote
  #19    
Old November 21st, 2010 (04:56 AM).
thepsynergist's Avatar
thepsynergist thepsynergist is offline
A Gym Leader, Kyushu Region
 
Join Date: Mar 2009
Location: California, USA
Age: 25
Gender: Male
Nature: Adamant
Posts: 711
Send a message via Yahoo to thepsynergist Send a message via Skype™ to thepsynergist
I think help-14 needs to fix it...
__________________



My Youtube Channel: http://www.youtube.com/thepsynergist
Reply With Quote
  #20    
Old November 21st, 2010 (05:02 AM).
help-14's Avatar
help-14 help-14 is offline
 
Join Date: Jul 2007
Location: Viet Nam
Age: 22
Gender: Male
Nature: Adamant
Posts: 281
Send a message via Windows Live Messenger to help-14
It is not hard, just a simple copy/paste ~.~
Reply With Quote
  #21    
Old November 21st, 2010 (07:10 PM).
IceGod64's Avatar
IceGod64 IceGod64 is offline
My imagination.
 
Join Date: Oct 2008
Location: Castelia City
Age: 27
Gender: Male
Nature: Naive
Posts: 604
Quote originally posted by help-14:
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.
__________________

Reply With Quote
  #22    
Old November 21st, 2010 (07:52 PM).
Cilerba Cilerba is offline
the hearts of lonely people
Silver Tier
 
Join Date: Feb 2010
Location: Massachusetts
Age: 18
Gender: Male
Nature: Quiet
Posts: 1,166
Thread locked at the request of the thread creator.

-locked-
__________________
Reply With Quote
Reply
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are UTC -8. The time now is 03:57 AM.