Making companions killable (not essential)

Post » Sat Sep 18, 2010 12:05 pm

I've noticed that several people have created mods that make all companions essential. However, I'm looking for a mod that makes them killable (non essential) once they have become your companion. It is my understanding that they work this way in hardcoe mode, but not in normal mode.

Is it possible to make this change in GECK, or have they hardcoded the killability of companions in the executable?
User avatar
Nina Mccormick
 
Posts: 3507
Joined: Mon Sep 18, 2006 5:38 pm

Post » Sat Sep 18, 2010 3:16 pm

It's possible to make said change using the GECK. The "make essential" command is probably buried somewhere in the companion script and/or the hardcoe mode script. Deleting that if/endif block (provided it doesn't control anything else) should do it.
User avatar
Jose ordaz
 
Posts: 3552
Joined: Mon Aug 27, 2007 10:14 pm

Post » Sat Sep 18, 2010 12:02 pm

The only way to make them kill-able is to
 ActorRef.SetPlayerTeamMate 0
. The problem is that the death is intercepted by the engine before you can detect it in a script and turn off playerteammate. So for non-hardcoe the companions are essential - period. Baring some cumbersome work-around.

You can set a companion as essential in HC mode but in Non-HC mode the setessenial functions are ignored as long as the actor is a playerteammate.
User avatar
louise tagg
 
Posts: 3394
Joined: Sun Aug 06, 2006 8:32 am

Post » Sat Sep 18, 2010 8:06 am

The only way to make them kill-able is to
 ActorRef.SetPlayerTeamMate 0
. The problem is that the death is intercepted by the engine before you can detect it in a script and turn off playerteammate. So for non-hardcoe the companions are essential - period. Baring some cumbersome work-around.

You can set a companion as essential in HC mode but in Non-HC mode the setessenial functions are ignored as long as the actor is a playerteammate.

Thanks for that extra bit of info. I saw in Veronica's script that her health and stats were reset after death upon check that variable. I was wondering where it got set.
User avatar
suzan
 
Posts: 3329
Joined: Mon Jul 17, 2006 5:32 pm


Return to Fallout: New Vegas