Home   Help Search Login Register  

Author Topic: Opening Gates Using Scripts  (Read 3087 times)

0 Members and 1 Guest are viewing this topic.

Offline C0LDSt33L

  • Members
  • *
  • Member of the SotM Team
Re:Opening Gates Using Scripts
« Reply #15 on: 31 Aug 2004, 22:22:59 »
Ivor Drukov does good fire too. Enclosed is the script with example.

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Opening Gates Using Scripts
« Reply #16 on: 31 Aug 2004, 22:32:40 »
That is neat!!  And subtle, imagine having parts of a vehicle burning.  Fantastic.

Alex

  • Guest
Re:Opening Gates Using Scripts
« Reply #17 on: 31 Aug 2004, 22:36:17 »
I Tried The Example Mission  ;D GREAT STUFF!
What Would The Flame Position Be For A BRDM Shape Vehicle?
It Is Currently,
relative position of fire to vehicle
_ox=(_this select 1) select 0
_oy=(_this select 1) select 1
_h=(_this select 1) select 2
What Should It Be?

Offline C0LDSt33L

  • Members
  • *
  • Member of the SotM Team
Re:Opening Gates Using Scripts
« Reply #18 on: 31 Aug 2004, 22:44:43 »
Hmmmm you may have to experiment. Try adding or subtacting the values:

_ox=((_this select 1) select 0) + 10

or _oy=((_this select 1) select 0) - 1

(notice the extra brackets) to move the flame. It will be trail and error getting it in the right place i'm afraid.

Alex

  • Guest
Re:Opening Gates Using Scripts
« Reply #19 on: 01 Sep 2004, 08:53:28 »
Do I Just Change The "10" And "1" Till I Get It?

Alex

  • Guest
Re:Opening Gates Using Scripts
« Reply #20 on: 01 Sep 2004, 08:56:30 »
Also, Any Other Fire And Smoke Or Explosion Scripts Anywhere That We Can Look At?

Offline C0LDSt33L

  • Members
  • *
  • Member of the SotM Team
Re:Opening Gates Using Scripts
« Reply #21 on: 01 Sep 2004, 09:01:13 »
Yeah, just change the values of the "1" and "10". Don't forget you can change the height of the flames too with

_h=((_this select 1) select 2) + whatever

If you're after other scripts you could head down to the editors depot and look at the scripts and do a seach for fire. There should be a number of relivent ones.

Offline C0LDSt33L

  • Members
  • *
  • Member of the SotM Team

Alex

  • Guest
Re:Opening Gates Using Scripts
« Reply #23 on: 01 Sep 2004, 13:05:43 »
I Kind Of Need One Without The Smoke Going Too High......
But Thanks A Lot Coldsteel!