Pearl ABS with extended controller support.

● ARCHIVED · READ-ONLY
Started by Fippy_Darkpaw 3 posts View original ↗
  1. VX ACE - couldn't see where to edit this into the title, sorry.

    I am currently trying to get Falcao's Pearl ABS battle system http://falcaorgss.wordpress.com/category/pearl-abs-liquid/ to work with Lone Wolfs Gamepad Extender Script http://forums.rpgmakerweb.com/index.php?/topic/1284-gamepad-extender/page-4, but I have very little knowledge of how to configure this.  I am wondering if anyone can give me a little assistance in figuring out exactly what I need to edit.  I'm assuming that when Lone Wolf says "  2) Replace button calls in (other) scripts to use gamepad buttons as needed"  that it means something from this needs to be injected in to the Pearl ABS battle system

    @keys = { :UP => 15, #d-pad up :DOWN => 14, #d-pad left :LEFT => 13, #d-pad down :RIGHT => 12, #d-pad right :A => 3, #lower face button :B => 2, #right face button :X => 1, #left face button :Y => 0, #upper face button :L1 => 7, #upper left trigger :R1 => 6, #upper right trigger :START => 11, :SELECT => 10, :L3 => 9, #left thubstick button :R3 => 8, #right thubstick button :L2 => 16, #lower left trigger (press only) :R2 => 17, #lower right trigger (press only)On the pearl side, I'm figuring that it's going to be in the battler settings portion that I would be making the changes and this portion looks like the right spot to be touching to change 

    # Type Key Display name Weapon = [PearlKey::F, 'F'] # Weapon usage Armor = [PearlKey::G, 'G'] # Armor usage Item = [PearlKey::H, 'H'] # Item usage Item2 = [PearlKey::J, 'J'] # Item2 usage Skill = [PearlKey::R, 'R'] # Skill usage Skill2 = [PearlKey::T, 'T'] # Skill2 usage Skill3 = [PearlKey::Y, 'Y'] # Skill3 usage Skill4 = [PearlKey::U, 'U'] # Skill4 usageBut again, I'm not good with code at all.  So if anyone can help me with what exactly I need to change so that I can start setting up my own controls, I would really appreciate it :)  I'm going to make a new project with just those two scripts and just start winging it and see if I can figure it out, but I am fully aware I may be looking in the wrong spots completely.  

    Thanks in advance for your help.
  2. bump
  3. in falcaos bundle of scripts that make up pearl abs, one of the scripts he defines the codes for keys A-Z (not sure which one).

    then he gives the keys actions (the part you have pasted in your post)

    # Type Key Display name
    Weapon = [PearlKey::F, 'F'] # Weapon usage
    Armor = [PearlKey::G, 'G'] # Armor usage
    Item = [PearlKey::H, 'H'] # Item usage
    Item2 = [PearlKey::J, 'J'] # Item2 usage
    Skill = [PearlKey::R, 'R'] # Skill usage
    Skill2 = [PearlKey::T, 'T'] # Skill2 usage
    Skill3 = [PearlKey::Y, 'Y'] # Skill3 usage
    Skill4 = [PearlKey::U, 'U'] # Skill4 usage
    i think you may need to define the gamepad controls where falcao defines the keys (not sure how) then give the keys actions where you have it pasted in your post.

    it is probably more indepth than just defining the controls. in this script:

    # Type Key Display name
    Weapon = [PearlKey::F, 'F'] # Weapon usage
    Armor = [PearlKey::G, 'G'] # Armor usage
    Item = [PearlKey::H, 'H'] # Item usage
    Item2 = [PearlKey::J, 'J'] # Item2 usage
    Skill = [PearlKey::R, 'R'] # Skill usage
    Skill2 = [PearlKey::T, 'T'] # Skill2 usage
    Skill3 = [PearlKey::Y, 'Y'] # Skill3 usage
    Skill4 = [PearlKey::U, 'U'] # Skill4 usage
    you will probably need to change or add to the modules in the script.