Jump to content

How do you display the companion wheel?


dieangel68

Recommended Posts

Okay i've been looking jsut about everywhere, i kinda understand the concept behind making a custom companion, variables to switch from AI package to AI package, but i do not understand how to display the companion wheel instead of initiating a greeting dialog.

 

ActorRef.SetPlayerTeammate 1

 

ActorRef == your companion.

 

Any actor with this set, will automatically bring up the wheel.

 

You have to use the same variable names as the Vanilla followers do in their object scripts to make some of the functions work.

Link to comment
Share on other sites

Okay that's .. strange... so basically if i set the NPC as player teammate it will replace the dialog greeting by the wheel...

 

Now obviously... how do I interface with the buttons of the wheel?

 

For what i know, either SetPlayerTeammate = 0 and it will trigger the greeting dialog, or SetPlayerTeammate = 1

 

So how do you make "using" an npc trigger something else like opening, a hack console or a custom menu? do you jsut create an empty greeting message and open the menu in the script section of the greeting?

Link to comment
Share on other sites

Okay that's .. strange... so basically if i set the NPC as player teammate it will replace the dialog greeting by the wheel...

 

Now obviously... how do I interface with the buttons of the wheel?

 

For what i know, either SetPlayerTeammate = 0 and it will trigger the greeting dialog, or SetPlayerTeammate = 1

 

So how do you make "using" an npc trigger something else like opening, a hack console or a custom menu? do you jsut create an empty greeting message and open the menu in the script section of the greeting?

 

Most of the wheel buttons are hard-wired into topics that are used in the vNPCFollowers quest, except for Talk on the wheel - activates the GREETING topic, Stimpak and share don't need a topic. Some threads about it are here :

 

http://forums.bethsoft.com/index.php?/topic/1133477-question-companion-wheel/page__p__16599468__hl__wheel__fromsearch__1&&do=findComment&comment=16599468

 

http://forums.bethsoft.com/index.php?/topic/1126623-companion-wheel/page__p__16542236__hl__wheel__fromsearch__1&&do=findComment&comment=16542236

 

You can create your own quest, add the appropriate topics to it, then add the GREETING topic. Add infos to all of these topics, specific to your NPC. Just mirror how they did it for Veronica, for example. The script on your NPC needs to use the same variable names for wait, etc, as the vanilla followers, and use these variables in the result scripts of your infos and the conditions for the AI packages.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...