The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Resources > Scripts & Tutorials
Register New Account FAQ/Rules Chat 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
Thread Tools
  #1  
Unread January 19th, 2013, 09:45 PM
carmaniac's Avatar
carmaniac
Where the pickle surprise at?
 
Join Date: Apr 2009
Location: England
Age: 18
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 10:50 PM.
Reply With Quote
  #2  
Unread January 19th, 2013, 09:56 PM
elarmasecreta's Avatar
elarmasecreta
'Bout time I changed things XD
 
Join Date: Dec 2009
Location: The Hague
Age: 20
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 elarmasecreta; January 19th, 2013 at 10:36 PM.
Reply With Quote
  #3  
Unread January 19th, 2013, 09:59 PM
Nintendork15
I'm gone. Bye.
 
Join Date: Feb 2009
Location: Undertaker. Co.
Age: 18
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  
Unread January 19th, 2013, 10:28 PM
ppooookkkkkkk's Avatar
ppooookkkkkkk
Creator of Amberstonè Studios.
 
Join Date: May 2012
Location: Newbud town (Pokemon Morning/Night)
Age: 12
Gender: Male
Nature: Gentle
I tought you wrre going to keep it private.
Reply With Quote
  #5  
Unread January 19th, 2013, 10:35 PM
Nintendork15
I'm gone. Bye.
 
Join Date: Feb 2009
Location: Undertaker. Co.
Age: 18
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  
Unread January 19th, 2013, 10:48 PM
ppooookkkkkkk's Avatar
ppooookkkkkkk
Creator of Amberstonè Studios.
 
Join Date: May 2012
Location: Newbud town (Pokemon Morning/Night)
Age: 12
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 Abnegation; January 20th, 2013 at 08:07 PM.
Reply With Quote
  #7  
Unread January 19th, 2013, 10:51 PM
Nintendork15
I'm gone. Bye.
 
Join Date: Feb 2009
Location: Undertaker. Co.
Age: 18
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  
Unread January 19th, 2013, 11:00 PM
ppooookkkkkkk's Avatar
ppooookkkkkkk
Creator of Amberstonè Studios.
 
Join Date: May 2012
Location: Newbud town (Pokemon Morning/Night)
Age: 12
Gender: Male
Nature: Gentle
I'll try redownloading :\
Reply With Quote
  #9  
Unread January 19th, 2013, 11:03 PM
~JV~'s Avatar
~JV~
8D
 
Join Date: Aug 2007
Location: Rio de Janeiro
Age: 19
Nature: Relaxed
Send a message via Windows Live Messenger to ~JV~
Really nice job man, glad to see you decided to release this to the public :).
__________________
Sig in maintenance!
Reply With Quote
  #10  
Unread January 19th, 2013, 11:04 PM
elarmasecreta's Avatar
elarmasecreta
'Bout time I changed things XD
 
Join Date: Dec 2009
Location: The Hague
Age: 20
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  
Unread January 19th, 2013, 11:07 PM
carmaniac's Avatar
carmaniac
Where the pickle surprise at?
 
Join Date: Apr 2009
Location: England
Age: 18
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  
Unread January 19th, 2013, 11:13 PM
ppooookkkkkkk's Avatar
ppooookkkkkkk
Creator of Amberstonè Studios.
 
Join Date: May 2012
Location: Newbud town (Pokemon Morning/Night)
Age: 12
Gender: Male
Nature: Gentle
i did it still gives error.
Reply With Quote
  This is the last staff post in this thread.   #13  
Unread January 19th, 2013, 11:17 PM
Cilerba
the hearts of lonely people
 
Join Date: Feb 2010
Location: Massachusetts
Age: 16
Gender: Male
Nature: Quiet
Fixed your YouTube video for ya.

Script looks good. I might just use this in Auburn hmm..
__________________
Reply With Quote
  #14  
Unread January 19th, 2013, 11:22 PM
carmaniac's Avatar
carmaniac
Where the pickle surprise at?
 
Join Date: Apr 2009
Location: England
Age: 18
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 08:06 PM.
Reply With Quote
  #15  
Unread January 19th, 2013, 11:38 PM
ppooookkkkkkk's Avatar
ppooookkkkkkk
Creator of Amberstonè Studios.
 
Join Date: May 2012
Location: Newbud town (Pokemon Morning/Night)
Age: 12
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 Abnegation; January 20th, 2013 at 08:07 PM.
Reply With Quote
  #16  
Unread January 20th, 2013, 12:29 AM
carmaniac's Avatar
carmaniac
Where the pickle surprise at?
 
Join Date: Apr 2009
Location: England
Age: 18
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 08:06 PM.
Reply With Quote
  #17  
Unread January 20th, 2013, 06:19 AM
zingzags's Avatar
zingzags
Creator or Pokemon Serenity
 
Join Date: Jan 2009
Location: Boston
Age: 19
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  
Unread January 20th, 2013, 08:21 AM
Luka S.J.'s Avatar
Luka S.J.
Pokemon Blue Chrome Creator
 
Join Date: Dec 2008
Age: 19
Gender: Male
Nature: Adamant
EDIT: My bad, never mind.
__________________


Last edited by Luka S.J.; January 20th, 2013 at 04:47 PM.
Reply With Quote
  #19  
Unread January 20th, 2013, 03:47 PM
carmaniac's Avatar
carmaniac
Where the pickle surprise at?
 
Join Date: Apr 2009
Location: England
Age: 18
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  
Unread January 20th, 2013, 04:46 PM
Luka S.J.'s Avatar
Luka S.J.
Pokemon Blue Chrome Creator
 
Join Date: Dec 2008
Age: 19
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.
__________________

Reply With Quote
  #21  
Unread January 22nd, 2013, 10:51 PM
carmaniac's Avatar
carmaniac
Where the pickle surprise at?
 
Join Date: Apr 2009
Location: England
Age: 18
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  
Unread January 22nd, 2013, 11:37 PM
ppooookkkkkkk's Avatar
ppooookkkkkkk
Creator of Amberstonè Studios.
 
Join Date: May 2012
Location: Newbud town (Pokemon Morning/Night)
Age: 12
Gender: Male
Nature: Gentle
I give you a suggestion. In the next update add the Anger speech bubble!
Reply With Quote
  #23  
Unread January 23rd, 2013, 03:49 AM
SooperTrooper's Avatar
SooperTrooper
サービスエース
 
Join Date: May 2010
Location: Canada
Age: 16
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 SooperTrooper; January 23rd, 2013 at 04:31 AM.
Reply With Quote
  #24  
Unread January 23rd, 2013, 06:43 AM
carmaniac's Avatar
carmaniac
Where the pickle surprise at?
 
Join Date: Apr 2009
Location: England
Age: 18
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  
Unread January 23rd, 2013, 06:00 PM
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

Forum Jump


All times are UTC. The time now is 08:34 PM.


Style by Perdition Haze, artwork by Sa-Dui.
Like our Facebook Page Follow us on TwitterMessage Board Statistics | © 2002 - 2013 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to Pokémon USA, Inc. and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company, Pokémon USA, Inc., The Pokémon Company International, or Wizards of the Coast. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2013 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 posts belong to the user.