weapon moves


(dark-tim) #1

when you walk the weapon moves… where can i find this movement


(carnage) #2

i think that would have something to do with the player animation files, you want new movements you are probably looking at a modeling/animating job rather than a coding one


(Jaquboss) #3

ouch , he meant first person weapon swinging ?


(carnage) #4

i think that is still animation files?


(dark-tim) #5

i think that is still animation files?

i don’t know… that’s why i’m asking you guy’s :P[/quote]


(Jaquboss) #6

please can u specify what you need ?
You mean what ?
can u post shot and show what you mean ?


(dark-tim) #7

i mean weapon swinging (when you are walking the weapon moves up and down… or from left to right…)


(Jaquboss) #8

try cg_weapon.c , but dunno…


(dark-tim) #9

i think… maybe it’s in thompson_ hand.md3(or something) model… but when i try to open thet model í don’t get anything


(dark-tim) #10

now i do get something on my screen… and everything works fine but the weapon moves that i need are not in v_weapon_hand.mdc


(Jaquboss) #11

v_weapon_hand.md3 contains tag animation! , not swing movement…


(dark-tim) #12

i know


(Jaquboss) #13

then comment

	angles[ROLL]	+= scale		* cg.bobfracsin * 0.005;
	angles[YAW]		+= scale		* cg.bobfracsin * 0.01;
	angles[PITCH]	+= cg.xyspeed	* cg.bobfracsin * 0.005;

in cg_weapon.c …


(bacon) #14

…or just set cg_bob* to 0.


(dark-tim) #15

how can i let the “bob” movement be “smooth”