Escort packages and combat

Post » Mon May 17, 2010 6:12 am

So if an Escort package does not allow the Continue During Combat flag, how can one get an NPC to escort the player away from the battle? I would love to have my actor fight, but keep moving towards the destinantion. It seems like that is not allowed.
User avatar
Camden Unglesbee
 
Posts: 3467
Joined: Wed Aug 15, 2007 8:30 am

Post » Mon May 17, 2010 12:11 am

My first impression is that if the Continue During Combat flag in not enabled, combat will trigger a drop (or override) of whatever package they're running in favor of their combat style behavior.. correct me if I'm wrong on that. I'm sure you could get them to lead you away from a battle by manipulating factions, but I don't think fighting at the same time is an option. Possibly give the appearance of both at the same time by using a lower aggression and confidence, and scripting some alternating faction changes as a combat on/off thing.
User avatar
Rude_Bitch_420
 
Posts: 3429
Joined: Wed Aug 08, 2007 2:26 pm

Post » Sun May 16, 2010 7:51 pm

So if an Escort package does not allow the Continue During Combat flag, how can one get an NPC to escort the player away from the battle? I would love to have my actor fight, but keep moving towards the destinantion. It seems like that is not allowed.


It's a pain in the ass.

If you really want to make it work smoothly, I think you'll drop him off of the escort package for the combat times and then pop him back onto it later. I think that being on a follow package during combat is better for what you want than escort package. With a follow package in this .exe version, they seem to sorta check back with you, but with the escort package in combat they seem to run wherever.

Malcolm's escort to Rivet City suffers complications because I have not done this.

Lower confidence can snafu the NPC, it may flee which is extremely unattractive (cower idles and vocalization) and can get the NPC lost, especially in an escort package where they will not return to the player after moving. Lowered aggression is what it is, but usually enemies attack the NPC anyway, so....
User avatar
Flash
 
Posts: 3541
Joined: Fri Oct 13, 2006 3:24 pm

Post » Sun May 16, 2010 6:43 pm

Lower confidence can snafu the NPC, it may flee which is extremely unattractive (cower idles and vocalization) and can get the NPC lost, especially in an escort package where they will not return to the player after moving. Lowered aggression is what it is, but usually enemies attack the NPC anyway, so....

Yes, for sure. I meant just enough to keep them from charging the enemy and leaving the path he should be traveling on. I would think the end result would be sort of an escort for a few steps, fight for a few second (and hopefully not charge), escort for a few more step, etc..
User avatar
Rinceoir
 
Posts: 3407
Joined: Thu Jun 29, 2006 1:54 am

Post » Mon May 17, 2010 6:43 am

I have seemed to created the effect I want using two packages, a travel with Continue during combat and a guard package set to guard the player with a radius of zero. The I added some code to the NPC's script such that when their distance was greater than 768, the guard package fires, and if the distance is less than 300, the travel package kicks in. Seem to work just like a, escort package with a continue during combat flagged.
User avatar
Abi Emily
 
Posts: 3435
Joined: Wed Aug 09, 2006 7:59 am

Post » Mon May 17, 2010 12:03 am

I have seemed to created the effect I want using two packages, a travel with Continue during combat and a guard package set to guard the player with a radius of zero. The I added some code to the NPC's script such that when their distance was greater than 768, the guard package fires, and if the distance is less than 300, the travel package kicks in. Seem to work just like a, escort package with a continue during combat flagged.


heheheh that's interesting.
User avatar
BRAD MONTGOMERY
 
Posts: 3354
Joined: Mon Nov 19, 2007 10:43 pm


Return to Fallout 3