Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: vadar_1 on December 30, 2001, 06:37:00 pm

Title: Cant figure this one out...
Post by: vadar_1 on December 30, 2001, 06:37:00 pm
Ok ive got a little bit of a predicament here... Ive got a ship in a mission (surprise), a lucifer, the SD Tyrant. Ive got a directive text "Destroy Tyrant", with the SEXP
Code: [Select]
is-destroyed-delay
  0
  Tyrant
do-nothing

now heres the dandy part. The ship then performs an tactical subspace jump, comming around behind its attacker, and firing. I did this using two ships, the Tyrant, and the Tyrant¤ . Using the special character that dosn't show up in the mission, I was able to pull this off (with a little bit of subsystem copying). Anyways, as the first Tyrant departs, the mission text fails (goes red), big problem. What I need is to have the mission text stay white, until the second Tyrant¤ is destroyed. But if i make an objective
Code: [Select]
is-destroyed-delay
  0
  Tyrant¤
do-nothing
Then the mission directive text wont show up until it performs the jump. The best I can do right now is make two directive texts, each saying Destroy tyrant, the second one appearing when she makes the jump. and the first one failing. It looks crappy and revealing thou. If you dont get what im trying to say i can post the mission.

~tks
Title: Cant figure this one out...
Post by: Starfury on December 30, 2001, 07:25:00 pm
WAIT!  Make it an "AND" objective.  i.e.

When
-And
--Is-destroyed-or-departed-delay
---0
---Tyrant
--Is-destroyed-or-departed-delay
---0
---Tyrant¤
-Do-Nothing

That SHOULD work anyways, if I remember the coding right.

Sorry, dunno the code tag

[This message has been edited by Starfury (edited 12-30-2001).]
Title: Cant figure this one out...
Post by: vadar_1 on December 30, 2001, 08:04:00 pm
I thought about that too, but it dosn't show up until the second ship arrives then.
Title: Cant figure this one out...
Post by: vadar_1 on December 30, 2001, 08:49:00 pm
okok, ive got a new idea to use another ship to control the directive text, a bouy, thats far away and invis to radar, but is their a way to completly remove a ship from radar? without the blimp... and not in a nebula?

i tried the tag "dont collide invisible" and i threw in "knossos" just to try it, but nothing worked. I swear ive seen the knossos do it in the mission.
Title: Cant figure this one out...
Post by: Bobboau on December 30, 2001, 09:25:00 pm
did you try the stealth tag

------------------
Bobboau, bringing you products that work.............. in theory
Title: Cant figure this one out...
Post by: vadar_1 on December 30, 2001, 09:51:00 pm
$Stealth:?

it was on the pegasus...  no value assigned to it. ill try...
Title: Cant figure this one out...
Post by: vadar_1 on December 30, 2001, 09:54:00 pm
Code: [Select]
Error: Ship type flag is unknown.  Flags value is 0x800009
File:C:\projects\freespace2\code\Ship\Ship.cpp
Line: 7357

Call stack:
------------------------------------------------------------------
    fred2.exe 0041f3fc()
    fred2.exe 0063ca2c()
    fred2.exe 00641040()
    fred2.exe 0041e0f2()
    fred2.exe 0063ccba()
    fred2.exe 006488f0()
    fred2.exe 0064b878()
    fred2.exe 0063a544()
    fred2.exe 0064b3c9()
    fred2.exe 00639528()
    fred2.exe 0063ae8c()
    fred2.exe 0063aec0()
    fred2.exe 0063d93e()
------------------------------------------------------------------

Fred worked fine, until i switched to the ship that had the flag
Title: Cant figure this one out...
Post by: ZylonBane on December 31, 2001, 12:58:00 am
 
Quote
Originally posted by vadar_1:
I thought about that too, but it dosn't show up until the second ship arrives then.
What if you use OR instead of AND?
Title: Cant figure this one out...
Post by: vadar_1 on December 31, 2001, 01:41:00 am
 
Quote
Directives first appear in the HUD when it becomes possible for the player to bring about the event. For example, if the event requires the destruction of some ship, the directive won't show up in the HUD until that ship arrives. Also, if the event is chained, the directive won't show up until the previous event occurs.

I cant find a loophole that way  (http://dynamic.gamespy.com/~freespace/ubb/noncgi/frown.gif) no if's and's or's or but's

I guess ill have to stick with my ship named the "You can't see me"
Title: Cant figure this one out...
Post by: ZylonBane on December 31, 2001, 12:02:00 pm
Never underestimate the power of FRED!
 http://home.att.net/~clay.h/fs2/zb_directivetest.fs2 ("http://home.att.net/~clay.h/fs2/zb_directivetest.fs2")


------------------
ZylonBane's opinions do not represent those of the management.
Title: Cant figure this one out...
Post by: vadar_1 on December 31, 2001, 12:25:00 pm
bah, thats exactly what i did
Title: Cant figure this one out...
Post by: ZylonBane on December 31, 2001, 12:42:00 pm
Ahem. You claimed that when you tried that, FRED crashed.
Title: Cant figure this one out...
Post by: vadar_1 on December 31, 2001, 01:47:00 pm
nono, when i tried using $stealth on another ship, more specifically a modified SFr Dis
Title: Cant figure this one out...
Post by: ZylonBane on December 31, 2001, 01:55:00 pm
Okay, so if you already did what I did (which works perfectly)... then... uhmm... what's the problem?
Title: Cant figure this one out...
Post by: vadar_1 on December 31, 2001, 02:08:00 pm
well I actually kinda changed my goal a bit, i was thinking of making any ship completly invisable to radar, ex: using the $stealth tag, but that didn't seem to work...
Title: Cant figure this one out...
Post by: aldo_14 on January 02, 2002, 11:05:00 am
 
Quote
Originally posted by vadar_1:
well I actually kinda changed my goal a bit, i was thinking of making any ship completly invisable to radar, ex: using the $stealth tag, but that didn't seem to work...


Stealth is only totally invisible in a nebula... the tag only has the same effect as setting the ship to 'invisible' in FRED, anyway.  There was (if IRC) a comment line somewhere either in the tables or on the dev log on the FS2 website, about how the AI would target stealth ships... the effect being that;

a/ They are easier to target in normal space than the nebula (for AI)

and  b/ I think AWACs can allow them to be targeted.
Title: Cant figure this one out...
Post by: Nico on January 02, 2002, 01:23:00 pm
to have a ship completly invisible to radars, check the box "hidden from sensors" (or something like that) in the ship property menu
Title: Cant figure this one out...
Post by: vadar_1 on January 02, 2002, 02:55:00 pm
 
Quote
Originally posted by venom2506:
to have a ship completly invisible to radars, check the box "hidden from sensors" (or something like that) in the ship property menu

it still makes the red blip dude, think pegasus
Title: Cant figure this one out...
Post by: ZylonBane on January 02, 2002, 03:02:00 pm
Yikes. Revoke venom's avatar!  (http://dynamic.gamespy.com/~freespace/ubb/noncgi/devil.gif)
Title: Cant figure this one out...
Post by: Nico on January 02, 2002, 03:31:00 pm
 
Quote
Originally posted by ZylonBane:
Yikes. Revoke venom's avatar!   (http://dynamic.gamespy.com/~freespace/ubb/noncgi/devil.gif)


hey, I'm baaaaad at Fred2 and I claim it  (http://dynamic.gamespy.com/~freespace/ubb/noncgi/biggrin.gif)