Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: lefkos on June 13, 2008, 05:21:27 pm

Title: 3 annoying problems with my mission
Post by: lefkos on June 13, 2008, 05:21:27 pm
hi there
i finally started to make some random missions again
but i have 3 annoying things that wont change... or atleast i dont know how to make them work properly..
the first one is with the messagelist.. if i want a delay of 5 seconds its not 5 seconds... the message just pops right afther the other one without any delay..
2 i want Alpha 1 to (me) to scan a Shivan communication device but i cant scan it and when i start the mission the objective is saying that he's completed.

the 3 problem is another annoying one..
with the perimitive sensors i changed it that i could see the flashing blip on atleast 6 kilometers but i wont see it untill 1 km..

how can i fix these?

anyways i will try more stuff tomorrow but first.. going to bed now! :)
Title: Re: 3 annoying problems with my mission
Post by: FUBAR-BDHR on June 13, 2008, 05:26:31 pm
Message delay is in milliseconds not seconds so for 5 seconds the delay would be 5000.

Make sure the device is set to scanable, it has cargo,  and cargo know is false.  Alternately you may want to try subsystem scanning for a large ship. 

Other then set max radar range I've never tried anything with primitive sensors so no real help here.
Title: Re: 3 annoying problems with my mission
Post by: lefkos on June 14, 2008, 05:28:27 am
thanks for your reply i wil give it a try
Title: Re: 3 annoying problems with my mission
Post by: lefkos on June 14, 2008, 05:45:52 am
well 1 of the 2 worked
the messages are working fine now:)

but..
still got the problem with scans...
wait maybe i can show what i got in the events maybe you guys know what the problem is then. (look at the attachment)

does anybody else maybe know what to do with the primitive sensors?



[attachment deleted by admin]
Title: Re: 3 annoying problems with my mission
Post by: Shade on June 14, 2008, 06:12:15 am
That scanning objective will never work. For one thing, there's no 'when' operator at all, which means it is simply assumed to be true from the start of the mission. Instead, try this:

-op when
   -op cap-subsys-cargo-known-delay
      # 0
      # Unknown Shivan Device
      # core
   -op do-nothing
Title: Re: 3 annoying problems with my mission
Post by: lefkos on June 14, 2008, 11:42:21 am
That scanning objective will never work. For one thing, there's no 'when' operator at all, which means it is simply assumed to be true from the start of the mission. Instead, try this:

-op when
   -op cap-subsys-cargo-known-delay
      # 0
      # Unknown Shivan Device
      # core
   -op do-nothing

thanks this worked but then i saw the is-cargo-known-delay
and that 1 is even better
still thank you!

anyways i need some help..
i dont know if such sexp or operator etc does exist but i want to trigger a message when i arrived atleast 600M in front of the shivan device..
wich one can i use for this situation? i searched but i didnt find a  sexp/operator for that

Title: Re: 3 annoying problems with my mission
Post by: griffon67 on June 14, 2008, 12:25:57 pm
you should use logical operation, something like

when
   <
      distance
         Alpha1
         Shivan Device
      600

and it should work
Title: Re: 3 annoying problems with my mission
Post by: FUBAR-BDHR on June 14, 2008, 12:28:01 pm
Dang it you posted while I was typing.  Anyway:

Well this one is a bit more difficult but it can be done.  Now if it was just 600 from any direction that would be easy it would just be:

when
--> <
---->distance
------->alpha1
------->unknown shivan device
---->600
-->send message
----> <message>

Now since you want arrived in front (by the way does that thing even have a front) you will need to do something like setting a waypoint where you want the message to trigger or use the above along with the is-facing sexp.  All depends on how technical you want to get.
Title: Re: 3 annoying problems with my mission
Post by: lefkos on June 14, 2008, 05:06:43 pm
thanks you 2 !
cause its over 12 in the evening here in holland  i recommend my self to try it tomorrow :)
when this is all over.. i want to post my mission. i want to know if getting good with this
Title: Re: 3 annoying problems with my mission
Post by: lefkos on June 15, 2008, 04:32:40 am
AAARGH
F NOOOO
FOR SOME REASON I CAN'T OPEN MY MISSION ANYMORE :mad: :confused:
i have to start all over again... :(
atleast it going to be (hopefully) a bit better than my first try for this situation..
Title: Re: 3 annoying problems with my mission
Post by: griffon67 on June 15, 2008, 06:59:30 am
wait before deleting your mission.
what is the problem ?
you know you can ALWAYS open your mission in wordpad, and then fix the problem FRED is showing to you ?
I means if the last modifications prevent your from opening your mission in FRED, just undo them in wordpad and then retry to open it in FRED.
Title: Re: 3 annoying problems with my mission
Post by: karajorma on June 15, 2008, 09:15:30 am
Also try the .bak and the backup.00x files you'll find in the missions folder.
Title: Re: 3 annoying problems with my mission
Post by: lefkos on June 24, 2008, 07:21:58 am
thanks
but it didnt worked..
tobad..
anyways im going to try another situation thats  a bit easier to make
still thanks for the help =) i will keep that in mind since i didnt knew that you can open missions in wordpad etc
Title: Re: 3 annoying problems with my mission
Post by: karajorma on June 24, 2008, 01:11:22 pm
IF you want to post the mission I'll bet that someone can identify the problem fairly quickly. Although I always find rebuilding a mission results in a better one as you don't make the same mistakes again. :)