state file ?

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
erick
Major
Posts: 280
Joined: Wed May 30, 2007 1:14 am
Location: USA

state file ?

Post by erick »

I have a mod that changes the m1garand to the Lee Enfield for AA. How do you replaced the M1_Garand_rechamber with the KAr 98 rechamber. I cant find the M1 Garand rechamber in the state file even. Could someone help?
Tazz
Second Lieutenant
Posts: 155
Joined: Fri Feb 16, 2007 1:29 pm
Contact:

Post by Tazz »

rechamber?...do u mean reload?.....if u do isnt this it from the tik file?

Code: Select all

// eject the empty clip
			entry commanddelay 0.3 tagspawn tag_eject
			(
				spawnrange 2048
				count 1
				model models/ammo/garand_clip_empty.tik
				scale 1.0
				velocity 40
				randvel crandom 20 crandom 20 60
				emitterangles 0 0 0
				avelocity crandom 70 crandom 70 0
				offset 0 0 2
				accel 0 0 -800
				physicsrate 20
				life 2.0
				fadedelay 1.7
				collision
				bouncefactor 0.2
				bouncesoundonce snd_rifle_shell
then it goes on from there with the sound and smoke......hope this helps ya man
User avatar
erick
Major
Posts: 280
Joined: Wed May 30, 2007 1:14 am
Location: USA

Post by erick »

Already fixed the problem but thanks Tazz. It was a state file matter. Look at TMT somewhere (i forget where) to get the answer.
Salombo
Sergeant
Posts: 61
Joined: Mon Jun 05, 2006 1:30 pm
Location: New York

Post by Salombo »

there's also the base animations that needs to be modified
Image
Post Reply