Melee Weapons

recreating weapons
Post Reply
Clay
Posts: 1
Joined: Thu Apr 01, 2010 6:11 pm

Melee Weapons

Post by Clay » Thu Apr 01, 2010 6:17 pm

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.

DOT
Posts: 151
Joined: Sat Sep 19, 2009 11:56 am

Re: Melee Weapons

Post by DOT » Fri Apr 02, 2010 7:35 am

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?

User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Re: Melee Weapons

Post by Balthazar » Fri Apr 02, 2010 8:15 am

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

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: Melee Weapons

Post by zuzuf » Fri Apr 02, 2010 8:28 am

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).
=>;-D Penguin Powered

DOT
Posts: 151
Joined: Sat Sep 19, 2009 11:56 am

Re: Melee Weapons

Post by DOT » Fri Apr 02, 2010 10:42 pm

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; ?

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: Melee Weapons

Post by zuzuf » Fri Apr 02, 2010 11:33 pm

Yeah, that's the idea :)
=>;-D Penguin Powered

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests