RW shield mounting on feet in HEAD
by Jeff Leigh · in Torque Game Engine · 12/29/2002 (6:50 am) · 7 replies
I've got the head version from 12/8/02 and I've moved the Orc player directory over from the last Realm Wars build. I've moved over all these things into /fps...:
/rw/data/shapes/player/orc/*.*
/rw/data/shapes/shield/*.*
/rw/server/scripts/shield.cs
/rw/server/scripts/orc.cs
The problem I'm having is the shield gets mounted to the player's feet and not his arm. It works fine in the Realm Wars build. I've walked through the code and can't seem to find out why.
It driving me crazy! Anyone else run into this?
/rw/data/shapes/player/orc/*.*
/rw/data/shapes/shield/*.*
/rw/server/scripts/shield.cs
/rw/server/scripts/orc.cs
The problem I'm having is the shield gets mounted to the player's feet and not his arm. It works fine in the Realm Wars build. I've walked through the code and can't seem to find out why.
It driving me crazy! Anyone else run into this?
#2
1. You dont specify which mount node to mount to in the datablock.
2. You try to mount to a node that does not exist (can be caused by mispelling or miscapitilizing something I believe)
3. The model itself contains no mount nodes.
I would suggest that you check out the shield datablock. Good luck. :)
12/29/2002 (10:22 am)
I've encountered similair problems while screwing around with the normal torque engine. Things mount to the feet because that is the root of the player model; it is the default place to mount. This can be caused by one of a few things:1. You dont specify which mount node to mount to in the datablock.
2. You try to mount to a node that does not exist (can be caused by mispelling or miscapitilizing something I believe)
3. The model itself contains no mount nodes.
I would suggest that you check out the shield datablock. Good luck. :)
#3
We mount the shield directly on a biped node found by name, so I guess its missing that node in the old model.
I'd suggest getting RW from the RW CVS if your interested in playing with it.
Phil.
12/29/2002 (1:33 pm)
The reason you get that is that the RW code in HEAD is way old now. The current RW code has its own CVS. We mount the shield directly on a biped node found by name, so I guess its missing that node in the old model.
I'd suggest getting RW from the RW CVS if your interested in playing with it.
Phil.
#4
Given those facts, I would assume since the shield mounts properly on the Orc in RW then I should have all the right scripts and model nodes and thus the problem must be in differences between the HEAD C++ and the RW C++.
I was hoping someone had run into this and there was a simple solution. I guess I'll keep plugging through the code to try to figure it out.
I'll still take any more hints anyone has though.
Thanks
12/29/2002 (3:09 pm)
Actually I think I need to clarify what I'm trying to do a little. I [bold]am using the latest RW source from the RW CVS[/bold], but was trying to transpose/copy just the Orc, Sword, and Shield models and scripts over to the HEAD C++ (from 12/8). I was trying to do this as a replacement for the original Player model as the game I'm toying with is not furturistic so the Orc fits in better until I get my real models up and running.Given those facts, I would assume since the shield mounts properly on the Orc in RW then I should have all the right scripts and model nodes and thus the problem must be in differences between the HEAD C++ and the RW C++.
I was hoping someone had run into this and there was a simple solution. I guess I'll keep plugging through the code to try to figure it out.
I'll still take any more hints anyone has though.
Thanks
#5
10/19/2005 (11:12 am)
Jeff have you gotten the orc shield and sowrd working correctly? i am currently trying the same to no avail. if so what did you do?
#6
10/19/2005 (11:38 am)
Considering it was almost three years ago since the last post, he might not hear you. Have you tried the dual-wielding resource?
#7
10/21/2005 (4:16 am)
I never got it working but taht's ancient history. I'd try David's route.
Torque Owner Jeff Leigh
YucaTech Studios
Appreciate any help.