I found a tales of battlestystem for RMVX at a japanse site and need help
#2
The person who crafted this script did not put in any code for items or skills. All I found was a method named 'attack_special' which runs a specially defined attack for each character.
So, you have the following:
DOWN=Guard
LEFT/RIGHT = Movement
SELECT = Attack
ESC = Special Attack (Esc is Esc no more @_@)
and
F5 = Escape


The escape routine he has in TABattle_Scene was written as this:
Code:
if Input.trigger?(Input::F5)  # F5強制終了
      $scene = Scene_Map.new
      return
    end

I guess, you could make a value called $ta_escape and keep it set to true all the time and do this:
Code:
if $ta_escape == true
      if Input.trigger?(Input::F5)  # F5強制終了
        $scene = Scene_Map.new
        return
      end
    end
So, if you make your call event to bring up the battle, pass $ta_escape = false to prevent escape.

Likewise, do you see the section above that looks like this?
Code:
else
        $scene = Scene_Gameover.new if @game_end == 1
        $scene = Scene_Map.new if @game_end == 2
        return
      end

Well, if you want the player to be able to survive a losing game, try adding a $ta_loser value (like the $ta_escape ^_- ) and do this instead:
Code:
else
        if @game_end == 1
          if $ta_loser == true
            $scene = Scene_Map.new
          else
            $scene = Scene_Gameover.new
          end
        end
        $scene = Scene_Map.new if @game_end == 2
        return
      end

Actually, that's not all you need to do. It'll let you survive a battle, but you cannot start a new one (gotta re-add the guys), so...

Within TABattle_Scene, tack this on at the end of the initialize method, right under $game_system.battle_bgm_play
Code:
@player = 0

And add this to the end of the start method, right below the @game_end = 0 statement
Code:
actor_all_dead?

Now, you can let the player survive losing battles. And those last two things lets the guy restart after losing a battle... and it can check to see if you have a dead party trying to fight.

Afraid I cannot do anything for skills or items. They would have to be created altogether.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }


Messages In This Thread
RE: I found a tales of battlestystem for RMVX at a japanse site and need help - by DerVVulfman - 12-29-2010, 08:46 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   I found a message script and cannot figure out how to use it Rose Guardian 3 6,953 05-14-2011, 06:31 PM
Last Post: Rose Guardian



Users browsing this thread: 1 Guest(s)