Jump to content

Grenade launcher script


Bad.boy!

Recommended Posts

I have added some weapons to the game, but I don't know the weapon id's of my new weapons. The script is for weapin id == 31 but I need 18943 or #XM8, can anyone help me?

 

The code:

 

 

//-------------MAIN---------------thread 'GRENWEP' :GRENWEP_11wait 0 if 8965:   not actor $PLAYER_ACTOR swimming else_jump @GRENWEP_11 if 02D8:   actor $PLAYER_ACTOR current_weapon == 31else_jump @GRENWEP_11 Model.Load(#GRENADE)Model.Load(3065):GRENWEP_59wait 0 if   Model.Available(#GRENADE)  Model.Available(3065)else_jump @GRENWEP_59 17@ = 0 9@ = 1.0 :GRENWEP_101wait 0 if  3 > 17@ else_jump @GRENWEP_271 0@(17@,3i) = Object.Create(3065, 0.0, 9@, 500.0)0750: set_object 0@(17@,3i) visibility 0 04D9: object 0@(17@,3i) set_scripted_collision_check 1 Object.CollisionDetection(0@(17@,3i)) = True0906: set_object 0@(17@,3i) mass_to 30.0 // float 0908: set_object 0@(17@,3i) turn_mass_to 30.0 // float 20@(17@,3i) = Object.Create(#GRENADE, 0.0, 0.0, 600.0)Object.CollisionDetection(20@(17@,3i)) = False17@ += 1 9@ += 1.0 jump @GRENWEP_101 :GRENWEP_27117@ = 0 0085: 8@ = 17@ // (int) 24@ = 0 33@ = 0 32@ = 0 01BD: 28@ = current_time_in_ms :GRENWEP_312wait 0 if   Player.Defined($PLAYER_CHAR)else_jump @GRENWEP_1713 if 8965:   not actor $PLAYER_ACTOR swimming else_jump @GRENWEP_1713 if 02D8:   actor $PLAYER_ACTOR current_weapon == 31 else_jump @GRENWEP_1713 if  3 > 8@ else_jump @GRENWEP_1005 if 1   not Actor.Animation($PLAYER_ACTOR) == "RIFLE_CROUCHRELOAD"  not Actor.Animation($PLAYER_ACTOR) == "RIFLE_LOAD"else_jump @GRENWEP_1005 if 1 00E1:   player 0 pressed_key 6 00E1:   player 0 pressed_key 8 else_jump @GRENWEP_1005 if 21   Actor.Animation($PLAYER_ACTOR) == "RIFLE_CROUCHFIRE"  Actor.Animation($PLAYER_ACTOR) == "SHOTGUN_CROUCHFIRE"else_jump @GRENWEP_555 04C4: store_coords_to 3@ 4@ 23@ from_actor $PLAYER_ACTOR with_offset 0.15 0.5 0.0 jump @GRENWEP_584 :GRENWEP_55504C4: store_coords_to 3@ 4@ 23@ from_actor $PLAYER_ACTOR with_offset 0.15 0.5 0.3 :GRENWEP_5840085: 17@ = 8@ // (int) 8@ += 1 19@ = Actor.Angle($PLAYER_ACTOR)068D: get_camera_position_to 30@ 31@ 14@ 0087: 10@ = 14@ // (float) 0063: 10@ -= 23@ // (float) 10@ *= -2.0 005B: 14@ += 10@ // (float) 0063: 14@ -= 23@ // (float) 14@ *= 1.5 005B: 23@ += 14@ // (float) 14@ *= 10.0 Object.PutAt(0@(17@,3i), 3@, 4@, 23@)14@ += 15.0 0453: set_object 0@(17@,3i) XY_rotation 0.0 14@ angle 19@ Object.Angle(20@(17@,3i)) = 19@069A: attach_object 20@(17@,3i) to_object 0@(17@,3i) with_offset 0.0 0.0 0.0 rotation 0.0 0.0 0.0 19@ = Actor.Angle($PLAYER_ACTOR)0819: 18@ = actor $PLAYER_ACTOR distance_from_ground 10@ = 80.1 02F6: 15@ = sine 19@ // (float) 02F7: 16@ = cosine 19@ // (float) 006B: 15@ *= 10@ // (float) 006B: 16@ *= 10@ // (float) 15@ *= -1.0 005B: 18@ += 14@ // (float) Object.ToggleInMovingList(0@(17@,3i)) = TrueObject.Throw(0@(17@,3i), 15@, 16@, 18@)if  8@ == 1 else_jump @GRENWEP_935 33@ = 0 wait 50 jump @GRENWEP_1005 :GRENWEP_935if  8@ == 2 else_jump @GRENWEP_971 32@ = 0 wait 50 jump @GRENWEP_1005 :GRENWEP_971if  8@ == 3 else_jump @GRENWEP_1005 01BD: 28@ = current_time_in_ms wait 50 jump @GRENWEP_1005 :GRENWEP_1005if  8@ > 0 else_jump @GRENWEP_1350 17@ = 0 0400: store_coords_to 11@ 12@ 13@ from_object 0@(17@,3i) with_offset 0.0 0.0 0.0 064B: $PALE1 = create_particle "EXHALE" at 11@ 12@ 13@ type 1 if 22 04DA:   has_object 0@(17@,3i) collided 8474:   not actor $PLAYER_ACTOR near_object_in_cube 0@(17@,3i) radius 200.0 200.0 200.0 flag 0  33@ > 5000 else_jump @GRENWEP_1350 0400: store_coords_to 11@ 12@ 13@ from_object 0@(17@,3i) with_offset 0.0 0.0 0.0 020C: create_explosion_with_radius 0 at 11@ 12@ 13@ 0948: create_explosion_at 11@ 12@ 13@ type 0 camera_shake 1 0565: create_soundless_explosion_at 11@ 12@ 13@ type 0 064B: $PALE1 = create_particle "EXPLOSION_DOOR" at 11@ 12@ 13@ type 1 0682: detach_object 20@(17@,3i) 0.0 0.0 0.0 collision_detection 1 9@ += 1.0 Object.PutAt(0@(17@,3i), 0.0, 9@, 700.0)Object.PutAt(20@(17@,3i), 0.0, 0.0, 600.0)Object.CollisionDetection(20@(17@,3i)) = False24@ += 1 :GRENWEP_1350if  8@ > 1 else_jump @GRENWEP_1695 17@ = 1 0400: store_coords_to 5@ 6@ 7@ from_object 0@(17@,3i) with_offset 0.0 0.0 0.0 064B: $PALE2 = create_particle "EXHALE" at 5@ 6@ 7@ type 1 if 22 04DA:   has_object 0@(17@,3i) collided 8474:   not actor $PLAYER_ACTOR near_object_in_cube 0@(17@,3i) radius 200.0 200.0 200.0 flag 0  32@ > 5000 else_jump @GRENWEP_1695 0400: store_coords_to 5@ 6@ 7@ from_object 0@(17@,3i) with_offset 0.0 0.0 0.0 020C: create_explosion_with_radius 0 at 5@ 6@ 7@ 0948: create_explosion_at 5@ 6@ 7@ type 0 camera_shake 1 0565: create_soundless_explosion_at 5@ 6@ 7@ type 0 064B: $PALE2 = create_particle "EXPLOSION_DOOR" at 5@ 6@ 7@ type 1 0682: detach_object 20@(17@,3i) 0.0 0.0 0.0 collision_detection 1 9@ += 1.0 Object.PutAt(0@(17@,3i), 0.0, 9@, 700.0)Object.PutAt(20@(17@,3i), 0.0, 0.0, 600.0)Object.CollisionDetection(20@(17@,3i)) = False24@ += 1 :GRENWEP_1695if  24@ > 2 else_jump @GRENWEP_312 :GRENWEP_171317@ = 0 Model.Destroy(3065)Model.Destroy(#GRENADE):GRENWEP_1730wait 0 if  3 > 17@ else_jump @GRENWEP_1794 Object.Destroy(0@(17@,3i))Object.Destroy(20@(17@,3i))17@ += 1 9@ += 1.0 jump @GRENWEP_1730 :GRENWEP_179417@ = 0 wait 500 jump @GRENWEP_11 

 

Link to comment
Share on other sites

You have to add your weapon data to weapons.dat and take any other appropriate steps.

 

However, you can't really add weapons without some hooking. Ryosuke has a script which does this. I'm not sure how it resolves issues with weapon IDs used as damage IDs, though.

Link to comment
Share on other sites

I use Ryosuke's script, and I can't see the weapon id anywhere

 

My files:

 

my weapon.dat:

 

 

# Gun Weapons#-------------------------------ranges------modelIds----slot-animgrp----ammo-dam----offset--------------skill---------------loop1--------loop2----break-flags-------old_shot_data-------#	A    B  	C  D  E	F  I	J  	K  L  M     N     O  P  Q	R	S  	T  U  V    W  X  Y  Z  a  	b    c    d      e################$ GRENADE  	PROJECTILE	30.0 40.0	342	-1  8	grenade  1  75  0.0   0.0   0.0  1  0	1.0  1.0  0 99  6  0 99  8  99	100  	0.25 -1.0 800.0  1.0$ TEARGAS  	PROJECTILE	30.0 40.0	343	-1  8	grenade  1  75  0.0   0.0   0.0  1  0	1.0  1.0   0 99  6    0 99 10  99	100  	0.25 -1.0 800.0  1.0$ MOLOTOV  	PROJECTILE	30.0 40.0	344	-1  8	grenade  1  75  0.0   0.0   0.0  1  0	1.0  1.0   0 99  6  0 99  8  99	100  	0.25 -1.0 2000.0 5.0$ ROCKET  	PROJECTILE	30.0 40.0	345	-1  8	null  1  75  0.0   0.0   0.0  1  0	1.0  1.0  0 99  6  0 99 10  99	100  	0.25 -1.0 800.0  1.0$ ROCKET_HS  	PROJECTILE	30.0 40.0	345	-1  8	null  1  75  0.0   0.0   0.0  1  0	1.0  1.0   0 99  6  0 99 10  99	100  	0.25 -1.0 800.0  1.0$ FREEFALL_BOMB  PROJECTILE	30.0 40.0	345	-1  8	null  1  75  0.0   0.0   0.0  1  0	1.0  1.0   0 99  6  0 99 10  99	100  	0.25 -1.0 800.0  1.0################$ PISTOL  	INSTANT_HIT	40.0 30.0	346	-1  2	colt45  12  40  0.25  0.05  0.09    0  0	0.75 1.0   6 17  6     6 16  6  99	3033$ PISTOL  	INSTANT_HIT	40.0 35.0	346	-1  2	colt45  12  40  0.25  0.05  0.09	1  40	1.50  1.0   6 17  6     6 16  6  99	3033$ PISTOL  	INSTANT_HIT	40.0 35.0	346	-1  2	colt45pro   24   40     0.25  0.05  0.09	2  999	2.50 1.0   6 17  6     6 16  6  99	3833$ PISTOL  	INSTANT_HIT	30.0 35.0	346	-1  2	colt_cop	12  5  0.25  0.05  0.09	3  5000	1.0  1.0   6 20  6     6 20  6  99	7031$ PISTOL_SILENCED  INSTANT_HIT	40.0 30.0	347	-1  2	colt45	12  40  0.40  0.05  0.15    0  0	0.75 0.9   6 17  6  6 16  6  99	3033$ PISTOL_SILENCED  INSTANT_HIT	45.0 35.0	347	-1  2	colt45	12  40  0.40  0.05  0.15	1  500	1.50 1.0   6 17  6  6 16  6  99	3033$ PISTOL_SILENCED  INSTANT_HIT	50.0 35.0	347	-1  2	colt45pro	24  40	0.40  0.05  0.15	2  999	2.50 1.1   6 17  6  6 16  6  99    3833$ DESERT_EAGLE  INSTANT_HIT	40.0 50.0	348	-1  2	pythonbad	7  170  	0.41  0.03  0.12    0  0	1.0  1.0   7 36  8     6 30  7  40	7001$ DESERT_EAGLE  INSTANT_HIT	45.0 50.0	348	-1  2	python     7  170  0.41  0.03  0.12    1  200	1.30 1.2   6 26  7     6 26  7  40	7011$ DESERT_EAGLE  INSTANT_HIT	50.0 50.0	348	-1  2	python      7  170  0.41  0.03  0.12    2  999	1.32 1.5   6 25  7  6 25  7  40	7031$ COMMANDOS  	INSTANT_HIT	50.0 35.0	18901	-1	2	rifle  30  35  	0.40  0.05  0.15	0  0	3.30 1.1   6 8  7    6 8   7  99    7031$ AKS74US  	INSTANT_HIT	60.0 70.0	18906	-1  2	rifle	30  38  	0.78 -0.06  0.13    0  0	1.30 1.1   6 8  7    6 8  7   99  7031$ M4A1S    INSTANT_HIT	60.0 95.0	18915	-1  2	rifle	30  38  	0.74 -0.04  0.13    0  0	1.10 1.1   6 8  6    6 8   7  99	7031$ F2000    INSTANT_HIT	40.0 70.0	18913	-1  2	rifle	30  40  	0.74 -0.04  0.13    0	0	0.80 1.1   6 8  7    6 8   7  99	7031$ GLOCK    INSTANT_HIT	40.0 35.0	18928	-1  2	colt45pro   34   32     0.25  0.05  0.09	0  0	2.50 1.0   6 10  6     6 10  6  99	3833$ M93    INSTANT_HIT	40.0 35.0	18929	-1  2	colt45pro   30   32     0.25  0.05  0.09	0  0	2.50 1.0   6 10  6     6 10  6  99	3833$ STEYRTMPS  	INSTANT_HIT	35.0 35.0	18930	-1  2	rifle  30  35  0.45 -0.05  0.11    0  0	3.30  1.0   6 8  6    6 8   6  99	3833$ M70B1S  	INSTANT_HIT	61.0 86.0	18938	-1  2	rifle	30  38  0.78  -0.06  0.13  0  0	5.0  0.8   6 8  7    2 8   7  99	7031$ MP5A4S  	INSTANT_HIT	50.0 35.0	18945	-1  2	rifle	30  30  0.40  0.05  0.15    0  0	3.30 1.1   6 8  7    6 8   7  99    7031$ MP5KS    INSTANT_HIT	50.0 80.0	18951	-1  2	uzi  30  38  0.51 -0.01  0.20    0  0	1.2  1.5    6  8  7  6  8  6  30	7031$ AK74TACTS  	INSTANT_HIT	60.0 90.0	18957	-1  2	rifle  30  38  0.78 -0.06  0.13    0  0	1.30 1.1   6 8  6  6 8 6  99	7031$ SIGP226  	INSTANT_HIT	50.0 50.0	18966	-1  2	python      7  170  0.41  0.03  0.12    0  0	1.32 1.5   6 22  7  6 22  7  40	7031$ M82A1    INSTANT_HIT	80.0 150.0	18968	-1  2	sniper  5  175  0.7  -0.05  0.2  0  0	1.25 1.3   6 20  7  6 20  7  99	A038$ BM9    INSTANT_HIT	50.0 50.0	18970	-1  2	python      7  170  0.41  0.03  0.12    0  0	1.32 1.5   6 22  7  6 22  7  40	7031$ MAGNUM  	INSTANT_HIT	50.0 50.0	18971	-1  2	python      7  170  0.41  0.03  0.12    0  0	1.32 1.5   6 22  7  6 22  7  40	7031$ GLOCK18C  	INSTANT_HIT	50.0 50.0	18972	-1  2	python      7  170  0.41  0.03  0.12    0  0	1.32 1.5   6 22  7  6 22  7  40	7031$ TOKAREV  	INSTANT_HIT	50.0 50.0	18973	-1  2	python      7  170  0.41  0.03  0.12    0  0	1.32 1.5   6 22  7  6 22  7  40	7031$ G36CC    INSTANT_HIT	60.0 90.0	18974	-1  2	rifle  30  44  0.74 -0.04  0.13    0  0	1.10 1.1   6 8  6  6 8 7  99	7031$ WALTERC  	INSTANT_HIT	60.0 65.0	18979	-1  2	python      8  170  0.41  0.03  0.12    0  0	1.32 1.5   6 22  7  6 22  7  40	7031################$ SHOTGUN  	INSTANT_HIT	30.0 40.0	349	-1  3	shotgunbad  1  10  0.82 -0.02  0.23    0  0	1.0  1.0   6 40  7  6 40  7  28	2001$ SHOTGUN  	INSTANT_HIT	35.0 40.0	349	-1  3	shotgun   1  10  0.82 -0.02  0.25    1  200	1.2  1.1   6 38  7  6 40  7  20	2011$ SHOTGUN  	INSTANT_HIT	35.0 40.0	349	-1  3	shotgun   1  15  0.82 -0.02  0.25    2  999	1.4  1.3    6 38  7  6 38  7  25	2031$ SAWNOFF  	INSTANT_HIT	25.0 30.0	350	-1  3	sawnoff  2  13  0.56  0.0   0.15    0  0	0.7  1.0   6 15  6  6 15  6  30	3033$ SAWNOFF  	INSTANT_HIT	30.0 35.0	350	-1  3	sawnoff  2  13  0.56  0.0   0.15    1  200	0.8  1.1   6 15  6  6 15  6  30	3033$ SAWNOFF  	INSTANT_HIT	35.0 35.0	350	-1  3	sawnoffpro	4  13  0.56  0.0   0.15    2  999	0.9  1.3   6 15  6  6 15  6  30	3833$ SPAS12  	INSTANT_HIT	20.0 40.0	351	-1  3	riflebad	12  18  0.75 -0.06  0.22    0  0	1.4  1.0   6 14  7  6 14  7  99	7001$ SPAS12  	INSTANT_HIT	20.0 40.0	351	-1  3	rifle  12  18  0.75 -0.06  0.22    1  200	1.8  1.0   6 14  7  6 14  7  99	7011$ SPAS12  	INSTANT_HIT	20.0 40.0	351	-1  3	rifle  12  18  0.75 -0.06  0.22    2  999	2.0  1.2   6 14  7  6 14  7  99	7031$ AA12    INSTANT_HIT	20.0 40.0	18947	-1  3	rifle	8  18  0.75 -0.06  0.22    0  0	2.0  1.2   6 10  7  6 10  7  99	7031################$ MICRO_UZI  	INSTANT_HIT	25.0 30.0	352	-1  4	colt45	30  25  0.25  0.0   0.11    0  0	1.75 1.0   6 8  6  6 8  6  99	3013$ MICRO_UZI  	INSTANT_HIT	30.0 35.0	352	-1  4	colt45	30  25  0.25  0.0   0.11    1  50	3.05 1.0   6 8  6  6 8  6  99	3033$ MICRO_UZI  	INSTANT_HIT	35.0 35.0	352	-1  4	colt45	60  35  0.25  0.0   0.11    2  999	6.1  1.0   6 8  6  6 8  6  99	3833$ TEC9    INSTANT_HIT	25.0 30.0	372	-1  4	colt45  25  12  0.45 -0.05  0.11    0  0	1.50 1.0  6 8  6  6 8  6  99	3013$ TEC9    INSTANT_HIT	30.0 35.0	372	-1  4	colt45  25  16  0.45 -0.05  0.11    1  50	1.80 1.0  6 8  6  6 8  6  99	3033$ TEC9    INSTANT_HIT	35.0 35.0	372	-1  4	colt45pro	30  35  0.45 -0.05  0.11    2  999	3.30  1.0  6 8  6  6 8  6  99	3833$ MP5    INSTANT_HIT	60.0 90.0	353	-1  4	uzibad  30  43  0.51 -0.01  0.20    0  0	0.75 1.1   6  8  7  6  8  6  30	7001$ MP5    INSTANT_HIT	60.0 90.0	353	-1  4	uzi  	30  43  0.51 -0.01  0.20    1  250	1.0  1.3   6  8  7  6  8  6  30	7011$ MP5    INSTANT_HIT	60.0 90.0	353	-1  4	uzi  	30  43  0.51 -0.01  0.20    2  999	1.2  1.5   6  8  7  6  8  6  30	7031$ M4SMG    INSTANT_HIT	45.0 45.0	18909	-1  4	uzi  	30  25  0.51 -0.01  0.20    0  0	2.30  1.0   6  8  6  6  8  6  30	7031$ VECTOR  	INSTANT_HIT	60.0 80.0	18917	-1  4	uzi  	30  35  0.51 -0.01  0.20    0  0	2.30  1.0   6  8  6  6  8  6  30	7031$ UMP45    INSTANT_HIT	60.0 80.0	18918	-1  4	uzi  	30  34  0.51 -0.01  0.20    0  0	2.30  1.0   6  8  6  6  8  6  30	7031$ P90    INSTANT_HIT	45.0 45.0	18919	-1  4	uzi  	50  35  0.51 -0.01  0.20    0  0	2.30  1.0   6  8  6  6  8  6  30	7031$ M85    INSTANT_HIT	50.0 55.0	18936	-1  4	uzi  	30  37  0.51 -0.01  0.20    0  0	1.2  1.5    6  9  7  6  9  6  30	7031$ MP5A4    INSTANT_HIT	45.0 45.0	18944	-1  4	uzi  	30  30  0.51 -0.01  0.20    0  0	2.60  1.0   6  8  7  6  8  6  30	7031$ PM12    INSTANT_HIT	35.0 35.0	18946	-1  4	colt45pro	40  35  0.45 -0.05  0.11    0  0	3.30  1.0    6  8  6  6  8  6  99	3833$ MP5K    INSTANT_HIT	50.0 80.0	18950	-1  4	uzi  	30  38  0.51 -0.01  0.20    0  0	1.2  1.5    6  8  7  6  8  6  30	7031$ PDWTACT  	INSTANT_HIT	60.0 90.0	18961	-1  4	rifle  30  39  0.51 -0.01  0.20    0  0	1.2  1.5    6  8  7  6  8  6  30	7031$ MP7    INSTANT_HIT	35.0 45.0	18963	-1  4	colt45  60  35  0.25  0.0   0.11    0  0	6.1  1.0   6 8  6  6 8  6  99	3833$ MT40    INSTANT_HIT	55.0 90.0	18978	-1  4	uzi  	30  39  0.51 -0.01  0.20    0  0	1.2  1.5    6  8  7  6  8  6  30	7031################ $ AK47    INSTANT_HIT	80.0 100.0	355	-1  5	riflebad    50  45  0.78 -0.06  0.13    0  0	0.50 0.9   6 9 6  6 9  6  99	7021$ AK47    INSTANT_HIT	85.0 100.0	355	-1  5	rifle  50  45  0.78 -0.06  0.13    1  200	0.90 1.0   6 9  6  6 9  6  99	7031$ AK47    INSTANT_HIT	90.0 100.0	355	-1  5	rifle  50  45  0.78 -0.06  0.13    2  999	1.30 1.1   6 9  6  6 9 6  99	7031$ M4    INSTANT_HIT	40.0 90.0	356	-1  5	riflebad	30  40  0.74 -0.04  0.13    0  0	0.45 0.9   6 8   7  6 8   7  99	7001$ M4    INSTANT_HIT	45.0 90.0	356	-1  5	rifle  30  40  0.74 -0.04  0.13    1  200	0.65 1.0   6 8   7  6 8   7  99	7011$ M4    INSTANT_HIT	50.0 90.0	356	-1  5	rifle  30  40  0.74 -0.04  0.13    2  999	0.80 1.1   6 8   7  6 8   7  99	7031$ COMMANDO  	INSTANT_HIT	55.0 90.0	18900	-1  5	rifle  30  38  0.74 -0.04  0.13    0  0	1.30 1.1   6 8  7  6 8 7  99	7031$ STEYRAUG  	INSTANT_HIT	60.0 70.0	18902	-1  5	rifle  30  35  0.78 -0.06  0.13    0  0	1.30 1.1   6 8  7  6 8  7  99	7031$ M16    INSTANT_HIT	60.0 90.0	18904	-1  5	rifle  30  38  0.74 -0.04  0.13    0  0	1.10 1.1   6 8  6  6 8 7  99	7031$ AKS74U  	INSTANT_HIT	60.0 70.0	18905	-1  5	rifle  30  38  0.78 -0.06  0.13    0  0	1.30 1.1   6 8  6  6 8 6  99	7031$ AK47R    INSTANT_HIT	60.0 70.0	18907	-1  5	rifle  30  32  0.78 -0.06  0.13    0  0	1.10 1.1   6 9  7  6 9  7  99	7031$ AK47RS  	INSTANT_HIT	60.0 70.0	18908	-1  5	rifle  30  32  0.78 -0.06  0.13    0  0	1.0  1.1   6 9  7  6 9  7  99	7031$ FAMAS    INSTANT_HIT	60.0 95.0	18911	-1  5	rifle  30  42  0.74 -0.04  0.13    0  0	1.30 1.1   6 9  7  6 9 7  99	7031$ M21    INSTANT_HIT	50.0 90.0	18912	-1  5	rifle  30  40  0.74 -0.04  0.13    0  0	0.80 1.1   6 8  7  6 8 7  99	7031$ TAR21    INSTANT_HIT	60.0 95.0	18916	-1  5	rifle  30  39  0.74 -0.04  0.13    0  0	0.80 1.1   6 8  7  6 8 7  99	7031$ RPD    INSTANT_HIT	60.0 70.0	18920	-1  5	rifle  100  36  0.74 -0.04  0.13    0  0	0.80 1.1   6 9  7  6 9 7  99	7031$ M240    INSTANT_HIT	60.0 80.0	18921	-1  5	rifle  100  47  0.74 -0.04  0.13    0  0	0.80 1.1   6 9  7  6 9 7  99	7031$ M16A4    INSTANT_HIT	65.0 97.0	18923	-1  5	rifle  30  39  0.74 -0.04  0.13    0  0	1.10 1.1   6 8  6  6 8 7  99	7031$ HK416    INSTANT_HIT	60.0 93.0	18924	-1  5	rifle  30  40  0.74 -0.04  0.13    0  0	1.10 1.1   6 8  6  6 8 7  99	7031$ G36C    INSTANT_HIT	60.0 90.0	18925	-1  5	rifle  30  42  0.74 -0.04  0.13    0  0	1.10 1.1   6 8  6  6 8 7  99	7031$ LR300    INSTANT_HIT	60.0 85.0	18926	-1  5	rifle  30  38  0.74 -0.04  0.13    0  0	1.10 1.1   6 8  6  6 8 7  99	7031$ SG552    INSTANT_HIT	60.0 90.0	18927	-1  5	rifle  30  40  0.74 -0.04  0.13    0  0	1.10 1.1   6 8  6  6 8 7  99	7031$ M70B1    INSTANT_HIT	60.0 85.0	18937	-1  5	rifle  30  40  0.78 -0.06  0.13    0  0	5.00 0.8   6 8  7  7 8  7  99	7031$ AK5B    INSTANT_HIT	60.0 70.0	18939	-1  5	rifle  30  39  0.78 -0.06  0.13    0  0	1.10 1.1   6 8  7  6 8  7  99	7031$ ACR    INSTANT_HIT	70.0 95.0	18940	-1  5	rifle  30  39  0.74 -0.04  0.13    0  0	0.80 1.1   6 8  7  6 8 7  99	7031$ M9    INSTANT_HIT	60.0 90.0	18941	-1  5	rifle  30  40  0.74 -0.04  0.13    0  0	1.10 1.1   6 8  6  6 8 7  99	7031$ SA80    INSTANT_HIT	60.0 95.0	18942	-1  5	rifle  30  41  0.74 -0.04  0.13    0  0	1.30 1.1   6 8  7  6 8 7  99	7031$ XM8    INSTANT_HIT	70.0 95.0	18943	-1  5	rifle  30  43  0.74 -0.04  0.13    0  0	1.30 1.1   6 8  7  6 8 7  99	7031$ SCAR    INSTANT_HIT	60.0 90.0	18948	-1  5	rifle  30  43  0.51 -0.01  0.20    0  0	1.2  1.5   6 8  7  6 8 6  30	7031$ AR15    INSTANT_HIT	62.0 92.0	18949	-1  5	rifle  30  41  0.74 -0.04  0.13    0  0	1.30 1.1   6 8  7  6 8 7  99	7031$ MMACR    INSTANT_HIT	65.0 95.0	18952	-1  5	rifle  30  40  0.74 -0.04  0.13    0  0	1.10 1.1   6 8  6  6 8 7  99	7031$ M4STELIOS  	INSTANT_HIT	65.0 95.0	18953	-1  5	rifle  30  39  0.74 -0.04  0.13    0  0	1.10 1.1   6 8  6  6 8 7  99	7031$ M4TACT  	INSTANT_HIT	65.0 98.0	18954	-1  5	rifle  30  40  0.74 -0.04  0.13    0  0	1.10 1.1   6 8  6  6 8 7  99	7031$ G3    INSTANT_HIT	60.0 98.0	18955	-1  5	rifle  30  38  0.74 -0.04  0.13    0  0	1.10 1.1   6 8  6  6 8 7  99	7031$ AK74TACT  	INSTANT_HIT	60.0 90.0	18956	-1  5	rifle  30  39  0.78 -0.06  0.13    0  0	1.30 1.1   6 8  6  6 8 6  99	7031$ AN94    INSTANT_HIT	60.0 75.0	18958	-1  5	rifle  30  39  0.78 -0.06  0.13    0  0	1.10 1.1   6 8  7  6 8  7  99	7031$ G41    INSTANT_HIT	60.0 90.0	18959	-1  5	rifle  30  38  0.74 -0.04  0.13    0  0	1.10 1.1   6 8  6  6 8 7  99	7031$ GALIL    INSTANT_HIT	60.0 85.0	18960	-1  5	rifle  35  35  0.78 -0.06  0.13    0  0	1.10 1.1   6 8  7  6 8  7  99	7031$ M249    INSTANT_HIT	60.0 80.0	18962	-1  5	rifle  100  50  0.74 -0.04  0.13    0  0	0.80 1.1   6 9  7  6 9 7  99	7031$ PKM    INSTANT_HIT	60.0 80.0	18964	-1  5	rifle  100  44  0.74 -0.04  0.13    0  0	0.80 1.1   6 9  7  6 9 7  99	7031$ VLTOR    INSTANT_HIT	60.0 88.0	18965	-1  5	rifle  30  41  0.51 -0.01  0.20    0  0	1.2  1.5   6 8  7  6 8 6  30	7031$ M92    INSTANT_HIT	60.0 75.0	18976	-1  5	rifle  30  39  0.78 -0.06  0.13    0  0	1.30 1.1   6 8  6  6 8 6  99	7031$ M964A1  	INSTANT_HIT	60.0 93.0	18977	-1  5	rifle  30  40  0.74 -0.04  0.13    0  0	1.10 1.1   6 8  6  6 8 7  99	7031#################$ COUNTRYRIFLE  INSTANT_HIT	50.0 100.0	357	-1  6	sniper  20  70  0.7  -0.05  0.2  0  0	0.75 1.0   6 20  7  6 20  7  99	A018$ COUNTRYRIFLE  INSTANT_HIT	55.0 100.0	357	-1  6	sniper  20  70  0.7  -0.05  0.2  1  300	1.0  1.2   6 20  7  6 20  7  99	A008#$ COUNTRYRIFLE  INSTANT_HIT	60.0 100.0	357	-1  6	sniper  20  70  0.7  -0.05  0.2  2  999	1.25 1.3   6 20  7  6 20  7  99	A038#$ SNIPERRIFLE  INSTANT_HIT	40.0 100.0	358	-1  6	sniper  5  145	0.7  -0.05  0.2  0  0	0.75 1.0   6 20  7	6  20  7  99	A014$ SNIPERRIFLE  INSTANT_HIT	50.0 100.0	358	-1  6	sniper  5  145	0.7  -0.05  0.2  1  300	1.0  1.0   6 20  7	6  20  7  99	A014#$ SNIPERRIFLE  INSTANT_HIT	60.0 100.0	358	-1  6	sniper  5  145	0.7  -0.05  0.2  2  999	1.25 1.0   6 20  7	6  20  7  99	A014$ AWN    INSTANT_HIT	60.0 100.0	18910	-1  6	sniper  5  125	0.7  -0.05  0.2  0  0	1.25 1.0   6 20  7	6  20  7  99	A014$ FAL    INSTANT_HIT	60.0 100.0	18914	-1  6	sniper  20  87  0.7  -0.05  0.2  0  0	1.25 1.3   6 20  7  6 20  7  99	A038$ M14    INSTANT_HIT	65.0 100.0	18922	-1  6	sniper  5  115	0.7  -0.05  0.2  0  0	1.25 1.3   6 20  7  6 20  7  99	A038$ STEYRSCOUT  	INSTANT_HIT	65.0 100.0	18931	-1  6	sniper  5  115	0.7  -0.05  0.2  0  0	1.25 1.3   6 20  7  6 20  7  99	A038$ WA2000  	INSTANT_HIT	80.0 150.0	18932	-1  6	sniper  5  175  0.7  -0.05  0.2  0  0	1.25 1.3   6 20  7  6 20  7  99	A038$ DRAGUNOV  	INSTANT_HIT	80.0 150.0	18933	-1  6	sniper  5  175  	0.7  -0.05  0.2  0  0	1.25 1.3   6 20  7  6 20  7  99	A038$ DSR1    INSTANT_HIT	80.0 150.0	18934	-1  6	sniper  5  175  0.7  -0.05  0.2  0  0	1.25 1.3   6 20  7  6 20  7  99	A038$ M76    INSTANT_HIT	80.0 150.0	18935	-1  6	sniper  5  150  0.7  -0.05  0.2  0  0	1.25 1.3   6 20  7  6 20  7  99	A038$ AUG3    INSTANT_HIT	80.0 150.0	18903	-1  6	sniper  5  145  0.7  -0.05  0.2  0  0	1.25 1.3   6 20  7  6 20  7  99	A038$ M24    INSTANT_HIT	80.0 150.0	18967	-1  6	sniper  5  175  0.7  -0.05  0.2  0  0	1.25 1.3   6 20  7  6 20  7  99	A038$ M110    INSTANT_HIT	80.0 150.0	18969	-1  6	sniper  5  175  0.7  -0.05  0.2  0  0	1.25 1.3   6 20  7  6 20  7  99	A038$ M14EBRC  	INSTANT_HIT	80.0 150.0	18975	-1  6	sniper  10  175  	0.7  -0.05  0.2  0  0	1.25 1.3   6 20  7  6 20  7  99	A038################$ RLAUNCHER  	PROJECTILE	50.0 55.0	359	-1  7	rocket  1  75  0.42  0.0   0.05    1  0	1.0  1.0  11 19 12	14 99 15  99	48214$ RLAUNCHER_HS  PROJECTILE	50.0 55.0	360	-1  7	rocket  1  75  0.42  0.0   0.05    1  0	1.0  1.0  11 19 12	14 99 15  99	48214$ FTHROWER  	AREA_EFFECT	4.0  5.1	361	-1  7	flame  500  25  0.98  0.0   0.40    1  0	1.0  1.0  11 12 11	11 12 11  35	30238  0.5  0.0075 1000.0  2.0$ MINIGUN  	INSTANT_HIT	65.0 75.0	362	-1  7	flame  500  140	1.15  0.0   0.40    1  0	1.0  1.0  11 12 11	11 12 11  35	238#############$ SATCHEL_CHARGE	PROJECTILE	30.0 40.0	363	364  8	grenade  1  75  0.0   0.0   0.0  1  0	1.0  1.0   0 99  6  0 99  9  99	100  	0.25 -1.0 800.0  1.0$ DETONATOR  	USE  	25.0 25.0	364	-1  12	null  1  0  0.0   0.0   0.13    1  0	1.0  1.0   0 10  3    0 10  3  99	0################$ SPRAYCAN  	AREA_EFFECT	4.0  6.1	365	-1  9	spraycan	500  1  0.20  0.0   -0.1    1  0	1.0  1.0  12 58 13	11 58 13  99	0431  0.05  0.5    1000.0  0.01$ EXTINGUISHER  AREA_EFFECT	10.0 10.1	366	-1  9	flame  500  1  0.45  0.10  0.15    1  0	1.0  1.0  11 12 11	11 12 11  35	0038  0.1   0.5    1000.0  0.01$ CAMERA  	CAMERA  70.0 100.0	367	-1  9	rifle  36  0  0.0   -0.0  -0.0    1  0	1.0  1.0  10 99 11	14 99 15   0	4################$ NIGHTVISION  USE  	70.0 100.0	368	-1  11	goggles  0  0  0.0   -0.0  -0.0    1  0	1.0  1.0  10 99 11	14 99 15   0	0$ INFRARED  	USE  	70.0 100.0	369	-1  11	goggles  0  0  0.0   -0.0  -0.0    1  0	1.0  1.0  10 99 11	14 99 15   0	0#$ JETPACK  	USE  	25.0 25.0	370	-1  9	null  1  0  0.0   0.0   0.13    1  0	1.0  1.0   0 10  3    0 10  3  99	0#

 

 

My default.ide:

 

 

# add-ons18900, commando, commando, rifle, 1, 30, 018901, commandos, commandos, silenced, 1, 30, 018902, steyraug, steyraug, rifle, 1, 50, 018903, aug3, aug3, rifle, 1, 50, 018904, m16, m16, rifle, 1, 30, 018905, aks74u, aks74u, rifle, 1, 50, 018906, aks74us, aks74us, silenced, 1, 50, 018907, ak47r, ak47r, rifle, 1, 50, 018908, ak47rs, ak47rs, rifle, 1, 50, 018909, m4smg, m4smg, uzi, 1, 50, 018910, awn, awn, rifle, 1, 50, 018911, famas, famas, rifle, 1, 30, 018912, m21, m21, rifle, 1, 30, 018913, f2000, f2000, silenced, 1, 50, 018914, fal, fal, rifle, 1, 50, 018915, m4a1s, m4a1s, silenced, 1, 30, 018916, tar21, tar21, rifle, 1, 30, 018917, vector, vector, uzi, 1, 50, 018918, ump45, ump45, uzi, 1, 50, 018919, p90, p90, uzi, 1, 50, 018920, rpd, rpd, rifle, 1, 50, 018921, m240, m240, rifle, 1, 30, 018922, m14, m14, rifle, 1, 50, 018923, m16a4, m16a4, rifle 1, 30, 018924, hk416, hk416, rifle, 1, 30, 018925, g36c, g36c, rifle, 1, 30, 018926, lr300, lr300, rifle, 1, 30, 018927, sg552, sg552, rifle, 1, 30, 018928, glock, glock, colt45, 1, 30, 018929, m93, m93, colt45, 1, 30, 018930, steyrtmps, steyrtmps, silenced, 1, 30, 018931, steyrscout, steyrscout, rifle, 1, 50, 018932, wa2000, wa2000, rifle, 1, 50, 018933, dragunov, dragunov, rifle, 1, 50, 018934, dsr1, dsr1, rifle, 1, 50, 018935, m76, m76, rifle, 1, 50, 018936, m85, m85, uzi, 1, 50, 018937, m70b1, m70b1, rifle, 1, 50, 018938, m70b1s, m70b1s, silenced, 1, 50, 018939, ak5b, ak5b, rifle, 1, 50, 018940, acr, acr, rifle, 1, 30, 018941, m9, m9, rifle, 1, 30, 018942, sa80, sa80, rifle, 1, 30, 018943, xm8, xm8, rifle, 1, 30, 018944, mp5a4, mp5a4, uzi, 1, 50, 018945, mp5a4s, mp5a4s, silenced, 1, 30, 018946, pm12, pm12, colt45, 1, 30, 018947, aa12, aa12, buddy, 1, 50, 018948, scar, scar, rifle, 1, 30, 018949, ar15, ar15, rifle, 1, 30, 018950, mp5k, mp5k, uzi, 1, 50, 018951, mp5ks, mp5ks, silenced, 1, 50, 018952, mmacr, mmacr, rifle, 1, 30, 018953, m4stelios, m4stelios, rifle, 1, 30, 018954, m4tact, m4tact, rifle, 1, 30, 018955, g3, g3, rifle, 1, 30, 018956, ak74tact, ak74tact, rifle, 1, 50, 018957, ak74tacts, ak74tacts, silenced, 1, 50, 018958, an94, an94, rifle, 1, 50, 018959, g41, g41, rifle, 1, 30, 018960, galil, galil, rifle, 1, 50, 018961, pdwtact, pdwtact, uzi, 1, 50, 018962, m249, m249, rifle, 1, 30, 018963, mp7, mp7, colt45, 1, 30, 018964, pkm, pkm, rifle, 1, 50, 018965, vltor, vltor, rifle, 1, 30, 018966, sigp226, sigp226, colt45, 1, 30, 018967, m24, m24, rifle, 1, 50, 018968, m82a1, m82a1, silenced, 1, 50, 018969, m110, m110, rifle, 1, 50, 018970, bm9, bm9, python, 1, 30, 018971, magnum, magnum, python, 1, 30, 018972, glock18c, glock18c, python, 1, 30, 018973, tokarev, tokarev, python, 1, 30, 018974, g36cc, g36cc, silenced, 1, 30, 018975, m14ebrc, m14ebrc, rifle, 1, 50, 018976, m92, m92, rifle, 1, 50, 018977, m964a1, m964a1, rifle, 1, 30, 018978, mt40, mt40, uzi, 1, 50, 018979, walterc, walterc, python, 1, 30, 0end

 

 

My weaponlimit.ini:

 

 

[WEAPONLIMIT];Max Number of Weapon Model (51)WeaponModel=131;Max Number of Weapon Identifier (47)WeaponID=127;Max Number of Weapon Data (70)WeaponData=150;Use Proxy Process for Fire Type (0)ProxyFireType=1;Use Proxy Process for Project (0)ProxyProjectType=1;Use Proxy Process for Physic (0)ProxyPhysicType=1;Use Proxy Process for Explode (0)ProxyExplodeType=0;Use Proxy Process for Crosshair (0)ProxyCrosshair=1;Use Proxy Process for Zoom While Aiming (0)ProxyAimingZoom=1;Use Proxy Process for Gun Sounds (0)ProxySound=1

 

 

And my weapons.txt:

 

 

8 6 4 5 0 70.0 UNARMED8 6 4 5 0 70.0 BRASSKNUCKLE8 6 4 5 0 70.0 GOLFCLUB8 6 4 5 0 70.0 NIGHTSTICK8 6 4 5 0 70.0 KNIFE8 6 4 5 0 70.0 BASEBALLBAT8 6 4 5 0 70.0 SHOVEL8 6 4 5 0 70.0 POOLCUE8 6 4 5 0 70.0 KATANA8 6 4 5 0 70.0 CHAINSAW8 6 4 5 0 70.0 DILDO18 6 4 5 0 70.0 DILDO28 6 4 5 0 70.0 VIBE18 6 4 5 0 70.0 VIBE28 6 4 5 0 70.0 FLOWERS8 6 4 5 0 70.0 CANE0 0 0 0 0 70.0 GRENADE0 1 0 5 0 70.0 TEARGAS0 2 0 1 0 70.0 MOLOTOV8 3 1 2 0 70.0 ROCKET8 3 1 3 0 70.0 ROCKET_HS8 4 2 4 0 70.0 FREEFALL_BOMB1 6 4 5 1 70.0 PISTOL1 6 4 5 1 70.0 PISTOL_SILENCED1 6 4 5 1 70.0 DESERT_EAGLE2 6 4 5 1 70.0 SHOTGUN2 6 4 5 1 70.0 SAWNOFF2 6 4 5 1 70.0 SPAS121 6 4 5 1 70.0 MICRO_UZI1 6 4 5 1 50.0 MP51 6 4 5 1 50.0 AK471 6 4 5 1 50.0 M41 6 4 5 1 70.0 TEC91 6 4 5 1 35.0 COUNTRYRIFLE3 6 4 5 2 70.0 SNIPERRIFLE4 6 4 5 3 70.0 RLAUNCHER4 6 4 5 4 70.0 RLAUNCHER_HS5 6 4 5 1 70.0 FTHROWER1 6 4 5 1 70.0 MINIGUN0 0 0 5 0 70.0 SATCHEL_CHARGE6 6 4 5 0 70.0 DETONATOR5 6 4 5 0 70.0 SPRAYCAN5 6 4 5 0 70.0 EXTINGUISHER7 6 4 5 5 70.0 CAMERA8 6 4 5 0 70.0 NIGHTVISION8 6 4 5 0 70.0 INFRARED8 6 4 5 0 70.0 PARACHUTE1 6 4 5 1 40.0 COMMANDO1 6 4 5 1 40.0 COMMANDOS1 6 4 5 1 50.0 STEYRAUG1 6 4 5 1 25.0 AUG31 6 4 5 1 40.0 M161 6 4 5 1 50.0 AK47R1 6 4 5 1 50.0 AK47RS1 6 4 5 1 50.0 AKS74U1 6 4 5 1 50.0 AKS74US1 6 4 5 1 60.0 M4SMG3 6 4 5 2 70.0 AWN1 6 4 5 1 50.0 FAMAS1 6 4 5 1 50.0 M211 6 4 5 1 55.0 F20001 6 4 5 1 35.0 FAL1 6 4 5 1 50.0 M4A1S1 6 4 5 1 50.0 TAR211 6 4 5 1 60.0 VECTOR1 6 4 5 1 60.0 UMP451 6 4 5 1 60.0 P901 6 4 5 1 50.0 RPD1 6 4 5 1 50.0 M2401 6 4 5 1 35.0 M141 6 4 5 1 50.0 M16A41 6 4 5 1 50.0 HK4161 6 4 5 1 50.0 G36C1 6 4 5 1 50.0 LR3001 6 4 5 1 50.0 SG5521 6 4 5 1 70.0 GLOCK1 6 4 5 1 70.0 M931 6 4 5 1 65.0 STEYRTMPS1 6 4 5 1 35.0 STEYRSCOUT1 6 4 5 1 25.0 WA20001 6 4 5 1 25.0 DRAGUNOV1 6 4 5 1 25.0 DSR11 6 4 5 1 25.0 M761 6 4 5 1 40.0 M851 6 4 5 1 40.0 M70B11 6 4 5 1 40.0 M70B1S1 6 4 5 1 40.0 AK5B1 6 4 5 1 50.0 ACR1 6 4 5 1 50.0 M91 6 4 5 1 50.0 SA801 6 4 5 1 50.0 XM81 6 4 5 1 60.0 MP5A41 6 4 5 1 50.0 MP5A4S1 6 4 5 1 70.0 PM122 6 4 5 1 70.0 AA121 6 4 5 1 40.0 SCAR1 6 4 5 1 50.0 AR151 6 4 5 1 50.0 MP5K1 6 4 5 1 50.0 MP5KS1 6 4 5 1 50.0 MMACR1 6 4 5 1 50.0 M4STELIOS1 6 4 5 1 50.0 M4TACT1 6 4 5 1 50.0 G31 6 4 5 1 50.0 AK74TACT1 6 4 5 1 50.0 AK74TACTS1 6 4 5 1 50.0 AN941 6 4 5 1 50.0 G411 6 4 5 1 50.0 GALIL1 6 4 5 1 50.0 PDWTACT1 6 4 5 1 50.0 M2491 6 4 5 1 65.0 MP71 6 4 5 1 50.0 PKM1 6 4 5 1 50.0 VLTOR1 6 4 5 1 70.0 SIGP2261 6 4 5 1 25.0 M241 6 4 5 1 25.0 M82A11 6 4 5 1 25.0 M1101 6 4 5 1 70.0 BM91 6 4 5 1 70.0 MAGNUM1 6 4 5 1 70.0 GLOCK18C1 6 4 5 1 70.0 TOKAREV1 6 4 5 1 45.0 G36CC1 6 4 5 1 20.0 M14EBRC1 6 4 5 1 50.0 M921 6 4 5 1 50.0 M964A11 6 4 5 1 60.0 MT401 6 4 5 1 65.0 WALTERC

 

 

And weaponsounds.txt:

 

 

00000000000000000000001	1.0	1.41421	0.0	8	7	6	35	341	1.0	1.0	-7.0	-1	24	24	77	761	1.0	0.94387	0.0	8	7	6	35	341	1.0	1.0	0.0	23	22	21	74	731	0.93	0.7937	0.0	23	22	21	74	731	1.0	1.0	0.0	23	22	21	74	731	1.0	1.0	0.0	2	1	0	30	291	1.0	1.0	0.0	2	18	17	30	291	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	5	4	3	53	331	1.0	1.26	0.0	2	1	0	30	291	1.0	0.89	0.0	23	27	26	53	521	1.0	1.0	0.0	23	27	26	53	52002	1.0	-14.0	26	83501	1.0	1.0	-14.0	-1	-1	-1	-1	493	1.0	-20.0	3	283	0.7937	-20.0	4	94	-14.06	646	6401	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	-7.0	-1	24	24	77	761	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	23	27	26	53	521	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	-7.0	-1	24	24	77	761	1.0	1.0	0.0	2	18	17	30	291	1.0	1.0	0.0	23	27	26	53	521	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	-7.0	-1	24	24	77	761	1.0	0.89	0.0	23	27	26	53	521	1.0	1.0	-7.0	-1	24	24	77	761	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	2	18	17	30	291	1.0	1.0	0.0	2	18	17	30	291	1.0	1.0	0.0	2	18	17	30	291	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	5	4	26	53	331	1.0	0.89	0.0	23	27	26	53	521	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	5	4	3	53	331	1.0	1.26	0.0	2	1	0	30	291	1.0	1.26	0.0	2	1	0	30	291	1.0	1.0	-7.0	-1	24	24	77	761	1.0	0.89	0.0	23	27	26	53	521	1.0	1.0	0.0	23	27	26	53	521	1.0	1.0	0.0	23	27	26	53	521	1.0	1.0	0.0	23	27	26	53	521	1.0	1.0	0.0	23	27	26	53	521	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	-7.0	-1	24	24	77	761	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	2	18	17	30	291	1.0	1.0	-7.0	-1	24	24	77	761	1.0	1.26	0.0	2	1	0	30	291	1.0	1.0	0.0	23	22	21	74	731	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	2	18	17	30	291	1.0	1.0	-7.0	-1	24	24	77	761	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	-7.0	-1	24	24	77	761	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	2	18	17	30	291	1.0	1.0	0.0	5	4	26	53	331	1.0	1.0	0.0	2	1	0	30	291	1.0	1.0	0.0	5	4	26	53	331	1.0	1.0	0.0	5	4	3	53	331	1.0	0.94387	0.0	8	7	6	35	341	1.0	1.0	0.0	23	27	26	53	521	1.0	1.0	-7.0	-1	24	24	77	761	1.0	1.0	0.0	23	27	26	53	521	1.0	0.94387	0.0	8	7	6	35	341	1.0	0.94387	0.0	8	7	6	35	341	1.0	0.94387	0.0	8	7	6	35	341	1.0	0.94387	0.0	8	7	6	35	341	1.0	1.0	-7.0	-1	24	24	77	761	1.0	1.0	0.0	23	27	26	53	521	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	5	4	3	53	331	1.0	1.0	0.0	2	18	17	30	291	1.0	0.94387	0.0	8	7	6	35	34

 

Link to comment
Share on other sites

Well, I'd guess you have to add the weapon ID yourself...

Link to comment
Share on other sites

Count it tounge.gif

 

(line from weapons.txt) - 1 = weaponID

 

Easy.

Link to comment
Share on other sites

 

Count it tounge.gif

 

(line from weapons.txt) - 1 = weaponID

 

Easy.

Not easy,

 

weapon id stops at 46, with parachute BUT

id 47 is death by fake pistol*

id 49 is death by vehicle*

id 50 is death by Helicopter blades*

id 51 is death by explosion*

id 53 is death by drowned*

id 54 is death by collision*

id 200 is connect

id 201 is disconnect

 

It's not that easy and I tried that already (I'm not stupid)

 

*death reasons

Edited by Bad.boy!
Link to comment
Share on other sites

Looks like you're quoting SA-MP IDs. I've did a weapon ID getting of new weapon, and it was 47. So I think that next weapons are ID +1. SA-MP won't support added weapons.

Link to comment
Share on other sites

They aren't SAMP ID's. They are SA ones, which SAMP uses for its own purposes.

 

 

Thats why I spoke with confusion towards adding new weapons and the damage type/weapon ID conflicts. I've already started documenting them in full here.

 

The new weapons must surely start at ID 55...?

Link to comment
Share on other sites

I have tried and you have to start count from id 47, but it works

Edited by Bad.boy!
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.