Melee seems to be more feasible in SVN

Melee seems to be more feasible in SVN

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Melee seems to be more feasible in SVN

Post by KDR_11k »

I'm testing some melee combat and so far it sems like melee works better in the current SVN. In 74b3 I had to set the range to 200 and the unit walked much closer than that before attacking, in SVN 100 works as range.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

what does it do against a building... like say a hanger in gundam?
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Hm, haven't tried that. Let me whip up a test...

EDIT: I've tested it with the mainfac from GINTA, works. Next up is the bigfac from CvC...
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

interesting, so the unit now actually can fire, target etc regardless of the distance to the center of it's target?
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

No, doesn't seem so, the bigfac (11x11) is giving the unit trouble (it'll slash occassionally but not often and has trouble getting into a useful position). The mainfac (7x7) worked, though.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

well, you can always go for no attacking giant buildings with swords thing but I'd like a solution to allow it :(.
User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

Post by Guessmyname »

How about doing this for melee?

Weapon1 - only targets units, short range
Weapon2 - only targets large stuff, longer range
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

^Bingo.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

That would create issues with the unit moving into range, though. Either it would try to get closer than it can to a big building or it would stand outside of the range of a small target.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

Exactly. Would be better if there was some sort of priority, i.e. longest range first, then the next best and all the way down to the shortest range. If the long range one weapon can't aim (reloading, disabled) then the next best weapon range will be used instead.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

*sighs* still fail.

I look forward to a proper implementation.
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Post by Pxtl »

Yep. The fact is that this is still a bug. Weapon ranges should consider the diameter of the target hitsphere and add the target's radius to their own range, thus figuring the distance to the nearest part of the target, and not the distance to the centre of the target.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

smoth wrote:*sighs* still fail.

I look forward to a proper implementation.
My post wasn't particularly about melee combat. Yeah someone finish the melee projectile which has been in the svn like forever.
Post Reply

Return to “Game Development”