Welcome, Guest. Please login or register.
Did you miss your activation email?
November 25, 2024, 11:32:04 AM
Home Help Login Register
News: Trouble in Terrorist Town? Site here, forum here.

Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Custom weapon model problem.
Pages: [1]
Author Topic: Custom weapon model problem.  (Read 3421 times)
puff
Poster

Posts: 4


« on: April 14, 2011, 07:00:38 PM »

Hi

Can someone help me with this one? :S


Here is my shared.lua
http://pastebin.com/LR4cfx5F

It works perfectly if i use this
SWEP.ViewModel          = Model("models/weapons/v_snip_awp.mdl")
SWEP.WorldModel        = Model("models/weapons/w_snip_awp.mdl")

But not

SWEP.ViewModel          = Model("models/weapons/v_snip_hex.mdl")
SWEP.WorldModel        = Model("models/weapons/w_snip_hex.mdl")

//Puff |
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #1 on: April 14, 2011, 09:55:07 PM »

The hexed world model does not have the HL2DM hand bone in it, so the game can't place it in the player's hand.
puff
Poster

Posts: 4


« Reply #2 on: April 15, 2011, 02:58:54 PM »

Okay, is there any way to fix it?
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #3 on: April 15, 2011, 03:43:04 PM »

Decompiling the model, adding the relevant bone to the SMD (using either modelling tools or .qc commands), then recompiling it. You have to be pretty familiar with the whole model creation pipeline of Source to do it.

You can't hex new bones into a model.
Pages: [1]
Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Custom weapon model problem. « previous next »
Jump to:  


Login with username, password and session length

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Page created in 0.01 seconds with 17 queries.