dieangel68 Posted November 22, 2010 Share Posted November 22, 2010 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. Link to comment Share on other sites More sharing options...
rickerhk Posted November 22, 2010 Share Posted November 22, 2010 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 More sharing options...
dieangel68 Posted November 22, 2010 Author Share Posted November 22, 2010 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 More sharing options...
rickerhk Posted November 23, 2010 Share Posted November 23, 2010 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 More sharing options...
Recommended Posts