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.

Two Weapon Script vs. Sideview Battle System

niksb

Member

I'm a total newbie to any RPG-Maker, so don't blame me please..

It's this issue:

I'm using the Tankentai Sideview Battle System Demo as the game base. Now I just added the four scripts from Guillaume777's Multi-Equip-Stuff-Script to it, and the following error occurs:

"Script 'Actor Advanced Status' line 1537: NoMethodError occurred.

undefined method `[]' for nil:NilClass"

The named line says
" type = @equip_kind[equip_type]"

Or in context:

"def equip(equip_type, id)
type = @equip_kind[equip_type]
if type == 0
if id == 0 or $game_party.weapon_number(id) > 0
update_multi_auto_state($data_weapons[@equip_id[equip_type]], $data_weapons[id])
$game_party.gain_weapon(@equip_id[equip_type], 1)
@equip_id[equip_type] = id
$game_party.lose_weapon(id, 1)
end"

(line 1536 to 1544)

I am also not used to any programming or so, so I'm relying all on your help. ;p

Thanks a lot, Niklas.

Edit: My problem should be clear: I want both scripts work together flawlessly.
 

niksb

Member

Same error occurs.

Yeah, well, I know I probably should not mess around with scripts. But it actually "sounds" simple just copying them and using them - you have to admit.

And I'd love my main character - an assassin I have drawn myself with gimp! - to wield two weapons. It would make him as special as he should be, since he is alone in his party most of the time. :)
 

Atoa

Member

Tankentai haves it onw multi slot system BUT the system haves some glithces.

Also there's no chance that guillaume777 multi slot to work with tankentai, even if you fix this firts glith several others would pop up.
 

niksb

Member

Okay, alright.

Still then, thank you very much for your help. :)

Is there than any other alternative battle system that definitely works with Guillaume777?

It might be anything you see the character's combat animation.. not just that stupid picture and a bit glowing. ;p

(I've heard about that fire emblem battle system? Is it to download somewhere?)

Thank you, Niklas
 
On a side note: Being a beginner doesn't mean you can't use scripts at all. In fact, it indeed can be as simple as copy&paste stuff into your game to get radically great results. However, being a bit of experienced is important as soon as you run into problems like this, and with Tatenkai's system, you didn't exactly chose the best documented script... in general, posting in RGSS Support here will help ya out, unless it's vast incompatibility issues like these (according to Atoa).

Most importantly: Don't put every script in your game you find, but rather try to figure out what you want and then look for scripts for it.

Also, the 'Fire Emblem' system you're talking about is called Tactical Battle System, and yeah, a few of those might be around, however they're a lot less frequent than sudeview battlesystems (and again, ask yourself what you want in advance!).
 

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