Home   Help Search Login Register  

Author Topic: man setvelocity  (Read 820 times)

0 Members and 1 Guest are viewing this topic.

Offline RujiK

  • Members
  • *
  • KoKo Puh-Fizzles!
man setvelocity
« on: 31 Aug 2005, 18:50:15 »
Since I started playing ofp and started editing I have found that (or thought) that a UNIT'S (like a civilian1) velocity cannot be set. It just doesnt do anything. However recently I downloaded the human shell mission that USES a MAN to set velocity! I never thought this was possible and just wanted to know what allows set velocity and what doesnt.

The link can be found here:

Human Shell

So the question one more time, how does one make a infantry unit be able to do man setvelocity [50,50,50]?
I like your approach, lets see your departure.
Download the New Flashlight Script!

bored_onion

  • Guest
Re:man setvelocity
« Reply #1 on: 31 Aug 2005, 18:51:42 »
they might have put him inside an invisible addon for a vehicle which you can move. thats how i would have done it, anyhow... :P

DBR_ONIX

  • Guest
Re:man setvelocity
« Reply #2 on: 31 Aug 2005, 18:54:08 »
Err, search for jumping scripts, or..
Setpos the unit either to it's current position, or juust above it (+0.0001 for example), and it'll work fine ;)
- Ben

Offline RujiK

  • Members
  • *
  • KoKo Puh-Fizzles!
Re:man setvelocity
« Reply #3 on: 31 Aug 2005, 19:03:56 »
I already know that. I want to know how to setvelocity on a man. Nothing else. Human shell contains no addons other then resistance. What I want to know is WHY does setvelocity work in that script but when i just do man setvelocity [10,10,10] it does nothing.
I like your approach, lets see your departure.
Download the New Flashlight Script!

Offline Blanco

  • Former Staff
  • ****
Re:man setvelocity
« Reply #4 on: 31 Aug 2005, 21:24:10 »
True, it's strange. I've asked the same thing about that shinobi addon on the BI forum, they also use setvelocity on that ninja you know.
No answers so far.
It seems to work when you copy the velocity from something else and use it on your man, I dunno...





Search or search or search before you ask.

Offline Raptorsaurus

  • Editors Depot Staff
  • *****
Re:man setvelocity
« Reply #5 on: 31 Aug 2005, 23:03:36 »
Set velocity works on a man if he is in the air, so if you first setPos him a little bit above the ground you can then do the rest with setVelocity.
« Last Edit: 31 Aug 2005, 23:03:54 by Raptorsaurus »

DBR_ONIX

  • Guest
Re:man setvelocity
« Reply #6 on: 31 Aug 2005, 23:47:18 »
Setpos the unit either to it's current position, or juust above it (+0.0001 for example), and it'll work fine ;)

...*ahem*::)
- Ben

Offline Blanco

  • Former Staff
  • ****
Re:man setvelocity
« Reply #7 on: 01 Sep 2005, 00:52:44 »
Ow sorry, Ben
I thought you were talking about a setpos loop, my mistake.:beat:


Search or search or search before you ask.