Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Orici

1
RMXP Script Database / Re: [XP] Easy Overdrive System
December 14, 2009, 06:54:58 pm
would it be possbile to change the OD bar possition? It's because i'm using a custom battle window (see this picture)
Spoiler: ShowHide


2
Resources / Re: [Mike] REQUEST CHARACTER SPRITES HERE!
November 02, 2009, 09:16:34 pm
It looks great but the face looks likes he's too young in my opinion.Can you make it look older?
3
Event System Troubleshooting / Re: Reset steps?
November 01, 2009, 08:53:04 pm
thanks that fixed it
I made up a demo with this.. i'm not sure if it worths to be posted but if someone has some free time please check it and look if i made a mistake with those events  ;)

http://www.4shared.com/file/145529990/9cfa9891/Project1.html
4
Event System Troubleshooting / Re: Reset steps?
November 01, 2009, 07:54:01 pm
well i don't need a step counter.... it is replaced with a location window  :haha:
but that didn't work: nomethoderror ocurred while running script
                             undefined method 'steps=' for #<game_party:0x141e8b0>
5
Event System Troubleshooting / Reset steps?
November 01, 2009, 05:37:28 pm
I'm working on a sytem that makes the player slower after he does a certain amount of steps and then recover speed by resting. I did it this way:
First I set steps to variable 1 in call script ($game_variables[1]=$game_party.steps)
then in a common event,with conditional branch, if varible 1 = 20 , change player speed to 3 and so on
but the problem is i don't know how to set steps back to 0 (tried by setting variable 1 = 0 but i had no luck)
6
RMXP Script Database / Re: [XP] Skill Equipment System
November 01, 2009, 04:30:19 pm
Sorry for the double post but i got an idea: force some skills to be always equipped  or hide them from the skillequip window.
7
Tutorial Database / Re: The villain I loved
November 01, 2009, 03:24:27 pm
Great tutorial but now i think i need to re-write half of my game's story  :P 
you deserve a lvl up!

lol at google: ShowHide


8
General Discussion / Re: Weird bug in the Game.exe
November 01, 2009, 02:45:30 pm
stupid question: does that happen when you run directly the game.exe or when you use it throught the editor?

9
Resources / Re: [Mike] REQUEST CHARACTER SPRITES HERE!
November 01, 2009, 02:38:49 pm
hey, I like your sprites and I have a request for you:

Sex:
Male

Description:
-RTP like
-blond and long hair
-wears a black/dark brown long coat and some armor
-maybe, with sword on his back

Reference:
Face: ShowHide



Random image that looks similar to what i want: ShowHide





Background:
The game is settled in a steampunk period. This guy is obsessed with machines and rules a big empire.
He is the main villian of the story.
10
General Discussion / Re: Snowboarding Minigame
October 23, 2009, 07:20:39 pm
yeah tricks would be cool. In skate you could make a grinding system where the player has to press the arrows keys to keep balance
11
RMXP Script Database / Re: [XP] Easy Party Switcher
October 23, 2009, 07:13:14 pm
hey, it seems that the battle switch option is incompatible with guillaume 777's Multi-Slot script (gives error in line 676: NameError occurred - unitialized constant window_partycommand::Window_HorizCommand)
I 'fixed' it by deleting that part since it mentioned the SDK and I'm not using it...It works now but I want to be sure i didn't do something wrong or if there is another way to solve the problem  :P
12
RMXP Script Database / Re: [XP] Skill Equipment System
October 13, 2009, 06:53:51 pm
Now it really works but i found a small bug  :^_^': : if your charcter doen's have a skill and you go to the skill equip window, you can equip an 'invicible' skill wich cannot be removed and will take up your AP!
I know it can be easily avoided,there is no need to fix that, just wanted to let you know  ;)
13
RMXP Script Database / Re: [XP] Skill Equipment System
October 10, 2009, 03:12:29 pm
No, i tried in a new project and still get this:
Script Window Base line 23 nomethoderror
undefined method name for nil:class
14
Welcome! / Re: Hi all
October 10, 2009, 11:26:37 am
Thanks for the welcome
btw, game_guy, next time you post a script MAKE SURE IT WORKS, lol
15
RMXP Script Database / Re: [XP] Music Player (Jukebox)
October 10, 2009, 11:19:32 am
OK i updated the main post, and I posted a font fix, just in case you are using a different XP version  :)
16
RMXP Script Database / [XP] Music Player (Jukebox)
October 09, 2009, 10:07:10 pm
Music Player (Jukebox)
Authors: Tonyryu
Version: 1.0
Type:Music Player
Key Term: Misc Add-on



Introduction
This script creates a menu form where you can listen to any song you want.



Features


  • Reproduces BGM, BGS, ME and SE



Screenshots
Not needed


Demo
http://www.4shared.com/file/139862991/b887f975/Music_Player.html


Script

Spoiler: ShowHide

Place above MAIN

#==============================================================================
# ■ Window_JBliste
#------------------------------------------------------------------------------
# Script permettant d'afficher la liste des musiques du jukebox
# Créateur : Tonyryu
# Date : 12/10/2006
#==============================================================================
class Window_JBliste < Window_Selectable
 
 #--------------------------------------------------------------------------
 # ● initialize
 #--------------------------------------------------------------------------
 def initialize
   super(0, 100, 640, 380)
   
   # Add your music here [ "name_to_display", type, "file_without_extension"]
   # type : 1 : BGM
   #        2 : BGS
   #        3 : ME
   #        4 : SE
   @tabMusiques = [[ "Introduction" , 1, "034-Heaven01"],
                   [ "Theme Alex", 1, "014-Theme03"],
                   [ "Combat 1", 1, "002-Battle02"],
                   [ "Bruit de l'eau", 2 , "010-River01"] ]

   # Spécifier la fenêtre de sélection
   @column_max = 2
   # Récupérer le nombre de musique
   @item_max = @tabMusiques.size
   
   # Initialiser la Zone Bitmap avec une taille adapté au nombre de musique
   self.contents = Bitmap.new(width - 32, row_max * 32)
   # Définir la police d'écriture par défaut
   self.contents.font.name = $fontface
   self.contents.font.size = $fontsize
   self.index = 0
   
   refresh
 end
 
 #--------------------------------------------------------------------------
 # ● refresh
 #--------------------------------------------------------------------------
 def refresh
   # Effacer la zone Bitmap
   self.contents.clear

   # Pour toutes les musiques
   for i in 0..@item_max - 1
     x = 4 + i % 2 * (288 + 32)
     y = i / 2 * 32
     # Afficher les musique en 2 colonnes
     self.contents.draw_text(x , y, 212, 32, @tabMusiques[i][0], 0)
   end
 end
 
 #--------------------------------------------------------------------------
 # ● fichierMusique
 #--------------------------------------------------------------------------
 def fichierMusique
   return [@tabMusiques[@index][1] , @tabMusiques[@index][2]]
 end

end


#==============================================================================
# ■ Window_JBtitre
#------------------------------------------------------------------------------
# Script permettant d'afficher le titre jukebox
# Créateur : Tonyryu
# Date : 12/10/2006
# Version : 1.00
#==============================================================================
class Window_JBtitre < Window_Base
 
 #--------------------------------------------------------------------------
 # ● initialize
 #--------------------------------------------------------------------------
 def initialize
   super(0, 0, 640, 100)
   # Initialiser la Zone Bitmap
   self.contents = Bitmap.new(width - 32, height - 32)
   # Définir la police d'écriture
   self.contents.font.name = $fontface
   self.contents.font.size = 30
   self.contents.font.italic = true
   
   refresh
 end
 
 #--------------------------------------------------------------------------
 # ● refresh
 #--------------------------------------------------------------------------
 def refresh
   # Effacer la zone Bitmap
   self.contents.clear
   # Ecrire le titre
   self.contents.draw_text(0, 10, 608, 50, "Jukebox", 1)
 end

end

#==============================================================================
# ■ Scene_Jukebox
#------------------------------------------------------------------------------
# Script permettant de gérer le jukebox
# Créateur : Tonyryu
# Date : 12/10/2006
# Version : 1.00
#==============================================================================
class Scene_Jukebox
 def main
   
   # Prèparation des fenêtre
   @jbtitre_window = Window_JBtitre.new
   @jbliste_window = Window_JBliste.new

   # Boucle de transition, mise à jour graphique et entré clavier
   Graphics.transition
   # boucle
   loop do
     # Mise à jour graphique
     Graphics.update
     # Mise à jour des entrées clavier
     Input.update
     # Mise à jour de la class
     update

     # Si la scene n'existe plus, alors sortir de la boucle
     if $scene != self
       break
     end
   end
   # figer les graphiques
   Graphics.freeze
   # destruction des objets
   @jbtitre_window.dispose
   @jbliste_window.dispose
 end
 
 #--------------------------------------------------------------------------
 # ● update
 #--------------------------------------------------------------------------
 def update

   # Mettre à jour les fenêtres de groupe et de réserve
   @jbtitre_window.update
   @jbliste_window.update

   # si la touche B est appuyée
   if Input.trigger?(Input::B)
     # Alors, jouer le son "cancel"
     $game_system.se_play($data_system.cancel_se)
     # Revenir soit dans le menu (option 5, changeable), soit sur la map, soit sur le titre
     $scene = Scene_Menu.new(5)
     #$scene = Scene_Map.new
     #$scene = Scene_Title.new

     # Stoper tous les sons
     stopper_audio
     
     return
   end

   # si la touche C est appuyée
   if Input.trigger?(Input::C)
     # Stoper tous les sons
     stopper_audio
     
     # Récuperer le nom du fichier correspondant au choix effectué
     tabFichierMusique = @jbliste_window.fichierMusique
     type = tabFichierMusique[0]
     nomFichier = tabFichierMusique[1]
     
     case type
     when 1
       Audio.bgm_play("Audio/BGM/" + nomFichier,100,100)
     when 2
       Audio.bgs_play("Audio/BGS/" + nomFichier,100,100 )
     when 3
       Audio.me_play("Audio/ME/" + nomFichier,100,100)
     when 4
       Audio.se_play("Audio/SE/" + nomFichier,100,100)
     end
   end
 end
 
 #--------------------------------------------------------------------------
 # ● stopper_audio
 #--------------------------------------------------------------------------
 def stopper_audio
   # Stoper tous les sons
   Audio.bgm_stop
   Audio.bgs_stop
   Audio.me_stop
   Audio.se_stop
 end

 
end




Depending on your Maker version you may need this fix to solve a problem with fonts:
Replace Main with this
Spoiler: ShowHide


#=================================
# Main
#------------------------------------------------------------------
#=================================

begin
 # Change the $fontface variable to change the font style
$defaultfonttype = $fontface = $fontname = Font.default_name = "Times New Roman"
# Font size used
$defaultfontsize = $fontsize = Font.default_size =  18
$showm = Win32API.new 'user32', 'keybd_event', %w(l l l l), ''
unless $DEBUG
$showm.call(18,0,0,0)
$showm.call(13,0,0,0)
$showm.call(13,0,2,0)
$showm.call(18,0,2,0)
end
# Font type
$defaultfonttype = $fontface = $fontname = Font.default_name = "Times New Roman"
# Font size
$defaultfontsize = $fontsize = Font.default_size =  20
Graphics.freeze
$scene = Scene_Title.new
while $scene != nil
$scene.main
end
Graphics.transition(20)
rescue Errno::ENOENT
filename = $!.message.sub("No such file or directory - ", "")
print("Archivo #{filename} no encontrado.")
end




Instructions

To call the scene use
$scene = Scene_Jukebox.new





Compatibility

Not tested with SDK.


Credits and Thanks


  • Tonyryu - for creating it
  • Orici - small translation



Author's Notes
You may find the autor here:
http://rpgmxpstudio.pellnet.ch/
17
Welcome! / Hi all
October 09, 2009, 09:25:53 pm
Hey all, I'm from Argentina so excuse me if my english isn´t the best. I joined the forums cuz i had problems with a script, but i think there is much more to find here  :haha:
I only use RPG Maker XP and my mapping is horrible :P
*hopes someone willl help
18
RMXP Script Database / Re: [XP] Skill Equipment System
October 09, 2009, 09:04:17 pm
It works fine now, thank you
EDIT: I didn't notice this before but now i can't go to the normal Skill menu
19
RMXP Script Database / Re: [XP] Skill Equipment System
October 09, 2009, 04:26:14 pm
I tried the script in a fresh new project, just in cas and y must say that god has something against me or this scritpt  :evil:,
now the error is in line 152, NameError ocurred
undefined local variable or method 'skill' for <#gameactor:0x15d7e50>
20
RMXP Script Database / Re: [XP] Skill Equipment System
October 09, 2009, 12:35:07 pm
now it says, in the same line

undefined method 'skillap' for #<RPG::Actor:0x14c0c70>  :(