How can I place an empty gun on ground? Created 18 years ago2006-02-18 17:39:47 UTC by SickMothaFucker SickMothaFucker

Created 18 years ago2006-02-18 17:39:47 UTC by SickMothaFucker SickMothaFucker

Posted 18 years ago2006-02-18 17:39:47 UTC Post #163869
Hello, I want to have an empty gun on the ground for my mod. I want to make different objects instead of guns but I don't want to can be shot with them , I don't know any programing so this would be easyest.

HELP !!!
Posted 18 years ago2006-02-18 17:41:52 UTC Post #163870
woah. I didn't understand a word of that. please re-phrase
Archie ArchieGoodbye Moonmen
Posted 18 years ago2006-02-18 20:54:20 UTC Post #163891
No, i think you didn't understood me. Sorry about that. I will modify the v_shotgun with 3ds max and transform it to a box for example. And I just don't want to pick up the "box" with the default bullets in it like you would pick up a shotgun. And so I don't want the "box" to have bullets when picked.
Posted 18 years ago2006-02-18 22:36:08 UTC Post #163900
mayby name your box the same thing as the shot gun modle and put it in the right folder. It will overide whats in gfc or pak files.
Posted 18 years ago2006-02-19 00:30:54 UTC Post #163909
YES, I know that, I am asking how to get rid of the bullets in the gun once picked up. For example I've just changed the shotgun with a box but I don't want the box to shoot.
Posted 18 years ago2006-02-19 01:07:57 UTC Post #163910
like, you want the shottie/box to be pick-uppable, but to have no bullets in it? couldnt you go into the shottie/box code and set bullet/clip limit to 0?
Penguinboy PenguinboyHaha, I died again!
Posted 18 years ago2006-02-19 06:18:37 UTC Post #163923
Could I :) ? Where is that Code list or somth ?
Posted 18 years ago2006-02-19 14:02:12 UTC Post #163965
So no empty guns are possible ???
Posted 18 years ago2006-02-19 14:20:28 UTC Post #163972
There's got to be a way to do it. Try PMing some of our guys that code like Chickenfist. There are more people that code, I just can't remember who they are :P

They'll be able to tell you for sure if you need code or not, but just guessin I would think there has to be a wya or a trick to do this.

Neat AV btw :)
Posted 18 years ago2006-02-19 18:51:23 UTC Post #163997
Maybe there is away to do it without coding, if the game_player_equip entity can supply you with empty weapons.

If they can then it's quite simple. Place a monster_furniture entity with the gun model. Place a trigger_once around it and make it kill the monster_furniture(using the killtarget value of course ;) ) and make it target the game_player_equip that will give you the weapon.
You must be logged in to post a response.