Home   Help Search Login Register  

Author Topic: Some Editor questions  (Read 1036 times)

0 Members and 1 Guest are viewing this topic.

Putin

  • Guest
Some Editor questions
« on: 04 Feb 2003, 14:27:00 »
Hy there.
I just have some questions on the editor:

1) How to delete/destroy buildings (Like the bridge on Nogova) through scrip/trigger?

2) How to have a fire with the name a1, appear at the flying chooper a2 and always stayes in that position so that it lookes like the chooper would burn?

3) I know how to have a heat120 etc. appear at a unit or marker. But how can I have a thing appear like
2 m behind, 3 meters left and 5 meters high?

4)How to have the camera target a rocket/bullet
   (I saw it in the end cinematic from Cold War crisis)

5)How to make it rain the whole time

That was already it. Hope someone can help me.

Thanks

DELTA Turkinator

  • Guest
Re:Some Editor questions
« Reply #1 on: 20 Feb 2003, 18:20:37 »
Hey Putin, glad you posted this message hopefully someone can help me too with the camera following Rockets. I also saw a cinematic with it on could sum1 help me too with this question? :-\

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Some Editor questions
« Reply #2 on: 20 Feb 2003, 18:47:21 »
Whew.  Right, lets see what we can do.   For all of my answers check the syntax and make sure you understand the command before you try to use it.... look at both the Official and Unofficial Command references in the Ed Depot - Tutorials - References



1)  You need to discover their ID .... In the Mission Editor click on Show IDs and zoom in.   Then setdammage 1, I don't know the syntax

2)  looping script

fire1 inflame true
#loop
fire1 setpos getpos chopper1
~0.05
goto "loop"


3)   postions are arrays with 3 elements

NewTank = "M1Abrams" camcreate [ (markerA select 0) + 3 , (markerA select 1) + 4 , (markerA select 2) - 17 ]


4)  If you saw something done in a mission then its easy, just un-pbo the mission and see how it was done.    You can get a un-pbo utility from Ed Depot - Tools.    Don't forget to credit the author if you borrow something.     A looping script (like in 2) above) would do just fine here.


5)  Very hard, the game isn't really designed to do it.   There was something about this recently, search this board over the last month or so.


Not full answers I grant you, but helpful pointers I hope. :)
Plenty of reviewed ArmA missions for you to play

seanver

  • Guest
Re:Some Editor questions
« Reply #3 on: 20 Feb 2003, 19:03:28 »
#5

 Well, the truth is that it stops raining randomnly and so does it start. However, in one mission -actually a cutscene- I made, I remember that at least at one time I wanted it to rain, it rained, and at any time I see the cutscene, it rains. You need Resistance (version 1.75), and need to put this for example in the init.sqs file that you will have to create (if you haven't already) in your misssion's folder. There, put:

0 setovercast 1
0 setrain 1

It worked at least for me. Nevertheless, perhaps eventually it will stop raining at some time, so if it is does, you'll need to create a loop or something like that which for example every 10 minutes sets rain's command to 1.

 Hope it helps

Edited: By the way, in Guba's looping script, there's one mistake, I think:

fire1 setpos (getpos chopper1) <== getpos chopper 1 must be between ().
« Last Edit: 20 Feb 2003, 19:08:24 by SeAnVeR »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Some Editor questions
« Reply #4 on: 20 Feb 2003, 19:27:28 »
lol SeAnVeR if there's only one mistake I'll be astonished  ;D
Plenty of reviewed ArmA missions for you to play

headshot_snipe

  • Guest
Re:Some Editor questions
« Reply #5 on: 20 Feb 2003, 20:19:10 »
Cheers for the info, i can finaly make the mission wit rain!!!!

 8) ;D

Putin

  • Guest
Re:Some Editor questions
« Reply #6 on: 23 Feb 2003, 13:36:04 »
Thanks for the help and have a nice week.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Some Editor questions
« Reply #7 on: 23 Feb 2003, 14:41:39 »
Quote
fire1 setpos (getpos chopper1) <== getpos chopper 1 must be between ().

no it not :P

Quote
fire1 inflame true
#loop
fire1 setpos getpos chopper1
~0.05
goto "loop"

da drop command i wil b 1000 tmes beter ;) :P

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta