Author Topic: How to make an npc not lose health after a certain health percentage?  (Read 1770 times)

0 Members and 1 Guest are viewing this topic.

Offline emark4

  • 27
How to make an npc not lose health after a certain health percentage?
I've noticed in my blue planet playthroughs that npc's like simms lose health but they dont seem to be in any danger of dying at all, as if their health dosent drop after say, having 35 percent health left.

Does anyone know how can I FRED that in?

 

Offline PIe

  • 28
  • GTVA POLICE
    • freespace3.com
Re: How to make an npc not lose health after a certain health percentage?
[6:23 PM] PIe: why do I have the feeling that I shouldn't be able to give orders to 22nd armored hq
[6:24 PM] Axem: 22nd armored hq, i order you to get me a cup of coffee
[6:24 PM] PIe: and donuts
[6:24 PM] PIe: BECAUSE THIS IS THE GTVA POLICE
[6:25 PM] Axem: :O
[6:25 PM] Axem: am i under arrest
[6:26 PM] [`_`]/: no, just please step out of the myrmidon
[6:26 PM] [`_`]/: you have so much to fred for

[9:50 PM] Sottises: wait did you do vassago's verge?
[9:50 PM] Sottises: .. dirge?
[9:50 PM] Axem: yes
[9:50 PM] Sottises: ohh
[9:50 PM] Sottises: well I have that and JAD too
[9:50 PM] Axem: :)
[9:50 PM] Sottises: what a contrast of themes lmao
[9:50 PM] Axem: isnt it
[9:51 PM] Axem: super grimdark thriller about unknowable alien intelligence and over the top colorful action about friendship
[9:51 PM] PIe: jad is grimdark???
[9:51 PM] Axem: :skull:

 
Re: How to make an npc not lose health after a certain health percentage?
Best used with rand-multiple as value.

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: How to make an npc not lose health after a certain health percentage?
On higher difficulties in BP they also lose their weapons and the AI stops attacking them until until they've regenerated a bit.

 

Offline emark4

  • 27
Re: How to make an npc not lose health after a certain health percentage?
http://wiki.hard-light.net/index.php/Ship-guardian-threshold

I see the guardianed option but not the threshold part. Where can I find that?

 

Offline PIe

  • 28
  • GTVA POLICE
    • freespace3.com
Re: How to make an npc not lose health after a certain health percentage?
Quote

Takes 2 or more arguments...
1: Threshold value.
2+: Name of ships to make unkillable.
[6:23 PM] PIe: why do I have the feeling that I shouldn't be able to give orders to 22nd armored hq
[6:24 PM] Axem: 22nd armored hq, i order you to get me a cup of coffee
[6:24 PM] PIe: and donuts
[6:24 PM] PIe: BECAUSE THIS IS THE GTVA POLICE
[6:25 PM] Axem: :O
[6:25 PM] Axem: am i under arrest
[6:26 PM] [`_`]/: no, just please step out of the myrmidon
[6:26 PM] [`_`]/: you have so much to fred for

[9:50 PM] Sottises: wait did you do vassago's verge?
[9:50 PM] Sottises: .. dirge?
[9:50 PM] Axem: yes
[9:50 PM] Sottises: ohh
[9:50 PM] Sottises: well I have that and JAD too
[9:50 PM] Axem: :)
[9:50 PM] Sottises: what a contrast of themes lmao
[9:50 PM] Axem: isnt it
[9:51 PM] Axem: super grimdark thriller about unknowable alien intelligence and over the top colorful action about friendship
[9:51 PM] PIe: jad is grimdark???
[9:51 PM] Axem: :skull:

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: How to make an npc not lose health after a certain health percentage?
http://wiki.hard-light.net/index.php/Ship-guardian-threshold

I see the guardianed option but not the threshold part. Where can I find that?

There are two SEXPs, ship-guardian and ship-guardian-threshold. The first one does the same thing but kicks in when the ship is at 1%. You're probably just looking at the first one.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: How to make an npc not lose health after a certain health percentage?
Make sure you're running FRED2 Open and not retail FRED2.