Melee weapons? - Page 2

Melee weapons?

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

User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Post by Pxtl »

Wait, so explosions don't hit the collision-sphere, they hit the centre? Then how do small-radius weapons hurt large targets? Are Krogoths immune to EMGs?
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

Argh wrote:Beamlasers obey areaofeffect :roll:
Try it.
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Post by Peet »

imbaczek wrote:
Argh wrote:Beamlasers obey areaofeffect :roll:
Try it.
They do!
User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

Post by Guessmyname »

Pxtl wrote:Wait, so explosions don't hit the collision-sphere, they hit the centre? Then how do small-radius weapons hurt large targets? Are Krogoths immune to EMGs?
Weapons hit the sphere, but the aoe has to reach the centre. I've had to bump up damage on purpose (and make new armour classes) for big units...
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

I'm pretty sure I fixed the beamlaser so aoe does not interfere with the unit hit directly. Setting minintensity will help with damage fading off after a distance.
Archangel of Death
Posts: 854
Joined: 28 Jan 2005, 18:15

Post by Archangel of Death »

I can understand, with the current way explosions work (expanding sphere), why you would want to just use the center of the unit to determine if it is in the AOE. It would be quite taxing if it did a hitsphere check, and a nuke would probably be completely game breaking.

But how hard would it be to make a weapon directly damage its target on imact? New tag "DamageOnHit = 0/1", where when the weapon registers an impact on an object it sends its damage directly to that object. Maybe with another "NoAOE" tag so modders can avoid double hits from the AOE's following impact check and probably save a little processor time in the process, or not, if they don't want to.

I'm scared of the code, but I'll take a look to at least see if it can be done with horrendous amounts of recoding. In my head its just a couple new tags and a new conditional statement.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

Um, while you're at it, can you code up an "instant AOE" condition TDF tag, as well? That's a very inefficient area of Spring, and I hate it, because it makes weapon balance rather wonky. Just my $0.02
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

ExplosionSpeed=65536;

Also from what I heard the AOE is calculated at the edge of the unit, i.e. the unit's radius is added to the AOE to determine if it's hit. After all low-AOE weapons can damage4 the larger units in Gundam so that's really not the issue.
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Post by Pxtl »

I'm curious - can aircraft have melee weapons? If a gunship has a super-short-ranged-weapon, is it smart enough to attempt to change altitude to engage a target at a different height?
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Gunships will never change altitude AFAIK but you could make them have enough range to reach the ground...
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

oooooooooh, good question!
Post Reply

Return to “Game Development”