Author Topic: A question about the ship-guardian flag  (Read 1600 times)

0 Members and 1 Guest are viewing this topic.

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
A question about the ship-guardian flag
I ran into a problem in one of my missions, and if it is code-related (because I am not able to find the mission-error), then it will certainly happen in more missions too.

My problem is as follows.

I have a couple of enemy ships, all alligned into seperate wings.
In each wing is one fighter, that is set to "ship-guardian" right after he appears in the mission-area. (I should mention, that all enemies are first of the "unknown"-fraction, I change their IFF a little later to "hostile")

Reason for this is simple, while in the dogfight, these 3 ships must only be damaged to <2% hull, which then triggers a specific event (message-send and selfdestruct).

But my problem is now, that these 3 specific fighters are suddenly
5 times harder to destroy (they are not invincible, at least not to missiles), but most laser-shoots are even going through them, and the player can fly through them too.

But after some time, they can be destroyed just like other ships (because of that I first thought of a mission-error of course, but no matter what I do, I can't find it, and there is no event similar to any kind of this reaction)

I didn't had those problems before, but by that time all my fredded fighters were all AI-Class "lieutenenat", and now they are all "mayor" or at least "captain". We also created a new AI-tbl but there seems to be no error too.

So much for the explanation. Could this be a code-problem, that the "ship-guardian" works different (or strange) with higher AI-Classes, or is it according to the code impossible ?

This Question maybe sound stupid, because it really reads like a tbl or mission-problem, but we are currently unable to locate it, so maybe your answer could point us to the correct location of the problem.

(edit) I forgot one thing. Each of this 3 fighters is assigned to a wingman-entry in (bump-upped) message.tbl (namely wingman 11-13)

Thanks in advance

Starman©
« Last Edit: February 18, 2005, 10:50:19 am by 1072 »
MECHCOMMANDER OMNITECH

9 out of 10 voices in my head always tell me that I'm not insane. The 10th is only humming the melody of TETRIS.

 

Offline Kie99

  • 211
A question about the ship-guardian flag
change the sexp so that when the ship goes down to 2%Hull it becomes invulnerable, then when the messages make them vulnerable again and then make them self destruct.
"You shot me in the bollocks, Tim"
"Like I said, no hard feelings"

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
A question about the ship-guardian flag
if lasers are going through the ships then there are too many objects in the mission at the same time.  this usually happens if there's a large asteroid field in the area.
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
A question about the ship-guardian flag
Quote
Originally posted by kietotheworld
change the sexp so that when the ship goes down to 2%Hull it becomes invulnerable, then when the messages make them vulnerable again and then make them self destruct.


That's not possible with our data-set. One single missile mostly destroy a fighter, there will be a very small chance, that the ship will remain with only 2% left instead of being destroyed instantly.

Quote
Originally posted by PhReAk
if lasers are going through the ships then there are too many objects in the mission at the same time.  this usually happens if there's a large asteroid field in the area.


Now that's something I didn't knew. There is indeed an asteroid-field in this mission (though not too many ships at the same time). I will try deleting it, but it is necessary for the mission.

I searched a little further for the error, the ai.tbl and the ai-class of the ships have nothing to do with it.

Maybe it's one of this strange Fred-error which is alligned to a ship. I will try delete them, save , and re-enter them (will be difficult though lot's of events and goals are involved)

But that still doesn't explain why they are so hard to destroy.:(
MECHCOMMANDER OMNITECH

9 out of 10 voices in my head always tell me that I'm not insane. The 10th is only humming the melody of TETRIS.

 

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
A question about the ship-guardian flag
Problem fixed. It was really due to the object-numbers. I smallered the asteroid-field, and now it works (though it is kinda depressing, once again my missions break the scp-limits ;) )

I owe you one Phreak, you certainly saved me many hours frustrating bug-search :)
MECHCOMMANDER OMNITECH

9 out of 10 voices in my head always tell me that I'm not insane. The 10th is only humming the melody of TETRIS.