Raised This Month: $ Target: $400
 0% 

[Rage Module?] Multiple weapons on one ID


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
wiwi249
Member
Join Date: Oct 2013
Old 01-04-2015 , 12:45   [Rage Module?] Multiple weapons on one ID
Reply With Quote #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.
wiwi249 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:26.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode