Melee Weapons - Is this the best way?
by Brian Wells · in Torque Game Engine · 03/18/2002 (6:58 pm) · 7 replies
Hello....
I have made a melee weapon, basically the jist is that it is a projectile with a very short range (ie the length of the sword, which is dependant on the type of swing the player initiated from his conntrols as in stab, swipe, slash, etc.)
My question is:
A) Is this the best way to do it? It seems like a good idea because the aim for the weapon would be pretty precise.
B) Has anyone adapted the hitbox detection based on projectile code? I have only seen it with the melee code.
C) What about something like two players swinging swords at each other, how would it be possible for them to hit each others swords?
D) I want the player to be able to haev a shield. Would the best way to do this be to use the hitbox idea, and just have the sheild haev a hitbox which does not take damage?
Thanks!
I have made a melee weapon, basically the jist is that it is a projectile with a very short range (ie the length of the sword, which is dependant on the type of swing the player initiated from his conntrols as in stab, swipe, slash, etc.)
My question is:
A) Is this the best way to do it? It seems like a good idea because the aim for the weapon would be pretty precise.
B) Has anyone adapted the hitbox detection based on projectile code? I have only seen it with the melee code.
C) What about something like two players swinging swords at each other, how would it be possible for them to hit each others swords?
D) I want the player to be able to haev a shield. Would the best way to do this be to use the hitbox idea, and just have the sheild haev a hitbox which does not take damage?
Thanks!
#2
I will have a horse in mine though lol.
Like I said if you guys want me to make you a horse too I can add some cheeky gold jewelry to mine for ya ;)
03/18/2002 (7:52 pm)
Nah not even close ;)I will have a horse in mine though lol.
Like I said if you guys want me to make you a horse too I can add some cheeky gold jewelry to mine for ya ;)
#3
08/24/2002 (2:35 pm)
Okay so ~when~ is this tutorial coming out?
#4
Hope we finish this soon, I've been very busy lately.
08/24/2002 (4:42 pm)
I'm working with josh to make a set of tutorials covering different kinds of tasks using hitboxes, ranging from simple boxes, to melee weapons and even projectiles.Hope we finish this soon, I've been very busy lately.
#5
About your horse is it a vehicle that you can ride on ?
If it is can you tell me how you did that !
I need a horse as a vehicle or something simular .
I made a horse already with bones with animations
so now i need some sort of code/script so i can use it
as a vehicle.
Maybe not part of this topic but what a ....
Greetings
Billy
08/26/2002 (9:20 am)
Hi Brian !About your horse is it a vehicle that you can ride on ?
If it is can you tell me how you did that !
I need a horse as a vehicle or something simular .
I made a horse already with bones with animations
so now i need some sort of code/script so i can use it
as a vehicle.
Maybe not part of this topic but what a ....
Greetings
Billy
#6
now back to the topic ;)
08/26/2002 (9:58 am)
@ Billy: Expect "walking" vehicles (like horses etc) be supported by Torque soon. They need it for Realm wars, and a discussion on how to implement it has been started. Everything look promising, so I think we'll see that kind of functionality soon.now back to the topic ;)
#7
This is really great maybe the best thing i'v heard
for a long time yippi !
A happy
Billy
08/26/2002 (12:16 pm)
Thx ward !This is really great maybe the best thing i'v heard
for a long time yippi !
A happy
Billy
Torque Owner Josh Albrecht
B) A person I met on IRC adapted my code to projectiles. We will be releasing an updated tutorial shortly (there will be ALOT of other improvements as well, everything is vastly improved).
C) I have that in my build. I use the code that will be coming in the tutorial, soon. :)
D) Yup. Its what I have in my code, which will be released in a tutorial, soon. :) Seeing a pattern?
No problem. :)
Btw brian, what game are you working on? It seems quite similair to mine... :)