Home   Help Search Login Register  

Author Topic: BHD style blackhawks  (Read 675 times)

0 Members and 1 Guest are viewing this topic.

Victorcharlie

  • Guest
BHD style blackhawks
« on: 04 Sep 2004, 16:03:28 »
I am making a BHD style mission but I don't want to use the BAS blackhawks because they give me toooo much lag. so i am using the BIS blackhawk and i give them minigun and ammo. I make the mission so the one BH flies around the town providing cover but when he gets shot by rpg i don't want the helicopter to explode just spin around and hit the ground quite hard, anyone know how to not let the BH explode?

ps- the Blackhawk is flying at about 70-75 meters off ground

Thanx in advance

Bluelikeu

  • Guest
Re:BHD style blackhawks
« Reply #1 on: 04 Sep 2004, 17:10:42 »
hey, i saw this post a while back so i created one myself, never submited it though. Anyway, i lost it when my computer died on me...so i'll create a new one, and get it to you in a while.

Offline Nemesis6

  • Members
  • *
Re:BHD style blackhawks
« Reply #2 on: 04 Sep 2004, 17:23:13 »
Here's a little script I made -

Quote
_chopper = _this select 0

@ (chopperhit)

_bang = "shell73" createVehicle (getpos _chopper)
_bang setVelocity [0,0,40]

_i = 5

#checker

_chopper setDamage 0
_chopper action ["Engine On"]

? (damage _chopper == 0) && _i < 5: goto "proceed"

_i = _i - 1

? _i <= 3: goto "proceed"

~0.1
goto "checker"

#proceed

~0.2
[_chopper] exec "tailrotor.sqs"
exit

Instructions - Copy and paste the script into Notepad, then save the file as an .sqs file in your mission directory, and execute it on the chopper, as such - [This] exec "WhatYouNamedIt.sqs".

(chopperhit) is a variable that needs to be true in order for the script to go ahead: That means that when you want the chopper to be hit, you should do this - chopperhit = true
« Last Edit: 04 Sep 2004, 17:45:01 by Nemesis6 »
I am actually flying into a star... this is incredible!

Offline Nemesis6

  • Members
  • *
Re:BHD style blackhawks
« Reply #3 on: 06 Sep 2004, 23:46:34 »
So.......

Did that help?
I am actually flying into a star... this is incredible!

BrAinOfJ

  • Guest
Re:BHD style blackhawks
« Reply #4 on: 09 Sep 2004, 02:22:57 »
Maybe a silly question... but is "tailrotor.sqs" a build in script, or have i missed something ?

Offline Nemesis6

  • Members
  • *
Re:BHD style blackhawks
« Reply #5 on: 09 Sep 2004, 14:42:00 »
Tailrotor.sqs could be either the one I made (Look in the Scripting: Beta testing section, or search for "Tail rotor failure" in the Editors Depot. Choose the one from Vektorboson.
I am actually flying into a star... this is incredible!

Victorcharlie

  • Guest
Re:BHD style blackhawks
« Reply #6 on: 16 Sep 2004, 13:25:17 »
Thanks