FFIX Skills Activation System, Version 0.3
#31
Sorry, I wrote it right away here, it's not tested. What does the error say?
Reply }
#32
yeah no prob :D

script 'Game_Battler 2' line 41: Type error occured.
no implicit conversion from nil to integer

this is the error, and line 41 is

if $data_states[state_id] == nil
Reply }
#33
Code:
class Game_Battler
  alias stas_remove_states_battle remove_states_battle
  def remove_states_battle
    stas_remove_states_battle
    return if self.is_a?(Game_Enemy)
    for skill_id in @active_state_skills
      add_state(SKILL_TO_STATE_LINKS[skill_id])
    end
  end
end
Reply }
#34
ty so much, now it works perfect^^
Reply }
#35
Is it possible to make it where in the battle scene, the skill thats activated is there instead of other skills thats faded out? Save room perhaps? .-.
Reply }
#36
That would require to edit the Skill_Window class and would break the compatibility with many battle systems. Specifically, the refresh method should change:
Code:
#--------------------------------------------------------------------------
  # * Refresh
  #--------------------------------------------------------------------------
  def refresh
    if self.contents != nil
      self.contents.dispose
      self.contents = nil
    end
    @data = []
    for i in 0...@actor.skills.size
      skill = $data_skills[@actor.skills[i]]
      if skill != nil
        @data.push(skill) unless (SKILL_COSTS[@actor.skills[i]] != nil and not @actor.active_skills.include?(@actor.skills[i])) # Edited line
      end
    end
    # If item count is not 0, make a bit map and draw all items
    @item_max = @data.size
    if @item_max > 0
      self.contents = Bitmap.new(width - 32, row_max * 32)
      for i in 0...@item_max
        draw_item(i)
      end
    end
  end
Reply }
#37
For me, Im using http://rmvxp.com/showthread.php?tid=258 so it's an edit of the turn base system which shouldnt effect the skill window scene, I prefer not to use any exotic battle systems because of much work put in to sprites.
Where should I add that?
And the reason Im asking this is cause my actors have ton of skills, specificity covering different strength, attribute and weakness, instead of having all that in the disposal, it would add more strategy, by picking which skill should be active and disable.
Reply }
#38
If you don't have any script that modifies the Window_Skill class, you can encase that within
Code:
class Window_Scene
# here #
end
and paste it over main.
Reply }
#39
Would that edit be compatible with your FFX battle system, Charlie?
Reply }
#40
Almost. I mean, you can't paste the entire patch, as the BS does modify the Window_Skill class.
In "CTB by Charlie - Windows Skill & Item" line 107 should be changed from:
Code:
@data.push(skill)
to
Code:
@data.push(skill) unless (SKILL_COSTS[@actor.skills[i]] != nil and not @actor.active_skills.include?(@actor.skills[i])) # Edited line
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   The Wanderers: The Customizable Encounters System DerVVulfman 0 264 08-24-2024, 07:12 PM
Last Post: DerVVulfman
   Super Simple Vehicle System - Enhanced DerVVulfman 65 94,878 06-02-2023, 06:16 PM
Last Post: Sujabes467
   Klass Change & Skills XP kyonides 1 1,260 05-29-2023, 07:39 AM
Last Post: kyonides
   KDualWield & Accessory Skills XP kyonides 1 1,355 02-10-2023, 06:53 AM
Last Post: kyonides
   Zenith Tactical Battle System Plus (ZTBS+) DerVVulfman 0 2,852 05-10-2022, 10:42 PM
Last Post: DerVVulfman
   Commercial System Package DerVVulfman 11 14,332 01-04-2020, 12:37 AM
Last Post: Pelip
   KItemDesc XP Zilsel Version kyonides 4 7,738 12-01-2019, 06:11 AM
Last Post: kyonides
   ACBS - Atoa Custom Battle System 3.2 Victor Sant 150 256,115 03-02-2019, 04:47 AM
Last Post: dragonprincess44
   DerVV's Simple Popup System DerVVulfman 4 12,245 10-08-2017, 04:53 PM
Last Post: DerVVulfman
   Melly-Mel's Calendar System DerVVulfman 23 43,660 12-02-2016, 04:31 AM
Last Post: DerVVulfman



Users browsing this thread: 11 Guest(s)