Home   Help Search Login Register  

Author Topic: My final burn script(Fantastic, you must see it)  (Read 2342 times)

0 Members and 1 Guest are viewing this topic.

Offline Nemesis6

  • Members
  • *
My final burn script(Fantastic, you must see it)
« on: 08 Mar 2004, 17:30:56 »
Sorry if I'm pimping it a bit, but I'm actually really proud of this thing, I've spent a lot of time(believe me) perfecting this. It's almost hard letting it go, but I had to kick this out the door(before polishing it a little before releasing) so I actually get it done. Anyway, here's the feature list.

This script is a bit like the ECP burn script, it relies on a lot of small particles making the illusion that they are one big fire.

-Effect for planes going down.
-Vehicles are slowed down when destroyed/on the ground, whatever. Works nice for planes, too.
-Fire has been randomized a bit more.
-Smoking debris, script also made by me, feature borrowed from BAS.
-Randomized colour, a bit more yellow now.

Credits.

Babalon - He's the reason this thread is here, he's actually the one that got me started and helped me with particle scripts. Also his script parameters!

Seedhe - For Dialog Drop. The basics of the debris smoke script were created with this lovely tool/level thingy. :)

BAS studios. The placement of the objects that execute the debris smoke script is their work, I just... borrowed it!
And, their scripts helped me a bit in scripting and particle scripts, too.

Can't think of any more, try it please. :)
« Last Edit: 08 Mar 2004, 17:41:07 by Nemesis6 »
I am actually flying into a star... this is incredible!

Crassus

  • Guest
Re:My final burn script(Fantastic, you must see it)
« Reply #1 on: 08 Mar 2004, 18:59:30 »
How do I execute the script(s)? :o

I really want to try these out.

Offline Nemesis6

  • Members
  • *
Re:My final burn script(Fantastic, you must see it)
« Reply #2 on: 08 Mar 2004, 22:16:31 »
Sorry, This exec "Burning.sqs"
I am actually flying into a star... this is incredible!

Offline alimag

  • Contributing Member
  • **
  • I'm a llama!
Re:My final burn script(Fantastic, you must see it)
« Reply #3 on: 08 Mar 2004, 23:04:31 »
Hi,

I did not try the script yet but took a look at it.

I just want to warn you about 2 things:

1 - In your main script you wrote:

_debris1 exec "DebrisSmoke.sqs.sqs"

Obviously this line wont work.

2 - I see that you create some empty heli pad but I dont see where you delete them before exiting your script. It's not a problem with a script that is called once during a mission but if I call your script 30 times during a mission I just created 30x... empty pads on the map.
Not a very good scripting practice

Tell you more when I try it.
Thanks for sharing your work.

Cheers

Offline Nemesis6

  • Members
  • *
Re:My final burn script(Fantastic, you must see it)
« Reply #4 on: 09 Mar 2004, 01:29:01 »
Issues fixed, here's the updated version. By the way, make sure you come back, need some feedback! :)
« Last Edit: 09 Mar 2004, 14:10:08 by Nemesis6 »
I am actually flying into a star... this is incredible!

Offline alimag

  • Contributing Member
  • **
  • I'm a llama!
Re:My final burn script(Fantastic, you must see it)
« Reply #5 on: 09 Mar 2004, 16:05:48 »
Much better!

But you still can improve it.

This is what I would suggest:

1 - Instead of creating the H pad and making the second script extracting its position (because in fact the position is the only thing you use from the H pad) why dont use directly the position as parameter:

In Burning.sqs
_pos2 = (getpos _this select 1) +((8+random 10) * sin _dire)
_debris1 = [_pos1,_pos2,-1]
_debris1 exec "DebrisSmoke.sqs"

In DebrisSmoke.sqs
_objPos = _this
_objPosX = _objPos select 0
_objPosY = _objPos select 1
_objPosZ = _objPos select 2

That way you dont have to create/delete anything.

2 - The duration should be a parameter so the user of the script can decide how long he wants that thing to last and not be stuck with a predefine duration all the time.

3 - The burning debris should just last a moment. Surely not as long as the main fire.

Of course these are just suggestions. Your script is working as it is and I think you did a great job.

Keep on the good work
Cheers