Announcement

Collapse
No announcement yet.

Hey, that's not my foot !

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Hey, that's not my foot !

    Hello, I work on my game, and I have removed the UT hud and add my own pawn as many people here (I just follow some tutorial on this forum), but I found a strange... heu... one thing :



    Where they from ?
    How to remove this... foot ?
    This thing are attached to my pawn and doesn't rotate.

    #2
    Those are the first person arms, which normally hold a weapon. There are quite a lot of bits of code that need to be altered to remove them completely - just search for "arm" in UTPawn, UTWeapon and UTFamilyInfo.

    Comment


      #3
      Ho, I see! Thank you, I'll watch it more closely.

      Comment


        #4
        is it working?

        Comment


          #5
          Sorry, I forget to give a feedback.
          This is very simple to remove the arms, in your pawn, overwrite the UTPawn function (by removing the code) :
          Code:
          simulated function SetFirstPersonArmsInfo(SkeletalMesh FirstPersonArmMesh, MaterialInterface ArmMaterial)
          {
          	/* Delete player arm
                  //=======================
          	// Arms
          	ArmsMesh[0].SetSkeletalMesh(FirstPersonArmMesh);
          	ArmsMesh[1].SetSkeletalMesh(FirstPersonArmMesh);
          
          	if (ArmsOverlay[0] != None)
          	{
          		ArmsOverlay[0].SetSkeletalMesh(FirstPersonArmMesh);
          	}
          
          	if (ArmsOverlay[1] != None)
          	{
          		ArmsOverlay[1].SetSkeletalMesh(FirstPersonArmMesh);
          	}
          
          	SetArmsSkin(ArmMaterial);*/
          }

          Comment


            #6
            it's working,thanks a lot.

            I have a question,is there any ways removing the gun without tick the "default inventory" in the world info?

            Comment


              #7
              Originally posted by riowahab View Post
              it's working,thanks a lot.

              I have a question,is there any ways removing the gun without tick the "default inventory" in the world info?

              Is there anyone can help?

              Comment

              Working...
              X