I have made a pseudo-weapon that does not use ammo, deals 0 damage and is invisible. I derived it from the automag and called it "interactor" because I use it as a quick implementation of a "use" button (despite dealing no damage, the shots still activate the triggers that activate when shot).
However, if I press the "drop weapon" key while holding the interactor... it gets dropped. I don't want this, because it results in the inability of activating buttons except by shooting them with visible weapons. I want to maintain the illusion that the player character is pushing those buttons, not shooting them, so how can I make it impossible to drop the interactor?
(Note: simply remapping the "drop weapon" key would create another problem, because I'm also using a vehicle mod that uses that key to exit from vehicles)
For direct access use https://forums.oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com
How to make a weapon non-droppable?
-
Devil Master
- OldUnreal Member
- Posts: 62
- Joined: Sat Jun 18, 2011 8:30 pm
How to make a weapon non-droppable?
Last edited by Devil Master on Thu Jul 03, 2014 11:21 am, edited 1 time in total.
-
AlCapowned
- OldUnreal Member
- Posts: 202
- Joined: Tue Dec 22, 2009 3:53 pm
Re: How to make a weapon non-droppable?
Set bCanThrow to false in the default properties.
-
Devil Master
- OldUnreal Member
- Posts: 62
- Joined: Sat Jun 18, 2011 8:30 pm
Re: How to make a weapon non-droppable?
That easy? Thank you!
-
SFJake
- OldUnreal Member
- Posts: 252
- Joined: Sun Aug 15, 2010 4:31 pm
Re: How to make a weapon non-droppable?
Wouldn't an item for this be more appropriate? Just a thought.
Last edited by SFJake on Sat Jul 05, 2014 3:57 pm, edited 1 time in total.
-
gopostal
- OldUnreal Member
- Posts: 1007
- Joined: Thu Jul 31, 2008 9:29 pm
Re: How to make a weapon non-droppable?
Yeah, it'd be a lot cleaner to have this in the player's inventory. You'd have more control.
I don't want to give the end away
but we're all going to die one day
but we're all going to die one day
-
Bleeder91[NL]
- OldUnreal Member
- Posts: 1062
- Joined: Sun Oct 04, 2009 7:22 pm
Re: How to make a weapon non-droppable?
Or in the case this is for a custom map you're making, set the buttons to bUseTriggered and set the initial state to a Trigger type. This way, you can use the Grab command to "Use" movers (bound to the G key by default).