Home   Help Search Login Register  

Author Topic: Throwing Guns  (Read 2146 times)

0 Members and 2 Guests are viewing this topic.

Merc

  • Guest
Throwing Guns
« on: 16 Jan 2005, 17:01:59 »
I don't think anyone has made this, so I was wondering if anyone could. Here goes:

When you fire your gun it flies out of your hands a couple feet where you have to go pick it up.

From :gunman: to ??? in a second because he lost his gun.

Would that be possible?

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Throwing Guns
« Reply #1 on: 16 Jan 2005, 18:05:39 »
uh.. why would you want that to happen?

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Throwing Guns
« Reply #2 on: 16 Jan 2005, 21:48:14 »
Maybe for the S&W. ;D

:beat: *Gets Shot* :beat:

Merc

  • Guest
Re:Throwing Guns
« Reply #3 on: 17 Jan 2005, 04:15:45 »
i think it would be funny to see people in a multiplayer match throwing their guns after they fire  ;D

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Throwing Guns
« Reply #4 on: 17 Jan 2005, 04:47:20 »
well seeing as this is a very useless script i don't think anyone will make it for you....

Offline greg147

  • Contributing Member
  • **
    • Royal Air Assault Battalion
Re:Throwing Guns
« Reply #5 on: 17 Jan 2005, 09:03:18 »
Maybe you could make a script that you can throw your gun after its run out of ammo, like stokegun command but, well, throwgun command.
Royal Air Assault Battalion - [L/Cpl] Greg
RAAB

Merc

  • Guest
Re:Throwing Guns
« Reply #6 on: 17 Jan 2005, 16:43:38 »
throw your gun after its run out of ammo

That sounds like something I could use and it sounds better than people throwing their guns after they fire

Offline XCess

  • Former Staff
  • ****
Re:Throwing Guns
« Reply #7 on: 17 Jan 2005, 19:35:48 »
hmm... could also be used when the player is hit. Would give u a bit more of a reason to keep your head down.

Dubieman

  • Guest
Re:Throwing Guns
« Reply #8 on: 17 Jan 2005, 19:39:30 »
Other than getting hit and being near an explosion, the script seems useless. I don't even really understand it much. :P

But maybe you could remove the weapon and use a place holder to create a weapon just lying on the ground or something. :-\
« Last Edit: 17 Jan 2005, 19:40:17 by GuiltyRoachKillar »

Merc

  • Guest
Re:Throwing Guns
« Reply #9 on: 17 Jan 2005, 19:43:16 »
The script could be used for more relistic deaths. When the person dies their gun goes flying out of their hands.  :gunman:

Merc

  • Guest
Re:Throwing Guns
« Reply #10 on: 17 Jan 2005, 19:44:37 »
I tryed using a place holder but is was very unrelistic.

(i can't spell)

Offline XCess

  • Former Staff
  • ****
Re:Throwing Guns
« Reply #11 on: 17 Jan 2005, 20:48:23 »
Wouldn't have noticed you can't spelt if you didn't point it out, only two letters missing. This thread is weird.... taking a random idea and developing it into something that could add to the game... I liked ur idea about deaths merc, i hate seeing guns flying 10cm next to their owner when he's thrown around somewhere.. placeholder would be fine for that.

Silencer

  • Guest
Re:Throwing Guns
« Reply #12 on: 18 Jan 2005, 00:50:51 »

Merc

  • Guest
Re:Throwing Guns
« Reply #13 on: 18 Jan 2005, 02:12:57 »
but place holders don't show motion. they just stay there.

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:Throwing Guns
« Reply #14 on: 18 Jan 2005, 04:02:27 »
but maby u could move the place holder in increments away from the person

Offline XCess

  • Former Staff
  • ****
Re:Throwing Guns
« Reply #15 on: 18 Jan 2005, 14:12:35 »
using setVelocity?

Merc

  • Guest
Re:Throwing Guns
« Reply #16 on: 20 Jan 2005, 01:33:47 »
I have tried setvelocity, it does not work.

Moving the placeholder in small increments might work, but I am not an advanced enough scripter to know how to make it fall right.   :-\
« Last Edit: 20 Jan 2005, 01:43:11 by Merc »

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:Throwing Guns
« Reply #17 on: 26 Jan 2005, 00:38:26 »
i meant setpos

DBR_ONIX

  • Guest
Re:Throwing Guns
« Reply #18 on: 09 Mar 2005, 23:02:27 »
AFAIK, you'd need a seperate object of the gun, then when the unit is blowen up (Exploding body scripts do this), the gun is remeoved from the person, and the object is created, and set velocivied..
You wouldn't really see it either..
Oh, theres a addon thing on OFP.info (Will be on an archive page, not long ago, but off the main page) that lets you shot soldiers helmets of.. That's your basic idea
- Ben

Offline Morglor9

  • Members
  • *
Re:Throwing Guns
« Reply #19 on: 27 Mar 2005, 08:06:09 »
if you could use this with an action, it would make way for a throwing knife addon. that would be FUN!
Cymbaline