Tweaking Weather Effects

Status
Not open for further replies.

ShinySlowqueen

Veteran
Veteran
Joined
Dec 22, 2015
Messages
48
Reaction score
3
First Language
English
Primarily Uses
RMVXA
It's a minor thing, but I'd like the screen to not get QUITE so dark when it's snowing.  


I found this snippet within Spriteset_Weather:


#--------------------------------------------------------------------------
# * Get Dimness
#--------------------------------------------------------------------------
def dimness
(@power * 6).to_i
end


But this seems like it would affect ALL weather types, and not just snow.
 

ShinySlowqueen

Veteran
Veteran
Joined
Dec 22, 2015
Messages
48
Reaction score
3
First Language
English
Primarily Uses
RMVXA
Think I mighta fixed it.


Changed that snippet to:


#--------------------------------------------------------------------------
# * Get Dimness
#--------------------------------------------------------------------------
def dimness
if @weather_type = :snow
(@power * 2).to_i
else
(@power * 6).to_i
end
end


And I think it's working.  Anything I might not realize I have totally screwed up by doing this?
 

Lord Vectra

Master Eventer
Veteran
Joined
Dec 6, 2015
Messages
211
Reaction score
330
First Language
English
Primarily Uses
RMVXA
I don't think so
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,107
Reaction score
11,445
First Language
English
Primarily Uses
RMVXA
[necro]King Vectra[/necro]

That question was asked over 6 months ago. I think we can assume it was okay.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Besides my Might and Magic inspired project, I have always wanted to make a Fire Emblem-like game. Time is the culprit... Between life, composing music packs, and working on a game can it be done!? The tactical plugins for MV work quite well based on what I have tested.
Yaaay! My second public script is out and approved! A VX Ace Final Fantasy IX styled Throw Script!

I look forward to all the constructive feedback I get but most importantly I hope everyone who ends up using it enjoys!

Yaaaay! Making scripts is fun lol. :D
When you're lost out therrrrre and you're alllll alone, ahwahwah waitin, to carry you hooooommmme, uhhheverywhere you look! (someone hit me with those backing vocals)
X.X cant focus... too many thing want do... help!
Day 2 of teaching MV, student can move cat across the map.

Forum statistics

Threads
100,525
Messages
976,813
Members
132,080
Latest member
nwr
Top