Home   Help Search Login Register  

Author Topic: Moving Vehicle  (Read 760 times)

0 Members and 1 Guest are viewing this topic.

Walther_P38

  • Guest
Moving Vehicle
« on: 01 Jun 2003, 11:21:45 »
One other question.

Thanks, LCD, BTW, for answering my other post.

Is it possible to make an object appear, already moving? I kinda had an interesting idea to make something more interesting than a flat tire. Have a jeep appear from someplace out of the player's line of site, like the woods or something, and move into the path of the truck that the player is driving too quickly to be dodged. So, the player hits it.

How would I do this?

Sorry to ask so many questions. :)

-Walther

Walther_P38

  • Guest
Re:Moving Vehicle
« Reply #1 on: 01 Jun 2003, 11:25:15 »
And as a sidenote, it's probably going to have to appear and come out of 'hiding' faster than the jeep normally drives, so.... :)

-Walther

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Moving Vehicle
« Reply #2 on: 01 Jun 2003, 11:57:47 »
u can camcreate it

and den use setvelocity 2 make it fly in da direction u want ;)

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Walther_P38

  • Guest
Re:Moving Vehicle
« Reply #3 on: 02 Jun 2003, 17:53:17 »
Okay, I'm an idiot with this sort of thing, LCD.

Can you walk me through it completely? I need someone to do this at least once. Say, I want to have it burst out of cover from 50 feet away or so, to the right of the truck, and zip forwards into the side of it?

I'm really rusty. It'd be awful nice if someone would show me, just once, how to create this sort of thing completely from scratch.

I know there's a camcreate tutorial, but it helps a hell of a lot if someone is willing to use an example that pertains to me, y'know? Especially the jeep if you're willing, because then I can use it to figure how how to do the bullet trick. :)

Thanks, Dude. If you're not willing, I TOTALLY understand.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Moving Vehicle
« Reply #4 on: 02 Jun 2003, 18:28:58 »
There's nothing to it.   :)   Look up camcreate or createVehicle in the online command reference in the Ed Depot and just copy and paste the example into the On activation field of a trigger.   Then amend it as appropriate.  

Place a marker where you want the jeep to appear.   If you want the marker to move with the truck use getpos and setMarkerPos.
Plenty of reviewed ArmA missions for you to play

zsa_zsa_rasputin

  • Guest
Re:Moving Vehicle
« Reply #5 on: 02 Jun 2003, 18:53:03 »
Just as a sidenote - that sounds like a really useful idea  ;D - would it be possible to do with projectiles too? As in missiles/rockets/etc?
Dan
« Last Edit: 02 Jun 2003, 18:54:03 by zsa_zsa_rasputin »

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Moving Vehicle
« Reply #6 on: 02 Jun 2003, 20:12:32 »
@ Zsa

yep it shud b posible w/ projectiles but in OFP all projectiles (xept LGBs) disapear after 10 secs  >:(

@ walther

not hard ;)

search da online command referanve 4 da camcreate command (or createvehicle)

also search it 4 setvelocity command - cant halp u much w/ it cuz im stil starter in phisics (started learnin dis year nd stil need 2 get it into ma head ;))

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta