Author Topic: Making all ships invulnerable  (Read 1644 times)

0 Members and 1 Guest are viewing this topic.

Offline Lucika

  • Victim of trolling-related humor
  • 211
  • Modding is l'art pour l'art
    • Syrk: The Unification Wars
Making all ships invulnerable
Is there quick a way to make all ships invulnerable?

[ANSWERED] In my mission the player begins under AI control and it follows a specific path (waypoints-once). I want to allow the player to be able to disable this if he deems it necessary. How should I FRED this? Is the disable-autopilot key command good? Or what's the idea?
« Last Edit: December 07, 2009, 06:26:19 pm by Lucika »
HLP member 2008-2012 and Syrk:TUW project leader ~2010-2012

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Disabling player's AI control
Simply check for key-pressed (whichever key you want) and then turn off the AI control.

I'd probably use the 1-4 keys myself as they don't have any effect in singleplayer but the disable autopilot one might be a reasonable choice too. Just make sure the player is aware what key to press.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline Lucika

  • Victim of trolling-related humor
  • 211
  • Modding is l'art pour l'art
    • Syrk: The Unification Wars
Re: Disabling player's AI control
Thanks.

Another question: Is there quick a way to make all ships invulnerable?
HLP member 2008-2012 and Syrk:TUW project leader ~2010-2012

  

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Making all ships invulnerable
Check the 'invulnerable' box with all ships selected?