Jump to content

Configuring Combat Style through Dialogue


Recommended Posts

Hi! Many users have requested that I add an option to configure the fighting style of my custom-voiced companion through dialogue, and I was unable to find a script/ function that can change that. Alternatively, an MCM menu would be one solution to this problem, but I've also been unable to find any tutorials regarding this subject, and scripting one is currently beyond my abilities.

 

I would be most appreciative if anyone could provide some guidance on this matter. Thanks!

Link to comment
Share on other sites

How is her follow package being handled?

 

If you look in the package at the top there is a dropdown to change fighting style, so you could add a global variable, copy her 'follow player' package or whatever it is you are using, and make like 5 of them, each one on condition of a diff global variable, and have a dialogue option that changes the global IE "Use a bow" changes global to 3, one of the packages has condition global == 3 combat style ranged etc.

 

If she's on the default follow template.. no idea as it's handled inside a alias and that will take precedence.

Link to comment
Share on other sites

I used Matt's tutorial, and she now runs on a custom follower quest/ system with the default "follow Player" package on an alias. The packages/ gloabal variable trick sounds very interesting though; I'll see if I can't tweak things around and implement your suggestion. Thanks!

Link to comment
Share on other sites

Nevermind, Matt's suggestion sounds simpler. Thanks anyway, Darren!

 

How would I go about using SKSE functions though? They don't seem to work for me so far.

 

Scratch that, it seems like the "SetCombatStyle" does not persist across saves, so I'll be using Darren's method after all.

Edited by mlee3141
Link to comment
Share on other sites

Nevermind, Matt's suggestion sounds simpler. Thanks anyway, Darren!

 

How would I go about using SKSE functions though? They don't seem to work for me so far.

 

Scratch that, it seems like the "SetCombatStyle" does not persist across saves, so I'll be using Darren's method after all.

Quite easy to make anything persist:

 

http://www.creationkit.com/OnPlayerLoadGame_-_Actor

 

As for SKSE function use:

 

http://skyrimmw.weebly.com/skyrim-modding/common-modding-questions-skyrim-modding-tutorial

 

You should read up on making things persist across saves anyway - if you get requests for aggression changes, aggression changes don't persist either, so you'll have to use this. (Aggression changes are things like "only attack if they initiate" vs "attack any enemies you see".)

Edited by Mattiewagg
Link to comment
Share on other sites

  • Recently Browsing   0 members

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