Jump to content

Weapons indexes


Recommended Posts

  • Management
WP_NONE,    // 0
WP_KNIFE,    // 1
WP_LUGER,    // 2
WP_MP40,    // 3
WP_GRENADE_LAUNCHER, // 4
WP_PANZERFAUST,  // 5
WP_FLAMETHROWER,  // 6
WP_COLT,    // 7
WP_THOMPSON,   // 8
WP_GRENADE_PINEAPPLE, // 9
WP_STEN,    // 10
WP_MEDIC_SYRINGE,  // 11
WP_AMMO,    // 12
WP_ARTY,    // 13
WP_SILENCER,   // 14
WP_DYNAMITE,   // 15
WP_SMOKETRAIL,   // 16
WP_MAPMORTAR,   // 17
VERYBIGEXPLOSION,  // 18 // explosion effect for airplanes
WP_MEDKIT,    // 19
WP_BINOCULARS,   // 20
WP_PLIERS,    // 21
WP_SMOKE_MARKER,  // 22
WP_KAR98,    // 23
WP_CARBINE,    // 24
WP_GARAND,    // 25
WP_LANDMINE,   // 26
WP_SATCHEL,    // 27
WP_SATCHEL_DET,   // 28
WP_TRIPMINE,		   // 29
WP_SMOKE_BOMB,  // 30
WP_MOBILE_MG42,  // 31
WP_K43,	 // 32
WP_FG42,    // 33
WP_DUMMY_MG42,			    // 34
WP_MORTAR,    // 35
WP_LOCKPICK,   // 36
WP_AKIMBO_COLT,  // 37
WP_AKIMBO_LUGER,  // 38
WP_PPSH,		   // 39
WP_GPG40,    // 40
WP_M7,	 // 41
WP_SILENCED_COLT,  // 42
WP_GARAND_SCOPE,  // 43
WP_K43_SCOPE,   // 44
WP_FG42SCOPE,   // 45
WP_MORTAR_SET,   // 46
WP_MEDIC_ADRENALINE, // 47
WP_AKIMBO_SILENCEDCOLT, // 48
WP_AKIMBO_SILENCEDLUGER,// 49
WP_MOBILE_MG42_SET,  // 50

Link to comment
Share on other sites

  • Management
MOD_UNKNOWN		// 0
MOD_MACHINEGUN		// 1
MOD_BROWNING		// 2
MOD_MG42		// 3
MOD_GRENADE		// 4
MOD_ROCKET		// 5
MOD_KNIFE		// 6
MOD_LUGER		// 7
MOD_COLT		// 8
MOD_MP40		// 9
MOD_THOMPSON		// 10
MOD_STEN
MOD_GARAND
MOD_SNOOPERSCOPE
MOD_SILENCER
MOD_FG42		// 15
MOD_FG42SCOPE
MOD_PANZERFAUST
MOD_GRENADE_LAUNCHER
MOD_FLAMETHROWER
MOD_GRENADE_PINEAPPLE   // 20
MOD_CROSS
MOD_MAPMORTAR
MOD_MAPMORTAR_SPLASH
MOD_KICKED
MOD_GRABBER		// 25
MOD_DYNAMITE
MOD_AIRSTRIKE
MOD_SYRINGE
MOD_AMMO
MOD_ARTY		// 30
MOD_WATER
MOD_SLIME
MOD_LAVA
MOD_CRUSH
MOD_TELEFRAG		// 35
MOD_FALLING
MOD_SUICIDE
MOD_TARGET_LASER
MOD_TRIGGER_HURT
MOD_EXPLOSIVE		// 40
MOD_CARBINE
MOD_KAR98
MOD_GPG40
MOD_M7
MOD_LANDMINE		// 45
MOD_SATCHEL
MOD_TRIPMINE
MOD_SMOKEBOMB
MOD_MOBILE_MG42
MOD_SILENCED_COLT	// 50
MOD_GARAND_SCOPE
MOD_CRUSH_CONSTRUCTION
MOD_CRUSH_CONSTRUCTIONDEATH
MOD_CRUSH_CONSTRUCTIONDEATH_NOATTACKER
MOD_K43			// 55
MOD_K43_SCOPE
MOD_MORTAR
MOD_AKIMBO_COLT
MOD_AKIMBO_LUGER
MOD_AKIMBO_SILENCEDCOLT  // 60
MOD_AKIMBO_SILENCEDLUGER
MOD_SMOKEGRENADE
MOD_SWAP_PLACES
MOD_SWITCHTEAM
MOD_GOOMBA		// 65
MOD_POISON
MOD_FEAR
MOD_THROWN_KNIFE
MOD_REFLECTED_FF	// 69
MOD_PPSH		// 70
MOD_SHOVE		// 71

Link to comment
Share on other sites

  • 3 weeks later...

Gaoesa, I notice that you put your ppsh in the "correct" place. can I ask if you know the reason for putting custom "simple" weapons before all "double-weapons"?

I've always put mine in the bottom and I've never noticed a difference.

Edited by b4st4rd
Link to comment
Share on other sites

  • Management

The ppsh was added by TheSilencer, but I would suspect this comment after it had something to do with the decision.

// Gordon: ONLY secondaries below this mark, as they are checked >= WP_GPG40 && < WP_NUM_WEAPONS

However, I don't know if there actually are checks that depend on the values to be in the correct order.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...