collapse collapse

 Community


 User Info




Willkommen Gast. Bitte einloggen oder registrieren.

 Partnerseiten

rpgvx.net

Das Forum ist offline

Autor Thema: Hilfe zu Skripten.  (Gelesen 51375 mal)

Offline Joul

  • Ralph
  • *
  • Beiträge: 6
Re: Hilfe zu Skripten.
« Antwort #675 am: Juni 12, 2012, 17:46:22 »
Ich will einen Animierten Titelscreen machen.
#==============================================================================
# ** Scene_Title
#------------------------------------------------------------------------------
#  This class performs the title screen processing.
#==============================================================================

class Scene_Title < Scene_Base
  #--------------------------------------------------------------------------
  # * Main Processing
  #--------------------------------------------------------------------------
  def main
    if $BTEST                         # If battle test
      battle_test                     # Start battle test
    else                              # If normal play
      super                           # Usual main processing
    end
  end
  #--------------------------------------------------------------------------
  # * Start processing
  #--------------------------------------------------------------------------
  def start
    super
    load_database                     # Load database
    create_game_objects               # Create game objects
  end
  #--------------------------------------------------------------------------
  # * Execute Transition
  #--------------------------------------------------------------------------
  def perform_transition
    Graphics.transition(20)
  end
  #--------------------------------------------------------------------------
  # * Post-Start Processing
  #--------------------------------------------------------------------------
  def post_start
      end
  #--------------------------------------------------------------------------
  # * Pre-termination Processing
  #--------------------------------------------------------------------------
  def pre_terminate
    end
  #--------------------------------------------------------------------------
  # * Termination Processing
  #--------------------------------------------------------------------------
  def terminate
    end
  #--------------------------------------------------------------------------
  # * Frame Update
  #--------------------------------------------------------------------------
  def update
    end
  #--------------------------------------------------------------------------
  # * Load Database
  #--------------------------------------------------------------------------
  def load_database
    $data_actors        = load_data("Data/Actors.rvdata")
    $data_classes       = load_data("Data/Classes.rvdata")
    $data_skills        = load_data("Data/Skills.rvdata")
    $data_items         = load_data("Data/Items.rvdata")
    $data_weapons       = load_data("Data/Weapons.rvdata")
    $data_armors        = load_data("Data/Armors.rvdata")
    $data_enemies       = load_data("Data/Enemies.rvdata")
    $data_troops        = load_data("Data/Troops.rvdata")
    $data_states        = load_data("Data/States.rvdata")
    $data_animations    = load_data("Data/Animations.rvdata")
    $data_common_events = load_data("Data/CommonEvents.rvdata")
    $data_system        = load_data("Data/System.rvdata")
    $data_areas         = load_data("Data/Areas.rvdata")
  end
  #--------------------------------------------------------------------------
  # * Load Battle Test Database
  #--------------------------------------------------------------------------
  def load_bt_database
    $data_actors        = load_data("Data/BT_Actors.rvdata")
    $data_classes       = load_data("Data/BT_Classes.rvdata")
    $data_skills        = load_data("Data/BT_Skills.rvdata")
    $data_items         = load_data("Data/BT_Items.rvdata")
    $data_weapons       = load_data("Data/BT_Weapons.rvdata")
    $data_armors        = load_data("Data/BT_Armors.rvdata")
    $data_enemies       = load_data("Data/BT_Enemies.rvdata")
    $data_troops        = load_data("Data/BT_Troops.rvdata")
    $data_states        = load_data("Data/BT_States.rvdata")
    $data_animations    = load_data("Data/BT_Animations.rvdata")
    $data_common_events = load_data("Data/BT_CommonEvents.rvdata")
    $data_system        = load_data("Data/BT_System.rvdata")
  end
  #--------------------------------------------------------------------------
  # * Create Game Objects
  #--------------------------------------------------------------------------
  def create_game_objects
    $game_temp          = Game_Temp.new
    $game_message       = Game_Message.new
    $game_system        = Game_System.new
    $game_switches      = Game_Switches.new
    $game_variables     = Game_Variables.new
    $game_self_switches = Game_SelfSwitches.new
    $game_actors        = Game_Actors.new
    $game_party         = Game_Party.new
    $game_troop         = Game_Troop.new
    $game_map           = Game_Map.new
    $game_player        = Game_Player.new
  end
  #--------------------------------------------------------------------------
  # * Check Player Start Location Existence
  #--------------------------------------------------------------------------
  def confirm_player_location
    if $data_system.start_map_id == 0
      print "Startpunkt wurde nicht gesetzt!"
      exit
    end
  end
  #--------------------------------------------------------------------------
  # * Command: New Game
  #--------------------------------------------------------------------------
  def command_new_game
    confirm_player_location
    Sound.play_decision
    $game_party.setup_starting_members            # Initial party
    $game_map.setup($data_system.start_map_id)    # Initial map position
    $game_player.moveto($data_system.start_x, $data_system.start_y)
    $game_player.refresh
    $scene = Scene_Map.new
    RPG::BGM.fade(1500)
    close_command_window
    Graphics.fadeout(60)
    Graphics.wait(40)
    Graphics.frame_count = 0
    RPG::BGM.stop
    $game_map.autoplay
  end
  #--------------------------------------------------------------------------
  # * Battle Test
  #--------------------------------------------------------------------------
  def battle_test
    load_bt_database                  # Load battle test database
    create_game_objects               # Create game objects
    Graphics.frame_count = 0          # Initialize play time
    $game_party.setup_battle_test_members
    $game_troop.setup($data_system.test_troop_id)
    $game_troop.can_escape = true
    $game_system.battle_bgm.play
    snapshot_for_background
    $scene = Scene_Battle.new
  end
end
wenn ich dieses Script einfüge, und dann ein test play mache dann kommt nur schwarz und es bleibt auch schwarz....

Re: Hilfe zu Skripten.

Offline FlipelyFlip

  • Will sein Alter nicht verraten xD
  • Administrator
  • VX-Großmeister
  • ****
  • Beiträge: 884
  • Heyho (=
    • Flips Musik Kariere auf Facebook xD
Re: Hilfe zu Skripten.
« Antwort #676 am: Juni 12, 2012, 19:34:36 »
ist deine Startmap zufällig schwarz und der Held unsichtbar/am anfang keiner drin in der Gruppe?

Re: Hilfe zu Skripten.

Offline Joul

  • Ralph
  • *
  • Beiträge: 6
Re: Hilfe zu Skripten.
« Antwort #677 am: Juni 12, 2012, 20:32:44 »
nö. der held ist sichtbar und die map is grün

Re: Hilfe zu Skripten.

Offline FlipelyFlip

  • Will sein Alter nicht verraten xD
  • Administrator
  • VX-Großmeister
  • ****
  • Beiträge: 884
  • Heyho (=
    • Flips Musik Kariere auf Facebook xD
Re: Hilfe zu Skripten.
« Antwort #678 am: Juni 12, 2012, 20:33:59 »
arbeitest du am VX oder am VX Ace?

Re: Hilfe zu Skripten.

Offline Joul

  • Ralph
  • *
  • Beiträge: 6
Re: Hilfe zu Skripten.
« Antwort #679 am: Juni 12, 2012, 20:35:08 »
nur VX

Re: Hilfe zu Skripten.

Offline Toria

  • Event-Jongleur
  • **
  • Beiträge: 66
Re: Hilfe zu Skripten.
« Antwort #680 am: Juli 27, 2012, 09:20:16 »
Hallöle,

ich bräuchte mal eure Hilfe mit Woratana's multiple fog Skript.

Im Eigentlichen ist es ja ganz einfach zu bedienen, aber ich bekomme es nicht hin, dass sich der Fog der Bewegungsrichtung des Spielers anpasst.

Wenn der Fog still steht und der Spieler sich bewegt, kann man an einigen Stellen unansehnliche Kanten und Übergänge erkennen. Bei kleinen maps ist das ja noch zu kompensieren, aber wenn die map größer wird..........

Vielleicht habt ihr ja eine Idee dazu.


Re: Hilfe zu Skripten.

Offline FlipelyFlip

  • Will sein Alter nicht verraten xD
  • Administrator
  • VX-Großmeister
  • ****
  • Beiträge: 884
  • Heyho (=
    • Flips Musik Kariere auf Facebook xD
Re: Hilfe zu Skripten.
« Antwort #681 am: Juli 27, 2012, 10:39:54 »
einfach das ganze per show-picture befehl anzeigen lassen und die sache hat sich oO
bisschen Transparenz einstellen usw. und man hat nahezu den selben effekt wie im script

Re: Hilfe zu Skripten.

Offline Toria

  • Event-Jongleur
  • **
  • Beiträge: 66
Re: Hilfe zu Skripten.
« Antwort #682 am: Juli 27, 2012, 20:11:00 »

So werd ich es machen. Warum kompliziert, wenn es auch einfach geht. ;)

Besten Dank FlipelyFlip

Re: Hilfe zu Skripten.

Offline Galadriela

  • Event-Jongleur
  • **
  • Beiträge: 57
    • Meine Bücher
Re: Hilfe zu Skripten.
« Antwort #683 am: Dezember 08, 2012, 12:31:12 »
zur zeit arbeite ich mit dem vx ace und dabei habe ich festgestellt das einige scripte nicht mehr so funktionieren wie beim vx, z.b. gibt es bei einem alias einen fehler aus, oder bei dem rufsystem von Eugene, Hanmac (war bei der demo von klex Feel!Fine dabei) erkennt er das WLH nicht und ich weiß nicht wie ich es ersetzen kann. leider bin ich beim scripten eine echte null  :what:
kann bitte einer helfen?  :haha_zwinker: zur besseren übersicht setzt ich den script mal hier rein.
Spoiler for Hiden:
#======================================================================
#Status Plus V 1.0 by Eugene
#Danke an Hanmac für seine Hilfe
#Credits an : Eugene, Hanmac
#======================================================================

class Window_Status < Window_Base
 
  #1-10 sind die IDs der Variablem im Game
   
    Var = [89,90,91,92,93,94,95,96,97,98]
 
 def refresh
    self.contents.clear
    draw_actor_name(@actor, 4, 0)
    draw_actor_class(@actor, 100, 0)
    draw_actor_face(@actor, 0, 32)
    draw_basic_info(128, 32)
    draw_parameters(32, 160)
    draw_exp_info(288, 32)
    draw_equipments(288, 160)
end   
   
   
def draw_basic_info(x, y)
     
      self.contents.font.color = system_color
       self.contents.draw_text(240,10, 120, WLH, 'Fraktion')
       self.contents.draw_text(362,10, 90, WLH, 'Gesinnung')
       self.contents.draw_text(470,10, 40, WLH, 'Ruf')
       self.contents.font.color = normal_color
       self.contents.draw_text(230,40+5  , 120, WLH, 'Mogries        :')
       self.contents.draw_text(230,65+10 , 120, WLH, 'Vergessenen    :')
       self.contents.draw_text(230,90+15 , 120, WLH, 'Bruderschaft    :')
       self.contents.draw_text(230,115+20, 120, WLH, 'Syndikats        :')
       self.contents.draw_text(230,140+25, 120, WLH, 'Frostwölfe       :')
       self.contents.draw_text(230,165+30, 120, WLH, 'Zeitwächter     :')
       self.contents.draw_text(230,190+35, 120, WLH, 'Magister       :')
       self.contents.draw_text(230,215+40, 120, WLH, 'Ralphpiraten    :')
       self.contents.draw_text(230,240+45, 120, WLH, 'Underworld      :')
       self.contents.draw_text(230,265+50, 120, WLH, 'Todeskrallen    :')
         
  temp = $game_variables[Var[0]]
    if temp >= 300
      self.contents.font.color =  text_color(11)
      self.contents.draw_text(362,40+5  , 90, WLH, 'Ehfürchtig')
       self.contents.draw_text(462,40+5  , 40, WLH, $game_variables[Var[0]])
      elsif temp >= 200
      self.contents.font.color =  text_color(03)
      self.contents.draw_text(362,40+5  , 90, WLH, 'Wohlwollend')
       self.contents.draw_text(462,40+5  , 40, WLH, $game_variables[Var[0]])
      elsif temp >= 100
      self.contents.font.color =  text_color(24)
      self.contents.draw_text(362,40+5  , 90, WLH, 'Freundlich')
       self.contents.draw_text(462,40+5  , 40, WLH, $game_variables[Var[0]])
      elsif temp > -100
      self.contents.font.color =  text_color(17)
      self.contents.draw_text(362,40+5 ,90, WLH, 'Neutral')
       self.contents.draw_text(462,40+5  , 40, WLH, $game_variables[Var[0]])
      elsif temp <= -100
      self.contents.font.color =  text_color(18)
      self.contents.draw_text(362,40+5  , 90, WLH, 'Feindlich')
       self.contents.draw_text(462,40+5  , 40, WLH, $game_variables[Var[0]])
    end
   
   
   
   temp1 = $game_variables[Var[1]]
    if temp1 >= 300
      self.contents.font.color =  text_color(11)
      self.contents.draw_text(362,65+10  , 90, WLH, 'Ehfürchtig')
        self.contents.draw_text(462,65+10  , 40, WLH, $game_variables[Var[1]])
      elsif temp1 >= 200
      self.contents.font.color =  text_color(03)
      self.contents.draw_text(362,65+10  , 90, WLH, 'Wohlwollend')
        self.contents.draw_text(462,65+10  , 40, WLH, $game_variables[Var[1]])
      elsif temp1 >= 100
      self.contents.font.color =  text_color(24)
      self.contents.draw_text(362,65+10  , 90, WLH, 'Freundlich')
        self.contents.draw_text(462,65+10  , 40, WLH, $game_variables[Var[1]])
      elsif temp1 > -100
      self.contents.font.color =  text_color(17)
      self.contents.draw_text(362,65+10 ,90, WLH, 'Neutral')
        self.contents.draw_text(462,65+10  , 40, WLH, $game_variables[Var[1]])
      elsif temp1 <= -100
      self.contents.font.color =  text_color(18)
      self.contents.draw_text(362,65+10  , 90, WLH, 'Feindlich')
        self.contents.draw_text(462,65+10  , 40, WLH, $game_variables[Var[1]])
    end
   
   
    temp2 = $game_variables[Var[2]]
    if temp2 >= 300
      self.contents.font.color =  text_color(11)
      self.contents.draw_text(362,90+15  , 90, WLH, 'Ehfürchtig')
        self.contents.draw_text(462,90+15  , 40, WLH, $game_variables[Var[2]])
      elsif temp2 >= 200
      self.contents.font.color =  text_color(03)
      self.contents.draw_text(362,90+15 , 90, WLH, 'Wohlwollend')
        self.contents.draw_text(462,90+15  , 40, WLH, $game_variables[Var[2]])
      elsif temp2 >= 100
      self.contents.font.color =  text_color(24)
      self.contents.draw_text(362,90+15  , 90, WLH, 'Freundlich')
        self.contents.draw_text(462,90+15  , 40, WLH, $game_variables[Var[2]])
      elsif temp2 > -100
      self.contents.font.color =  text_color(17)
      self.contents.draw_text(362,90+15 ,90, WLH, 'Neutral')
        self.contents.draw_text(462,90+15  , 40, WLH, $game_variables[Var[2]])
      elsif temp2 <= -100
      self.contents.font.color =  text_color(18)
      self.contents.draw_text(362,90+15  , 90, WLH, 'Feindlich')
        self.contents.draw_text(462,90+15  , 40, WLH, $game_variables[Var[2]])
    end
   
    temp3 = $game_variables[Var[3]]
    if temp3 >= 300
      self.contents.font.color =  text_color(11)
      self.contents.draw_text(362,115+20  , 90, WLH, 'Ehfürchtig')
        self.contents.draw_text(462,115+20  , 40, WLH, $game_variables[Var[3]])
      elsif temp3 >= 200
      self.contents.font.color =  text_color(03)
      self.contents.draw_text(362,115+20 , 90, WLH, 'Wohlwollend')
        self.contents.draw_text(462,115+20  , 40, WLH, $game_variables[Var[3]])
      elsif temp3 >= 100
      self.contents.font.color =  text_color(24)
      self.contents.draw_text(362,115+20  , 90, WLH, 'Freundlich')
        self.contents.draw_text(462,115+20  , 40, WLH, $game_variables[Var[3]])
      elsif temp3 > -100
      self.contents.font.color =  text_color(17)
      self.contents.draw_text(362,115+20 ,90, WLH, 'Neutral')
        self.contents.draw_text(462,115+20  , 40, WLH, $game_variables[Var[3]])
      elsif temp3 <= -100
      self.contents.font.color =  text_color(18)
      self.contents.draw_text(362,115+20  , 90, WLH, 'Feindlich')
        self.contents.draw_text(462,115+20  , 40, WLH, $game_variables[Var[3]])
    end
   
    temp4 = $game_variables[Var[4]]
    if temp4 >= 300
      self.contents.font.color =  text_color(11)
      self.contents.draw_text(362,140+25  , 90, WLH, 'Ehfürchtig')
        self.contents.draw_text(462,140+25  , 40, WLH, $game_variables[Var[4]])
      elsif temp4 >= 200
      self.contents.font.color =  text_color(03)
      self.contents.draw_text(362,140+25  , 90, WLH, 'Wohlwollend')
        self.contents.draw_text(462,140+25  , 40, WLH, $game_variables[Var[4]])
      elsif temp4 >= 100
      self.contents.font.color =  text_color(24)
      self.contents.draw_text(362,140+25  , 90, WLH, 'Freundlich')
        self.contents.draw_text(462,140+25  , 40, WLH, $game_variables[Var[4]])
      elsif temp4 > -100
      self.contents.font.color =  text_color(17)
      self.contents.draw_text(362,140+25 ,90, WLH, 'Neutral')
        self.contents.draw_text(462,140+25  , 40, WLH, $game_variables[Var[4]])
      elsif temp4<= -100
      self.contents.font.color =  text_color(18)
      self.contents.draw_text(362,140+25  , 90, WLH, 'Feindlich')
        self.contents.draw_text(462,140+25  , 40, WLH, $game_variables[Var[4]])
    end
   
    temp5 = $game_variables[Var[5]]
    if temp5 >= 300
      self.contents.font.color =  text_color(11)
      self.contents.draw_text(362,165+30  , 90, WLH, 'Ehfürchtig')
        self.contents.draw_text(462,165+30  , 40, WLH, $game_variables[Var[5]]) 
      elsif temp5 >= 200
      self.contents.font.color =  text_color(03)
      self.contents.draw_text(362,165+30 , 90, WLH, 'Wohlwollend')
        self.contents.draw_text(462,165+30  , 40, WLH, $game_variables[Var[5]])
      elsif temp5 >= 100
      self.contents.font.color =  text_color(24)
      self.contents.draw_text(362,165+30  , 90, WLH, 'Freundlich')
        self.contents.draw_text(462,165+30  , 40, WLH, $game_variables[Var[5]])
      elsif temp5 > -100
      self.contents.font.color =  text_color(17)
      self.contents.draw_text(362,165+30 ,90, WLH, 'Neutral')
        self.contents.draw_text(462,165+30  , 40, WLH, $game_variables[Var[5]])
      elsif temp5 <= -100
      self.contents.font.color =  text_color(18)
      self.contents.draw_text(362,165+30  , 90, WLH, 'Feindlich')
        self.contents.draw_text(462,165+30  , 40, WLH, $game_variables[Var[5]])
    end
   
    temp6 = $game_variables[Var[6]]
    if temp6 >= 300
      self.contents.font.color =  text_color(11)
      self.contents.draw_text(362,190+35  , 90, WLH, 'Ehfürchtig')
        self.contents.draw_text(462,190+35  , 40, WLH, $game_variables[Var[6]])
      elsif temp6 >= 200
      self.contents.font.color =  text_color(03)
      self.contents.draw_text(362,190+35 , 90, WLH, 'Wohlwollend')
        self.contents.draw_text(462,190+35  , 40, WLH, $game_variables[Var[6]])
      elsif temp6 >= 100
      self.contents.font.color =  text_color(24)
      self.contents.draw_text(362,190+35  , 90, WLH, 'Freundlich')
        self.contents.draw_text(462,190+35  , 40, WLH, $game_variables[Var[6]])
      elsif temp6 > -100
      self.contents.font.color =  text_color(17)
      self.contents.draw_text(362,190+35 ,90, WLH, 'Neutral')
        self.contents.draw_text(462,190+35  , 40, WLH, $game_variables[Var[6]])
      elsif temp6 <= -100
      self.contents.font.color =  text_color(18)
      self.contents.draw_text(362,190+35  , 90, WLH, 'Feindlich')
        self.contents.draw_text(462,190+35  , 40, WLH, $game_variables[Var[6]])
    end
   
    temp7 = $game_variables[Var[7]]
    if temp7 >= 300
      self.contents.font.color =  text_color(11)
      self.contents.draw_text(362,215+40  , 90, WLH, 'Ehfürchtig')
        self.contents.draw_text(462,215+40  , 40, WLH, $game_variables[Var[7]])
      elsif temp7 >= 200
      self.contents.font.color =  text_color(03)
      self.contents.draw_text(362,215+40  , 90, WLH, 'Wohlwollend')
        self.contents.draw_text(462,215+40  , 40, WLH, $game_variables[Var[7]])
      elsif temp7 >= 100
      self.contents.font.color =  text_color(24)
      self.contents.draw_text(362,215+40  , 90, WLH, 'Freundlich')
        self.contents.draw_text(462,215+40  , 40, WLH, $game_variables[Var[7]])
      elsif temp7 > -100
      self.contents.font.color =  text_color(17)
      self.contents.draw_text(362,215+40 ,90, WLH, 'Neutral')
        self.contents.draw_text(462,215+40  , 40, WLH, $game_variables[Var[7]])
      elsif temp7 <= -100
      self.contents.font.color =  text_color(18)
      self.contents.draw_text(362,215+40  , 90, WLH, 'Feindlich')
        self.contents.draw_text(462,215+40  , 40, WLH, $game_variables[Var[7]])
    end
   
    temp8 = $game_variables[Var[8]]
    if temp8 >= 300
      self.contents.font.color =  text_color(11)
      self.contents.draw_text(362,240+45   , 90, WLH, 'Ehfürchtig')
        self.contents.draw_text(462,240+45  , 40, WLH, $game_variables[Var[8]])
      elsif temp8 >= 200
      self.contents.font.color =  text_color(03)
      self.contents.draw_text(362,240+45   , 90, WLH, 'Wohlwollend')
        self.contents.draw_text(462,240+45  , 40, WLH, $game_variables[Var[8]])
      elsif temp8 >= 100
      self.contents.font.color =  text_color(24)
      self.contents.draw_text(362,240+45   , 90, WLH, 'Freundlich')
        self.contents.draw_text(462,240+45  , 40, WLH, $game_variables[Var[8]])
      elsif temp8 > -100
      self.contents.font.color =  text_color(17)
      self.contents.draw_text(362,240+45  ,90, WLH, 'Neutral')
        self.contents.draw_text(462,240+45  , 40, WLH, $game_variables[Var[8]])
      elsif temp8 <= -100
      self.contents.font.color =  text_color(18)
      self.contents.draw_text(362,240+45   , 90, WLH, 'Feindlich')
        self.contents.draw_text(462,240+45  , 40, WLH, $game_variables[Var[8]])
    end
   
    temp9 = $game_variables[Var[9]]
    if temp9 >= 300
      self.contents.font.color =  text_color(11)
      self.contents.draw_text(362,265+50  , 90, WLH, 'Ehfürchtig')
        self.contents.draw_text(462,265+50   , 40, WLH, $game_variables[Var[9]])
      elsif temp9 >= 200
      self.contents.font.color =  text_color(03)
      self.contents.draw_text(362,265+50  , 90, WLH, 'Wohlwollend')
        self.contents.draw_text(462,265+50   , 40, WLH, $game_variables[Var[9]])
      elsif temp9 >= 100
      self.contents.font.color =  text_color(24)
      self.contents.draw_text(362,265+50 , 90, WLH, 'Freundlich')
        self.contents.draw_text(462,265+50   , 40, WLH, $game_variables[Var[9]])
      elsif temp9 > -100
      self.contents.font.color =  text_color(17)
      self.contents.draw_text(362,265+50 ,90, WLH, 'Neutral')
        self.contents.draw_text(462,265+50   , 40, WLH, $game_variables[Var[9]])
      elsif temp9 <= -100
      self.contents.font.color =  text_color(18)
      self.contents.draw_text(362,265+50  , 90, WLH, 'Feindlich')
        self.contents.draw_text(462,265+50   , 40, WLH, $game_variables[Var[9]])
    end
   
   
   
   
   
 

  draw_actor_level(@actor, x - 28, y + WLH * 0)
  draw_actor_state(@actor, x- 28, y + WLH * 1)
  draw_actor_hp(@actor, x- 28, y + WLH * 2)
  draw_actor_mp(@actor, x- 28, y + WLH * 3)
     
end
   
  def draw_exp_info(x, y)
    s1 = @actor.exp_s
    s2 = @actor.next_rest_exp_s
    s_next = sprintf(Vocab::ExpNext, Vocab::level)
    self.contents.font.color = system_color
    self.contents.draw_text(40, 280, 120, WLH , Vocab::ExpTotal)
    self.contents.draw_text(40, 330 ,120, WLH, s_next)
    self.contents.font.color = normal_color
    self.contents.draw_text(30, 305 , 120, WLH, s1, 2)
    self.contents.draw_text(30, 355 , 120, WLH, s2, 2)
  end
   

  def draw_equipments(x, y)
  end
end   

Re: Hilfe zu Skripten.

Offline FlipelyFlip

  • Will sein Alter nicht verraten xD
  • Administrator
  • VX-Großmeister
  • ****
  • Beiträge: 884
  • Heyho (=
    • Flips Musik Kariere auf Facebook xD
Re: Hilfe zu Skripten.
« Antwort #684 am: Dezember 08, 2012, 14:24:58 »
öhm du weißt schon, dass im Ace die VX Scripte so gut wie gar nicht funktioniern?
zweiteres, hast du die erlaubnis von Klex, dass script zu nutzen, bzw. ist es frei zur nutzung herausgegeben worden?^^"

bezüglich des WLH fehlers füg einfach folgendes in ein extrascript rein:

class Window_Base < Window
WLH = 24
end

dürfte zumindest den Fehler beheben.

lg flipy

Re: Hilfe zu Skripten.

Offline Galadriela

  • Event-Jongleur
  • **
  • Beiträge: 57
    • Meine Bücher
Re: Hilfe zu Skripten.
« Antwort #685 am: Dezember 08, 2012, 14:46:25 »
danke für deine hilfe und was deine frage angeht, ich habe ihn nicht gefragt aber da oben steht

#Status Plus V 1.0 by Eugene
#Danke an Hanmac für seine Hilfe
#Credits an : Eugene, Hanmac

und ich dachte das dann credits ausreichen, sollte ich es überhaupt fertig kriegen.  :what:
.................................................................................
das mit dem whl geht jetzt, dafür hängt es sich bei zeile 277   draw_actor_state(@actor, x- 28, y + WLH * 1) auf.
ich werd es lassen, obwohl es im menü toll aussieht.   :nothing_to_say:
« Letzte Änderung: Dezember 08, 2012, 14:58:36 von Galadriela »

Re: Hilfe zu Skripten.

Offline FlipelyFlip

  • Will sein Alter nicht verraten xD
  • Administrator
  • VX-Großmeister
  • ****
  • Beiträge: 884
  • Heyho (=
    • Flips Musik Kariere auf Facebook xD
Re: Hilfe zu Skripten.
« Antwort #686 am: Dezember 08, 2012, 15:23:16 »
aso okay, dachte wäre so ein custom script für klex gewesen, wie er manchmal hat.

liegt eben daran, dass das Script ein VX Script ist. Beim Ace wurde vieles neu definiert und umstrukturiert. Ums zum Laufen zu bringen, müsste man im Window_Base die fehlenden Methoden ergänzen.

lg flipy

Re: Hilfe zu Skripten.

Offline Galadriela

  • Event-Jongleur
  • **
  • Beiträge: 57
    • Meine Bücher
Re: Hilfe zu Skripten.
« Antwort #687 am: Dezember 08, 2012, 16:07:26 »
ich habs jetzt einfach rausgenommen und noch ein wenig angepasst, ich hoffe das es trotzdem läuft, auf jeden fall sieht es schon mal gut aus.
Spoiler for Hiden:
#======================================================================
#Status Plus V 1.0 by Eugene
#Danke an Hanmac für seine Hilfe
#Credits an : Eugene, Hanmac
#======================================================================

class Window_Status
 
  #1-10 sind die IDs der Variablem im Game
    Var = [1,2,3,4,5,6]
    Var = [89,90,91,92,93,94,95,96,97,98]
 
 def refresh
    self.contents.clear
    draw_actor_name(@actor, 4, 0)
    draw_actor_class(@actor, 100, 0)
    draw_actor_face(@actor, 0, 32)
    draw_basic_info(128, 32)
    draw_parameters(32, 160)
    draw_exp_info(288, 32)
    draw_equipments(288, 160)
end   
   
   
def draw_basic_info(x, y)
     
      self.contents.font.color = text_color(3)
       self.contents.draw_text(230,165, 120, WLH, 'Fraktion')
       self.contents.draw_text(362,165, 90, WLH, 'Gesinnung')
       self.contents.draw_text(470,165, 40, WLH, 'Ruf')
       self.contents.font.color = normal_color
       self.contents.draw_text(230,190+25, 120, WLH, 'Helle Obere ')
       self.contents.draw_text(230,215+30, 120, WLH, 'Dunkle Obere')
       self.contents.draw_text(230,240+35, 120, WLH, 'Ockas       ')
       self.contents.draw_text(230,265+40, 120, WLH, 'Tarilianer  ')
       self.contents.draw_text(230,290+45, 120, WLH, 'Mahnè       ')
       self.contents.draw_text(230,315+50, 120, WLH, 'Masaru      ')
         
  temp = $game_variables[Var[0]]
    if temp >= 300
      self.contents.font.color =  text_color(11)
      self.contents.draw_text(362,190+25  , 90, WLH, 'Ehfürchtig')
       self.contents.draw_text(462,190+25  , 40, WLH, $game_variables[Var[0]])
      elsif temp >= 200
      self.contents.font.color =  text_color(03)
      self.contents.draw_text(362,190+25  , 90, WLH, 'Wohlwollend')
       self.contents.draw_text(462,190+25  , 40, WLH, $game_variables[Var[0]])
      elsif temp >= 100
      self.contents.font.color =  text_color(24)
      self.contents.draw_text(362,190+25  , 90, WLH, 'Freundlich')
       self.contents.draw_text(462,190+25  , 40, WLH, $game_variables[Var[0]])
      elsif temp > -100
      self.contents.font.color =  text_color(17)
      self.contents.draw_text(362,190+25 ,90, WLH, 'Neutral')
       self.contents.draw_text(462,190+25  , 40, WLH, $game_variables[Var[0]])
      elsif temp <= -100
      self.contents.font.color =  text_color(18)
      self.contents.draw_text(362,190+25  , 90, WLH, 'Feindlich')
       self.contents.draw_text(462,190+25  , 40, WLH, $game_variables[Var[0]])
    end
   
   
   
   temp1 = $game_variables[Var[1]]
    if temp1 >= 300
      self.contents.font.color =  text_color(11)
      self.contents.draw_text(362,215+30  , 90, WLH, 'Ehfürchtig')
        self.contents.draw_text(462,215+30  , 40, WLH, $game_variables[Var[1]])
      elsif temp1 >= 200
      self.contents.font.color =  text_color(03)
      self.contents.draw_text(362,215+30  , 90, WLH, 'Wohlwollend')
        self.contents.draw_text(462,215+30  , 40, WLH, $game_variables[Var[1]])
      elsif temp1 >= 100
      self.contents.font.color =  text_color(24)
      self.contents.draw_text(362,215+30  , 90, WLH, 'Freundlich')
        self.contents.draw_text(462,215+30  , 40, WLH, $game_variables[Var[1]])
      elsif temp1 > -100
      self.contents.font.color =  text_color(17)
      self.contents.draw_text(362,215+30 ,90, WLH, 'Neutral')
        self.contents.draw_text(462,215+30  , 40, WLH, $game_variables[Var[1]])
      elsif temp1 <= -100
      self.contents.font.color =  text_color(18)
      self.contents.draw_text(362,215+30  , 90, WLH, 'Feindlich')
        self.contents.draw_text(462,215+30  , 40, WLH, $game_variables[Var[1]])
    end
   
   
    temp2 = $game_variables[Var[2]]
    if temp2 >= 300
      self.contents.font.color =  text_color(11)
      self.contents.draw_text(362,240+35  , 90, WLH, 'Ehfürchtig')
        self.contents.draw_text(462,240+35  , 40, WLH, $game_variables[Var[2]])
      elsif temp2 >= 200
      self.contents.font.color =  text_color(03)
      self.contents.draw_text(362,240+35 , 90, WLH, 'Wohlwollend')
        self.contents.draw_text(462,240+35  , 40, WLH, $game_variables[Var[2]])
      elsif temp2 >= 100
      self.contents.font.color =  text_color(24)
      self.contents.draw_text(362,240+35  , 90, WLH, 'Freundlich')
        self.contents.draw_text(462,240+35  , 40, WLH, $game_variables[Var[2]])
      elsif temp2 > -100
      self.contents.font.color =  text_color(17)
      self.contents.draw_text(362,240+35 ,90, WLH, 'Neutral')
        self.contents.draw_text(462,240+35  , 40, WLH, $game_variables[Var[2]])
      elsif temp2 <= -100
      self.contents.font.color =  text_color(18)
      self.contents.draw_text(362,240+35  , 90, WLH, 'Feindlich')
        self.contents.draw_text(462,240+35  , 40, WLH, $game_variables[Var[2]])
    end
   
    temp3 = $game_variables[Var[3]]
    if temp3 >= 300
      self.contents.font.color =  text_color(11)
      self.contents.draw_text(362,265+40  , 90, WLH, 'Ehfürchtig')
        self.contents.draw_text(462,265+40  , 40, WLH, $game_variables[Var[3]])
      elsif temp3 >= 200
      self.contents.font.color =  text_color(03)
      self.contents.draw_text(362,265+40 , 90, WLH, 'Wohlwollend')
        self.contents.draw_text(462,265+40  , 40, WLH, $game_variables[Var[3]])
      elsif temp3 >= 100
      self.contents.font.color =  text_color(24)
      self.contents.draw_text(362,265+40  , 90, WLH, 'Freundlich')
        self.contents.draw_text(462,265+40  , 40, WLH, $game_variables[Var[3]])
      elsif temp3 > -100
      self.contents.font.color =  text_color(17)
      self.contents.draw_text(362,265+40 ,90, WLH, 'Neutral')
        self.contents.draw_text(462,265+40  , 40, WLH, $game_variables[Var[3]])
      elsif temp3 <= -100
      self.contents.font.color =  text_color(18)
      self.contents.draw_text(362,265+40  , 90, WLH, 'Feindlich')
        self.contents.draw_text(462,265+40  , 40, WLH, $game_variables[Var[3]])
    end
   
    temp4 = $game_variables[Var[4]]
    if temp4 >= 300
      self.contents.font.color =  text_color(11)
      self.contents.draw_text(362,290+45  , 90, WLH, 'Ehfürchtig')
        self.contents.draw_text(462,290+45  , 40, WLH, $game_variables[Var[4]])
      elsif temp4 >= 200
      self.contents.font.color =  text_color(03)
      self.contents.draw_text(362,290+45  , 90, WLH, 'Wohlwollend')
        self.contents.draw_text(462,290+45  , 40, WLH, $game_variables[Var[4]])
      elsif temp4 >= 100
      self.contents.font.color =  text_color(24)
      self.contents.draw_text(362,290+45  , 90, WLH, 'Freundlich')
        self.contents.draw_text(462,290+45  , 40, WLH, $game_variables[Var[4]])
      elsif temp4 > -100
      self.contents.font.color =  text_color(17)
      self.contents.draw_text(362,290+45 ,90, WLH, 'Neutral')
        self.contents.draw_text(462,290+45  , 40, WLH, $game_variables[Var[4]])
      elsif temp4<= -100
      self.contents.font.color =  text_color(18)
      self.contents.draw_text(362,290+45  , 90, WLH, 'Feindlich')
        self.contents.draw_text(462,290+45  , 40, WLH, $game_variables[Var[4]])
    end
   
    temp5 = $game_variables[Var[5]]
    if temp5 >= 300
      self.contents.font.color =  text_color(11)
      self.contents.draw_text(362,315+50  , 90, WLH, 'Ehfürchtig')
        self.contents.draw_text(462,315+50  , 40, WLH, $game_variables[Var[5]]) 
      elsif temp5 >= 200
      self.contents.font.color =  text_color(03)
      self.contents.draw_text(362,315+50 , 90, WLH, 'Wohlwollend')
        self.contents.draw_text(462,315+50  , 40, WLH, $game_variables[Var[5]])
      elsif temp5 >= 100
      self.contents.font.color =  text_color(24)
      self.contents.draw_text(362,315+50  , 90, WLH, 'Freundlich')
        self.contents.draw_text(462,315+50  , 40, WLH, $game_variables[Var[5]])
      elsif temp5 > -100
      self.contents.font.color =  text_color(17)
      self.contents.draw_text(362,315+50 ,90, WLH, 'Neutral')
        self.contents.draw_text(462,315+50  , 40, WLH, $game_variables[Var[5]])
      elsif temp5 <= -100
      self.contents.font.color =  text_color(18)
      self.contents.draw_text(362,315+50  , 90, WLH, 'Feindlich')
        self.contents.draw_text(462,315+50  , 40, WLH, $game_variables[Var[5]])
    end
   
   
     
    def draw_equipments(x, y)
  end
end   
end

hmpf, ich habe alles hingekriegt, aber es funktioniert nicht, alle variablen hab ich richtig eingestellt, aber irgendwas muß ich vergessen haben.  :cry:   HILFE
« Letzte Änderung: Dezember 08, 2012, 19:42:00 von Galadriela »

Re: Hilfe zu Skripten.

Offline Sapo

  • Zero Post Lurker
  • Beiträge: 0
Re: Hilfe zu Skripten.
« Antwort #688 am: Januar 16, 2013, 20:26:53 »
Hallo ihr lieben,

ich hab folgendes Problem mit dem "Xtended Equipment" Skript.

Bei einem neuen Testpiel funktionierts, aber wenn ich den Spielstand lade und
dann ein Item ausrüsten will kommt diese Fehlermeldung:

Skript´Xtended Equipment Line 75: NoMethodError occurred.
undefined method '[]´for nil:Nil Class

Ich hab nicht viel Ahnung vom skripten,
könnt ihr mir bitte helfen.
Was muss ich ändern damit es auch nach dem speichern funktioniert?

Re: Hilfe zu Skripten.

Offline FlipelyFlip

  • Will sein Alter nicht verraten xD
  • Administrator
  • VX-Großmeister
  • ****
  • Beiträge: 884
  • Heyho (=
    • Flips Musik Kariere auf Facebook xD
Re: Hilfe zu Skripten.
« Antwort #689 am: Januar 16, 2013, 20:29:03 »
gespeicherte Spielstände können nicht mehr geladen werden, wenn ein neues Script eingefügt wird.

lg flipy

 


 Bild des Monats

rooftop party

Views: 3581
By: papilion

 Umfrage

  • Wer soll das BdM gewinnen?
  • Dot Kandidat 1
  • 3 (25%)
  • Dot Kandidat 2
  • 1 (8%)
  • Dot Kandidat 3
  • 2 (16%)
  • Dot Kandidat 4
  • 0 (0%)
  • Dot Kandidat 5
  • 6 (50%)
  • Stimmen insgesamt: 12
  • View Topic

 Schnellsuche





SimplePortal 2.3.3 © 2008-2010, SimplePortal