Change Cursor with differend commands in Battle
#1
This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.


Hi all!

I am not a very good scripter but I thought it would be funny for my game to use differend battle cursors in battle.

It kinda works like this. U choose fight from the battle commands and the cursor that indicates the target (monster) looks like a sword. When you use a skill, the cursor looks like a wand and when you use an item the cursor looks like a bag.

I don't know if such a script exist already, but I thought it would be nice to share it.


Place the following piece of script in the Arrow_Base script:

Code:
case $battle_cursor
      when 0
        text = "ToF-BattleSword"
      when 1
        text = "ToF-BattleWand"
      when 2
        text = "ToF-BattleItem"
      end
    self.bitmap = RPG::Cache.windowskin(text)

Below:

Code:
def initialize(viewport)
    super(viewport)


Delete this line:
Code:
self.bitmap = RPG::Cache.windowskin($game_system.windowskin_name)



Place the following line under "def main" in the "Scene_Battle1" script
Code:
$battle_cursor = 0



Find the "case @actor_command_window.index" in Scene_Battle 3 and replace the "when 0" by the lines given below

Code:
when 0
        $game_system.se_play($data_system.decision_se)
        @active_battler.current_action.kind = 0
        @active_battler.current_action.basic = 0
        $battle_cursor = 0
        start_enemy_select


Find "def update_phase3_skill_select" in Scene_Battle 3:

Code:
Place:
$battle_cursor = 1
Under:
if @skill.scope == 1

and place:
$battle_cursor = 1
Under
elsif @skill.scope == 3 or @skill.scope == 5


Find "def update_phase3_item_select" in Scene_Battle 3:

Code:
Place:
$battle_cursor = 2
Under:
if @item.scope == 1

and place:
$battle_cursor = 2
Under
elsif @item.scope == 3 or @item.scope == 5


Now place the following pictures in the Windowskin map.

{All 3 images lost)

I'm not sure if it works with any battle screen, but if you have questions i'm happy to help and suggestions are welcome as well.

I will post some screens later on.
}


Possibly Related Threads…
Thread Author Replies Views Last Post
  Change character script jaigai 0 3,187 11-19-2006, 01:00 PM
Last Post: jaigai
  Change menu character sprites to Pictures like in rpg maker 2003 Abyssos 0 4,050 09-28-2006, 01:00 PM
Last Post: Abyssos
  Battle Trophies GoldenShadow 0 2,923 09-07-2006, 01:00 PM
Last Post: GoldenShadow
  Change Color of The diferent Status Script MASTERLOKI 0 2,630 07-18-2006, 01:00 PM
Last Post: MASTERLOKI
  Obtain Experience as You Battle Tsunokiette 0 2,476 06-28-2006, 01:00 PM
Last Post: Tsunokiette
  Use an Indicator instead of a Cursor Tsunokiette 0 2,488 06-28-2006, 01:00 PM
Last Post: Tsunokiette
  Indenting Icon Commands MasterMind5823 0 2,832 06-24-2006, 01:00 PM
Last Post: MasterMind5823
  Battle Memory mudgolem 0 2,393 06-21-2006, 01:00 PM
Last Post: mudgolem
  Change Level/Exp/Status name ryujijitei 0 2,390 04-29-2006, 01:00 PM
Last Post: ryujijitei
  Before Battle Switch Sheol 0 2,666 04-20-2006, 01:00 PM
Last Post: Sheol



Users browsing this thread: 1 Guest(s)