AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   [CSGO] Guns with properties of another guns (https://forums.alliedmods.net/showthread.php?t=270400)

EngHell 08-20-2015 11:41

[CSGO] Guns with properties of another guns
 
I was playing in a community server when i saw a Deagle Round, those deagles had the recoild of a deagle but when you shot them they made the noise of an awp and its damage.

I'm a bit curious how you can modify it, also i saw in a old topic a sort of bug of deagles doing something similar to this.

Now i'd like to know if it's some sort of bug and if it's, how does it work? Is it possible to modify its behavior to made something like scouts with awp shots or pistols with teazer shots.

If its not a bug, how to reproduce it? how to modify it?

I see a lot of potential on this for some fun plugins :)

Thanks in advance for your time.

8guawong 08-20-2015 12:37

Re: [CSGO] Guns with properties of another guns
 
sounds like a bug of that plugins :P

Neuro Toxin 08-20-2015 19:33

Re: [CSGO] Guns with properties of another guns
 
Use CreateEntityByName using the net classes of the item you want to spawn.

Then set the item definition netprop to the item you want props to load from.

Eg.

CreateEntityByName with weapon_awp and then setting the item definition to 1 makes it a deagle awp.

EngHell 08-20-2015 20:34

Re: [CSGO] Guns with properties of another guns
 
Quote:

Originally Posted by Neuro Toxin (Post 2335335)
Use CreateEntityByName using the net classes of the item you want to spawn.

Then set the item definition netprop to the item you want props to load from.

Eg.

CreateEntityByName with weapon_awp and then setting the item definition to 1 makes it a deagle awp.

Thanks! I'll be playing with this for a while and see if I can get what I'm looking for


All times are GMT -4. The time now is 19:33.

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