Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

Weapons indexes

- - - - -

  • Please log in to reply
6 replies to this topic

#1
OFFLINE   Dragonji

Dragonji

    Advanced Member

  • Members
  • PipPipPipPip
  • 514 posts
142
On the road to fame
  • LocationPoland
Hello.

Could I ask for all silEnT mod's weapons IDs? It seems that some of ETPub ones are different and don't work in an anti-SK Lua module.

Edited by Dragon, 08 March 2012 - 04:28 PM.


#2
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

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



#3
OFFLINE   Dragonji

Dragonji

    Advanced Member

  • Members
  • PipPipPipPip
  • 514 posts
142
On the road to fame
  • LocationPoland
Oh, sorry, I've just checked this Lua mod again and it seems that Means of Death list is something that I'm looking for.

Edited by Dragon, 08 March 2012 - 05:18 PM.


#4
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

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



#5
OFFLINE   b4st4rd

b4st4rd

    Newbie

  • Members
  • Pip
  • 2 posts
0
Unknown
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, 29 March 2012 - 11:46 PM.


#6
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
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.

#7
OFFLINE   TheSilencerPL

TheSilencerPL

    Advanced Member

  • Management
  • PipPipPipPip
  • 3096 posts
215
On the road to fame
  • LocationPoland
Yes, they still exist.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users