Inserting MOG Chain Commands in a particular Skill ID
#1
Greetings to all RM PRO and GURUS here Very cheery I hope you will help me in this problem. So far I want to implement key combo while in scene battle. Here's the idea, when I choose a special skill a Combo keys will pop up on the screen, if you fail to finish or choose a wrong key then the actor will skip his/her turn but if he finish it then the skill will be execute.


Im stuck here in this lines

in Scene_Battle 4
Code:
 #--------------------------------------------------------------------------
 # * Make Skill Action Results
 #--------------------------------------------------------------------------
 def make_skill_action_result
   # Get skill
   @skill = $data_skills[@active_battler.current_action.skill_id]
 ###########################################################    

 
   if @active_battler.current_action.skill_id == 88
      $scene = Chain_Commands.new(27)
   end
 
 
 
###########################################################  

   # If not a forcing action
   unless @active_battler.current_action.forcing
     # If unable to use due to SP running out
     unless @active_battler.skill_can_use?(@skill.id)
       # Clear battler being forced into action
       $game_temp.forcing_battler = nil
       # Shift to step 1
       @phase4_step = 1
       return
     end
   end
   # Use up SP
   @active_battler.sp -= @skill.sp_cost
   # Refresh status window
   @status_window.refresh
   # Show skill name on help window
   @help_window.set_text(@skill.name, 1)
   # Set animation ID
   @animation1_id = @skill.animation1_id
   @animation2_id = @skill.animation2_id
   # Set command event ID
   @common_event_id = @skill.common_event_id
   # Set target battlers
   set_target_battlers(@skill.scope)
   # Apply skill effect
   for target in @target_battlers
     target.skill_effect(@active_battler, @skill)
   end
 end
 #--------------------------------------------------------------------------

in the ############## i put the call in MOG Combo script
$scene = Chain_Commands.new(27) then it runs but after the combo scene it came back to battle map. I also check for the $scene in Scene_battle 1 and remove the scene != self but no luck.

this is the Chain Command that I am using http://www.atelier-rgss.com/RGSS/System/XP_SYS11.html



I think of when the graphic.freeze then the Chain Command will execute then after the chain command it will go back in the battle_scene 4  . I hope you will help me Cry and thanks in advance
Reply }
#2
Interesting. Mog made a Blitz/Timed Key script for generic events? I wonder why he never made one for battle skills.

I don't have THAT much time right now, but you may be interested in trying out another script that handles timed events like this... for your battlesystem: ( > Zephren's Timed Hit Add On < )
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 }
#3
(08-26-2015, 03:12 AM)DerVVulfman Wrote: Interesting.  Mog made a Blitz/Timed Key script for generic events?  I wonder why he never made one for battle skills.

I don't have THAT much time right now, but you may be interested in trying out another script that handles timed events like this... for your battlesystem:  ( > Zephren's Timed Hit Add On < )

I dont know but I saw combo skill keys on his game SEFIA
screenshot:
[Image: SEFIA_SC02.jpg]


 I tried the script that you gave but I want to implement the MOG Chain Commands. I will wait if you're busy, still hoping on this battle scene chain combo Cry


here's the file of Project: http://www.mediafire.com/download/ajxsx8...escene.rar
Reply }
#4
Oh, I snagged the rar demo
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 }
#5
(08-26-2015, 05:16 AM)DerVVulfman Wrote: Oh, I snagged the rar demo

what do you mean by snag? is there a problem in the download link?
Reply }
#6
No. Snagged... as in I grabbed it from the original Mog website.

Methinks it MAY be something he coded for his ABS though, an event based map system. If that is correct, he coded it to work specifically with event systems.

Oh, don't get me wrong. IF that is the case, it may be rewritten in SOME way to work with a general battlesystem.
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 }
#7
yeah, I am working on it but still getting error. I searched already on google but I cant find any of this topic related through implementing on skills, except that script that you gave. Cry
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   Plugin or Script help with Item menu, SKill menu, and Equip menu JayRay 3 174 11-22-2024, 07:02 PM
Last Post: JayRay
   A Skill that throws enemies? Bennerdeben 10 983 10-08-2024, 05:12 PM
Last Post: Bennerdeben
   [RMXP] Showing skill gained by leveling up on battle result FrQise 12 12,693 05-07-2021, 02:05 PM
Last Post: FrQise
   Skill Cooldown script Fenriswolf 11 16,536 12-10-2019, 11:10 AM
Last Post: Fenriswolf
   Atoa Individual Battle Commands Geminil 3 7,012 08-02-2017, 03:17 AM
Last Post: DerVVulfman
   Scan skill should show states Tumen 5 9,251 05-02-2017, 03:33 AM
Last Post: DerVVulfman
   Dervvulfman's Skill Tree (Micko's) Passive Skill Malfunction! reiji1337 6 9,811 04-28-2017, 03:27 AM
Last Post: reiji1337
   RMXP SKill animations too bright (overlaying the battle screen) Starmage 4 10,188 06-13-2016, 03:41 AM
Last Post: Starmage
   Atoa ACBS HP Regen Skill Lightness 11 14,154 03-11-2016, 10:43 PM
Last Post: Lightness
   Modifying Actor ID to Class ID for Advanced Individual Battle Commands Script NewHope 1 4,642 07-11-2012, 11:37 PM
Last Post: NewHope



Users browsing this thread: 1 Guest(s)