Quick question on Dual Wielding.

Status
Not open for further replies.

Tevi

Fierce Demon Woof
Veteran
Joined
Mar 10, 2019
Messages
33
Reaction score
5
First Language
English
Primarily Uses
RMVXA
I have a small, quick question. Is there a way to limit weapons to specific weapon slots of Dual Wielding?
E.G. Weapon One = Swords only for that specific character and Weapon Two = Guns only for that specific character?
I know I've been posting a lot recently, I'm just bad at using RPG Maker-
 

Heirukichi

Veteran
Veteran
Joined
Sep 24, 2015
Messages
1,343
Reaction score
564
First Language
Italian
Primarily Uses
RMVXA
Everybody is bad at using the engine when using it for the first time so do not worry about such a thing. However there is one thing I find unclear: what do you exactly mean?

Is your situation similar to the following one?
E.g.
You have two weapons: Dagger and Pistol, both of them can be used for dual-wielding purposes.
You then have two actors: A and B - I suck at naming things.
A can use Dagger-Dagger or Pistol-Dagger while B can use Dagger-Pistol or Pistol-Pistol.

If this is not what you want to achieve could you be more specific?
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
1,853
Reaction score
408
First Language
English
Primarily Uses
RMVXA
I think you mean to have a specific weapon for a specific actor? This is irrelevant of dual wielding.
Each class or actor can be specified to use only a specific type of weapon. You just have to make that character only use guns. the other only use swords.
 
Last edited:

Tevi

Fierce Demon Woof
Veteran
Joined
Mar 10, 2019
Messages
33
Reaction score
5
First Language
English
Primarily Uses
RMVXA
I haven't been on the forums in a bit, sorry for taking so long to respond.
Okay, sorry for my terrible explanation, but what I meant was with Weapon 1 and Weapon 2, is there a way to make Weapon 1 only accept Sword type weapons and reject Gun type weapons, and Weapon 2 only accept Gun type weapons, rejecting Swords? (With a Specific Actor)
The Hime's Equip Manager script wouldn't even load properly, I probably installed it wrong.
Quick example- Basically for this actor ( Actor18 ) I want him to only be able to have guns (E.G the Pistol in the screenshot) in his second weapon slot, with him only being able to have swords in his main weapon slot. Both the Basic Sword and Pistol items have seperate weapon types.
upload_2019-3-29_19-0-36.png
However, I don't want him to be able to do this:
upload_2019-3-29_19-2-59.png
or the equivalent with the Guns.

Sorry again for the confusion.

EDIT: Oh yeah, about the shield solution-
Other characters use shields, so I can't rename my Shield slot.
 

Heirukichi

Veteran
Veteran
Joined
Sep 24, 2015
Messages
1,343
Reaction score
564
First Language
Italian
Primarily Uses
RMVXA
Other characters use shields, so I can't rename my Shield slot.
If that is what is restraining you just name them "Main Hand" and "Off-Hand", that is a generic way of calling those slots so that you can put both shields and weapons
 

Tevi

Fierce Demon Woof
Veteran
Joined
Mar 10, 2019
Messages
33
Reaction score
5
First Language
English
Primarily Uses
RMVXA
That could work, but one unresolvable annoying thing about the shield solution is that the Guns will appear in Armours rather than in Weapons, and sadly I'm unable to just simply rename armours without it confusing at least somebody. I do appreciate the attempt to solve that issue though.

EDIT: Sorry for sounding so whiney by the way.. I'm terrible for that.
 

Heirukichi

Veteran
Veteran
Joined
Sep 24, 2015
Messages
1,343
Reaction score
564
First Language
Italian
Primarily Uses
RMVXA
Do not worry. Everything can be done. I would not like a solution that puts off-hand weapons in the same category as armors either - unless using a modified menu. The point is that if you do not want to do it this way you have to do it using a script. An easy solution would be to select usable (or unusable) weapon categories and show (respectively hide) them when a certain actor equip menu is selected.

That mens overwriting the draw_item method for that window but if you can achieve it with just a single method you should be fine. I would write that myself but I m from mobile and I cannot access the engine right now. As you can imagine this makes things quite hard to do.
 

Tevi

Fierce Demon Woof
Veteran
Joined
Mar 10, 2019
Messages
33
Reaction score
5
First Language
English
Primarily Uses
RMVXA
I don't really understand what you mean by the 'draw_item' method, and to be honest I'd rather not mess around with the base script, I don't know RGSS3 well enough, and I'll break something.
 

Kes

Global Moderators
Global Mod
Joined
Aug 3, 2012
Messages
21,438
Reaction score
10,854
First Language
English
Primarily Uses
RMVXA
@Tevi What I believe @Heirukichi is suggesting is not that you mess around with the base script - changing that is rarely good practice. If I have understood correctly, they are suggesting an additional small script which they appear to be offering to write for you.

As what you want cannot be done except with a script, I am moving this to RGSS3 Script Requests.

 

Heirukichi

Veteran
Veteran
Joined
Sep 24, 2015
Messages
1,343
Reaction score
564
First Language
Italian
Primarily Uses
RMVXA
I can write it for you but you have to wait for a couple of days. I will not have time to do it before tomorrow evening though (European Time).

EDIT: ninjed by @Kes
 

Tevi

Fierce Demon Woof
Veteran
Joined
Mar 10, 2019
Messages
33
Reaction score
5
First Language
English
Primarily Uses
RMVXA
That'd be a big help, thank you. I don't mind waiting a couple days, I can work on maps and things in the meanwhile. Once again, thanks, I'll be looking forward to it.
 

Heirukichi

Veteran
Veteran
Joined
Sep 24, 2015
Messages
1,343
Reaction score
564
First Language
Italian
Primarily Uses
RMVXA
@Tevi I did not forget about you, I have just been busy this weekend. However, here is the little script I made for you. In the end I had to edit more than just a single method and I decided to add a configuration module to it so that you can eventually use it in more than just one game.

You can find the full script here.
 
Last edited:

Tevi

Fierce Demon Woof
Veteran
Joined
Mar 10, 2019
Messages
33
Reaction score
5
First Language
English
Primarily Uses
RMVXA
I mean, my internet went down.. so.. doesn't really matter that you were busy a weekend. And thank you, I appreciate it. I'mma try figure out how to use it, and I'll make sure to give credit. Thanks again!
EDIT: Works pretty well, don't know if it allows me to seal the dual weapon to only the dual weapon slot, but it's definitely a good solution. Thanks again! I've made sure to put credit to you.
EDIT EDIT: for the purpose I gave (not the purpose I meant, but I didn't fully explain it properly again -.-), the script works perfectly.
 
Last edited:

Tevi

Fierce Demon Woof
Veteran
Joined
Mar 10, 2019
Messages
33
Reaction score
5
First Language
English
Primarily Uses
RMVXA
As in, the pistol can still be used in the first slot. But I am still very grateful, despite not knowing how (if it's even possible) to make that happen.

EDIT: Come to think of it, I only provided screenshots for swords, and said "The equivalent with guns" so.. sorry for not making that clear. I'm really good at confusing people.. ;-;
 
Last edited:

Heirukichi

Veteran
Veteran
Joined
Sep 24, 2015
Messages
1,343
Reaction score
564
First Language
Italian
Primarily Uses
RMVXA
As long as you properly set up the Config module it does exactly what you asked for (and it is tested).
 

Tevi

Fierce Demon Woof
Veteran
Joined
Mar 10, 2019
Messages
33
Reaction score
5
First Language
English
Primarily Uses
RMVXA
I never said it didn't do what I asked for, just saying. I'm pretty sure I clarified that I just incorrectly said it, and my screenshots only showed one part. I'm not at all saying you've done anything wrong, or that you are bad or anything of the sort. Quite the opposite actually, I'm insulting myself for not realising my mistake in my explanation.
Unless I'm just being an idiot and it does in fact make it so I can limit a weapon to purely the dual wield slot and prevent it from going into the first weapon slot.
Anyways, again, my bad. As I said, I still appreciate the script even if I either don't know how to use it properly, or I've explained it incorrectly.
Sorry for being so much trouble.
Editing again: When I say "I never said it didn't do what I asked for" I mean that I never said it didn't do what I explained was the issue, and it was due to my poor explanation that I still have a problem.
 

Heirukichi

Veteran
Veteran
Joined
Sep 24, 2015
Messages
1,343
Reaction score
564
First Language
Italian
Primarily Uses
RMVXA
limit a weapon to purely the dual wield slot and prevent it from going into the first weapon slot.
You're not being an idiot at all. In fact, that is something that is not implemented. I'll soon add that feature for you. It was my bad for not understanding what you were saying.
 

Tevi

Fierce Demon Woof
Veteran
Joined
Mar 10, 2019
Messages
33
Reaction score
5
First Language
English
Primarily Uses
RMVXA
I didn't explain it correctly, so was entirely my fault. Thanks for deciding to add it (whenever you do) and again, I'm willing to wait a little.
Edit: Fixed speling mistakes.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

I like being a butt to people.
Dirtnap wrote on Tyler Warren's profile.
Hi Tyler,

My name is Sean, I am the owner of an indie studio, and I am looking to get some paid art work done. I am working with MV, but our programmer will be heavily modifying it.

If you are interested, or would like to hear more, I can provide my personal e-mail address.

S.G.
The stream will be live shortly with some more Witcher 3! Feel free to drop by~
Its Chinese new year today! Happy year of the rat~
just got back from the doctor about my back - 3 -)~ will know in a week or so's time how bad the problem is. Overall doing better though! not hurting so badly.

Forum statistics

Threads
93,593
Messages
913,799
Members
123,143
Latest member
helpmeicantaim
Top