Page 1 of 1

weaponsubtype

Posted: Tue Sep 13, 2005 8:25 pm
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 ?

Posted: Wed Sep 14, 2005 5:59 am
by Rookie One.pl
Please, people, learn to use the documentation. Use the game module classes reference, it's all explained in there.

Posted: Wed Sep 14, 2005 6:04 am
by ViPER
it would be helpfull if there was a better explanation where all this info is, for those who dont know?

Posted: Wed Sep 14, 2005 6:40 am
by Green Beret
Guess u gotta be a pro b4 u come post here?

Posted: Wed Sep 14, 2005 6:41 am
by ViPER
or a Rookie! LOL

Posted: Wed Sep 14, 2005 12:42 pm
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.