Jump to content
Sign in to follow this  
mr reality

Placing a vehicle on its side..

Recommended Posts

Well all i want to do is place an empty vehicle on to its side.I've searched the site but to no avail  sad_o.gif .Can somebody help me out.

ps.Yes i have tried OFPEC too...

Share this post


Link to post
Share on other sites

I never did it myself, but I can remember to have read somewhere on these forums that people did it this way (via scripting):

Placing the vehicle a few meters above the ground, creating an object like f.i. "paleta1" under the vehicle (in the air), but a bit to one side of the vehicle. Thanks to OFPs .. ahem ... realistic ... physics the vehicle will fall on the paleta, tip over and lay on its side. In the script you wait a few seconds and delete the paleta again. wink_o.gif

Share this post


Link to post
Share on other sites

i can remember a scrip that used to spawn a training object

(the little wooden bridge i think)

under a side of a vehicle using either setvelocity or getpos

te brigde pops up from groun for a second making the truck fall over and the bridge disappears again

if u try aroudn with that a bit u find it out

i only whised u already coud start with an aside fallen vehicle

Share this post


Link to post
Share on other sites

First of all i'd like to thank you guys for giving me some ideas..Here's how i solved the problem..

I placed a "fountain" underneath the vehicle.Then i placed a trigger with a deletevehicle command for the fountain.

fountain.jpg

This is what i was aiming for.

scene4.jpgscene2.jpg

Thanks to hardrock and nephilim for making all this possible... biggrin_o.gif

Share this post


Link to post
Share on other sites

When I flip things, I usually use the Training 3 obstacle. It's the long and narrow bridge/beam. Lets you get it right across whetever side you need it on.

Share this post


Link to post
Share on other sites

And if you searched the ME FAQ Pinned at the top of this forum, there was my post on page 5:

Quote[/b] ]Rolling A Vehicle Onto It's Side

Although pitch/yaw/roll functions are not in OFP.  You can still jimmy rig vehicles onto their sides:

Example Scenario:

A Bus.  Named Bus1

Empty>Objects> Training3 is the object you'll need.  Named Roll

H(invisible) Named H1

If you want it rolled onto it's right side:

Bus1 Init Line

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> this setpos [getpos this select 0, getpos this select 1, (getpos this select 2) + 7]; setVelocity [0,0,0]

Roll Init line:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> this setpos [getpos this select 0, getpos this select 1, (getpos this select 2) + 7]

No Init line for H1

Trigger1:

Radio Alpha

Present

OnActivation: Roll Setpos [getpos H1 select 0, getpos H1 select 1, getpos H1 select 2]

Place "Roll" just on the left side of the bus in the Mission Editor Screen.  Press Preview.

The Bus will now fall down and land on the wooden ramp.  It's left side will stick and it will roll to the right.

As it's falling, once you see the right side if flush with the ground, Radio Alpha.

(Or you can set it to a timer and the ramp will move itself after a certain amount of time, that way you don't have to bother with Radio commands)

This will move the Ramp to the Helo Pad, and the Bus will fall right onto it's side.

***This is just a base idea that you expand on for scripts.  A few manual times with radio alpha can give you and idea of when in a script to move the ramp so the bus falls.

I used it to produce this:

225.JPG

Trying to find the pic.

Share this post


Link to post
Share on other sites
And if you searched the ME FAQ Pinned at the top of this forum, there was my post on page 5:

DOH!!!

Thats typical that is..I knew i'd seen your post before but i couldn't remember where i'd seen it..I've trawled that FAQ loads of times aswell...I messed about and my way worked first time so thats why i used it..It's a bit "dumb" but if it works thats all that counts.I'm not good with scripts so i try and get round it in other ways...Maybe i was lucky  tounge_o.gif .I'll certainly try your way though..

Share this post


Link to post
Share on other sites
i can remember a scrip that used to spawn a training object

(the little wooden bridge i think)

under a side of a vehicle using either setvelocity or getpos

te brigde pops up from groun for a second making the truck fall over and the bridge disappears again

if u try aroudn with that a bit u find it out

i only whised u already coud start with an aside fallen vehicle

If you want an overturned bus, you can get one from www.warfaregames.com...

http://www.warfaregames.com/nuke....id=1276

No need for any fountain trickery...

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×