Re: Maximum_weapons -
21-06-2004
There will be a problem, though... player weapons are stored in a bitmask. Each bit corresponds to a weapon. The reason why it is 32 and not more is that long integers are only 32-bit wide. And when you send these weapons over the network, the engine uses WRITE_LONG() which sends a long (doh!) - which is only 32 bytes.
You would have to change this value BOTH in the game DLL and in the client DLL, but ALSO change the way the weapons are stored (i.e, never use pev->weapons anymore) AND the way the weapons data is sent over the network.
It'll be quite a hack IMO 9_9
RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
|