M50 Posted January 17, 2008 Share Posted January 17, 2008 Questo script è realizzato per Rpgmaker VX.Create una nuova classe sopra Main con Nome Window_Mappa.E inserite lo script: #============================================================================== # ** Window_Mappa by M50 #------------------------------------------------------------------------------ # [url="http://www.makerando.it"]http://www.makerando.it[/url] [url="http://www.rpg2s.net"]http://www.rpg2s.net[/url] Visualizza il nome della Mappa su Schermo. #============================================================================== class Window_Mappa < Window_Base def initialize super(0, 365, 220, 50) self.create_contents self.back_opacity = 180 self.contents.font.name = "Arial" self.contents.font.color = normal_color refresh end def refresh self.contents.clear @map = load_data("Data/MapInfos.rvdata") @mappa_nome = @map[$game_map.map_id].name self.contents.font.size = 12 @Mappa = "Locazione:" self.contents.draw_text(0, 0, 60, 24,@Mappa) self.contents.font.size = 18 self.contents.font.color = system_color self.contents.draw_text(70, 0, 160, 24,@mappa_nome) end def update self.contents.clear self.dispose super end end Allora nella mappa in cui volete che venga visualizzato il nome fate un evento su mappa con condizione di avvio: Automaticoe inserite un evento Call Script con il seguente script:if $message_window $message_window.dispose $message_window = Window_Mappa.new else $message_window = Window_Mappa.new endDopo di che aggiungete un Cancella Evento. Nelle mappe in cui non volete che il nome venga visualizzato fate un altro evento su mappa con avvio AutomaticoE aggiungete questo script:if $message_window $message_window.dispose $message_window = nil endDopo aggiungete un Cancella evento. Risultato:http://img171.imageshack.us/img171/381/immaginepc4.png http://img516.imageshack.us/img516/632/cartam50xx5.pnghttp://img682.imageshack.us/img682/2388/signdu.png Link to comment Share on other sites More sharing options...
marigno Posted January 17, 2008 Share Posted January 17, 2008 Bravo M50! ^^È molto utile come script. :) Link to comment Share on other sites More sharing options...
M50 Posted January 17, 2008 Author Share Posted January 17, 2008 Bravo M50! ^^È molto utile come script. :)Grazie ^^ http://img516.imageshack.us/img516/632/cartam50xx5.pnghttp://img682.imageshack.us/img682/2388/signdu.png Link to comment Share on other sites More sharing options...
marigno Posted January 17, 2008 Share Posted January 17, 2008 Ascolta, giusto per sapere, è cambiato qualcosa dall'RGSS dell'XP? Giusto per regolarmi di conseguenza. Link to comment Share on other sites More sharing options...
Eikichi Posted January 18, 2008 Share Posted January 18, 2008 e si cominciaaaaaaaaaaaaaaaa! ^^ bravo M50! Finrod, GDR PBF2PV e 1PAEquip: - faretra con 20 frecce- arco lungo- pugnale comune- Armatura di cuoio- Torcia- CappuccioMi sa che è ora di vincere qualche premio per rinnovare questa firma! :3Posizioni raggiunte nei contesthttp://rpg2s.net/gif/SCContest3Oct.gifhttp://www.rpg2s.net/awards/bestresourCSist3.jpghttp://www.rpg2s.net/awards/mosthelpful2.jpghttp://www.rpg2s.net/awards/mostpresent2.jpg Link to comment Share on other sites More sharing options...
M50 Posted January 18, 2008 Author Share Posted January 18, 2008 Ascolta, giusto per sapere, è cambiato qualcosa dall'RGSS dell'XP? Giusto per regolarmi di conseguenza. E' cambiato qualche metodo ma nulla di chè. http://img516.imageshack.us/img516/632/cartam50xx5.pnghttp://img682.imageshack.us/img682/2388/signdu.png Link to comment Share on other sites More sharing options...
LeoPS Posted September 30, 2008 Share Posted September 30, 2008 ho provato la script e funziona, solo che il nome della mappa resta scritto e non sparisce PROGETTI IN CORSO:-Tales of Dragons 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