Is there a way to turn off the companion wheel ?

Post » Sat Oct 24, 2009 2:21 am

When i add the teammate faction to my companion, i get certain benefits from that faction, but also unfortunately the rather annoying companion wheel. Now is there any way to turn that off for my companion ? I would like her to be in the teammate faction however. I would like to be able to talk to my companion while in sneak mode, i dont want that pickpocket menu to open up and i also want to talk to her during combat. With the teammate faction that works..
So to make it short, i want to avoid difficult long scripts which would give me those benefits, i just want the teammate faction like it used to be in FO3...
I appreciate any help with this !! :)
User avatar
james tait
 
Posts: 3385
Joined: Fri Jun 22, 2007 6:26 pm

Post » Fri Oct 23, 2009 2:52 pm

if you set playerteammate to 1 then youll end up with the wheel, its hardcoded...
but you can emulate most of the behavior youre looking for with commands like ignorefriendlyfire (see geck wiki)

or you give that npc a script with a begin onactivate block which then forces a conversation and hence blocks the wheel out, you should be able to set playerteammate to 1 then

instead of adding them to the teammate faction (followerfaction its called btw now) add them to your faction, i think that makes more sense :P
User avatar
Joanne Crump
 
Posts: 3457
Joined: Sat Jul 22, 2006 9:44 am

Post » Fri Oct 23, 2009 9:26 pm

IIRC if you set your companion to a new faction, and add faction relations to the player as ally, it allows conversation during combat. Or maybe it was another option....


Im struggling a bit with factions for my mod, im never quite sure how they will pan out. I used to have new companions added to the player faction, but if they got into fights with each other, theyd auto aggro the player as well. I removed them from player faction, but I had one instance where the liption faction would suddenly and for no reason freak the fudge out and all start attacking one of my robots (but not me).

Its like juggling dynamite :/
User avatar
Krystina Proietti
 
Posts: 3388
Joined: Sat Dec 23, 2006 9:02 pm

Post » Sat Oct 24, 2009 2:50 am

You are right actually, the teammate faction is not used anymore, the followers faction is used however. I played around with my companion′s script but whatever i put in the OnActivate tab, the wheel will still come up. The pickpocket menu is hard coded too however so i am a bit stuck.
I want to be able to talk to my companion while i am sneaking...without opening the pickpocket menu and also without getting the companion wheel.
Any ideas ?
User avatar
X(S.a.R.a.H)X
 
Posts: 3413
Joined: Tue Feb 20, 2007 2:38 pm

Post » Fri Oct 23, 2009 8:04 pm

When i add the teammate faction to my companion, i get certain benefits from that faction, but also unfortunately the rather annoying companion wheel. Now is there any way to turn that off for my companion ? I would like her to be in the teammate faction however. I would like to be able to talk to my companion while in sneak mode, i dont want that pickpocket menu to open up and i also want to talk to her during combat. With the teammate faction that works..
So to make it short, i want to avoid difficult long scripts which would give me those benefits, i just want the teammate faction like it used to be in FO3...
I appreciate any help with this !! :)


Those benefits (which include the ability to manipulate the follower's inventory) are tied to player teammate status.

To do what I think you want, you would keep the follower in playerteammate mode most of the time, and turn it off for the moment you need.

Stuff like this in the follower's object script is worth trying.


scn FollowerScriptshort TeammateSwappedbegin ONACTIVATE     if isactionref player         set teammateswapped to 1         setplayerteammate 0         ACTIVATE     else         ACTIVATE     endifENDbegin gamemode   if teammateswapped     set teammateswapped to 0     setplayerteammate 1   endifend


and the result script which opens up trade (in your trade dialogue) you would put this:

FollowerREF.setplayerteammate 1openteammatecontainer


If you put all of that together, it might do what you need. it is not about the factions, there's nothing magic about them aside from stuff like, preventing infighting, and preventing the followers from slaughtering the player like the lamb that he is, and similar ;)
User avatar
jodie
 
Posts: 3494
Joined: Wed Jun 14, 2006 8:42 pm

Post » Fri Oct 23, 2009 3:13 pm

You are right actually, the teammate faction is not used anymore, the followers faction is used however.


Just to clarify the faction thing - Both of these factions are still used by followers:

snippet of result script when hiring Veronica:

SetPlayerTeammate 1VeronicaREF.AddToFaction FollowerFaction 1VeronicaREF.SetFactionRank TeammateFaction 1


SetFactionRank 1 does the same thing as AddToFaction if the actor is not currently in the faction. http://cs.elderscrolls.com/constwiki/index.php/SetFactionRank
User avatar
Agnieszka Bak
 
Posts: 3540
Joined: Fri Jun 16, 2006 4:15 pm

Post » Fri Oct 23, 2009 6:00 pm

Allright, i will give this script example a try ;) Might even work. As for the Companion share function, i already implemented that one and it works brilliantly ;)
I am curious, is it actually possible to make pickpocketing "legal" when i try it on my companion ? I would love to use this as some sort of "quick way" to access her inventory...without the negative consequences of course ;)
User avatar
Joanne Crump
 
Posts: 3457
Joined: Sat Jul 22, 2006 9:44 am

Post » Sat Oct 24, 2009 1:51 am

Allright, i will give this script example a try ;) Might even work. As for the Companion share function, i already implemented that one and it works brilliantly ;)
I am curious, is it actually possible to make pickpocketing "legal" when i try it on my companion ? I would love to use this as some sort of "quick way" to access her inventory...without the negative consequences of course ;)

To bypass the pickpocketing issue, you could try integrating this into the NPCs ON Activate if/elseif block:

  if ((IsSneaking == 0) && (player.IsSneaking == 1)    OpenTeammateContainer 1

User avatar
Kay O'Hara
 
Posts: 3366
Joined: Sun Jan 14, 2007 8:04 pm

Post » Fri Oct 23, 2009 11:10 am

To bypass the pickpocketing issue, you could try integrating this into the NPCs ON Activate if/elseif block:

  if ((IsSneaking == 0) && (player.IsSneaking == 1)    OpenTeammateContainer 1



Okay, that worked ;) Thanks !! Now when i sneak activate her, her inventory opens, fortunately only her "real" legitimate inventory. Now i just wish there was a way i could actually talk to her while sneaking. But trying it by using a package or the startconversation command, doesnt work. First the pickpocket menu will open, after i close that one, the conversation will begin...and thats not an ideal solution.
As for the talking during combat, i solved that with a package.
Now i only need to find a way to talk to her while both, me and her are sneaking and then i am good to go ;)

So anybody got another suggestion ? :)
User avatar
Tamara Dost
 
Posts: 3445
Joined: Mon Mar 12, 2007 12:20 pm


Return to Fallout: New Vegas