Home   Help Search Login Register  

Author Topic: scud script  (Read 786 times)

0 Members and 1 Guest are viewing this topic.

acepilotray

  • Guest
scud script
« on: 19 Aug 2005, 03:50:23 »
is the script that makes a scud fire?
also is there a script to make a explosin or make a plane land ???

Offline Blanco

  • Former Staff
  • ****
Re:scud script
« Reply #1 on: 19 Aug 2005, 04:13:10 »
Question 1 - Scud fire...

Code: [Select]
name_of_scud action ["scud launch"]Makes scud missile move to vertical ready-to-launch position

Code: [Select]
name_of_scud action ["scud start"]Makes scud missile ignite and launch

Question 2 Create explosion...

Read
http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=24863

Question 3 - Land plane...

Try to put a getout waypoint on the runway (I'm  not sure about this)


« Last Edit: 19 Aug 2005, 04:15:36 by Blanco »
Search or search or search before you ask.

Offline 456820

  • Contributing Member
  • **
Re:scud script
« Reply #2 on: 19 Aug 2005, 09:43:13 »
Quote
Question 1 - Scud fire...

Code:name_of_scud action ["scud launch"]

Makes scud missile move to vertical ready-to-launch position

Code:name_of_scud action ["scud start"]
Makes scud missile ignite and launch

your right but just alittle note it takes about 15 seconds for the scud to get into a launch state so for example

name_of_scud action ["scud launch"]
~15
name_of_scud action ["scud start"]

to be abit more exact

and question 3
im guessing that lies within the action landing auto pilot
have a look in the action thread

if not how about this flyinheight 0 and a limited speed waypoint ?
(probal not right just a guess)

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:scud script
« Reply #3 on: 19 Aug 2005, 11:00:39 »
There are at least two complete scud lauch-at-target-and-explode scripts.   BAS made one, can't remember about the other.   The BAS is embedded in one but, being blessed with silage for brains, I can't remember what.   One of the later packs I think.
Plenty of reviewed ArmA missions for you to play

bored_onion

  • Guest
Re:scud script
« Reply #4 on: 19 Aug 2005, 14:20:36 »
Quote
Question 3 - Land plane...

Try to put a getout waypoint on the runway (I'm  not sure about this)

try:

Code: [Select]
plane land "land"

Offline Blanco

  • Former Staff
  • ****
Re:scud script
« Reply #5 on: 19 Aug 2005, 15:08:36 »
bored_onion

Both ways seems to work but the plane lands quicker with land "land"

I tried that on Malden and he lands and takes off again.
You should place a small trigger over the end of that runway to force him to stop.

Activation : Side of plane1
Condition : plane1 in thislist && Getpos plane1 select 2 <  0.2  
Onactivation : plane1 setfuel 0

Attached a quick testmission, use the radio triggers to watch both planes.



« Last Edit: 19 Aug 2005, 15:09:20 by Blanco »
Search or search or search before you ask.