Juan J. Sánchez wrote:
I wouldn't do that. It's not simply the command menu you're altering. Types are the way in which a character inherently acquires the data in the license board. It's not as simple as simply adding new types. You'd have to alter the Game_Actor class as well, among other things.
Your event script worked perfectly!
It's just the
Scene_CreateBoard window I'm having trouble with (see below). I set the y coordinate to 0 just so I could read the value boxes, but half of my selections are outside the bottom of the screen. How do I set a height on this window, or set it to scroll? I feel like an idiot asking this, because I have a feeling the answer is very easy...
Actually, the functionality in the game itself works perfectly (even creating the board, despite the window issue). Your base code didn't require any serious edits for this, and the characters acquire abilities all the same without any bugs or glitches. I didn't have to edit
Game_Actor. I only had to edit
FFXII Module, Bitmap, Scene_CreateBoard, and
Board. They aren't ACTUALLY new classes, but just the appearance of different class (all weapons still use $data_weapons[value] and @weapon_set.push(n)). For example:
From
FFXII Module and
Bitmap:
- when 9 # Swords
- return $data_weapons[value]
- when 10 # Daggers
- return $data_weapons[value]
- when 11 # Axes
- return $data_weapons[value]
- when 12 # Greatswords
- return $data_weapons[value]
- when 13 # Katanas
- return $data_weapons[value]
- when 14 # Spears
- return $data_weapons[value]
- when 15 # Rods
- return $data_weapons[value]
- when 16 # Staves
- return $data_weapons[value]
- when 17 # Bows
- return $data_weapons[value]
- when 18 # Guns
- return $data_weapons[value]
- when 19 # Light Armor
- return $data_armors[value]
- when 20 # Medium Armor
- return $data_armors[value]
- when 21 # Heavy Armor
- return $data_armors[value]
- when 22 # Shields
- return $data_armors[value]
- when 23 # Accessory Set
- return $data_armors[value]
- end
Expand to see the code.
In
Board:
- when 9 # Swords
- @weapon_set.push(n)
- when 10 # Daggers
- @weapon_set.push(n)
- when 11 # Axes
- @weapon_set.push(n)
- when 12 # Greatswords
- @weapon_set.push(n)
- when 13 # Katanas
- @weapon_set.push(n)
- when 14 # Spears
- @weapon_set.push(n)
- when 15 # Rods
- @weapon_set.push(n)
- when 16 # Staves
- @weapon_set.push(n)
- when 17 # Bows
- @weapon_set.push(n)
- when 18 # Guns
- @weapon_set.push(n)
- when 19 # Light Armor
- @armor_set.push(n)
- when 20 # Medium Armor
- @armor_set.push(n)
- when 21 # Heavy Armor
- @armor_set.push(n)
- when 22 # Shields
- @armor_set.push(n)
- when 23 # Accessory Set
- @armor_set.push(n)
Expand to see the code.
A sample of the classes I have made, with full functionality:
