hi,

i am trying to create a HL2DM mod and i want to change the model of an
active weapon (both view and world model) without changing the
weapon(entity) itself. The problem is, that i don't even know the basics
how to do this. Can someone of you help me out with this?

/How it should work: /
Player pressed button: world/viewmodel changed to new type
Player pressed button again: world/viewmodel restored to default type
(I have no problems with the button assignment, it's only about the
model changing)

I already tried to precache the world model and calling SetModel()
afterwards. But nothing happened.
To change the view model, i tried to copy the SetViewModel() function
(from basecombatweapon_shared.cpp) and adjust the code. But this was
only experimenting by me and didn't work neither.

greetz, EoD

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to