Page 1 of 1

Melee Weapons

Posted: Thu Apr 01, 2010 6:17 pm
by Clay
Does TA3D support melee weapons? Any information would be good.

Theres a few of us Kingdoms guys who are pondering on bring TAK to TA3D. And if theres no melee, well its just not worth it.

Re: Melee Weapons

Posted: Fri Apr 02, 2010 7:35 am
by DOT
I dont know if TA supports it but you can trick it with invisible lasers i think this is the one you are looking for?

Re: Melee Weapons

Posted: Fri Apr 02, 2010 8:15 am
by Balthazar
DOT wrote:I dont know if TA supports it but you can trick it with invisible lasers i think this is the one you are looking for?
Yeah, why not - invisible laser + melee animation - that`s it :P

Re: Melee Weapons

Posted: Fri Apr 02, 2010 8:28 am
by zuzuf
Quite easy to do:
  • use the weapon rendertype that match the effect you want (possibly an empty 3D model)
  • make it explode at end of range
  • make it a short range weapon in order to make it "explode" when fired
  • set damage area to something small enough to affect only the target
You may have troubles with the damage area which may include the shooter, if this is problem I'll add a flag to restrict the list of damageable units to the target or to other units (to prevent damaging yourself :P).

Re: Melee Weapons

Posted: Fri Apr 02, 2010 10:42 pm
by DOT
zuzuf wrote: You may have troubles with the damage area which may include the shooter, if this is problem I'll add a flag to restrict the list of damageable units to the target or to other units (to prevent damaging yourself :P).

Selfdamage=BOOL; ?

Re: Melee Weapons

Posted: Fri Apr 02, 2010 11:33 pm
by zuzuf
Yeah, that's the idea :)