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.

Multi Equip V3.1.4

Status
Not open for further replies.
I may not have read properly...but I was wondering something...

Is it possible to script it so that it's possible to set that you can either have 2 weapons at the same time or have a weapon and a shield on.

I don't want the setting to be switched back and forth only through an event or call script. I want it to be switched whenever the player wishes to. Like, for example, the hero has a shield and a sword. As soon as the player equips the second sword, the shield comes off.

Is it possible to implement that? I know Guillaume777's script does that...

The problem is...it doesn't work with the 1-scene CMS by Legacy.

That reminds me...does this script work with Legacy's script?

If it doesn't...nevermind then...unless you make it compatible.

Thanks in advance!
 
Like he said...
Having certain characters/classes able to Dual Wield weapons (effectively removing/replacing the Shield option when you assign the 2nd sword or whatever), or prevent a second weapon if the character cannot dual-wield.
*The coding could prove useful with two-handed weapons as well...

Also, the status menu doesn't reflect the additional weapon/armor slots.
 
Is it possible to add more slots to a character in-game?
(ie: Arshes starts out not having a shield slot, but gains one at some point in the game)
 
Ok, so I got the answer to my first question (Thanks DerVVulfman!!! :thumb: )

I'll just have to look deeper into the script.

But...now there is a problem...

Is this script capable of being merged with Legacy's Script? The 1-Scene CMS script?

If it is...can someone please help me with that?

And if not...sorry for the trouble guys...':|
 
Legacy's CMS is non-SDK if I believe, and this system is SDK.

Now under most circumstances, if you post a non-SDK script UNDER the SDK script itself, you override their functions. So posting a non-SDK Menu system beneath the SDK script will replace/remove the SDK functions and replace them with the Custom Menu's system.

Problem is that adding a "window" system (like a modified equip menu) to a Custom Menu system would normally require the "window" script to be posted below the Custom Menu. That being the case, when you add Legacy's script to the project, the SDK Menu functions will be removed before it even get's to Multi-Equip. If Legacy's script was SDK too, or if Multi-Equip was non-SDK (nope, can't remove the SDK from it)...

EDIT:
In responce to Landarma's post below... oops... Okay, it IS SDK... sorry.
 
Legacy's CMS is said 'SDK-compatible'. However, since it doesn't use Scene_Save for save screen, so if you want to use any script that adds its own global variables or something to save file with it, you have to edit CMS itself.
 
I'm a newbie at scripting. However, so far, this is how I understand it.

Legacy's script is compatible with SDK. That should mean that it would not override anything in the SDK script. Correct?

Since it doesn't, it means that the Multi-Equip funtion will still work...theoretically.

However, both the Multi-Equip function by Trickster and the 1-Scene CMS by Legacy change the Window_Equip script (or something like that, i'm not sure of the grammar/terms).

That is where the conflict comes it....I believe anyway.

If everything I said so far is correct...then theoretically, if we change the way the Multi-Equip script modifies the Window_Equip to follow the Window_Equip script that CMS made (or something like that) it should work, right?

I really need to learn more about scripting...

Maybe I'm wrong? I wish I understood better what you guys were talking about ':|

Clearcut Question: Is it possible to merge them? If so, may I request it? If not, what can I do?
 
CompletelyAnon;166836 said:
Is it possible to add more slots to a character in-game?
(ie: Arshes starts out not having a shield slot, but gains one at some point in the game)

No the slots are fixed if you want them to change then change the actor's class

dragonade30;167361 said:
I'm a newbie at scripting. However, so far, this is how I understand it.

Legacy's script is compatible with SDK. That should mean that it would not override anything in the SDK script. Correct?

Since it doesn't, it means that the Multi-Equip funtion will still work...theoretically.

However, both the Multi-Equip function by Trickster and the 1-Scene CMS by Legacy change the Window_Equip script (or something like that, i'm not sure of the grammar/terms).

That is where the conflict comes it....I believe anyway.

If everything I said so far is correct...then theoretically, if we change the way the Multi-Equip script modifies the Window_Equip to follow the Window_Equip script that CMS made (or something like that) it should work, right?

I really need to learn more about scripting...

Maybe I'm wrong? I wish I understood better what you guys were talking about ':|

Clearcut Question: Is it possible to merge them? If so, may I request it? If not, what can I do?

No the 1-Scene CMS is 1 Scene and I have edits to the Scene_Equip class so no they are not compatible, I will not merge them either. Even though Legacy's CMS is SDK compliant it still breaks compatibility with other scripts by it being 1-Scene
 

Z-Man

Member

Got this error when trying to run:

"undefined method `armor_ids' for #<Game_Actor:0x14066a0>"

Errored line was #86 which reads:

"armors = self.armor_ids"

I also tried running a battle test on the demo and that crashed as well, saying:

"undefined local variable or method `actor_id' for #<Game_Actor0x1433ea0>"

115: if Multi_Equip::BT_Equip.has_key?(actor_id)

Running the demo normally works fine, though.
 
If you don't have the MACL in your project then that could be the reason you are getting those errors make sure you copy each script from the demo
 
Great script Trickster. Since the first time i saw that was possible to attack several times in one attack command i knew that i'd use this script. But until now i can't use it because it's not compatible with the new version of SDK, which, actually, i'm using right now. i know this because i'm having a problem in line 34 of sprite battler (multi-attack), that's SDK state, same problem ocurred wiht others not compatible scripts that i tested. Do you plan to make it compatible with "new" SDK?
 
Nice upgrade Trickster. However, when i try to enter in my game i get this error:
Multi-Equip Game_Actor - wrong number of arguments (2 for 1)
Line 95 - elsif slot[0,1] == 'a'. I played the demo and worked perfectly, so i conclued that some of my scripts is probably causing this error. Could you help?
 
arachus;192605 said:
Nice upgrade Trickster. However, when i try to enter in my game i get this error:
Multi-Equip Game_Actor - wrong number of arguments (2 for 1)
Line 95 - elsif slot[0,1] == 'a'. I played the demo and worked perfectly, so i conclued that some of my scripts is probably causing this error. Could you help?

hmm I don't think it would be anything to do with what other scripts you have post the setup section of the script and we will go from there.
 
Status
Not open for further replies.

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