Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: TrashMan on February 16, 2005, 04:39:07 pm

Title: ARGH! Loosing my mind!
Post by: TrashMan on February 16, 2005, 04:39:07 pm
I'm making the first mission of my campaign (and it's a BIG mission - tons of civy trafic, tons of chatter...I wager about 70 events at least and I'm using message lists)

anyway, there are two things driving me crazy.

first, there are several containers carried by some transports you need to scan. I've set the cargo of containers (food, weapons, etc...) and set them up as Scannable (Cargo not known), but whn I inspect it, the cargo doesn't show up, just the "Scanned" as if the Cargo Known was checked.

The second this is a liner that you allso have to scan 8it's carrying passengers). Allso set up as scannable nad Cargo not known. But I can't scann it at all!?!?!?

I tripple check it several times, but it just doesn't WORK!!!!!
Title: ARGH! Loosing my mind!
Post by: Kie99 on February 16, 2005, 05:13:09 pm
You can't make it scannable and have scannable cargo.

SPEELING MISTAXE:
Loosing (losing), whn(when), 8it's(it's), allso(also), scann(scan), tripple(Triple)
Title: ARGH! Loosing my mind!
Post by: Hippo on February 16, 2005, 06:00:37 pm
kie: You're spelling (dis)abillity doesn't give you any right to tell him his mistakes.


TM: Open one of the retail missions, and check to see how the scanning goals were done there. Especially "Playing Judas"...
Title: Re: ARGH! Loosing my mind!
Post by: Nuclear1 on February 17, 2005, 02:07:06 pm
Quote
Originally posted by TrashMan
first, there are several containers carried by some transports you need to scan. I've set the cargo of containers (food, weapons, etc...) and set them up as Scannable (Cargo not known), but whn I inspect it, the cargo doesn't show up, just the "Scanned" as if the Cargo Known was checked.


Easy enough. Don't check "Scannable" or "Cargo Known". "Scannable" is simply used in missions such as Playing Judas when it comes to inspecting ships like cruisers and warships. ;)

Quote
The second this is a liner that you allso have to scan 8it's carrying passengers). Allso set up as scannable nad Cargo not known. But I can't scann it at all!?!?!?


That I don't know how to deal with. I know there's got to be some way to do it, but I honestly don't have any idea.

Hope this helps.

Oh, and kie: Watch it.
Title: ARGH! Loosing my mind!
Post by: Blaise Russel on February 17, 2005, 04:02:26 pm
Is it a big ship? Like, a cruiser?

In FS2, some ships don't want to be scanned as a whole - instead, you can only scan them by subsystem. I think newer versions of FRED allow you to override this feature.
Title: ARGH! Loosing my mind!
Post by: TrashMan on February 18, 2005, 01:50:36 am
We,, I did make hte stupid mistake of making both the cargo unknown and scannable. I fixed that.

But that liner still refuses to be either scanned OR inspected!

And another problem - event not triggereing! Which is incredibly strange, since they triggered before and I didn't change anything about them.

Basicly it goes:

when
-is-event-true-delay
        - Alpha 1 gives orders
        - 0
do nothing

And I linked this to it:
when
- is cargo-known-delay
     - 0
     - Queen of the Stars
     - Globetech3
     - Hindenbug
-do nothing  (directive is Scan Ships)

Alpha 1 gives orders is a chatter that is triggered azt the beginning of hte mission. It goes off, but the directive doesn't show up (lltough they did show up before!!!)
Title: ARGH! Loosing my mind!
Post by: Nuclear1 on February 18, 2005, 08:53:11 am
FRED tends to do this a lot when you have "is-destroyed-delay" or, in your case, "is-cargo-known-delay" with several different ships or wings in the same argument.

Try this:

-when
--and
---and
----is-cargo-known-delay
----Queen of the Stars
----0
----is-cargo-known-delay
----Globetech3
----0
---and
----is-cargo-known-delay
----Hindenburg
----0
-do-nothing

It looks a little complicated, but this should do it. The only other reason I would see with it not working is if you didn't actually put the directive text in, but you've apparently done that already.
Title: ARGH! Loosing my mind!
Post by: TrashMan on February 26, 2005, 06:32:19 pm
Well, my VPView keeps spittinh some memory error, so I cna't look at [V] missions, but I think you missed hte point.

the scanning of cargo triggeres (or should I say, used to trigger)

it's the directive names that don't show up...
I'll look inot this later..
Title: ARGH! Loosing my mind!
Post by: TrashMan on March 03, 2005, 05:26:21 pm
Finally managed to get that sorted.. onyl one more quirk..

the first directive doesn't show up untill it's completed...No biggie

anyway.. I have another problem

In one mission, you have to destroy a corvette... but first you have to take out it's subsystems. One they are out, that's a clue for a transport to jump in about 60 seconds later.

However, the Corvette must NOT be destroyed before the transport arrives.
I've tried using the
and-in-sequence
 - has-arrived-delay
       - GTT Illusion (the transport)
       - 0
 - not
    - is-destroed-delay
       - NTF Zhidov (the corvette)
       - 0

But it doesn't work
Title: ARGH! Loosing my mind!
Post by: Grug on March 03, 2005, 09:44:33 pm
Maybe make it invulnerable once it reaches a certain % of health and then when the ship arrives remove the invulnerability...?

The best advice I can give you overall, is to do each major event chain one by one and then test each. Divide and Conquor. This way you don't get encombered by many errors at once or multiple errors interacting with one another to cause new ones that mask the real problems.

@kietotheworld, High Max - Not everyone's natural language is English, so making fun of others spelling doesn't really get to much applause at all. Unless its leet speak. :p
Title: ARGH! Loosing my mind!
Post by: karajorma on March 04, 2005, 04:23:43 am
Quote
Originally posted by TrashMan
In one mission, you have to destroy a corvette... but first you have to take out it's subsystems. One they are out, that's a clue for a transport to jump in about 60 seconds later.

However, the Corvette must NOT be destroyed before the transport arrives.
I've tried using the
and-in-sequence
 - has-arrived-delay
       - GTT Illusion (the transport)
       - 0
 - not
    - is-destroed-delay
       - NTF Zhidov (the corvette)
       - 0

But it doesn't work


The reason that isn't working is because

 - not
    - is-destroed-delay
       - NTF Zhidov (the corvette)
       - 0

evaluates to true the instant the mission begins. Since that is the case the event isn't occuring in the sequence you want it to happen in so the event never triggers.

Ironically enough going from an-in-sequence to a simple and would probably work. It would trigger the event you want to occur at the exact instance the  Illusion arrives as long as the Zhidov hasn't been destroyed

To be honest I can't think of a single occassion where I've actually use and-in-sequence. Almost every time I've actually needed it I've found that the events I wanted to use that way were already chained or in some other way already sequencial :)

That may just be due to my sytle of FREDding so those of you who think it might be useful shouldn't stop just cause of what I say :)
Title: ARGH! Loosing my mind!
Post by: Nuclear1 on March 04, 2005, 06:36:27 am
What I think would work for this goes something like:

-when
-and
-has-arrived-delay
-GTT Illusion
-0
-not
-is-destroyed-delay
-NTF Zhidov
-0

With this, FRED says that if the corvette is destroyed and the transport has not arrived yet, the mission fails.
Title: ARGH! Loosing my mind!
Post by: karajorma on March 04, 2005, 07:27:02 am
Yeah. I couldn't be bothered to cut and paste it, then correct it but that's exactly what I suggested above :D
Title: ARGH! Loosing my mind!
Post by: Nuclear1 on March 04, 2005, 08:37:34 am
:nervous:

Of course :D
Title: ARGH! Loosing my mind!
Post by: TrashMan on March 04, 2005, 06:51:48 pm
Thanx...now this mission can be completed!
Title: ARGH! Loosing my mind!
Post by: TrashMan on March 06, 2005, 04:59:36 pm
True... I was best in my class in english (since I've been using it daily for....10 years at least...).

the mistakes I make are fast-typing mistakes... I have several explorer windows open and people on ICQ/AIM/MSN (Trillian actuially), or family/friends marching trough my room, so I often don't even proofread it...
Title: ARGH! Loosing my mind!
Post by: karajorma on March 07, 2005, 12:58:14 pm
I'd take a wild stab at Croatian given his location :p
Title: ARGH! Loosing my mind!
Post by: StratComm on March 07, 2005, 02:25:53 pm
This is VERY late, so please disregard the date of what I'm quoting.

Quote
Originally posted by nuclear1
FRED tends to do this a lot when you have "is-destroyed-delay" or, in your case, "is-cargo-known-delay" with several different ships or wings in the same argument.

Try this:

-when
--and
---and
----is-cargo-known-delay
----Queen of the Stars
----0
----is-cargo-known-delay
----Globetech3
----0
---and
----is-cargo-known-delay
----Hindenburg
----0
-do-nothing

It looks a little complicated, but this should do it. The only other reason I would see with it not working is if you didn't actually put the directive text in, but you've apparently done that already.


While this is technically correct, it is very much not necessary.  And evaluates on 2+ arguments, so all should have for this tree is:

-when
--and
---is-cargo-known-delay
----Queen of the Stars
----0
---is-cargo-known-delay
----Globetech3
----0
---is-cargo-known-delay
----Hindenburg
----0
-do-nothing

It's an absolutely trivial thing, I know, but it makes very little syntactical sense to have all of those ands in there.  If this for some reason doesn't work, the SCP needs to know about it.
Title: ARGH! Loosing my mind!
Post by: karajorma on March 07, 2005, 07:14:07 pm
It's not so important with AND beyond just being a good habit. When you start using OR or NOT though it's a completely different matter.

Certainly a point worth mentioning Strat.
Title: ARGH! Loosing my mind!
Post by: TrashMan on March 09, 2005, 05:31:40 am
I fixed that problem days ago... actually, the only thing I cahnged was the argument that triggered the Directive apperance!

And yes, the darn Civy Liner still refuses to be scanned!? But I just removed him for the ships needed to be scanned list...and all is well again