Rpg Maker VX Resources
It's always Christmas here - New sprites daily!
Download over 1037 RMVX resources!


Easy Tone Changes

Been awhile since we posted stuff! We took a break from the Game Creation scene, but now we’re back with a new game in the works. Here’s a short script that you can use to make changing screen tones in Rpg Maker VX much easier. Many of the other things created for it will also be posted as resources here. To use it, type “ch_tone(’Name’)” (without the quotes) as an event call script. Paste the following into the script editor too. You can set up more tones like below:

module Tones
Sepia = Tone.new(17,0,-68,255)
Dusk = Tone.new(-119,-85,-34,68)
Night = Tone.new(-119,-95,-64,255)
end

def ch_tone(name,dur = 0)
eval(’$game_screen.start_tone_change(Tones::’ + name + ‘,’ + dur.to_s + ‘)’)
return true
end

If you run into problems using this script try turning the ‘ into quotation marks. Wordpress has issues with the Rpg Maker VX scripts posted here on some browsers.

2 Responses to “Easy Tone Changes”

  1. Punainen Says:

    This doesn’t work. I changed all the ‘ to ” but it gives me an error about “nil class” on line 8.

  2. André Says:

    Hi there,

    is it possible to add heroes using only the scripts, in RPG maker?I have the class where the hero’s stats are defined, but can find the class where heroes are created(instances). And i don’t want to add them using the windows

Leave a Reply


Part of the Rpg Maker System category.