Victor Engine - Animated Battle

Status
Not open for further replies.

RagoxHatena

Warper
Member
Joined
Jun 21, 2015
Messages
2
Reaction score
0
First Language
Dutch
Primarily Uses
Hi, I have problems with VE's Animated Battle, everytime I load up my game, the main menu loads perfectly fine, but whenever I load a safe file, it gives me this :

'undefined method '>' for nil:NilClass'.

I figured that the fault was in this piece of code (I put the problem between brackets ([---]) : 

 #--------------------------------------------------------------------------

 # * New method: low_update_tone

 #--------------------------------------------------------------------------

 def low_update_tone

   if @low_tone_duration [>] 0

     d    = @low_tone_duration

     tone = @low_tone_target

     @low_tone.red   = (@low_tone.red   * (d - 1) + tone.red)   / d

     @low_tone.green = (@low_tone.green * (d - 1) + tone.green) / d

     @low_tone.blue  = (@low_tone.blue  * (d - 1) + tone.blue)  / d

     @low_tone.gray  = (@low_tone.gray  * (d - 1) + tone.gray)  / d

     @low_tone_duration -= 1

   end

 end  

 

Does anyone know how to get rid of this problem?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
Was that savefile created before you added the script?

In 80% of all cases of scripts (especially with the more complex scripts) you are REQUIRED to start a new game for the script to work, you CANNOT use an older savegame.

Don't even try to fix that in such a case, because a lot of data is missing from the savefile, and you can't simply replace that.
 

RagoxHatena

Warper
Member
Joined
Jun 21, 2015
Messages
2
Reaction score
0
First Language
Dutch
Primarily Uses
Was that savefile created before you added the script?

In 80% of all cases of scripts (especially with the more complex scripts) you are REQUIRED to start a new game for the script to work, you CANNOT use an older savegame.

Don't even try to fix that in such a case, because a lot of data is missing from the savefile, and you can't simply replace that.
I tried to load up a new game, which worked, but now the character is not appearing, but thanks for helping me with that, it overcame a big obstacle.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
you might wish to read this on scripts:

How to use a script - RMVX Ace Tutorials - RPG Maker Forums

The actors not appearing on new game is something else, I suggest starting a new topic for that if you don't find out why (could be simply having checked the option of starting the game with an invisible party).

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,047
Members
137,569
Latest member
Shtelsky
Top