|
Author
|
Message
|
|
Member
|

01-04-2015
, 12:45
[Rage Module?] Multiple weapons on one ID
|
#1
|
Hello,
I'm posting a problem according to my recent problem. I've created a plugin that gives a special weapon - SR-25 with Thermal Sight (can be found on youtube). While giving the weapon it changes the weapon's entity classname to weapon_sr25, and sets its pev_iuser1 to a certain value, so I can check later, if the player is really using the SR-25 or its base weapon (SG550) .
The problem appears, that if i buy the SG550 firstly, then I force the plugin to give me the SR-25 weapon, the both weapons start to "mix". On the weapon list i have the SR-25 only and the only way I can switch between SR-25 and SG550 is using the quick weapon change key, otherwise I can choose SR-25 or the secondary only.
My question is - is there any way I can make the SR-25 to be seen by engine as a totally new weapon, but using the SG550 Weapon ID, so that a player can hold both and select both of these weapons? Of course, even if I would have to use any special modules, I'd love to achieve that.
I was thinking even on editing the mp.dll, but it's against the Valve EULA and even though, I would propably have to use some client-side modules anyway.
Regards,
Vic.
Last edited by wiwi249; 01-04-2015 at 19:18.
|
|
|
|