![]() The highest weight value for the existing Half-Life weapons is 20.Īlso remember that this information is useless until I can figure out the client.dll. Whatever weapon has the greatest weight, that you have ammo for, is automatically switched to. When you run out of ammo, what weapon should you switch to? That's determined by weight. ![]() ![]() We want the blaster just below it.īLASTER_WEIGHT is used for auto-switching. ![]() Slot 4 is where the other high-tech weapons reside: the RPG, gauss, egon, and hornet gun are in it.īLASTER_POSITION is the position of the weapon within the slot. Crowbar is in Slot 1, Glock and Magnum are in Slot 2, MP5 is in Slot 3, etc. The maximum number of weapons is basically unlimited (it's 2^31 I think).īLASTER_SLOT is the slot the blaster will be in. The highest index of current Half-Life weapons is 15, so for an additional weapon it should be 16. WEAPON_BLASTER is the index of the blaster.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |