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.

Closed Thread
 
Thread Tools
  #26    
Old June 30th, 2013 (12:29 PM).
Q-Quan's Avatar
Q-Quan Q-Quan is offline
Indigo, Unova and Kalos Champ
     
    Join Date: May 2013
    Location: At my house (in Spain)
    Gender: Male
    Nature: Timid
    Posts: 20
    Can someone help me? I want to put a HM move effect (Surf) into an item (surfboard). How can I to this?

    Relevant Advertising!

      #27    
    Old June 30th, 2013 (1:24 PM).
    Nickalooose Nickalooose is offline
    --------------------
       
      Join Date: Mar 2008
      Gender: Female
      Posts: 1,309
      Quote:
      Originally Posted by Q-Quan View Post
      Can someone help me? I want to put a HM move effect (Surf) into an item (surfboard). How can I to this?
      Did you know there is a new thread called:

      Check here before asking a question!

      And And

      Replace FLY with an Item
        #28    
      Old June 30th, 2013 (1:53 PM).
      Pia Carrot's Avatar
      Pia Carrot Pia Carrot is offline
      Kick it
      • Silver Tier
       
      Join Date: Aug 2010
      Age: 21
      Gender: Male
      Nature: Adamant
      Posts: 700
      Quote:
      Originally Posted by Q-Quan View Post
      Can someone help me? I want to put a HM move effect (Surf) into an item (surfboard). How can I to this?
      First off, create an item in the items.txt called a surfboard. (Key Item would probably suit this item best.)

      And follow this post: http://www.pokecommunity.com/showpost.php?p=7541980&postcount=5
      __________________





        #29    
      Old July 9th, 2013 (11:45 AM).
      pokemonmasteraaron's Avatar
      pokemonmasteraaron pokemonmasteraaron is offline
      The blind Pokémon Master!
         
        Join Date: Jan 2011
        Location: In the forest of an undiscovered region
        Age: 20
        Gender: Male
        Nature: Relaxed
        Posts: 314
        Hello,
        I am interested in paying an rgss programmer to create an add on Text To Speech function.
        I will pay ten dollars to a programmer who can:
        Make the computer speak using SAPI4 and or SAPI5when: text appears on screen, E.G. from the show_text event command.
        When a player moves to a new option, it should speak that option. (this should work in things such as battle menues, bag menues, etc. as well as menues created with the \CH command and show_choices command.
        It is understood that non-textual things, such as text contained within pictures can not be spoken by anything, although it is my understanding that very few if any things in essentials have this.
        I am using a bit of an old version of essentials, so where ever possible, it needs to be non-version spesific.
        If you are interested, please respond and/or contact me on either this forum or skype.
        My skype account: pokemonmasteraaron
        If you believe ten dollars is not enough, let me know, although I believe it is unlikely to go above that ammount.
        You must have a Pay Pal to receive the money.
        Best Regards, Aaron
        __________________
        Game developer.
        Not nearly as active on here as I used to be.
        Still like meeting and talking to pokemon fanatics like myself.
          #30    
        Old July 13th, 2013 (1:33 PM).
        FL's Avatar
        FL FL is offline
        Pokémon Island Creator
           
          Join Date: Sep 2010
          Gender: Male
          Posts: 1,687
          Quote:
          Originally Posted by Evil Arms View Post
          First off, create an item in the items.txt called a surfboard. (Key Item would probably suit this item best.)

          And follow this post: http://www.pokecommunity.com/showpost.php?p=7541980&postcount=5
          I made a better tutorial: http://www.pokecommunity.com/showthread.php?t=304725
          __________________
            #31    
          Old July 29th, 2013 (10:30 PM).
          Harvey_Create's Avatar
          Harvey_Create Harvey_Create is offline
          Pokemon Apex Team Member
             
            Join Date: Nov 2012
            Location: Iowa
            Gender: Male
            Nature: Naughty
            Posts: 188
            I was curious if anyone had a Light Level script. For example, go down a cliff in a cave, it gets darker, go up it gets lighter.

            I am also wondering if anyone can help with a custom HUD.
            __________________
            This signature has been disabled.
            Exceeds signature width limit (strictly 600 pixels or less).
            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.
              #32    
            Old July 31st, 2013 (11:21 AM).
            Nickalooose Nickalooose is offline
            --------------------
               
              Join Date: Mar 2008
              Gender: Female
              Posts: 1,309
              Quote:
              Originally Posted by Harvey_Create View Post
              I was curious if anyone had a Light Level script. For example, go down a cliff in a cave, it gets darker, go up it gets lighter.

              I am also wondering if anyone can help with a custom HUD.
              An idea I had was, change the radius of the circle depending on the map and make all the cave maps, dark maps... Do you get that?
                #33    
              Old July 31st, 2013 (9:04 PM).
              Harvey_Create's Avatar
              Harvey_Create Harvey_Create is offline
              Pokemon Apex Team Member
                 
                Join Date: Nov 2012
                Location: Iowa
                Gender: Male
                Nature: Naughty
                Posts: 188
                Quote:
                Originally Posted by Nickalooose View Post
                An idea I had was, change the radius of the circle depending on the map and make all the cave maps, dark maps... Do you get that?
                Its good, but, I like the idea of the whole screen getting darker. I want to add a Flashlight Item, and fase out FLash
                __________________
                This signature has been disabled.
                Exceeds signature width limit (strictly 600 pixels or less).
                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.
                  #34    
                Old August 1st, 2013 (1:04 AM).
                Nickalooose Nickalooose is offline
                --------------------
                   
                  Join Date: Mar 2008
                  Gender: Female
                  Posts: 1,309
                  Quote:
                  Originally Posted by Harvey_Create View Post
                  Its good, but, I like the idea of the whole screen getting darker. I want to add a Flashlight Item, and fase out FLash
                  Okay, so an Item them can control density of light, I.E. Battery running out? So it gets darker...
                  Or did I miss the point?
                  You can always just use screen tinting, that's how I do things, it's simple, easy and gets the job done.
                  However, since you'd like to use a flashlight, I'd still consider the way I said, but instead of HM move Flash, change it to Flashlight.
                  I can't do anything right now since I have work.
                  Try things out and see what you come up with.
                  I've given you the general idea anyway.
                    #35    
                  Old August 1st, 2013 (10:31 AM).
                  Harvey_Create's Avatar
                  Harvey_Create Harvey_Create is offline
                  Pokemon Apex Team Member
                     
                    Join Date: Nov 2012
                    Location: Iowa
                    Gender: Male
                    Nature: Naughty
                    Posts: 188
                    Quote:
                    Originally Posted by Nickalooose View Post
                    Okay, so an Item them can control density of light, I.E. Battery running out? So it gets darker...
                    Or did I miss the point?
                    You can always just use screen tinting, that's how I do things, it's simple, easy and gets the job done.
                    However, since you'd like to use a flashlight, I'd still consider the way I said, but instead of HM move Flash, change it to Flashlight.
                    I can't do anything right now since I have work.
                    Try things out and see what you come up with.
                    I've given you the general idea anyway.
                    The original point was (maybe a terrain tag) or something that would automaticlly darken the screen going down a cliff tile. and vise versa. Rather then having 89 events per cave doing it.


                    Ive already got a basic flashlight together.
                    __________________
                    This signature has been disabled.
                    Exceeds signature width limit (strictly 600 pixels or less).
                    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.
                      #36    
                    Old August 1st, 2013 (11:22 AM).
                    Nickalooose Nickalooose is offline
                    --------------------
                       
                      Join Date: Mar 2008
                      Gender: Female
                      Posts: 1,309
                      You're not understanding... Use the map id, not use events... So when you're on that specific map, you can use flashlight, exactly how Flash HM works, just with flashlight, and instead of having the map completely black, change the screen tone color instead.
                        #37    
                      Old August 1st, 2013 (4:21 PM).
                      Harvey_Create's Avatar
                      Harvey_Create Harvey_Create is offline
                      Pokemon Apex Team Member
                         
                        Join Date: Nov 2012
                        Location: Iowa
                        Gender: Male
                        Nature: Naughty
                        Posts: 188
                        Quote:
                        Originally Posted by Nickalooose View Post
                        You're not understanding... Use the map id, not use events... So when you're on that specific map, you can use flashlight, exactly how Flash HM works, just with flashlight, and instead of having the map completely black, change the screen tone color instead.
                        I inderstand, But what i want is not what you are suggesting.
                        __________________
                        This signature has been disabled.
                        Exceeds signature width limit (strictly 600 pixels or less).
                        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.
                          #38    
                        Old August 1st, 2013 (4:52 PM).
                        Nickalooose Nickalooose is offline
                        --------------------
                           
                          Join Date: Mar 2008
                          Gender: Female
                          Posts: 1,309
                          Quote:
                          Originally Posted by Harvey_Create View Post
                          I was curious if anyone had a Light Level script. For example, go down a cliff in a cave, it gets darker, go up it gets lighter.
                          Sorry to say, but for anyone to answer this, is merely assumptions... Maybe you should elaborate more or learn to script yourself.
                            #39    
                          Old August 2nd, 2013 (2:53 AM).
                          Maruno's Avatar
                          Maruno Maruno is offline
                          Lead Dev of Pokémon Essentials
                             
                            Join Date: Jan 2008
                            Location: England
                            Posts: 5,173
                            He wants to change the light level (overall brightness) of a map depending on the player's coordinates on that map.

                            Sounds like a job for a parallel processing event (a long one which is basically all the contents of the 89 events you currently have). The example maps (the cave maps) have some similar parallel processing events which check the position of the player/boulders for the purpose of triggering floor switches and falling down holes.
                            __________________
                            Go to the Pokémon Essentials Wiki

                            | Downloads | Tutorials | Fangames |
                            | All Animations Project |

                            Follow me on Twitter: @maruno42


                              #40    
                            Old August 2nd, 2013 (2:07 PM).
                            Pia Carrot's Avatar
                            Pia Carrot Pia Carrot is offline
                            Kick it
                            • Silver Tier
                             
                            Join Date: Aug 2010
                            Age: 21
                            Gender: Male
                            Nature: Adamant
                            Posts: 700
                            Anyone have an idea on getting swarms to work? Some examples of this include people calling you in GSC about a rare pokemon in an area or in D/P where Lucas/Dawn's sister will tell you that a swarm of Pokemon have appeared on a route. It changes daily.

                            I imagine this could be worked out in events but there may be a cleaner way to pull this off.
                            __________________





                              #41    
                            Old August 3rd, 2013 (5:12 AM).
                            Maruno's Avatar
                            Maruno Maruno is offline
                            Lead Dev of Pokémon Essentials
                               
                              Join Date: Jan 2008
                              Location: England
                              Posts: 5,173
                              Quote:
                              Originally Posted by Evil Arms View Post
                              Anyone have an idea on getting swarms to work? Some examples of this include people calling you in GSC about a rare pokemon in an area or in D/P where Lucas/Dawn's sister will tell you that a swarm of Pokemon have appeared on a route. It changes daily.

                              I imagine this could be worked out in events but there may be a cleaner way to pull this off.
                              First you need a list of possible swarms. Species, level range, maps to be found on, encounter types to be found via. It's up to you if you want to make it more complicated (e.g. multiple maps/species/encounter types in a single swarm event). You can (should) put all this information in an array in some script section.

                              Next you want a way to decide which swarm to use on a particular day. It should be random yet always the same for a given day. The Lottery mini-game's winning number works like this, so copy it and use it to choose the swarm.

                              Then you want to change the appropriate wild encounters depending on the swarm's details. I understand there's a flat 40% rate of an encounter being a swarm's encounter (if possible), and 60% chance of a regular encounter, so that's a nice and simple number to work with. Go to the script which decides which species to encounter, get the day's swarm's details, and if the map/encounter method matches and rand(100)<40, set the species and level according to the swarm's details; otherwise pick the encountered species normally.

                              That's it.

                              You can enhance this feature by only making it work if a particular switch is on (e.g. the "Got National Dex" one).

                              Getting someone to tell you about the swarm is a bit of extra work. It's easiest to make an event tell you, because phone calls are a bit trickier to modify (although it is possible). Here, just get the day's swarm's details again, shove the name of the species and the name of the map it's on into variables, and insert those variables into the event's speech. You can get all fancy with this, of course.
                              __________________
                              Go to the Pokémon Essentials Wiki

                              | Downloads | Tutorials | Fangames |
                              | All Animations Project |

                              Follow me on Twitter: @maruno42


                                #42    
                              Old August 4th, 2013 (3:47 AM).
                              Yero's Avatar
                              Yero Yero is offline
                                 
                                Join Date: Aug 2011
                                Location: Australia
                                Gender: Male
                                Nature: Brave
                                Posts: 65
                                G'Day, I was wondering if it is possible to (silently) control the storage system by using a script of some sort. For instance, in my game, the player got separated from a few of his Pokemon at some point in the game, and at that time you can't use the computer. The only script I know of is to completely delete the Pokemon in question, which of course, is not meant to happen. So is it possible to, let say, use a script to silently store a pokemon in one of the storage boxes by event, and later withdraw it again?
                                  #43    
                                Old August 4th, 2013 (4:15 AM).
                                FL's Avatar
                                FL FL is offline
                                Pokémon Island Creator
                                   
                                  Join Date: Sep 2010
                                  Gender: Male
                                  Posts: 1,687
                                  Quote:
                                  Originally Posted by Yero View Post
                                  G'Day, I was wondering if it is possible to (silently) control the storage system by using a script of some sort. For instance, in my game, the player got separated from a few of his Pokemon at some point in the game, and at that time you can't use the computer. The only script I know of is to completely delete the Pokemon in question, which of course, is not meant to happen. So is it possible to, let say, use a script to silently store a pokemon in one of the storage boxes by event, and later withdraw it again?
                                  Force pokemon to PC Box (silently)
                                  __________________
                                    #44    
                                  Old August 4th, 2013 (4:18 AM).
                                  Nickalooose Nickalooose is offline
                                  --------------------
                                     
                                    Join Date: Mar 2008
                                    Gender: Female
                                    Posts: 1,309
                                    Quote:
                                    Originally Posted by Yero View Post
                                    G'Day, I was wondering if it is possible to (silently) control the storage system by using a script of some sort. For instance, in my game, the player got separated from a few of his Pokemon at some point in the game, and at that time you can't use the computer. The only script I know of is to completely delete the Pokemon in question, which of course, is not meant to happen. So is it possible to, let say, use a script to silently store a pokemon in one of the storage boxes by event, and later withdraw it again?
                                    The easiest way I know how to do this (and is the way I would do this), is not worry about the storage at all... Variables are your friend here.

                                    So for arguments sake, I'm going to say I want all 6 of my Pokémon in my team completely removed from the game, BUT, returned back to me later on (you must remember to add them back).

                                    First thing I would do is set 6 Variables (since I can control every Pokémon then)... So I've chosen Variables 1-6 (choose your own)... Next, let's add our Pokémon to them... Using 6 script events:
                                    $game_variables[1]=$Trainer.party[0]
                                    $game_variables[2]=$Trainer.party[1]
                                    $game_variables[3]=$Trainer.party[2]
                                    $game_variables[4]=$Trainer.party[3]
                                    $game_variables[5]=$Trainer.party[4]
                                    $game_variables[6]=$Trainer.party[5]


                                    Then, remove them from the game, using another 6 script events:
                                    pbRemovePokemonAt(0)
                                    pbRemovePokemonAt(0)
                                    pbRemovePokemonAt(0)
                                    pbRemovePokemonAt(0)
                                    pbRemovePokemonAt(0)
                                    pbRemovePokemonAt(0)


                                    It's that simple.

                                    To re-add them later, just use, in another 6 script events:
                                    pbAddPokemonSilent(pbGet(1))
                                    pbAddPokemonSilent(pbGet(2))
                                    pbAddPokemonSilent(pbGet(3))
                                    pbAddPokemonSilent(pbGet(4))
                                    pbAddPokemonSilent(pbGet(5))
                                    pbAddPokemonSilent(pbGet(6))


                                    There you go, the illusion of a runaway Pokémon and the uses of variables, plus, no scripting involved.
                                    Use it, love it, learn it.

                                    REMEMBER:
                                    Do not have any other Pokémon in your team if you use this method... I'm not sure if it will overwrite any Pokémon or just not add the ones you've deleted.
                                      #45    
                                    Old August 4th, 2013 (6:03 AM).
                                    Yero's Avatar
                                    Yero Yero is offline
                                       
                                      Join Date: Aug 2011
                                      Location: Australia
                                      Gender: Male
                                      Nature: Brave
                                      Posts: 65
                                      Thanks heaps Nickalooose, it worked exact the way I wanted! I was too focused on using the storage system as I was afraid using a variable would completely reset or delete the individual Pokemon's data or moves and like. But it worked perfect!

                                      Maybe you (or someone else) would be able to help me with another matter as well. Probably another simple event script, but is it possible to have a wild Pokemon battle against one wild Pokemon whereas the player uses two battlers himself. Like a two against one battle! I want to use this for Legendary/strong wild opponents.
                                        #46    
                                      Old August 4th, 2013 (10:50 AM).
                                      Maruno's Avatar
                                      Maruno Maruno is offline
                                      Lead Dev of Pokémon Essentials
                                         
                                        Join Date: Jan 2008
                                        Location: England
                                        Posts: 5,173
                                        Quote:
                                        Originally Posted by Yero View Post
                                        Thanks heaps Nickalooose, it worked exact the way I wanted! I was too focused on using the storage system as I was afraid using a variable would completely reset or delete the individual Pokemon's data or moves and like. But it worked perfect!
                                        One addendum I'd like to make is that you should use $game_variables which aren't used for anything else. The first 25 are either used for things or reserved, so don't use them.
                                        __________________
                                        Go to the Pokémon Essentials Wiki

                                        | Downloads | Tutorials | Fangames |
                                        | All Animations Project |

                                        Follow me on Twitter: @maruno42


                                          #47    
                                        Old August 5th, 2013 (7:35 AM).
                                        Yero's Avatar
                                        Yero Yero is offline
                                           
                                          Join Date: Aug 2011
                                          Location: Australia
                                          Gender: Male
                                          Nature: Brave
                                          Posts: 65
                                          I used the variables after number 45 to be on the sure. I make a game with a similar gameplay as Pokemon Colosseum, so where catching numerous Pokemon is not really part of the main story. All battles are Double Battles, and indeed with Espeon and Umbreon as the two starters. For some Legendary encounters I would like to use this double battle style only then against one (wild) opponent. It's probably quite easy to do so, but I am not a real expert on the blind scripting. Would someone be able to help me out a little?
                                            #48    
                                          Old August 9th, 2013 (6:30 PM).
                                          # 494's Avatar
                                          # 494 # 494 is offline
                                             
                                            Join Date: Jun 2009
                                            Gender: Male
                                            Posts: 15
                                            After searching the wiki, Google, and looking through the script editor in RMXP, I have been able to add a custom font, but this font is little too big. I remember seeing a way to make it smaller, but it has to be done each time the font is used.

                                            Is there any way to permanently make the font smaller?
                                              #49    
                                            Old August 10th, 2013 (3:54 AM).
                                            Maruno's Avatar
                                            Maruno Maruno is offline
                                            Lead Dev of Pokémon Essentials
                                               
                                              Join Date: Jan 2008
                                              Location: England
                                              Posts: 5,173
                                              Font and font size-related methods can be found in SpriteWindow, beginning with def pbSetSystemFont (line 1705). That and the few methods below it should help.
                                              __________________
                                              Go to the Pokémon Essentials Wiki

                                              | Downloads | Tutorials | Fangames |
                                              | All Animations Project |

                                              Follow me on Twitter: @maruno42


                                                #50    
                                              Old August 11th, 2013 (8:22 PM). Edited August 11th, 2013 by # 494.
                                              # 494's Avatar
                                              # 494 # 494 is offline
                                                 
                                                Join Date: Jun 2009
                                                Gender: Male
                                                Posts: 15
                                                Alright, that worked! However, now I can't seem to figure out how to make my new font the default font. For some reason, no matter what I do the game defaults to the Firered/Leafgreen font. How could I set my new font as the default font?

                                                Also, if possible would I be able to make it so said font appear in the places where switching fonts doesn't change anything? (Like the new game/continue screen's summary and in Attack names)
                                                Closed Thread
                                                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 GMT -8. The time now is 9:54 AM.