I found a tales of battlestystem for RMVX at a japanse site and need help - Printable Version +- Save-Point (https://www.save-point.org) +-- Forum: Games Development (https://www.save-point.org/forum-4.html) +--- Forum: Code Support (https://www.save-point.org/forum-20.html) +--- Thread: I found a tales of battlestystem for RMVX at a japanse site and need help (/thread-3167.html) |
I found a tales of battlestystem for RMVX at a japanse site and need help - Rose Guardian - 12-29-2010 Hi, I found a Tales of Battle System for RMVX at a japanese site. The only problem is I cannot figure out how to use skills and items or call a battle with a monster without the script command. If I don't use $scene = TABattle_Scene.new(1) it just calls the default battle system and I want to know if anyone could help me figure out how to call the tales of battle system without having to do that because I want victory and defeat handlers and I do not want the player to be able to escape from a boss battle. Also like I said I also need help figureing out how to use skills and items please. Thank you in advance. Here is a link to the demo. If it doesn't link you directly to the download look towards the bottum for ActBattle and only ActBattle. If you are still confused I'll upload the demo. http://hikimoki.web.infoseek.co.jp/ RE: I found a tales of battlestystem for RMVX at a japanse site and need help - DerVVulfman - 12-29-2010 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強制終了 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 Likewise, do you see the section above that looks like this? Code: else 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 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. RE: I found a tales of battlestystem for RMVX at a japanse site and need help - MetalRenard - 12-29-2010 Why don't you use the Blizz-ABS? RE: I found a tales of battlestystem for RMVX at a japanse site and need help - Rose Guardian - 12-29-2010 Thank you, DerVVulfman, by the way I cannot use F5 on my computer because I have Windows 7 so is there away to change the key for escape without causing any errors? I want to make sure it works okay. Also: (12-29-2010, 02:00 PM)MetalRenard Wrote: Why don't you use the Blizz-ABS? I cannot use Blizz-ABS in RMVX and I am not switching to XP. RE: I found a tales of battlestystem for RMVX at a japanse site and need help - DerVVulfman - 12-29-2010 Change Code: if Input.trigger?(Input::F5)[code] That'll change the button to the SHIFT key for escapes. For your general list of keys, run your game and hit F1. Then you'll see a popup for the game's properties. Click on the Keyboard tab. There, you can see the default keys. As you'll notice, the 'C' input button (aka select) is set to work on 'Space', 'Enter' and 'Z' . [/i] Why Z ??? [/i] And the 'A' input button is set for the 'Shift' key. I also look at the 'gamepad buttons' since I don't want to single anyone out. |