nyaalich Posted February 1, 2014 Posted February 1, 2014 I was going to ask this in the 101 help thread, but then I thought it might take up too many posts/distract from it. So...*shrug?* Basic Idea: Heard about doing a pacifist playthrough (well, it sounds fun to me and a few other people anyway), and I like companions, but companions would be useless/ruin a pacifist playthrough. So I thought that maybe I could make a "healer" Friends of the Apocalypse companion (you could enable her to either play as healer only or as a regular non-pacifist attacker) that could essentially shoot you with stimpak darts while you're both running away. (Complete Aside, I realize that the Delilah companion exists and is supposed to be a similar medical follower without in-combat healing, but I couldn't fucking stand the audio because of the mic sounds. Nothing against the voice actress (didn't hear enough to make a proper judgment : P ). I can deal with shitty textures, but not shitty audio.) The Question: Anyone have any ideas on how I could force the companion to only attack the player? Obviously, if health is some % and if you're in combat, but how would the NPC know if combat was over? Would I ref walk for hostiles (hostiles > 1 since she would technically be hostile) or something else? I've seen a healing gun mod or two, so I've got the idea of how to make the weapon. It's the actual in-combat functionality that I have no idea where/how to start
cuceta Posted February 1, 2014 Posted February 1, 2014 Well, assuming you already have this healer weapon, i "think" you can acomplish your purpose with a "UseWeapon" package. This package type allows you to force any NPC to use a weapon to attack another NPC. You can choose the player as the target and your healer weapon to use against him/her. You can use GetInCombat as a package condition to check if the player is in combat or not Edit: There is a Geck function called UseWeapon that maybe performs the same thing.
nyaalich Posted February 2, 2014 Author Posted February 2, 2014 Interesting. Didn't know about that. I shall let you know how that turns out. In the meanwhile, I'm open for any other ideas that anyone wants to toss my way on the off chance that that doesn't work out (which is nothing against you, cuceta, and everything against lacking documentation [see IsInList ]).
Halstrom Posted February 2, 2014 Posted February 2, 2014 You can have a look in SexoutDrugging at how I do DrugDarts for weapons, there were a few tricks as to adding them to ammo lists, and the ammo effect scripts etc.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.