View topic - Status of melee weapons.


All times are UTC + 1 hour


Post new topic Reply to topic  [ 28 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Status of melee weapons.
PostPosted: 24 Mar 2008, 04:04 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Firstly because I fully expect to hear hackish solutions, I am wanting to know if we have melee weapons that can:

1: Not use multiple weapons to counter larger units

2: attack a 2X2 unit or a 20X20 unit just fine by walking up and shooting.

3: not use a weapon emit for it's use


so say, can the weapon be put on a warcraft style footman? Will said footman attack other footmen fine? will it be able to also attack castles?

Again, I want to know about the status of a melee weapon, not using tricks. DO WE HAVE A PROPERmelee weapon yet?
Top
 Offline Profile  
 
PostPosted: 24 Mar 2008, 06:52 
User avatar

Joined: 21 Feb 2005, 03:38
Location: Herding cats uphill whilst wearing roller skates.
No, there's nothing exactly like you want. It can be done, though. It's just not a one-liner, easy solution. Hint: for a nearly-perfect solution, you have to use LUA. However, even the "hackish" stuff works fairly well, if you set it up as a conditional cascade.
Top
 Offline Profile  
 
PostPosted: 24 Mar 2008, 08:24 
Game Developer
User avatar

Joined: 25 Jun 2006, 07:44
Location: Germany
weaponType=Melee;

In 76b1 the drawback is that it cannot be used without applying impulse, that's fixed in SVN. I think targetBorder should allow it to attack larger targets as well.
Top
 Offline Profile  
 
PostPosted: 24 Mar 2008, 08:29 
User avatar

Joined: 21 Feb 2005, 03:38
Location: Herding cats uphill whilst wearing roller skates.
But you still have the issue of relative range. Or does it entirely not use range at all now?
Top
 Offline Profile  
 
PostPosted: 24 Mar 2008, 08:38 
Game Developer
User avatar

Joined: 25 Jun 2006, 07:44
Location: Germany
What do you think targetBorder DOES?

Probably the biggest problem with melee in Gundam is firearcs, a firearced unit has trouble getting the target in its cone of attack. IIRC when I tried it in Lolimod I came to the conclusion that melee weapons should not have a limited arc or the unit using them will be too slow to turn around.

EDIT: Grrr, it's completely broken in 76b1, targetBorder doesn't seem to do anything. I'm pretty sure it worked in the SVNs preceeding that version, WTF?
Top
 Offline Profile  
 
PostPosted: 24 Mar 2008, 10:58 
Moderator

Joined: 22 Aug 2006, 15:19
maybe there's an issue with cylinderTargeting, too? Those two (targetBorder and cylinderTargetting) should be all set on melee weapons and have sane values, but maybe some changes stopped it from assuming a correct value by default.
Top
 Offline Profile  
 
PostPosted: 24 Mar 2008, 12:13 
Game Developer
User avatar

Joined: 25 Jun 2006, 07:44
Location: Germany
I've tested it with LaserCannons too, the unit tries to close in even though it's already in the hit sphere and it does not attack. I think it might be the unit itself deciding it's not close enough instead of the weapon.
Top
 Offline Profile  
 
PostPosted: 24 Mar 2008, 12:56 
Game Developer
User avatar

Joined: 25 Jun 2006, 07:44
Location: Germany
I did some further testing with Lolimod, the weird thing is it works there, just when I try it with Gundam units (that I have modified to use targetborder) it fails. WTF?
Top
 Offline Profile  
 
PostPosted: 24 Mar 2008, 15:09 
Modeler
User avatar

Joined: 28 Apr 2005, 20:07
Location: Next to the girl with kaleidascope eyes
Possible. Though you might want to use the melee weapon as a dummy then emit an attack, simply to sync it with the attack animation.
Top
 Offline Profile  
 
PostPosted: 24 Mar 2008, 16:34 
Game Developer
User avatar

Joined: 25 Jun 2006, 07:44
Location: Germany
Eh, just make the animation fast enough. I don't think people mind that the KPDZ worm hits a target at the start of its attack animation.
Top
 Offline Profile  
 
PostPosted: 24 Mar 2008, 16:55 
User avatar

Joined: 23 Oct 2004, 00:43
While this is totally the wrong kind of place to suggest features like this - perhaps melee weapons could have a tag for "delay" that determines how long it takes between firing and impact, for the sake of simplicity.
Top
 Offline Profile  
 
PostPosted: 24 Mar 2008, 19:34 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
smoth wrote:
3: not use a weapon emit for it's use
Guessmyname wrote:
Possible. Though you might want to use the melee weapon as a dummy then emit an attack, simply to sync it with the attack animation.


:(

that is a good idea pxtl.

Kdr, any idea on why it isn't working with the gundam units?
Top
 Offline Profile  
 
PostPosted: 24 Mar 2008, 20:01 
Game Developer
User avatar

Joined: 25 Jun 2006, 07:44
Location: Germany
If I had one I'd have fixed it already.
Top
 Offline Profile  
 
PostPosted: 24 Mar 2008, 20:03 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
true enough. Sorry.
Top
 Offline Profile  
 
PostPosted: 24 Mar 2008, 20:19 
Modeler
User avatar

Joined: 28 Apr 2005, 20:07
Location: Next to the girl with kaleidascope eyes
smoth wrote:
smoth wrote:
3: not use a weapon emit for it's use
Guessmyname wrote:
Possible. Though you might want to use the melee weapon as a dummy then emit an attack, simply to sync it with the attack animation.


:(


I know. I was saying that they do work: the emit thing is only if you want the anim and the actual hit to sync up.
Top
 Offline Profile  
 
PostPosted: 01 Aug 2011, 22:30 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
M-m-monster bump

So I am summoning this thread from the depths...

Looking at melee in the nearish future. A few things I might do:

Unit stops in place does swing animation..
Rapid fires a weapon forward.
Target get hit by weapon call...
Chance to block if direction comes from front...
If success target does block animation...

Thoughts guise?
Top
 Offline Profile  
 
PostPosted: 02 Aug 2011, 00:07 
Conflict Terra Developer
User avatar

Joined: 21 Jan 2010, 06:21
Location: Tucson
If you go through with this, I demand that Char's Zaku's melee attack is a booster kick.
Top
 Offline Profile  
 
PostPosted: 02 Aug 2011, 00:10 
Modeler
User avatar

Joined: 15 Dec 2008, 15:53
Location: at front, llt pushing
didnt MK have good looking melee ? seen some gif/whatever it was. could be good idea to start with that, dunno if u know about it already or not.
Top
 Offline Profile  
 
PostPosted: 02 Aug 2011, 06:25 
Conflict Terra Developer
User avatar

Joined: 21 Jan 2010, 06:21
Location: Tucson
After actually thinking about this some more, will different units have different block chance percentages? Or is this a global value?
Top
 Offline Profile  
 
PostPosted: 02 Aug 2011, 08:44 
User avatar

Joined: 22 Feb 2006, 01:02
Location: cheap kitchen
smoth wrote:
Unit stops in place does swing animation..
Rapid fires a weapon forward.
Target get hit by weapon call...
Chance to block if direction comes from front...
If success target does block animation...
Yes, that would all work.
Problem I found with short ranged "melee weapons" was that when in close distance (like it happens in melee combat) weapons refuse to fire sometimes. (also a problem with CT's mining if the weapon range is set too low) I think it has to do with hitvolumes intersecting or emit points being inside a hitvolume(?)
Anyway, because I could I not get a weapon to reliably work at "in your face" distance, I made some script thing.
Just a counter for reload/cooldown and then do
AddUnitDamage (NearestTarget)
ApplyImpulse (NearestTarget)
which worked okay-ish. (some of the units in that lol-video with the "unit tentacles" are actually meeling each other using that system)

But I think best would be a gadget that keeps track of all melee units.
ie their recharge, blocking status, and if a attack was blocked.
The gadget would then deal out damage via AddUnitDamage() and use CallAsUnit() to notify units what animation to play (attack/block/hit)
Top
 Online Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 28 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Site layout created by Roflcopter et al.