Melee Weapons and KActors

All about Chaos for Unreal... (UT3, UT2004, UT2003, UT)
Post Reply
smokeringhalo1
Posts: 6
Joined: Wed Jun 30, 2004 11:35 am

Melee Weapons and KActors

Post by smokeringhalo1 »

Making a Duel map and cannot get Melee weapons to register hits on Karma actors. Projectile Weapons work as usual but melee weapons travel right through the mesh of the Kactor
However the melee weapons do hit the mesh when used as a normal static mesh and not a KActor.
I've been trying everything I can think of for hours to no avail.
Any ideas or information on how to get this working would be appreciated.
Thanks.
jb
Posts: 9825
Joined: Fri May 03, 2002 12:29 am
Location: Coral Springs, FL
Contact:

Post by jb »

Hmmm will have to look into that. The melee weapons use a modifed trace system to do hit detection. They have "bones" placed in the 3rd model of the weapon and while the weapon is being swung, the code traces between the "bones" during the swing. If something crosses the trace path then it should be detected. My guess is that the Kactors are not being picked up by the trace...will have to double check. Thanks!
Jb
smokeringhalo1
Posts: 6
Joined: Wed Jun 30, 2004 11:35 am

Post by smokeringhalo1 »

Please let me know the results and any solution you may come up with.
I gotta get this cage swinging!!!
Image[/img]
Weapon travels right through KActor
R.Flagg
Chaotic Dreams Team
Posts: 8460
Joined: Thu May 09, 2002 2:55 pm

Post by R.Flagg »

Even if you did, wouldn't that be the kind of thing that we would not see swinging online? (like the lamps in ChaosDM1)

Or would this be different?
Bananasalat
Posts: 158
Joined: Wed Sep 24, 2003 1:06 pm
Location: Germany
Contact:

Post by Bananasalat »

i have the same problem :?
Image
In Onlinegames my name is >NV<UTMaster.

Es gibt nur einen Gott - BelaFarinRod!
smokeringhalo1
Posts: 6
Joined: Wed Jun 30, 2004 11:35 am

Post by smokeringhalo1 »

R.Flagg wrote:Even if you did, wouldn't that be the kind of thing that we would not see swinging online? (like the lamps in ChaosDM1)

Or would this be different?
Without additional coding yes, you are correct.
However there is code posted on the Wiki that replicates Karma on the server as well as the client.
Duel would be the perfect gametype to implement this IMO because of the low # of players at one time keeping the CPU overhead to a minimum.

EDIT: Here is the link to the code on the Wiki
http://wiki.beyondunreal.com/wiki/KActor_Replication
R.Flagg
Chaotic Dreams Team
Posts: 8460
Joined: Thu May 09, 2002 2:55 pm

Post by R.Flagg »

Sounds interesting. (well, the concept, not the link...I don't speak 'wiki' :wink: ).

Maybe Chaos Jailbreak Melee Team Duel, and the 'jails' are cages swinging over some big fire pit or something. hehe...sorry, just funnin
TKATK
the magical link fairy
Posts: 2184
Joined: Sun Jul 20, 2003 10:16 am

Post by TKATK »

melle JB,now that would be nice :P ,too bad theres the thing about getting permission to edit the gametype
Post Reply