Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Problems With Trickster's Multi-Equip Suite

Tdata

Sponsor

I have run into a snag with the script. While it is in it's original condition, it works wonderfully. When I make the edits that I need, I get errors. Here is my current copy that I'm editing. I made the mistake of working in my original copy

http://www.box.net/shared/t5dvurgs65

My current nagging error is in Change Types Addon on line 88:
Code:
      elsif slot[0,1] == 'a'
        # Set Armor(N) Id to Equip Id
        eval("@armor#{armor_index}_id = equip_id")
        # Increment Armor Index
        armor_index += 1
      end
And the error is:
Script 'Change Types Addon' line 88: ArgumentError Occured
Wrong number of Arguments (2 for 1)
 
Try to update your script to the 3.1.4 version, I don't have a demo right now, so you can wait until tomorrow to upload it.

Next try to copy your proyect, your mods to the demo and make a test, if you have the same Problem I'll be back to help you :).
 

Tdata

Sponsor

Okay, I've updated to 3.1.4. Now, I can't get any thing to equip in my custom slots. I can't even get them to show up after changing the Init_Equip{} to the correct values...
 

Tdata

Sponsor

Multi-Equip Setup Edits
Code:
Class_Names = {
  1 => %w( Sword Sword Shield Helm Armor/Plate Ring Amulet ),
  2 => %w( Spear Shield Helm Armor/Plate Ring ),
  7 => ['Mace','Hat','Robe','Ring'],
  8 => ['Rod','Hat','Robe','Ring'],
  10 => %w( R-Shoulder L-Shoulder R-Arm L-Arm Torso Armor )

Class_Types = {
  1 => %w( w w1 a1 a2 a3 a4 a5 ),
  2 => %w( w a1 a2 a3 a4 ),
  7 => ['w', 'a2', 'a3', 'a4'],
  8 => ['w', 'a2', 'a3', 'a4'],
  10 => %w( w5 w5 w4 w4 w6 a8 )
Equipment Types Addon Edits
Code:
  Weapon_Types = {34 => 1,
  35 => 4,  #Hand/Arm
  36 => 5,  #Shoulder
  37 => 6   #Torso
  }

  Armor_Types = {33 => 4,
  34 => 7 #Mech Armor
  }
 

Tdata

Sponsor

Okay, I know I should edit my last post, but I won't.

Well I figured out part of my problem. I forgot to add the weapons and armor to the class. So weapons work great... Still no armors...
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top