• Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Collosal's Tutorial Section

CollosalPokemon

What's next?
  • 249
    Posts
    17
    Years
    Welcome all to my tutorial section. I know its not HUGE, but its a start, will have it gradually growing.
    Code:
    [CODE]Scripts:

    Allowing a more "Pokémon" feel to the titlescreen (Allowing a cry to be played up clicking start like in the real games) :

    Setup Process 1: Go to the Script Editor.

    Setup Process 2: Look up Scene_Intro Section.

    Setup Process 3: Look for
    Code:
    [COLOR="Navy"]if[/COLOR] Input[COLOR="DeepSkyBlue"].[/COLOR]trigger?[COLOR="DeepSkyBlue"]([/COLOR]Input[COLOR="DeepSkyBlue"]::[/COLOR]C[COLOR="DeepSkyBlue"])[/COLOR]

    Setup Process 4: Add $game_system.se_play(RPG::AudioFile.new("YOURPOKEMON'S CRY", 100, 100))

    NOTE: Replace "YOURPOKEMON'S CRY" with the Pokemon's Cry you want, an example is: 487Cry; Which would be Giratina's Cry.

    So the Code for a Giratina Cry would be:

    $game_system.se_play(RPG::AudioFile.new("487Cry", 100, 100))

    SETUP Process 5: Put your code directly BELOW if Input.trigger?(Input::C)
    [/CODE]

    I have a many more things to add, they are untested though so I cannot post them.
     
    Last edited:
    This should be really useful for those titlescreen which looked like R/S or FR/LG.
    Good job.
     
    Thank you, this is wonderful. I am working on some other things but not quite functional yet so I can't post them -_-

    Also, OmegaGroudon:

    Not only will it be useful for titlescreen's which looked like R/S or FR/LG, also Platinum <I imported mine> and Platinum has a titlescreen cry.

    Next to add:

    Tutorial on how to customize egg hatches.

     
    Last edited:
    also if you change the 100s you can edit the pitch and volume that could change the atmosphear the game as some crys sound extreamly creapy with a lowered pitched
     
    For the new Pokemon Essentials I put it under

    Spoiler:

    and
    Spoiler:


    and it seemed to work. ^^
     
    You might wanna change the first post for that and add some new scripts, I could test them for u.
     
    Wow, forgot about this thing entirely xD
    I was sure it got locked, in fact it should have. I posted on Jan. 7 and it was revived over 2 months later. (On May 24)

    When I started this I was not so good a scripting, although I was able to skim the surfaces of scripts, now I am able to do much more (Displayed in Pokemon Origin) such as NeoMode7 and Dual Screen.

    I dunno if anyone will lock the thread or not but I am doing something unexpectedly epic for the community which I will probably post elsewhere. Maybe it will be done in a week or sooner hopefully. Watch out for that project as it will be really cool :P

    But whether or not the thread gets closed (I didn't even think of it for the past 5 months) I'll share a good script this time. Here it is:

    Code:
    # A quick script so you don't have to memorize lines 31-39 and place all of them
    # in to a class/module/scene each time you want to warp via script.
    # Call using CPMaps::transfer_player(map-to-go-to) and there are other options
    # such as directions and coordinates which you can use. Fairly simple if you're
    # at least a little familiar with RGSS scripts. You don't have to credit me (CollosalPokemon)
    # if used though as this is a very basic script using very basic commands.
    
    module CPMaps
      def self::transfer_player(map_no, player_x=0, player_y=0, new_dir=nil)
         Kernel.pbCancelVehicles
         $game_temp.player_new_map_id=map_no
         $game_temp.player_new_x=player_x
         $game_temp.player_new_y=player_y
         $game_temp.player_new_direction=new_dir if new_dir != nil
         $scene.transfer_player
         $scene = Scene_Map.new
         $game_map.autoplay
         $game_map.refresh
      end
    end

    So yeah//you guys can use this simple script to transfer your player to a different map, lets say for using maps on your titlescreen or something, without have to memorize more than 1 line of code. This isn't really the best display of my scripting knowledge though, but I don't want to give everything away :D For a better display of what I know you can visit the Pokemon Origin thread over in the Game's Showcase.
     
    yaaaaaay! Thanks Yuoaman! So, do u have any new scripts for us Collasal?
     
    Back
    Top