How to make a CompanionWheel companion ?

Post » Sat May 14, 2011 12:17 am

Hello everybody !

I'm working on a big mod , and in this mod there is a way to have a companion.... The companion work fine at this time but i'd like to make him work with the companion wheel.

If i set him with a setplayerteammate 1 command , the companion wheel appear when i'm talking to him but when i tell him to wait he don't listen ... so it's no realy working good :(.

At this time my companion is following a follow scriptpackage ( i duplicate the one from cass ). With dialogue i can make him in a "wait" state and when i want him to come back i use dialogue with "stopwaiting" command.

Thanks in advance ,

Hereticus.
User avatar
Kyra
 
Posts: 3365
Joined: Mon Jan 29, 2007 8:24 am

Post » Fri May 13, 2011 3:52 pm

http://www.gamesas.com/index.php?/topic/1011099-tutz-companionfollower-tutorial is a link to a good companion tutorial. There are several existing companion-generator mods you can get, and either use them or study them. NCCS seems popular and well-supported; it is available at newvegasnexus. If you search for "companion" at the newvegasnexus FNV talk and troubleshooting forums, there are multiple recent threads on implementing companions.
User avatar
Jeneene Hunte
 
Posts: 3478
Joined: Mon Sep 11, 2006 3:18 pm

Post » Sat May 14, 2011 1:32 am

It looks like it's important to use the variables of the vanilla followers for proper wheel function.

short CombatStyleRanged
short CombatStyleMelee
short IsFollowingDefault
short IsFollowingLong
short FollowerSwitchAggressive
short Waiting

You should add these to your companions script, and use the result script window to set them accordingly. Seems the companion wheel is just a short cut to the dialogue tree, so you need to have these variables so it knows which response to use. Just look at the followers quest for NV and try to reproduce what they did there.
User avatar
carla
 
Posts: 3345
Joined: Wed Aug 23, 2006 8:36 am


Return to Fallout: New Vegas