Author Topic: Need help with scanning script  (Read 1496 times)

0 Members and 1 Guest are viewing this topic.

Offline mr.WHO

  • 29
Need help with scanning script
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).

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Need help with scanning script
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.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline mr.WHO

  • 29
Re: Need help with scanning script
I tried this, it makes most regular subsystems (sensors, weapons, navigation) of the Boadicea scanable...but not the fighterbay :(

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Need help with scanning script
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. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

  

Offline mr.WHO

  • 29
Re: Need help with scanning script
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.