Spawning a gun
I need to know how to make a model appear in someones hand, or to everyone else. Help?
|
change model?
create entity and dispatch it? |
I want to make them have a new gun model, but would making an ent and dispatching it do that?
|
u mean switching the way the gun looks by replacing it with another model? :roll:
|
yes make a new weapon entity under a person and dispatch it then drop the players current weapon. or u can change the current weapon model
|
And could you give me an example of how to do this?
|
couldn't u just change the weapon model ent var?
its a string, but some mods use a number, i guess thats the number of the allocated string, so just allocate a string for those mods or something |
Quote:
1. Have a scout 2. The scout can look like an AK47 to you 3. It can look like a glock to everyone else. Changing the model itself won't change how the gun operates so even if you changed the model of your glock to an ak47, it will still act like a glock and look like one to everyone else but you (mattering of course, which model you change) |
so jsut check for the buttons IN_ATTACK, IN_ATTACK2, and IN_RELOAD and make them do whatever u want
so its really just a model |
Quote:
|
| All times are GMT -4. The time now is 17:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.