Tremulous Forum

Media => Modeling Center => Topic started by: CATAHA on January 29, 2010, 01:52:03 am

Title: New Blaster: Small 'issue' with adding new weapon
Post by: CATAHA on January 29, 2010, 01:52:03 am
Can anyone help me with adding new weapon model?
For test i maked new blaster model. I placed it correctly, so its ok in hands. But from 1st person view its looks very sad.

(http://www.tremlair.krond.ru/temp/shot0120.jpg)

Yes, i know it need more detailed textures and stuff (just temporal textures now), but anyway... blaster_hands.md3 have no model. As far as i get, it contain model animation and offset of model from 1st person view. I wish move blaster a bit forward from point of view and closer to center of screen. Is there any easy way change this file? What should be there? Can i place different model (with hands for example) in this file? I need any help. Ye, i know that iGoggle way can help, but direct help always better. Thanx.
Title: Re: New Blaster: Small 'issue' with adding new weapon
Post by: Ellohir on January 29, 2010, 10:38:21 am
Instead of moving the gun to the center, move the eyes of the player to the right :P
Title: Re: New Blaster: Small 'issue' with adding new weapon
Post by: gimhael on January 29, 2010, 11:18:48 am
The blaster_hand model is not the first person model, it is an empty model (i.e. no surfaces) that contains just a tag where the actual blaster model will be attached.

This means you can change the position by creating a new blaster_hand model where the tag is in a different position.

You could also create a different (e.g. more detailed) model for the 1st and 3rd person modes by altering the weapon.cfg file and specify separate weaponModel and weaponModel3rdPerson files.
Title: Re: New Blaster: Small 'issue' with adding new weapon
Post by: CATAHA on January 29, 2010, 02:29:01 pm
gimhael, thanx for explaining. But how i can edit _hand.md3? MilkShape cant do anything with it. What should i use for make necessary changes to this file?

UPD: It cant parse weaponModel3rdPerson in weapon.cfg