Amos_MHF Posted January 11, 2009 Share Posted January 11, 2009 Anti-Encounter ScriptDescrizioneQuesto script permette di attivare (stile Pokémon) o disattivare gli encounternei tiles aventi il Terrain_Tag (settabile dal Database su Chipset) impostato. AutoreAmos_MHF AllegatiNessuno Istruzioni per l'usoInserite lo script sopra il Main e chiamatelo Anti-Encounter Script.Per configurarlo, andate alle righe 30 e 31.Su ENC_TAG impostate il terrain tag dove attivare l'effetto desiderato (nel caso di più numeri,separarli con la virgola), su ENC_TYPE lasciate true per attivare gli encounter solonei tiles con ENC_TAG come terrain tag, mettete invece false per disattivarli nei tiles con quelterrain_tag. #================================================================= # ** Anti-Encounter Script #------------------------------------------------------------------------------ # Autore: Amos_MHF # Versione: 1.0 # Data di rilascio: 7/1/2009 #------------------------------------------------------------------------------ # Descrizione: # Questo script permette di attivare/disattivare gli encounter, # ovvero gli incontri casuali, su tiles aventi uno specifico Terrain Tag. # Infatti, lo script controlla se il tile dove si sta muovendo il pg # ha il Terrain Tag (settabile nel database sotto Terreno) desiderato. # In questo caso, abilita/disabilita gli incontri. # PS: Questo script vale per tutte le mappe, quindi gli incontri verranno # annullati in ogni mappa con il tile del Terrain Tag settato. #------------------------------------------------------------------------------ # Versioni: # 1.0 (7/1/2009) #------------------------------------------------------------------------------ # Modifiche: # Modifiche alla classe Game_Character # -def initialize # -def moveto # -def increase_steps # -def update_jump #------------------------------------------------------------------------------ # Istruzioni: # Per personalizzare lo script modifica ENC_TAG o ENC_TYPE. #------------------------------------------------------------------------------ ENC_TAG = 7 # Terrain Tag desiderato (da settare nel Database) ENC_TYPE = true # Se true attiva gli incontri solo nei tiles aventi # ENC_TAG, se false li disattiva nei tiles aventi # ENC_TAG. #================================================================ class Game_Character alias sauzeron_init initialize def initialize sauzeron_init @matt_id = 0 end def mattonelle if terrain_tag($game_player.x,$game_player.y) != ENC_TAG if ENC_TYPE == false $game_system.encounter_disabled = (1 == 0) else $game_system.encounter_disabled = (0 == 0) end $game_player.make_encounter_count if ENC_TYPE == false return end else if ENC_TYPE == false $game_system.encounter_disabled = (0 == 0) else $game_system.encounter_disabled = (1 == 0) end $game_player.make_encounter_count end end def moveto(x, y) @x = x @y = y @real_x = x * 128 @real_y = y * 128 if @matt_id != nil @last_x = [@x,@x] @last_y = [@y,@y] end end def increase_steps @stop_count = 0 if @matt_id != nil and $scene.is_a?(Scene_Map) mattonelle @last_x.shift @last_x.push(@x) @last_y.shift @last_y.push(@y) end end def terrain_tag(x=@x, y=@y) return $game_map.terrain_tag(x, y) end def update_jump @jump_count -= 1 @real_x = (@real_x * @jump_count + @x * 128) / (@jump_count + 1) @real_y = (@real_y * @jump_count + @y * 128) / (@jump_count + 1) if @matt_id != nil and @jump_count == 0 @last_x = [@x,@x] @last_y = [@y,@y] end end end Bugs e Conflitti NotiN/A Altri DettagliCreditatemi nel vostro progetto se usate questo script.Buona fortuna! :rovatfl: Partecipante al Rpg2s.net Game Contest 2008/2009http://www.rpg2s.net/contest/GameContest0809/gc0809-bannerino.jpgGioco in Sviluppo: Oromis' TalePremi Rpg2s.net Game Contest 2008/2009:http://www.rpg2s.net/gif/GC_programmazione2.gif Miglior Programmazione XP: 2°http://www.rpg2s.net/gif/GC_premio3.gif Longevità: 3° Hiken... Tsubame Gaeshi! Link to comment Share on other sites More sharing options...
Narutofan95 Posted January 11, 2009 Share Posted January 11, 2009 Non ho capito bene. Roba tipo "Cammina, non cammina sull'acqua?" Se è cosi, direi che è una figata, se si vuole usare una nave nel gioco per recarsi da un posto all'altro, stile mezzi di trasporto rpg Maker VX. Ottimo ^^ http://i46.tinypic.com/295vf6e.png merutochan Bandcamp | Twitter | Tumblr Link to comment Share on other sites More sharing options...
Losco individuo Posted January 12, 2009 Share Posted January 12, 2009 ehm no... credo che serva per ricreare l'erba alta del gioco pokèmon^^se tu ci passi incontri i mostri, se non ci passi, non li incontri http://i428.photobucket.com/albums/qq5/losco_individuo/2cmly83.png http://i428.photobucket.com/albums/qq5/losco_individuo/BannerNGMI-1.pngMembro Alfa della: "Nuova Generazione del Making Italiano""Richiedi anche tu il bannerino della NGdMI e contribuisci alla sopravvivenza della specie...avrai un numero tuo di identificazione e un posto nella storia del making!"Il making con il cuorehttp://i62.servimg.com/u/f62/13/12/87/37/nuovob11.pngNuovo LegendRpgMania Link to comment Share on other sites More sharing options...
Amos_MHF Posted January 17, 2009 Author Share Posted January 17, 2009 ehm no... credo che serva per ricreare l'erba alta del gioco pokèmon^^se tu ci passi incontri i mostri, se non ci passi, non li incontriInfatti, puoi fare così, oppure il contrario: se cammini su un certo tile non li incontri, altrimenti sì. Partecipante al Rpg2s.net Game Contest 2008/2009http://www.rpg2s.net/contest/GameContest0809/gc0809-bannerino.jpgGioco in Sviluppo: Oromis' TalePremi Rpg2s.net Game Contest 2008/2009:http://www.rpg2s.net/gif/GC_programmazione2.gif Miglior Programmazione XP: 2°http://www.rpg2s.net/gif/GC_premio3.gif Longevità: 3° Hiken... Tsubame Gaeshi! Link to comment Share on other sites More sharing options...
Valentino Posted February 2, 2009 Share Posted February 2, 2009 (edited) RISOLTO. Edited May 27, 2009 by Valentino Targhette Rpg2s:http://img14.imageshack.us/img14/5421/contestsecondo.png Partecipante al Rpg2s.net Game Contest #3http://www.rpg2s.net/images/gc3/gc3_firma.pngGioco in Sviluppo: DREAMS http://img16.imageshack.us/img16/2121/dreamstitle2.png SKY's CRY!http://www.rpg2s.net...showtopic=12557 Lista di script creati da me: Support System FF9 Multiscope System Advanced Armor System Protection System Trance System FF2 Development System Scene Vittoria Animato Aperion System Elemosina System Valentino's Scene Shop Item Plus System Panorama Acceleration System Conversione da VX a XP, Vehicle System Sentinel System Scene Zoolab Valentino's Random System Oggetti Riutilizzabili Break Pictures Limit Gameover Animato Valentino's Gun Mode Valentino's Ally System Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now