Dual wield guns like daggers dual wield trait.

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
Post Reply
barronvonburp
Posts: 30
Joined: Mon Jul 13, 2015 7:41 am

Dual wield guns like daggers dual wield trait.

Post by barronvonburp »

I would verymuch like to be able to use guns in the same manner as pistols, and I have no clue how to go about making this.
barronvonburp
Posts: 30
Joined: Mon Jul 13, 2015 7:41 am

Re: Dual wield guns like daggers dual wield trait.

Post by barronvonburp »

Alright, I figgured out how to make it so I can shoot both guns as if i was dual wielding, however how would I make it so they have the little section thing that daggers do (shows seperate cooldowns)
1st edit:I was wrong, I didn't figgure it out.
2nd edit: For reference, you can't even make it so that the daggers shoot and get seperate cooldowns.
Azel
Posts: 808
Joined: Thu Nov 06, 2014 10:40 pm

Re: Dual wield guns like daggers dual wield trait.

Post by Azel »

In my Mod, I cloned each Gun and simply gave them infinite ammo. That allows the character to hold a gun in each hand effectively. However, additional work would have to be done in order to allow the player to truly dual-wield (apply the Cooldown to only one hand). Shouldn't be too hard, I think :mrgreen:
minmay
Posts: 2790
Joined: Mon Sep 23, 2013 2:24 am

Re: Dual wield guns like daggers dual wield trait.

Post by minmay »

Dual wielding only works properly with MeleeAttackComponent and RunePanelComponent. Other ItemActionComponents will always put both hands on cooldown.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
User avatar
akroma222
Posts: 1029
Joined: Thu Oct 04, 2012 10:08 am

Re: Dual wield guns like daggers dual wield trait.

Post by akroma222 »

minmay wrote:Dual wielding only works properly with MeleeAttackComponent and RunePanelComponent. Other ItemActionComponents will always put both hands on cooldown.
Works with Runepanel?? Which dual wield trait does this minmay? :)
minmay
Posts: 2790
Joined: Mon Sep 23, 2013 2:24 am

Re: Dual wield guns like daggers dual wield trait.

Post by minmay »

What do you mean? It works the same with RunePanelComponent as it does with MeleeAttackComponent.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
User avatar
akroma222
Posts: 1029
Joined: Thu Oct 04, 2012 10:08 am

Re: Dual wield guns like daggers dual wield trait.

Post by akroma222 »

Hmm,
I have tried dual wielding a dagger and runewand together
with both "dual_wield" and "improved_dual_wield" traits...

But no dual wielding for me... I must be missing something here?? :roll:
minmay
Posts: 2790
Joined: Mon Sep 23, 2013 2:24 am

Re: Dual wield guns like daggers dual wield trait.

Post by minmay »

The item with the RunePanelComponent needs the "light_weapon" or "dagger" traits to be dual-wielded, just like any other item...
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
User avatar
akroma222
Posts: 1029
Joined: Thu Oct 04, 2012 10:08 am

Re: Dual wield guns like daggers dual wield trait.

Post by akroma222 »

minmay wrote:The item with the RunePanelComponent needs the "light_weapon" or "dagger" traits to be dual-wielded, just like any other item...
Ahh sure, Of course (pls excuse my befuddlement today, brain is not working)
Post Reply