Page 1 of 1

{Request] Guns good for melee attacks?

PostPosted: Thu Sep 16, 2010 5:43 pm
by amv2k9
So, I'm considering on starting a weapons mod as a first project to teach myself about making weapons & DECORATE. Idea behind the wad is, each weapon has a blade attachment for a Secondary Fire melee attack: the Pistol has a curved blade pointing down from where a laser sight would normally be, the shotgun (actually a revolver shotgun) has an axe blade, etc.

Right now, I'm just looking for sprites suitable for a Pistol replacement. A machine pistol (heck, a small SMG might work) is what I'm aiming for; something that would concievably have fully automatic fire in addition to semi-automatic: If I'm up to the task, I'd like to implement switchable fire modes for each weapon that affect not only the Primary Fire, but the melee attacks as well.

It doesn't need to be a realistic-looking weapon, seeing as how unrealistic the idea behind the wad is. I've looked around the Resources board & haven't really seen anything that you could edit a blade on & have it be visible.

Re: {Request] Guns good for melee attacks?

PostPosted: Thu Sep 16, 2010 5:51 pm
by Duducrazy
the only gun-with-a-blade i know is the Bayonet Rifle from the Doom Alpha 0.4

Re: {Request] Guns good for melee attacks?

PostPosted: Thu Sep 16, 2010 6:16 pm
by amv2k9
Duducrazy wrote:the only gun-with-a-blade i know is the Bayonet Rifle from the Doom Alpha 0.4


Oh no, I meant I would add the blade on myself. What I need is a machine pistol that aligned on the right side of the screen, rather than centered like Doom's weapons are so that you'd actually be able to see a blade mounted towards the end of the barrel & pointing downward.

Re: {Request] Guns good for melee attacks?

PostPosted: Thu Sep 16, 2010 7:34 pm
by XutaWoo
You could try the Zen II or Chaos 0 from Zen Dynamics; they're actually SMGs, but they look more like machine pistols to me.

Re: {Request] Guns good for melee attacks?

PostPosted: Thu Sep 16, 2010 8:13 pm
by Xaser
How about this one?
Or maybe this variant?

Re: {Request] Guns good for melee attacks?

PostPosted: Mon Sep 20, 2010 4:11 pm
by amv2k9
Thanks for the submissions, XutaWoo & Xaser!

I actually started working with the Duke64 SMG but it's not that great; I'll post it tomorrow maybe and see if somebody more skilled at spriting could give me some pointers.

Re: {Request] Guns good for melee attacks?

PostPosted: Mon Sep 20, 2010 6:57 pm
by HellCattX
I've edited a few ak-47's to be a cold war Ak-47's with strait bayonet. The best thing i found for the stabbing motions, is to have 3 frames pulling back then 5-7 of stabbing forward fastly. i also use the same sprite for that, just renamed and re-origined each one.

Image

Re: {Request] Guns good for melee attacks?

PostPosted: Mon Sep 20, 2010 8:16 pm
by Ceeb
The muzzle flash should be like... Over the bayonet, shouldn't it?

Re: {Request] Guns good for melee attacks?

PostPosted: Mon Sep 20, 2010 9:04 pm
by HellCattX
lol there is more frames than that, one has a filled in flash oover the bayo, to give a flash like effect on blade. Just choose that one for ezier modding.

Re: {Request] Guns good for melee attacks?

PostPosted: Wed Sep 22, 2010 3:51 pm
by amv2k9
So, here it is. Like I said, not too great. I'd be thankful for some tips on how to make it look better.
Image

Re: {Request] Guns good for melee attacks?

PostPosted: Mon Oct 04, 2010 6:33 pm
by amv2k9
Also, what 's a good source of information for DECORATE, other than the wiki? I'm completely new to this, and have studied the relevant "weapons" section, and various wads to see how things like reloading & fire modes are implemented, but I'm still pretty lost.

Thanks for the help in advance.

Re: {Request] Guns good for melee attacks?

PostPosted: Mon Oct 04, 2010 9:53 pm
by HellCattX
Here's code for the AK-47 i posted modify it to your needs if ya like.

Code: Select allExpand view
ACTOR AK47 : Weapon
{
   Weapon.Kickback 3
   Weapon.AmmoType "762A"
   Weapon.AmmoGive 90
   Weapon.AmmoUse 1
   +WEAPON.AXEBLOOD
   Inventory.PickupSound "misc/w_pkup"
   Inventory.PickupMessage "Found a AK47!"
   Obituary "%o was 3rd World'd by %k's AK47."
   AttackSound "weapons/AK47"
   Decal BulletChip
   States
   {
   Spawn:
      A47W W -1
      Loop
   Ready:
      AK4G A 1 A_WeaponReady
      Loop
   Deselect:
      AK4G A 1 A_Lower
      Loop
   Select:
      AK4G A 1 A_Raise
      Loop
   Fire:
      AK4F A 1 A_GunFlash
      AK4F B 1 A_FireBullets(4, 4, 1, 15, "BulletPuff", 1)
      AK4F B 0 A_FireCustomMissile("762MMCasing",0,0,3,6)
      AK4G A 3 A_CheckForReload(30, "Rest")
      A47R A 0 A_PlaySound("weapons/Preload")
      A47R ABCD 6
      A47R E 6 A_FireCustomMissile("EPTM16MAG",0,0,3,6)
      A47R DCB 6
      A47R A 6 A_ResetReloadCounter
      AK4G A 6 A_ReFire
      goto Ready
   AltFire:
      AK4G AFGA 2
      AK4G CD 4
      AK4G E 4 A_saw("weapons/Kswing","weapons/Khit", 10)
      AK4G DCA 3
      goto Ready
   Rest:
      AK4G A 1
      AK4G A 1 A_Refire
      Goto Ready
   }
}

Re: {Request] Guns good for melee attacks?

PostPosted: Mon Oct 04, 2010 10:07 pm
by Ceeb
Code tags code tags CODE TAGS.

Re: {Request] Guns good for melee attacks?

PostPosted: Mon Oct 04, 2010 11:15 pm
by HellCattX
gah, your right, somehow my broswer isnt letting me click the buttons. i really should preview my stuff b4 posting, sorry.

Re: {Request] Guns good for melee attacks?

PostPosted: Mon Oct 11, 2010 3:01 pm
by amv2k9
Thanks for that, HellCattX. I'm sure it will come in handy to look at... When I get that far, anyway :mrgreen: Right now I'm sorta looking for a "basics of the basics" tutorial for making weapons in DECORATE.