The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Scripts & Tutorials
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

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
Click here to go to the first staff post in this thread.  
Thread Tools
  #1    
Old January 19th, 2013, 01:45 PM
carmaniac's Avatar
carmaniac
Where the pickle surprise at?
 
Join Date: Apr 2009
Location: England
Age: 20
Nature: Relaxed
If you've not ignored this thread post thinking, can't be that's a hoax, then you've over come your senses to check this out. Yes, this is basically a public release, which, hoping Maruno will add it into essentials as a default feature once everything is running smoothly. This is aimed to make your game feel that closer to the originals game freak loves teasing us with. Even though it's not styled like the original games ones, this gives a more direct look into showing events talking. As by default, the messages will only appear on the bottom, not got intention right now to add in arrows for that as it's too generalized for all the scripts. Anyway, enough of my rambling, time for the actual thread.

Conditions of use:
You can modify the script, I don't mind that.
You must give credits to me, otherwise I will hunt and bug you. (Note, link will be removed if I see people breaking conditions)
Cannot claim as your own, or redistribute anywhere else without my permission.

How to use:
To use the script, before each show text command, you will need to do a script call, depending on the type of message you would like to display you need to do pbCallBub(type, eventid) An example of how to use this script, would be pbCallBub(1,13) The first value is set to either 1 or 2. When it is 1, it shows up the floating bubble message, when it is 2, it will show up the arrow message. The second value, is the event ID that you want to show as talking. My eventID is 013, so we put 13. If you don't put this script call before the show text method, it will simply assume you want a normal message window, and will not show the arrow.

Examples:



Downloads:
http://pokemonessentials.wikia.com/w...Speech_bubbles V0.6
__________________

Pokémon: Lost Souls.







Developed by Carmaniac.

Last edited by carmaniac; January 22nd, 2013 at 02:50 PM.
Reply With Quote
  #2    
Old January 19th, 2013, 01:56 PM
Arma's Avatar
Arma
Actually not mad at all
Community Supporter
 
Join Date: Dec 2009
Location: The Hague
Age: 21
Gender: Male
Nature: Jolly
Wow, never imagined you'd make this public.. I was thinking about asking you if you could let me use this for my game. XD Thanks a lot man! I'll give you some feedback once I fiddled with it for a bit. Maybe you can get Maruno to implement this in the next version of essentials. Oops, should've read the rest of the post before saying things like this. ;
__________________

Last edited by Arma; January 19th, 2013 at 02:36 PM.
Reply With Quote
  #3    
Old January 19th, 2013, 01:59 PM
Nintendork15
I'm gone. Bye.
 
Join Date: Feb 2009
Location: Undertaker. Co.
Age: 20
Gender: Male
Nature: Naughty
Well, it's good thing I'm still using v11 then.
mainly because your other scripts are on there too
__________________
gone.
Reply With Quote
  #4    
Old January 19th, 2013, 02:28 PM
ppooookkkkkkk
Banned
 
Join Date: May 2012
Location: Newbud town (Pokemon Morning/Night)
Age: 13
Gender: Male
Nature: Gentle
I tought you wrre going to keep it private.
Reply With Quote
  #5    
Old January 19th, 2013, 02:35 PM
Nintendork15
I'm gone. Bye.
 
Join Date: Feb 2009
Location: Undertaker. Co.
Age: 20
Gender: Male
Nature: Naughty
Quote:
Originally Posted by ppooookkkkkkk View Post
I tought you wrre going to keep it private.
http://lostsoulsdev.deviantart.com/j...king-349070365

He wrote this yesterday saying how he was considering giving it to public use.
__________________
gone.
Reply With Quote
  #6    
Old January 19th, 2013, 02:48 PM
ppooookkkkkkk
Banned
 
Join Date: May 2012
Location: Newbud town (Pokemon Morning/Night)
Age: 13
Gender: Male
Nature: Gentle
Quote:
Originally Posted by carmaniac View Post
If you've not ignored this thread post thinking, can't be that's a hoax, then you've over come your senses to check this out. Yes, this is basically a public release, which, hoping Maruno will add it into essentials as a default feature once everything is running smoothly. This is aimed to make your game feel that closer to the originals game freak loves teasing us with. Even though it's not styled like the original games ones, this gives a more direct look into showing events talking. As by default, the messages will only appear on the bottom, not got intention right now to add in arrows for that as it's too generalized for all the scripts. Anyway, enough of my rambling, time for the actual thread.

Conditions of use:
You can modify the script, I don't mind that.
You must give credits to me, otherwise I will hunt and bug you. (Note, link will be removed if I see people breaking conditions)
Cannot claim as your own, or redistribute anywhere else without my permission.

How to use:
Simply do a script call before each message you would like to appear as a bubble like this; pbCallBub(true, eventid)
The eventid is the value listed at the top of the event page, example would be, the event ID is 001, so you would do pbCallBub(true, 1) this will direct the bubble to the screen position of event 1. The bubble will correct itself if it is going off screen. If you do not do the call, the script will assume you want the normal message window, and will display the message at the bottom of the screen.

Examples:
If video doesn't work use this: http://www.youtube.com/watch?v=3zC6n3QkWlM

It given an error at the start: ---------------------------
Pokemon Essentials
---------------------------
Exception: NoMethodError
Message: undefined method `events' for nil:NilClass
Interpreter:542:in `get_character'
PokemonMessages*:1211:in `pbRepositionMessageWindow'
PokemonMessages*:1499:in `pbMessageDisplay'
PokemonMessages*:1019:in `pbMessage'
PokemonLoad:156:in `install'
PokemonLoad:289:in `pbStartLoadScreen'
DebugIntro:6:in `main'
Main:37:in `mainFunctionDebug'
Mainin `mainFunction'
Mainin `pbCriticalCode'

This exception was logged in
C:\Users\M.ahmad\Saved Games/Pokemon Essentials/errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------

Last edited by stranger; January 20th, 2013 at 12:07 PM.
Reply With Quote
  #7    
Old January 19th, 2013, 02:51 PM
Nintendork15
I'm gone. Bye.
 
Join Date: Feb 2009
Location: Undertaker. Co.
Age: 20
Gender: Male
Nature: Naughty
Quote:
Originally Posted by ppooookkkkkkk View Post
It given an error at the start: ---------------------------
Pokemon Essentials
---------------------------
Exception: NoMethodError
Message: undefined method `events' for nil:NilClass
Interpreter:542:in `get_character'
PokemonMessages*:1211:in `pbRepositionMessageWindow'
PokemonMessages*:1499:in `pbMessageDisplay'
PokemonMessages*:1019:in `pbMessage'
PokemonLoad:156:in `install'
PokemonLoad:289:in `pbStartLoadScreen'
DebugIntro:6:in `main'
Main:37:in `mainFunctionDebug'
Mainin `mainFunction'
Mainin `pbCriticalCode'

This exception was logged in
C:\Users\M.ahmad\Saved Games/Pokemon Essentials/errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
Huh, I don't get this message.


---------------------
It would be nice if there was a install tutorial
__________________
gone.
Reply With Quote
  #8    
Old January 19th, 2013, 03:00 PM
ppooookkkkkkk
Banned
 
Join Date: May 2012
Location: Newbud town (Pokemon Morning/Night)
Age: 13
Gender: Male
Nature: Gentle
I'll try redownloading :\
Reply With Quote
  #9    
Old January 19th, 2013, 03:03 PM
~JV~'s Avatar
~JV~
Dev of Pokémon Uranium
 
Join Date: Aug 2007
Location: Rio de Janeiro
Age: 20
Nature: Relaxed
Send a message via Skype™ to ~JV~
Really nice job man, glad to see you decided to release this to the public :).
__________________
Reply With Quote
  #10    
Old January 19th, 2013, 03:04 PM
Arma's Avatar
Arma
Actually not mad at all
Community Supporter
 
Join Date: Dec 2009
Location: The Hague
Age: 21
Gender: Male
Nature: Jolly
Quote:
Originally Posted by ppooookkkkkkk View Post
I'll try redownloading :\
I don't think that's the issue, have you tried starting a new game instead?
__________________
Reply With Quote
  #11    
Old January 19th, 2013, 03:07 PM
carmaniac's Avatar
carmaniac
Where the pickle surprise at?
 
Join Date: Apr 2009
Location: England
Age: 20
Nature: Relaxed
Quote:
Originally Posted by Nintendork15 View Post
Huh, I don't get this message.


---------------------
It would be nice if there was a install tutorial
I will provide an install tutorial tomorrow, it was mostly released like this as it's not that user friendly to get correct. Also anyone getting an error to the 'events' method, remove your game save.
__________________

Pokémon: Lost Souls.







Developed by Carmaniac.
Reply With Quote
  #12    
Old January 19th, 2013, 03:13 PM
ppooookkkkkkk
Banned
 
Join Date: May 2012
Location: Newbud town (Pokemon Morning/Night)
Age: 13
Gender: Male
Nature: Gentle
i did it still gives error.
Reply With Quote
  #13    
Old January 19th, 2013, 03:17 PM
Cilerba
the hearts of lonely people
Community Supporter
 
Join Date: Feb 2010
Location: Massachusetts
Age: 18
Gender: Male
Nature: Quiet
Fixed your YouTube video for ya.

Script looks good. I might just use this in Auburn hmm..
__________________

| relic castle - coming soon |
Reply With Quote
  #14    
Old January 19th, 2013, 03:22 PM
carmaniac's Avatar
carmaniac
Where the pickle surprise at?
 
Join Date: Apr 2009
Location: England
Age: 20
Nature: Relaxed
For those getting an error on the 'events' update the PokemonMessages script with this version:
Not available.

Also will be updating the download link for the entire kit:
Not available.

Thank you Cilerba.
__________________

Pokémon: Lost Souls.







Developed by Carmaniac.

Last edited by carmaniac; January 20th, 2013 at 12:06 PM.
Reply With Quote
  #15    
Old January 19th, 2013, 03:38 PM
ppooookkkkkkk
Banned
 
Join Date: May 2012
Location: Newbud town (Pokemon Morning/Night)
Age: 13
Gender: Male
Nature: Gentle
Quote:
Originally Posted by carmaniac View Post
For those getting an error on the 'events' update the PokemonMessages script with this version:


Thank you Cilerba.
Thanks sir i'll surely use your work.

Last edited by stranger; January 20th, 2013 at 12:07 PM.
Reply With Quote
  #16    
Old January 19th, 2013, 04:29 PM
carmaniac's Avatar
carmaniac
Where the pickle surprise at?
 
Join Date: Apr 2009
Location: England
Age: 20
Nature: Relaxed
Just created an install guide for those who want to use the script outside of the compiled kit.
Not available.
__________________

Pokémon: Lost Souls.







Developed by Carmaniac.

Last edited by carmaniac; January 20th, 2013 at 12:06 PM.
Reply With Quote
  #17    
Old January 19th, 2013, 10:19 PM
zingzags's Avatar
zingzags
Creator or Pokemon Serenity
 
Join Date: Jan 2009
Location: Boston
Age: 20
Nature: Adamant
Well well now Ryan, It seems to look good. I haven't used or seen the script though; So what did you do? Make a method to define which event it should look for? Then depending on the position of the screen it will either be above, or under the event?
__________________
Pokemon Serenity is my fangame name.
name decided 12/15/09
Currently helping:
Pokemon ebony
and
Xenotime:
Reply With Quote
  #18    
Old January 20th, 2013, 12:21 AM
Luka S.J.'s Avatar
Luka S.J.
S.J.Ware HD
 
Join Date: Dec 2008
Age: 21
Gender: Male
Nature: Adamant
EDIT: My bad, never mind.
__________________
[STOPPED][DEMO] Pokemon Blue Chrome
[DEVELOPING] S.J.Ware
[DEVELOPING] Tykanite

Last edited by Luka S.J.; January 20th, 2013 at 08:47 AM.
Reply With Quote
  #19    
Old January 20th, 2013, 07:47 AM
carmaniac's Avatar
carmaniac
Where the pickle surprise at?
 
Join Date: Apr 2009
Location: England
Age: 20
Nature: Relaxed
Quote:
Originally Posted by Luka S.J. View Post
No. It gets the event and player map positions, and calculates the distance between them. Then it converts them to pixels instead of coordinates and repositions the value from the center of the screen. Having free roaming bubbles anywhere on the screen, no matter where the event is. (courtesy of moi)
It doesn't use that code anymore XD, pretty sure I notified you of this a while back. It just gets the screen position of the event instead of the map position, meaning no more dodgy bubble positions on screen when the map has been scrolled via an event.
__________________

Pokémon: Lost Souls.







Developed by Carmaniac.
Reply With Quote
  #20    
Old January 20th, 2013, 08:46 AM
Luka S.J.'s Avatar
Luka S.J.
S.J.Ware HD
 
Join Date: Dec 2008
Age: 21
Gender: Male
Nature: Adamant
Quote:
Originally Posted by carmaniac View Post
It doesn't use that code anymore XD, pretty sure I notified you of this a while back. It just gets the screen position of the event instead of the map position, meaning no more dodgy bubble positions on screen when the map has been scrolled via an event.
Lol, I looked through our chat history. You did mention something like that. Hahaha, I feel stupid.
__________________
[STOPPED][DEMO] Pokemon Blue Chrome
[DEVELOPING] S.J.Ware
[DEVELOPING] Tykanite
Reply With Quote
  #21    
Old January 22nd, 2013, 02:51 PM
carmaniac's Avatar
carmaniac
Where the pickle surprise at?
 
Join Date: Apr 2009
Location: England
Age: 20
Nature: Relaxed
Can everyone please update to the latest version as there were some slight issues with the previous one, thank you.
__________________

Pokémon: Lost Souls.







Developed by Carmaniac.
Reply With Quote
  #22    
Old January 22nd, 2013, 03:37 PM
ppooookkkkkkk
Banned
 
Join Date: May 2012
Location: Newbud town (Pokemon Morning/Night)
Age: 13
Gender: Male
Nature: Gentle
I give you a suggestion. In the next update add the Anger speech bubble!
Reply With Quote
  #23    
Old January 22nd, 2013, 07:49 PM
Mortalis's Avatar
Mortalis
ѕĸyвorɴe.
Community Supporter
 
Join Date: May 2010
Location: Canada
Age: 18
Gender: Male
Nature: Relaxed
carmaniac, you are a beautiful person. Thanks for this!

Quick question: Is it possible to force the message box to the bottom of the screen? During my game's opening event, the player is facing NPCs who are at the top of the screen while the player is at the bottom, yet the message box is covering them when they talk. When I use value 1 for the first input [ pbCallBub (1, eventid) ], it goes off the screen and can't be read.

Last edited by Mortalis; January 22nd, 2013 at 08:31 PM.
Reply With Quote
  #24    
Old January 22nd, 2013, 10:43 PM
carmaniac's Avatar
carmaniac
Where the pickle surprise at?
 
Join Date: Apr 2009
Location: England
Age: 20
Nature: Relaxed
My bad, forgot about when events are at the top of the screen with the player being at the bottom facing up XD. I'll have that fixed once I'm home.
__________________

Pokémon: Lost Souls.







Developed by Carmaniac.
Reply With Quote
  #25    
Old January 23rd, 2013, 10:00 AM
oldsnake90's Avatar
oldsnake90
Creator Pokemon Glacial Freeze
 
Join Date: Feb 2010
Location: Wisconsin USA
Gender: Male
Send a message via Skype™ to oldsnake90
i put it in the game but its not working. It works if i have the old Pokemonmessages script from your last update. but it wont now. :\ idk if i did something wrong
__________________
V.K. Productions on Facebook

Pokemon Glacial Freeze Project on Facebook
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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 08:09 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.