weaponsubtype

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
neillomax
Lieutenant General
Posts: 880
Joined: Thu Jun 23, 2005 6:57 am

weaponsubtype

Post by neillomax »

classname Weapon
weapontype heavy
weaponsubtype 2
name "Shotgun"
rank 640 640

Saw this in a tik file. What does the weapon-subtype 2 mean ?, or, what "value" does it add ?
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

Please, people, learn to use the documentation. Use the game module classes reference, it's all explained in there.
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

Post by ViPER »

it would be helpfull if there was a better explanation where all this info is, for those who dont know?
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

Guess u gotta be a pro b4 u come post here?
Image
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

Post by ViPER »

or a Rookie! LOL
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

No, you just have to use the documentation that has been provided.
MOH_GameClasses.html wrote:weaponsubtype( Integer subtype )

sets the weapon's sub-type. Used by smoke grenades.
This suggests that this line is quite useless in a shotgun TIKI. Its purpose is for the game library to tell the difference between fragmentation and smoke grenades.
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Post Reply