Forum

Question about setattachment()

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

Question about setattachment()

Postby Orion » Mon Sep 01, 2008 7:56 pm

Hi, I have no time to test that yet, and I want to make the players to have viewable weapons without hacks (like setting the player model to another one holding a specified weapon), as I made w_axe to w_light models, without animation.

As I read in dpextensions.qc, it says that the weapon fits perfectly with the player's frames... And I think I need to name a tag for his right arm in the player's model, but I don't know how to do that.

If I attach the weapon just to origin and angles (tag ""), I think the weapon won't be "animated", I mean, won't move with his arms, will be stuck in the middle of his body.

Also, I removed the muzzleflash, axe and gun from the original player model in order to use the viewable weapons.

Any help will be appreciated.
User avatar
Orion
 
Posts: 476
Joined: Fri Jan 12, 2007 6:32 pm
Location: Brazil

Postby Wazat » Mon Sep 01, 2008 11:16 pm

You may need to do the Q2 or Q3 models format, or something else that supports tags/bones.
When my computer inevitably explodes and kills me, my cat inherits everything I own. He may be the only one capable of continuing my work.
Wazat
 
Posts: 771
Joined: Fri Oct 15, 2004 9:50 pm
Location: Middle 'o the desert, USA


Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest