Home   Help Search Login Register  

Author Topic: need help with scud script  (Read 2472 times)

0 Members and 1 Guest are viewing this topic.

Trigger_Happy

  • Guest
need help with scud script
« on: 03 Aug 2005, 08:48:09 »
Hi, i need a script that will let me launch a scud on an area on the map... the scud doesnt have to hit but there needs to be a big explosion... maybe satchels across a 200m area or lgbs over a 200m area.  id like it to run by just putting it in the scuds init field without having to name the scud because its for cti. it should only have 1 shot. none of the scripts i found in the editors depot can do this.
thanks for any help.
« Last Edit: 08 Aug 2005, 07:27:09 by Trigger_Happy »

Offline Speeder

  • Members
  • *
    • OFP.nu
Re:need scud script
« Reply #1 on: 03 Aug 2005, 10:27:32 »
can't you just combine the mapClick command, with a random counter for the area, and a CamCreate command. I had something like that lying about, but my computer crashed, so I can't help you anyfurther.
There are 10 kinds of people in this world. Those who get it, and those who don't.

Trigger_Happy

  • Guest
Re:need scud script
« Reply #2 on: 03 Aug 2005, 10:36:37 »
unfortunatly i cant script worth sh!t  :'( thats why i need help maybe someone else can use that idea to help thanks anyway ;D

Offline 456820

  • Contributing Member
  • **
Re:need scud script
« Reply #3 on: 03 Aug 2005, 10:37:22 »
im pretty sure thers a scud script in the editors depot plus lgb's over a 200m area isnt that realistic im reading some book 'Bravo two xero' and it says several scuds were launched into a small town and there wasnt much dammage to town structure but there were lots of casualties
any ill look for a link
ermmmmmmmmm aaaahhhhh aha here it is

hope that helps

Trigger_Happy

  • Guest
Re:need scud script
« Reply #4 on: 03 Aug 2005, 21:01:42 »
i know there are scud scripts... i need someone to modify one to make it so i can call it with clickin on the map and some big explosion happens
i found one that works in the editors depot.. but it doesnt work in multiplayer
« Last Edit: 04 Aug 2005, 00:03:14 by Trigger_Happy »

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:need scud script
« Reply #5 on: 04 Aug 2005, 03:38:35 »
onmapsingleclick {[_pos] exec "scudlaunch.sqs"}

i belive thats the correct syntax

obviously you would change the script name and add in the other parameters of the scud script
_pos is defined by clicking so thats all you need

I think if i continue to post in this thread people will get confused as to who is asking and who is answering....lol

Trigger_Happy

  • Guest
Re:need scud script
« Reply #6 on: 04 Aug 2005, 03:53:37 »
my msn is Trigger_12234@hotmail.com triggerhappy if u have msn can u walk me through it? cuz i have no idea how to do this. or someone else. thx for the help anyway ill mess with what you gave me for awhile but i doubt ill get it to work :/

Offline 456820

  • Contributing Member
  • **
Re:need scud script
« Reply #7 on: 04 Aug 2005, 08:35:06 »
Quote
I think if i continue to post in this thread people will get confused as to who is asking and who is answering....lol

i thought you were answering your own question then lol

Offline Trash Can Man

  • Members
  • *
  • We are no longer the knights who say "Ni!"
Re:need scud script
« Reply #8 on: 04 Aug 2005, 19:22:39 »
LOL I was thinking the same thing!

Trigger_Happy

  • Guest
Re:need scud script
« Reply #9 on: 04 Aug 2005, 21:04:43 »
 ??? guess noone is gonna help :(

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:need scud script
« Reply #10 on: 05 Aug 2005, 03:00:34 »
hahaha, thats hilarious 456

Offline Trash Can Man

  • Members
  • *
  • We are no longer the knights who say "Ni!"
Re:need scud script
« Reply #11 on: 05 Aug 2005, 03:58:46 »
did you take a look at the scud script on the script editors page? I believe you will find it here.

http://www.ofpec.com/editors/browse.php?browsewhat=2&category=2_2&start=25

Hope this helps


Trash Can Man


Trigger_Happy

  • Guest
Re:need scud script
« Reply #12 on: 05 Aug 2005, 05:01:47 »
that script is almost what i need but there are some things wrong with it... the person using it has the option to launch scud the entire game even when the scud has been launched, this is for cti so the option needs to be on the scud itself. the scud reloads, and it fires on a trigger, i need it to fire on a point on the map i click after pressing the action on the scud. and the explosions are in the shape of a asterik.. not very good for killing bases if it were a square that would be better
thx anyway  ;D
« Last Edit: 05 Aug 2005, 05:03:45 by Trigger_Happy »

Dane

  • Guest
Re:need scud script
« Reply #13 on: 05 Aug 2005, 05:13:09 »
??? guess noone is gonna help :(

Well, i would like to but don't have much experience with onMapSingleClick.

But if it's any help here's tube missile script that uses onMapSingleClick, maybe you can modify that to use scud instead.
« Last Edit: 05 Aug 2005, 05:37:17 by DaneDK »

Trigger_Happy

  • Guest
Re:need scud script
« Reply #14 on: 05 Aug 2005, 08:29:18 »
it would be easier for someone to just make a new script... heres what i need again


A script called in the init field of the scud using the action menu that will let the player mark where he wants the explosion to be on the map. then the scud launches and it hits and makes a 200m explosion with satchels. then the action disappears from the menu.

thanks for the help so far