View unanswered posts | View active topics


Post a new topicPost a reply
Previous topic | Next topic 

  Beginner BeginnerMember since: 01.05.2012, 03:41Posts: 2 Likes: 0
 

 Post Topic: Getting Rid of Default 1st person arms
PostPosted 29.05.2012, 05:43 
Hey guys, I recently set up a custom first person arms rig. I attached the mesh to the weapon that I am exporting as a CDF. And it worked, but I have 1 problem, the agent arms still show up. How do I get rid of this?

User avatar   Trained Modder Trained ModderMember since: 19.08.2011, 07:44Posts: 319Status: Online Likes: 114
 

 Post Topic: Re: Getting Rid of Default 1st person arms
PostPosted 07.06.2012, 06:38 
Hmm.... I think its because it was declared in your character file, go into your scripts.pak/scripts/entities/actor/player.lua and remove the line that says something about agent_fp arms global or whatever. Hope that helps

-Swanton007


Facebook | IndieDB | Steam
Skype: Swanton0014
User avatar   Superstar Dolphin Superstar DolphinMember since: 16.08.2004, 10:46Posts: 9869Location: Finland Likes: 176
 

 Post Topic: Re: Getting Rid of Default 1st person arms
PostPosted 07.06.2012, 08:43 
You shouldn't attach your arms mesh to your weapon, instead you should export the arms separately using your custom rig, replace the original player arms with your own (player.lua determines the model to be used) and then export all weapons & animations with only the bones and the weapon mesh.