Jump to content
Rpg²S Forum

Tempo Atmosferico Random


Belxebu
 Share

Recommended Posts

GameBaker Automathic Weather

Descrizione

Condizioni atmosferiche sempre random per un game piu realistico

 

Autore

sandgolem

 

Istruzioni per l'uso

Inserire su "MATERIAL". per creare un effetto atmosferico occorre impostare ogni singola mappa come di seguito:

 

aggiungete una stringa sotto la riga 16 come da esempio:

 

AutoWeather[1] = [1,6,60,1]

 

AutoWeather[iD Mappa] = [Tipo,Intensità,Durata, Tempo di attesa]

 

Tipo: 0 = Nessuno, 1 = Pioggia, 2 = Temporale, 3 = Neve

IMPORTANTE:

in rpgmaker VX gli script vanno SEMPRE inseriti sotto MATERIALS e non sotto MAIN

 

 

# ** GameBaker Automatic Weather
#==========================================================================
# by sandgolem
# This script is a modified version of one that was included in the
# Shine Garden japanese sample game, Black Lion's Crest.
#
# Version 1 [VX]
# January 28th, 2008
#==========================================================================

module GameBaker
AutoWeather = {}
AutoWeatherDisable = 0

# Type, power, duration, force wait
AutoWeather[1] = [1,6,60,1]
AutoWeather[2] = [3,9]
AutoWeather[3] = [4,9]
AutoWeather[4] = [3,7]
end

#==========================================================================
#
# To check for updates or find more scripts, visit:
#	   http://www.gamebaker.com/rmvx/scripts/
# Our RMXP scripts: http://www.gamebaker.com/rmxp/scripts/
#
# Instructions: http://www.gamebaker.com/rmvx/scripts/e/automatic-weather.php
# Discussion/Help: http://forums.gamebaker.com/showthread.php?t=1221
#
#==========================================================================

class Game_Map
alias gamebaker_autoweather_setup setup
def setup(map_id)
  gamebaker_autoweather_setup(map_id)
  gamebaker_autoweather_setup2
end

def gamebaker_autoweather_setup2
  @screen.weather(0,0,0)
  return if $game_switches[GameBaker::AutoWeatherDisable] or
  !GameBaker::AutoWeather.key?(@map_id)
  sg = GameBaker::AutoWeather[@map_id]
  @screen.weather(sg[0],sg[1],0)
  @screen.weather(sg[0],sg[1],sg[2]) if sg[2]
  @wait_count = sg[2] if sg[3] == 1
end
end

#==========================================================================
#==========================================================================

Edited by Eikichi
aggiunta istruzioni in italiano
Link to comment
Share on other sites

  • 2 months later...
potete mettere le istruzioni direttamente sul topic, senza linkare? me no capisce molto inglese!

http://img145.imageshack.us/img145/3703/2597sg7.png

http://img229.imageshack.us/img229/9955/mozillafirefoxuser4zj.png

http://i213.photobucket.com/albums/cc264/badbunny699/dexterza5.png

http://img359.imageshack.us/img359/220/clipboard028ar.jpg

http://img402.imageshack.us/img402/9318/virgilflyvy0.gif AsD Fan

http://i67.servimg.com/u/f67/13/07/24/89/banner12.png

Prossimamente...

Link to comment
Share on other sites

...

cioè ha creato uno script per evitare di scrivere 2 righe di evento comune...

 

wow.

 

vabè, comunque good script :3

Progetti:

 http://i.imgur.com/jmLkIqi.png

http://i54.tinypic.com/2rh4ojq.png

https://github.com/ProGM

 

Crea anche tu il tuo gioco per Game Boy!
http://rpg2s.net/gif/SCContest3Oct.gifhttp://www.rpg2s.net/img/fablecontest1st.pnghttp://i43.tinypic.com/1zokd2s.png


http://i.imgur.com/BEu6G.gif

http://i.imgur.com/H1ARhq7.gif

http://i.imgur.com/Af6ijZN.gif

AOT: Associazione Odiamo la Telecom:

http://i.imgur.com/aYJs89E.png

"4 gattini... 4 stelline... E le 4 paperelle non ci stavano :3"

Flame


http://i30.tinypic.com/i27ypj.png

Link to comment
Share on other sites

vero, evitiamo di linkare a altri siti. si postano le istruzioni, possibilmente tradotte!! ^^

 

edito e le inserisco io.

Finrod, GDR PBF

2PV e 1PAEquip: - faretra con 20 frecce- arco lungo- pugnale comune- Armatura di cuoio- Torcia- Cappuccio

Mi sa che è ora di vincere qualche premio per rinnovare questa firma! :3Posizioni raggiunte nei contest

http://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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...