Jump to content
Rpg²S Forum

lotgd

Utenti
  • Posts

    204
  • Joined

  • Last visited

Posts posted by lotgd

  1. Si lotgd, qui puoi parlare di tutto.

    Steve stava (XD) solo dicendo la sua ;)

    Cosa starà dicendo alla folla?

    Secondo me sta dicendo: "Usate il 2k che è migliore!" XD

     

    Gesù è arretrato Timisci! deve cambiarsi la dll come minimo XD

     

     

    Tranquillo, non hai sbagliato sezione ;)

     

    Steve non capisco la tua uscita, come fai a dire che si saprà già il vincitore? Oo

     

     

    Grazie ragnarokM, visto che sono nuovo, pensavo di star facendo solo danni...

  2. se aumentate il numero li mette... NUMERO_PG = 20

     

    li fa scegliere se si va avanti ma non li visualizza xkè escono fuori schermo, o si deve cambiare il tipo di visualizzazione... cioè con le freccette vai avanti, oppure almento per 18 pg basta metterli a capo il restante... mo bisogna capire come....

  3. per richiamare lo script penso sia $scene = Cambia_Party.new

     

    poi ho aperto Scene_Menu e alla riga 26 ho aggiunto s7 = "Cambia Party"

     

    poi alla riga successiva @command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s6])

     

    ho aggiunto l's7 così @command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s6, s7])

     

    e verso la riga 167 ho aggiunto

    when 6 # party

    $game_system.se_play($data_system.decision_se)

    $scene = Cambia_Party.new

     

    così verrà messo sotto Esci, ma si può spostare ed avete capito come...

     

    bisogno cambiare la grandezza del font sennò straborda sul menù standard,

     

    io ho fatto così, poi se esistono metodi più semplici fatemi sapere....

     

     

    e se lo si vuole far funzionare solo per certi eventi, basta andare nell' evento -> script : ed aggiungere $scene = Cambia_Party.new

     

    (penso sia così, sono un novellino!)

     

     

     

     

    MESSAGGIO PER GTOnizuka : se metto oltre i 9 personaggi, funziona, solo che escono fuori dallo schermo gli altri pg, non puoi fare in modo che gli altri pg vadano a capo, visto che c'è spazio ? nel mio gioco devo fare la selezione di 15 PG e mi servirebbe!

  4. sarebbe simpatico fare l'utente dell'anno, ad esempio Timisci lo vorrei votare :biggrin: c'è gente che aiuta sul serio nel suo possibile, è la cosa + difficile è quella di non far stufare un nuovo utente! aiutandolo senza dire sempre le solite... c'è il tutorial ^_^

     

    Fortuna che esiste l' OFF TOPIC così sparo anch'io 2 azzate :blink:

  5. PSYKO certo che lo puoi usare ^_^ 1° non sono io l'autore, 2° Qui si postano script da mettere a disposizione degli utenti del sito.

     

    (ho perso 2 giorni x trovare sto script che mi serviva tanto)

     

    Sylaer GRAZIE ancora, se eri donna ti violentavo :D (x l'aiuto)

     

     

     

    (scusate il doppio post, ma non trovo il tasto per eliminare il mex, volevo far 1 mex solo)

  6. [ O T ] ecco... la prossima volta mi faccio i fatti miei... ma se ci sono script senza uno screenshot, e messi alla azz di cane... addirittura erano linkati dalla lista script, senza offesa ma sapendo che son qui da 4 giorni... [ / O T ]

     

    ho levato lo spoiler e messo il codebox e mica è cambiato qualcosa...

    scusate se ogni tanto voglio aiutare anch'io.

  7. Succede anche a me, ma non l'ho risolto.

     

    Quando creavo una mappa nuova (anche con i tilesets rtp) e poi l'andavo a provare, camminavo sui

    muri, sulle cose, anche se nel tileset c'era la x.

    E questo poi succede anche se combio il tipo di tilesets. Quella mappa è inutilizzabile.

    Diciamo che ho risolto mettendo sui muri e sulle cose degli eventi con grafica trasparente,

    così non ci puoi passare, ma così il gioco rallenta parecchio, anche con l'anti-lag.

     

     

    con quella sottospecie di mode07 s'era rallentato il gioco in maniera assurda... sembrava che stavo giocando ad unreal tournament al massimo della risoluzione... da quando l'ho tolto funziona a meraviglia il gioco...

     

     

    Anche se sopra i muri cammina sempre.... che az! ma mi succede spesso quando metto i muri nel 1° livello, e in certi casi risolvo così, metto doppio muro, così la muratura tiene ^___^

  8. Un Buon scipt per visualizza l'hp l'mp l'exp ed i soldi sullo schermo. Lo sto usando per il mio progetto.

    Autore : MeisMe
    Grafica : Peaches, oshie666 & Axerax

    Crea una nuova classe sopra main, chiamala come ti pare ed inserisci questo codice :
    <div style="margin:20px;margin-top:5px" "="">

     

    #=============================================================
    #==========
    # ** Game_Actor
    # Script by MeisMe
    # Graphics added by Peaches
    # Icons made by Joshie666 & Axerax
    #------------------------------------------------------------------------------
    # This class handles the actor. It's used within the Game_Actors class
    # ($game_actors) and refers to the Game_Party class ($game_party).
    #==============================================================================
    class Game_Actor
    #--------------------------------------------------------------------------
    # * Get the current EXP
    #--------------------------------------------------------------------------
    def now_exp
    return @exp - @exp_list[@level]
    end
    #--------------------------------------------------------------------------
    # * Get the next level's EXP
    #--------------------------------------------------------------------------
    def next_exp
    return @exp_list[@level+1] > 0 ? @exp_list[@level+1] - @exp_list[@level] : 0
    end
    end
    
    #==============================================================================
    # ** Window_HUD
    #------------------------------------------------------------------------------
    # This class is used to display HP, SP and Gold on the map.
    #==============================================================================
    class Window_HUD < Window_Base
    #--------------------------------------------------------------------------
    # * Object Initialization
    #--------------------------------------------------------------------------
    def initialize
    super(-16, -16, 672, 150)
    self.contents = Bitmap.new(width-32, height-32)
    self.opacity = 0
    self.contents.font.size = 14
    self.contents.font.name = "Arial"
    @actors = []
    @old_hp = []
    @old_sp = []
    @old_exp = []
    @old_level = []
    for i in 0...$game_party.actors.size
    @actors.push($game_party.actors[i])
    @old_hp.push(@actors[i].hp)
    @old_sp.push(@actors[i].sp)
    @old_exp.push(@actors[i].now_exp)
    @old_level.push(@actors[i].level)
    end
    @old_gold = $game_party.gold
    refresh
    end
    #--------------------------------------------------------------------------
    # * Refresh
    #--------------------------------------------------------------------------
    def refresh
    self.contents.clear
    self.contents.font.color = system_color
    #self.contents.draw_text(6, 0, 32, 14, $data_system.words.hp + "")
    #self.contents.draw_text(6, 14, 32, 14, $data_system.words.sp + "")
    self.contents.draw_text(6, 28, 32, 14, "")
    #self.contents.draw_text(6, 42, 32, 14, $data_system.words.gold + "")
    self.contents.font.color = normal_color
    #Images
    
    case @actors.size
    when 1
    bitmap = RPG::Cache.picture("HUD Graphic")
    self.contents.blt(0, 0, bitmap, Rect.new(0, 10, 500, 500))
    when 2
    bitmap = RPG::Cache.picture("HUD Graphic2")
    self.contents.blt(0, 0, bitmap, Rect.new(0, 10, 500, 500))
    when 3
    bitmap = RPG::Cache.picture("HUD Graphic2")
    self.contents.blt(0, 0, bitmap, Rect.new(0, 10, 500, 500))
    when 4
    bitmap = RPG::Cache.picture("HUD Graphic3")
    self.contents.blt(0, 0, bitmap, Rect.new(0, 10, 640, 500))
    when 5
    bitmap = RPG::Cache.picture("HUD Graphic3")
    self.contents.blt(0, 0, bitmap, Rect.new(0, 10, 640, 500))
    end
    
    #bitmap = RPG::Cache.picture("HUD Graphic")
    #self.contents.blt(0, 0, bitmap, Rect.new(0, 10, 500, 500))
    bitmap = RPG::Cache.icon("HP Symbol")
    self.contents.blt(3, 10, bitmap, Rect.new(0, 0, 24, 24))
    bitmap = RPG::Cache.icon("SP Symbol")
    self.contents.blt(3, 30, bitmap, Rect.new(0, 0, 24, 24))
    bitmap = RPG::Cache.icon("EXP Symbol")
    self.contents.blt(3, 50, bitmap, Rect.new(0, 0, 24, 24))
    bitmap = RPG::Cache.icon("Hero")
    self.contents.blt(25, 67, bitmap, Rect.new(0, 0, 24, 24))
    
    if $game_switches[99] == true
    if $game_variables[99] == 0
    self.contents.draw_text(x, y, 210, 14, $game_party.item_number[1])
    elsif $game_variables[8] == 1
    self.contents.draw_text(x, y, 210, 14, $game_party.item_number(2))
    elsif $game_variables[8] ==2
    self.contents.draw_text(x, y, 110, 14, @actors[i].name)
    end
    end
    x = 32
    for i in 0...@actors.size
    y = 6
    self.contents.draw_text(x, y, 110, 14, @actors[i].name)
    self.contents.draw_text(x, y, 110, 14, "Lv: #{@actors[i].level}", 2)
    y += 16
    draw_hp_bar(@actors[i], x, y, 112, 5)
    y += 19
    draw_sp_bar(@actors[i], x, y, 104, 5)
    y += 19
    draw_exp_bar(@actors[i], x, y, 88, 5)
    y += 19
    x += 130
    end
    x = 32
    self.contents.draw_text(45, 73, 110, 14, $game_party.gold.to_s)
    end
    #--------------------------------------------------------------------------
    # * Frame Update
    #--------------------------------------------------------------------------
    def update
    super
    if @actors.size != $game_party.actors.size
    @actors = []
    for i in 0...$game_party.actors.size
    @actors.push($game_party.actors[i])
    end
    refresh
    return
    end
    for i in 0...@actors.size
    if @old_hp[i] != @actors[i].hp or
    @old_sp[i] != @actors[i].sp or
    @old_exp[i] != @actors[i].now_exp or
    @old_level[i] != @actors[i].level or
    @old_gold != $game_party.gold
    refresh
    @old_hp[i] = @actors[i].hp
    @old_sp[i] = @actors[i].sp
    @old_exp[i] = @actors[i].now_exp
    @old_level[i] = @actors[i].level
    @old_gold = $game_party.gold
    end
    end
    end
    #--------------------------------------------------------------------------
    # * Draw HP Bar
    #--------------------------------------------------------------------------
    def draw_hp_bar(actor, x, y, length, thick)
    width = length
    height = thick
    c1 = Color.new(255, 0, 0)
    c2 = Color.new(155, 0, 0)
    e1 = actor.hp
    e2 = actor.maxhp
    self.contents.fill_rect(x-1, y - 1, width+2, height + 3, Color.new(255, 255, 255, 255))
    self.contents.fill_rect(x, y, width, height + 1, Color.new(0, 0, 0, 255))
    w = width * e1 / e2
    for i in 0..height
    r = c1.red + (c2.red - c1.red) * (height -i)/height + 0 * i/height
    g = c1.green + (c2.green - c1.green) * (height -i)/height + 0 * i/height
    b = c1.blue + (c2.blue - c1.blue) * (height -i)/height + 0 * i/height
    a = c1.alpha + (c2.alpha - c1.alpha)* (height -i)/height + 255 * i/height
    self.contents.fill_rect(x, y+i, w, 1, Color.new(r, g, b, a))
    end
    end
    #--------------------------------------------------------------------------
    # * Draw SP Bar
    #--------------------------------------------------------------------------
    def draw_sp_bar(actor, x, y, length, thick)
    width = length
    height = thick
    c1 = Color.new(0, 0, 255)
    c2 = Color.new(0, 0, 155)
    e1 = actor.sp
    e2 = actor.maxsp
    self.contents.fill_rect(x-1, y - 1, width+2, height + 3, Color.new(255, 255, 255))
    self.contents.fill_rect(x, y, width, height + 1, Color.new(0, 0, 0))
    w = width * e1 / e2
    for i in 0..height
    r = c1.red + (c2.red - c1.red) * (height -i)/height + 0 * i/height
    g = c1.green + (c2.green - c1.green) * (height -i)/height + 0 * i/height
    b = c1.blue + (c2.blue - c1.blue) * (height -i)/height + 0 * i/height
    a = c1.alpha + (c2.alpha - c1.alpha)* (height -i)/height + 255 * i/height
    self.contents.fill_rect(x, y+i, w, 1, Color.new(r, g, b, a))
    end
    end
    #--------------------------------------------------------------------------
    # * Draw EXP Bar
    #--------------------------------------------------------------------------
    def draw_exp_bar(actor, x, y, length, thick)
    width = length
    height = thick
    c1 = Color.new(158, 208, 9)
    c2 = Color.new(58, 108, 0)
    e1 = actor.now_exp
    e2 = actor.next_exp
    if actor.next_exp == 0
    e1 = 1
    e2 = 1
    end
    self.contents.fill_rect(x-1, y - 1, width+2, height + 3, Color.new(255, 255, 255, 255))
    self.contents.fill_rect(x, y, width, height + 1, Color.new(0, 0, 0, 255))
    w = width * e1 / e2
    for i in 0..height
    r = c1.red + (c2.red - c1.red) * (height -i)/height + 0 * i/height
    g = c1.green + (c2.green - c1.green) * (height -i)/height + 0 * i/height
    b = c1.blue + (c2.blue - c1.blue) * (height -i)/height + 0 * i/height
    a = c1.alpha + (c2.alpha - c1.alpha)* (height -i)/height + 255 * i/height
    self.contents.fill_rect(x, y+i, w, 1, Color.new(r, g, b, a))
    end
    end
    end
    
    #==============================================================================
    # ** Scene_Map
    #------------------------------------------------------------------------------
    # This class performs map screen processing.
    #==============================================================================
    class Scene_Map
    #--------------------------------------------------------------------------
    # * Object Aliasing
    #--------------------------------------------------------------------------
    alias hud_scene_map_main main
    alias hud_scene_map_update update
    #--------------------------------------------------------------------------
    # * Object Initialization
    #--------------------------------------------------------------------------
    def main
    @HUD = Window_HUD.new
    hud_scene_map_main
    @HUD.dispose
    end
    #--------------------------------------------------------------------------
    # * Frame Update
    #--------------------------------------------------------------------------
    def update
    @HUD.update
    hud_scene_map_update
    end
    end
    

     

     

     

     


    Screenshot
    con 1 pg
    http://img33.picoodle.com/img/img33/4/2/22/t_hudsingolom_d3bd2ea.jpg

    con il party
    http://img31.picoodle.com/img/img31/4/2/22/t_hudm_5bafaad.jpg


    Istruzioni : dopo aver creato la nuova classe ed inserito lo script, inserite queste immagini, nelle rispettive cartelle icon e pictures. (eliminare eventualmente nella seconda riga i === in eccesso che straborda.

    Download Immagini


    Se non volete usare la visualizzazione del party ma solo quello del PG principale (tipo il 1° screenshot) andate QUI per trovare lo script modificato.

×
×
  • Create New...