Home   Help Search Login Register  

Author Topic: I need a few scripts...  (Read 559 times)

0 Members and 1 Guest are viewing this topic.

Serial Killer

  • Guest
I need a few scripts...
« on: 10 Apr 2005, 15:59:44 »
I need a few scripts.
1. Script, what destroys everything near a certain object.
2. Script, what creates a little rocks.
First those rocks must "fly" up, and then they must fall..


:)
« Last Edit: 10 Apr 2005, 16:37:00 by Serial Killer »

Offline supershooter

  • Members
  • *
  • 2+2=4
Re:I need a few scripts...
« Reply #1 on: 10 Apr 2005, 16:53:14 »
I have an idea, go to www.ofp.info and search for tornado. There is a tornado addon that is actually quite cool. As it moves along it destroys everything in its path and throws it around in the air (works for men and vehichles - plus it destroys trees and bushes etc.). Might be of some help. Dunno really :P  

Could be sommit to do with setvelocity but I don't really know what that does.


- supershooter

Serial Killer

  • Guest
Re:I need a few scripts...
« Reply #2 on: 10 Apr 2005, 17:02:04 »
Ok I'll try. Sounds funny.. ;D

EDIT: "Wheeee!!!" :D "I'm flying! Wohoo!!"
« Last Edit: 10 Apr 2005, 17:10:04 by Serial Killer »

Serial Killer

  • Guest
Re:I need a few scripts...
« Reply #3 on: 10 Apr 2005, 17:24:31 »
Hmm.. I can't find that function, what kills everything near that Tornado :-\ Any other ideas?

Offline supershooter

  • Members
  • *
  • 2+2=4
Re:I need a few scripts...
« Reply #4 on: 11 Apr 2005, 16:33:31 »
hmmmm

not sure, you need someone who knows about this stuff. The script must have to serch a given area near it for any objects, then, if it finds anything, it gives it dammage. sommit like that but how you do it in scripting is beyond me.

I've had had a look at the tornado thingy and found the damage files. In the mission there are two script files sm_DM & sm_VZ. they both relate to dammge and DM needs VZ to work ........ I think.

Apart from that i don't have a clue what you need to do. Ask around and PM some people you think might know.

-supershooter

Offline Roni

  • Members
  • *
  • Play the Game !
Re:I need a few scripts...
« Reply #5 on: 13 Apr 2005, 03:41:14 »
Hi SK

Create a trigger with condition Any Present, Repeatedly.  Make it as big as you want.  Place it in an out of the way part of the map.

In the On Activation field of the trigger put in this text -

"_x setdammage 1" forEach list this


Not dead certain about the syntax but that should do it.

Now all you need to do is write a script or set another trigger that moves the above trigger to your killing spot.  Alternatively, youcan give the above trigger a Countdown with times of (say) 30, 30, 30.  That should be long enough for everyone to wander into the zone before they get fried.     ;D

Good luck with it !



roni

Serial Killer

  • Guest
Re:I need a few scripts...
« Reply #6 on: 13 Apr 2005, 06:40:14 »
I'm talking about addons, no missions.. :-\

Offline Roni

  • Members
  • *
  • Play the Game !
Re:I need a few scripts...
« Reply #7 on: 13 Apr 2005, 06:50:09 »
???

I'm not sure what you mean.  I thought that your first post asked for a script that destroyed everything near a certain object.    ???

The trigger idea will kill units, if you want something to destroy everything (including houses) the only thing that I can think of would be a whole mess of camCreated laserguided bombs.  They will flatten anything, but of course they will create smoke, sound etc while they do it.  Not sure if this is wwhat you want . . .  :-\

If you REALLY want to go big time then check out the tac nuke script.  It uses all of the above ideas - a quick whiteout titlecut and a bunch of drop particles to create flash and smoke, a box of LGB's to create killing andand mayhem and finally three triggers to crate damage to units out to 800m in increments 20%, 50% and 100%.  CHeck it out - nothing beats watching a tac nuke go off at sun set over Montignac !

Cheers



roni