Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Throwing Guns  (Read 4048 times)

0 Members and 1 Guest are viewing this topic.

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