Home   Help Search Login Register  

Author Topic: Plane crash  (Read 843 times)

0 Members and 1 Guest are viewing this topic.

Siber Fox

  • Guest
Plane crash
« on: 13 Sep 2003, 23:57:06 »
Is it posible to turn an object upside down or something? The effect is gone when a plane is downed and looks like it just randomly landed upright.

_Ross_

  • Guest
Re:Plane crash
« Reply #1 on: 14 Sep 2003, 07:22:47 »
heres whaty i did to blow up my chopper and it worked great
aim1 = mychopper select 0
aim2 = mychopper select 1
aim3 = mychopper select 2

"Laserguidedbomb" camcreate setpos [aim1,aim2,(aim3 + 3)]

Siber Fox

  • Guest
Re:Plane crash
« Reply #2 on: 15 Sep 2003, 02:25:28 »
Ok, but I ment how to make a plane be upside down. Sorry, I should have made more sense. :)

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Plane crash
« Reply #3 on: 15 Sep 2003, 09:45:20 »
There's no way that I know of. People have been trying to do it by creating an explosion next to the vehicle and hoping that it would flip over because of the blast, which is exactly what _Ross_ is doing in his little script there.

I'd hope there was a better way, but as I know, there isn't.

Not all is lost.

GaryP

  • Guest
Re:Plane crash
« Reply #4 on: 18 Sep 2003, 01:36:14 »
aim1 = mychopper select 0
aim2 = mychopper select 1
aim3 = mychopper select 2

"Laserguidedbomb" camcreate setpos [aim1,aim2,(aim3 + 3)]

I put this in a script called BlowItUp.sqs and named a chopper mychopper, and put it in a trigger called by radio.  It gave me an error:

"Laserguidedbomb" camcreate setpos # [aim1,aim2,(aim3 + 3)]
Error unknown operator

How'd you get this to work, please?

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Plane crash
« Reply #5 on: 18 Sep 2003, 01:40:42 »
da setpos shudnt b dere ;)

nd u shud name ur choper mychopper (in case u didnt know ;) ;D)

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

GaryP

  • Guest
Re:Plane crash
« Reply #6 on: 18 Sep 2003, 02:21:20 »
I removed the setpos and got a scripting error.  That did not work either.  Any suggestions?  I wanted to create a time bomb bigger then a C4.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Plane crash
« Reply #7 on: 18 Sep 2003, 02:34:56 »
right i found noder error dere ;D ;)

all dos

aim1 = mychopper select 0
aim2 = mychopper select 1
aim3 = mychopper select 2

miss da getpos command  :-X so dey shud b

Code: [Select]
aim1 = getpos mychopper select 0
aim2 = getpos mychopper select 1
aim3 = getpos mychopper select 2

sry i didnt find em b4 but its after 3 AM now - i cant think clrealy ;) ;D

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

GaryP

  • Guest
Re:Plane crash
« Reply #8 on: 19 Sep 2003, 13:52:47 »
I created a reusable function for this.  I called it "BlowItUp.sqs"

In the file I put:

_unit = select 0
aim1 = getpos _unit select 0
aim2 = getpos _unit select 1
aim3 = getpos _unit select 2
"Laserguidedbomb" camcreate [aim1,aim2,aim3]

In the game I created a jeep and named it myjeep.  I made a trigger that is set off from the radio alpha.  In the triggers activate event I put [myjeep] exec "BlowItUp.sqs"

Now I have a bomb truck that I can drive somewhere and leave it.  Then run like hell and press radio alpha and watch the bodies fly.

Thanks to _Ross_ and LCD for the idea.  I may submit this into the code snippits section. ;D   It works too good not to use.


Oh, I created a chopper and tried it too.  Send one of my guys on a suicide mission.

Took it out in mid air.  Gotta try this on a shulka. ;)



And sorry about hijacking your thread Siber Fox.
« Last Edit: 19 Sep 2003, 13:54:49 by GaryP »

_Ross_

  • Guest
Re:Plane crash
« Reply #9 on: 21 Sep 2003, 03:17:02 »
i already submitted it

ITS MY IDEA ANYWAY

lol j/k

« Last Edit: 21 Sep 2003, 03:23:15 by _Ross_ »

Commando

  • Guest
Re:Plane crash
« Reply #10 on: 22 Sep 2003, 10:09:54 »
GaryP does it work with planes? I don't know if i should make a own thread for this or if i can post this question in your thread but how do i make a  c130 transport plane start loosing fuel quickly and then the players should get ejected when the fuel is 0.  :P

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Plane crash
« Reply #11 on: 22 Sep 2003, 10:57:18 »
It's a new question so no harm in a new thread.  But anyway


; script sketch

hercules1 setfuel 0.9
~1
hercules1 setfuel 0.8
~1
.
.
.
.
hercules1 setfuel 0
eject stuff
exit

change the numbers to suit yourself.  
Plenty of reviewed ArmA missions for you to play

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Plane crash
« Reply #12 on: 22 Sep 2003, 15:42:15 »
About the crashed plane: There's a crashed airplane addon @ OFP CZ:

ftp://www.gamezone.cz/ofpd/unofaddons2/PLANECRASH.zip