| Author |
Mission Editor Help |
RedRabbit
Joined: Jul 17, 2002 Posts: 84 | Posted: 2002-08-07 14:44  
I'm trying to set up a mission in which you are not allowed to attack the enemy unless he launches a torpedo at you first. The only thing that comes close to this is the attack command in the doctrine page. But that doesn't seem to work unless he hits you with a torpedo. Isn't there a way that if your sonar guy reports torpedo in the water, you can set it up so that it is okay to fire back?
_________________ RedRabbit

 
|
XabbaRus
Joined: Feb 28, 2002 Posts: 2792 | Posted: 2002-08-07 16:27  
Hmmm now let me think.
What you could do is make an approach goal and attach it to the enemy sub, then in the boxes that say what unit has to approach the sub for it to trigger, go through -civilian- I think until you find the torpedoes.
Make the radius like half a mile and make it a report.
Use the ding.wav and a message saying you can fire...Also you'll get torp in the water...
Then you can attach a kill goal to the enemy sub and in doctrine do IF completed GOAL "Torp Launch" and ATTACK Sub then complete.
Then another one (kill goal) IF NOT completed Goal "Torp Launch" and ATTACK Sub, then complete and give it minus points.
Try this and see if it works.
Failing that scour the forum as I'm sure some one has done it.
_________________
Project 971
 
|
RedRabbit
Joined: Jul 17, 2002 Posts: 84 | Posted: 2002-08-07 17:04  
Thanks! I'm gonna try it out now.
_________________ RedRabbit

 
|
XabbaRus
Joined: Feb 28, 2002 Posts: 2792 | Posted: 2002-08-07 17:04  
No probs.
It is off the top of my head though.
However I do know you can have individual weapons complete goals..
_________________
Project 971
 
|
RedRabbit
Joined: Jul 17, 2002 Posts: 84 | Posted: 2002-08-07 17:40  
Your idea worked! I've finished the first of the Tom Clancy's SSN missions. All the tests worked perfectly, and I'm going try the mission from start to finish. It should be posted on my website tomorrow, if everything goes as planned. I'll post the link when I make sure that I set the page up correctly.
I was supposed to be working with Mcarm on this, but I haven't heard from him for awhile...
_________________ RedRabbit

 
|