ShapeBaseImage First Person Toggle broken
by Xavier "eXoDuS" Amado · in Torque Game Engine · 09/22/2004 (8:57 am) · 5 replies
If you look into ShapeBaseImage's constructor you will notice a nice variable called firstPerson, exciting isn't it? So with all joy you go and set it to false in your image hoping it will disappear, but no, that's not the case, it seems the variable is never used, so let's open up ShapeBase.cc and in line 2182 add after the first if check:
for (U32 i = 0; i < MaxMountedImages; i++)
{
MountedImage& image = mMountedImageList[i];
if (image.dataBlock && image.shapeInstance)
{
// Dont render this image if the datablock doesnt let us
if(isFirstPerson() && image.dataBlock->firstPerson == false)
continue;
...About the author
#2
09/23/2004 (7:33 am)
@KATRINA ROSE: Uhm, not to turn offtopic but how can you post here when you don't have a license? :P
#3
09/23/2004 (12:01 pm)
And whats up with the name? Katrina Rose and Marrion Cox?!?!!?
#4
From what I've gathered Katrina is not a programmer, but she(I believe) purchased a commercial license and is allowing her seat to be used by her programmer which I believe is Marrion Cox. I have asked them before to contact GG to get some clarification in this matter regarding the listing of their SDK status, and it appears that they will not take the time to do so. GG should place the SDK owner(or at least "commercial license") by the name to help clarify the confusion.
I personally have refused to offer advice or help to this person until such time as this has been clarified. I hate to be that way, but if Katrina cannot be bothered to ask GG to clear this up, then I can't be bothered to waste my time helping.
09/23/2004 (8:33 pm)
Stefan, ThomasFrom what I've gathered Katrina is not a programmer, but she(I believe) purchased a commercial license and is allowing her seat to be used by her programmer which I believe is Marrion Cox. I have asked them before to contact GG to get some clarification in this matter regarding the listing of their SDK status, and it appears that they will not take the time to do so. GG should place the SDK owner(or at least "commercial license") by the name to help clarify the confusion.
I personally have refused to offer advice or help to this person until such time as this has been clarified. I hate to be that way, but if Katrina cannot be bothered to ask GG to clear this up, then I can't be bothered to waste my time helping.
#5
09/30/2004 (6:43 am)
Anyway katrina was wrong, she was talking about the player's renderFirstPerson toggle, I was talking about a ShapeBaseImage toggle.
Katrina Rose
Default Studio Name
If enabled the weapon renders with the hand under it and the weapon moves with the hand. If disabled the hand is not rendered and the viewpoint moves differently.
Marrion Cox