View previous topic :: View next topic |
Author |
Message |
j-dog
Joined: 14 Nov 2003 Posts: 11
|
Posted: Sun Mar 06, 2005 8:41 pm Post subject: Bug in game/mission editor? |
|
|
Hey people,
I'm planning to make a peacetime scenario where a sub tails a surface group. The player is supposed to scare the sub off by pinging him with active sonar from close range, so the sub realizes he's detected. He should then surface as to "give up" and show himself. I wanted to test this first to make sure I got it right.
I created a simple scenario - a Foxtrot and a playable OHP close to each other. Triggers check if sub is painted by active sonar at close range, and then fires off a script that sets new course and zero depth. But when I test the mission, the game crashes to desktop when the script fires. I tried a lot of different triggers, even just a simple time trigger, but same thing happens everytime. Tactic for the Foxtrot is a simple transit.
Anyone else had the same problem? |
|
Back to top |
|
|
Bill Nichols
Joined: 14 Mar 2001 Posts: 2657
|
Posted: Sun Mar 06, 2005 11:28 pm Post subject: |
|
|
Zero depth? Maybe that's the culpret. Try a depth equal to the sub's surfaced value. For a Foxtrot. that's 20 ft.
I have a similar scenario (for my RSR campaign), where I use a script to make a Foxtrot surface to represent it's battery being drained. Works A-OK. |
|
Back to top |
|
|
j-dog
Joined: 14 Nov 2003 Posts: 11
|
Posted: Mon Mar 07, 2005 1:17 am Post subject: |
|
|
Bill Nichols wrote: | Zero depth? Maybe that's the culpret. Try a depth equal to the sub's surfaced value. For a Foxtrot. that's 20 ft.
I have a similar scenario (for my RSR campaign), where I use a script to make a Foxtrot surface to represent it's battery being drained. Works A-OK. |
I forgot to say that I tried removing the depth part, and just set a different course and speed. Still get the CTD. |
|
Back to top |
|
|
Furia
Joined: 14 Mar 2001 Posts: 558 Location: Spain
|
Posted: Mon Mar 07, 2005 5:17 am Post subject: |
|
|
Then you should have a trigger conflict somewhere. I suggest you undo part of the map till a point it does not rash and start adding the triggers in sequence testing them all the time.
As Bill say, you can nicely make the sub to surface once the condition of being painted by active sonar is accomplish in a trigger, so keep trying, it is probably a conflict in some trigger or script. |
|
Back to top |
|
|
|