Melee And More...
by Paul /*Wedge*/ DElia · 05/29/2006 (12:13 am) · 3 comments
So after losing two weeks to moving and fixing some inane computer issues (who would've thought a USB wireless adapter could cause random system lockups), I've finally been able to get a little bit of work done. Melee combat has proved overall fairly simple using the (mostly) standard ShapeImage class.
I'm just using a single slash, no combo sequences; those are tricky to have relevant while keeping fast paced gameplay. You can however, hold down the slash key to charge up for your next attack to be super powered. And when holding a sword with two hands, the second mouse trigger launches a tech attack that goes through defenses and stuns someone. You can also block with swords. Blocking can repel another melee attack or deflect bullets. Depending on the situation, you can even reflect the bullets back.
The guns are very fleshed out now, with subclasses for SMGs, Rifles, Shotguns, and Pistols (with rocket launchers being easy to add). Shotguns have dynamic reload times based on the number of shells and Pistols play support recoil animations on the hand when they're fired. It's really easy to add stuff like that with just a few tweaks to the subclasses, while almost all the core code stays in the main gun class. The melee weapons are setup to work the same way, I just haven't actually setup subclasses to test them yet.
Players can be "stunned" now, which plays into the melee system a lot, as well as potentially other things. I can prevent players from firing, and optionally prevent them from moving, with the flick of a switch. There is some old code I want to try to mix with this and power melee strikes. It would let you launch someone through the air and have them slam and briefly stick against a wall. And as usual, I've done a bunch more tweaks and bug fixes to the player physics.
Hay look pictures!
You can freely mix melee with guns.

Bullets being reflected back at my wonderful dummy "AI"

Dual SMGs fire a _lot_ of bullets.
Somewhere along the line I did something that made it spawn 2 shell casings for each shot... I can't remember what I did or how to get rid of it now ^.^
I'm just using a single slash, no combo sequences; those are tricky to have relevant while keeping fast paced gameplay. You can however, hold down the slash key to charge up for your next attack to be super powered. And when holding a sword with two hands, the second mouse trigger launches a tech attack that goes through defenses and stuns someone. You can also block with swords. Blocking can repel another melee attack or deflect bullets. Depending on the situation, you can even reflect the bullets back.
The guns are very fleshed out now, with subclasses for SMGs, Rifles, Shotguns, and Pistols (with rocket launchers being easy to add). Shotguns have dynamic reload times based on the number of shells and Pistols play support recoil animations on the hand when they're fired. It's really easy to add stuff like that with just a few tweaks to the subclasses, while almost all the core code stays in the main gun class. The melee weapons are setup to work the same way, I just haven't actually setup subclasses to test them yet.
Players can be "stunned" now, which plays into the melee system a lot, as well as potentially other things. I can prevent players from firing, and optionally prevent them from moving, with the flick of a switch. There is some old code I want to try to mix with this and power melee strikes. It would let you launch someone through the air and have them slam and briefly stick against a wall. And as usual, I've done a bunch more tweaks and bug fixes to the player physics.
Hay look pictures!
You can freely mix melee with guns.

Bullets being reflected back at my wonderful dummy "AI"

Dual SMGs fire a _lot_ of bullets.
Somewhere along the line I did something that made it spawn 2 shell casings for each shot... I can't remember what I did or how to get rid of it now ^.^About the author
#2
Wouldnt be a DLINK wireless USB, would it? I got one of those and its constantly locking my machine too....
05/29/2006 (6:15 am)
Cool!!Wouldnt be a DLINK wireless USB, would it? I got one of those and its constantly locking my machine too....
#3
05/29/2006 (7:37 am)
Naw it was some cheap brand... Airlink+ or something. It worked fine on a friends computer too. I just went out and got a generic PCI wireless and it's been fine since.
Associate Tom Spilman