Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: mr.WHO on February 07, 2010, 04:00:00 pm

Title: Need help with scanning script
Post by: mr.WHO on February 07, 2010, 04:00:00 pm
I have a problem with making a mission where I have to scan the fighterbay of asteroid instalation (NTF Boadicea).

The problem is that the fighterbay cannot be make scanable (I tried with other subsystems and they are working fine) so I need help:

1) Is there is any way (table editing, model editing) to make fighterbay scanable??

if not

2) I have a possible workaround:

I placed a waypoint near the fighter bay and need a script that will do something like that:

when player close to 200 meters, start couting time, display "Scanning in HUD", when player stay within range for 10 seconds (it have to be constant 10 seconds, not 5+5 seconds) to make scanning complete, after that disable script so it wont's show "Scanning" anymore.


BTW what is the script for showing messages in HUD (not normal comm messages, but those displayed below hull integrity indicator).
Title: Re: Need help with scanning script
Post by: karajorma on February 07, 2010, 07:51:08 pm
Ships editor -> Misc Properties -> Toggle Subsystem Scanning

That should switch the Boadicea from being scanned as a single ship to having subsystems which can be scanned. (If you had something like an Orion instead it would allow you to turn off subsystem scanning and scan the whole ship too).


As for the other kind of messages, you want the training-msg SEXP.
Title: Re: Need help with scanning script
Post by: mr.WHO on February 08, 2010, 03:02:29 am
I tried this, it makes most regular subsystems (sensors, weapons, navigation) of the Boadicea scanable...but not the fighterbay :(
Title: Re: Need help with scanning script
Post by: FUBAR-BDHR on February 08, 2010, 04:19:11 am
You did give the fighterbay cargo correct?

It is a strange setup in that :v: actually modeled the fighterbay as a subobject instead of a special point on the model.  Still it should work. 
Title: Re: Need help with scanning script
Post by: mr.WHO on February 08, 2010, 05:43:32 am
I tried adding cargo to fighterbay, still nothing - it looks like the fighterbay and engines subsystem of Badicea cannot be toggle to scanable :(

It leaves me with option number 2 or finding another asteroid instalation with fighterbay.