Jump to content

[LE] Adding custom armor to standalone follower


kayden87

Recommended Posts

As the title says... I need help adding armor to a follower I am creating. I have searched on youtube for video tutorials but no matter what I type in "Adding custom armor to followers or standalone followers" I just get tutorials about just creating the follower... Not what I want though.

 

So was just wondering if someone knows a video or a guide somewhere on how to add custom armors.

 

Ty

Link to comment
Share on other sites

In the Object Window of the CK, go to the section named "Outfit". Right click, "New". In the box labeled "ID" type in a unique name without spaces. Back in the Object Window, go to the "Armors" section and scroll to the custom armor. Click and drag the armors from the window to the "Editor ID" section in the outfit's Properties window.

 

Then, go to the section in the Object Window named "Actors" and find the npc you're looking for. Double click the entry to open the npc's properties. Go to the inventory tab, if it isn't already there. Under the "Default Outfit" dropdown menu select the outfit you made. Click OK. Save the plugin. Enjoy!

Link to comment
Share on other sites

The method is still the same as @dalsio stated. You need an outfit object created that you then manipulate with scripts. Depending on what you want to do and if you want to work with known mods or any mod the user selects, you can take different approaches. One suggestion I have is to look at the GetAllArmor function in SKSE. As far as I know, no one has documented it, so you should look at the source code (GameData.psc) to understand how it works. Basically, it will return an array of all armor items from a specified modname. You will need another function to return all the loaded mods. I don't know if it will include clothing as armor, but I think it should. From that you can update an outfit or outfits as you desire. Probably something to put in your OnInit or OnUpdate Event processing.

  • Like 1
Link to comment
Share on other sites

If you simply want to add the armor from another mod to the follower, then all you need to do is load the armor mod's plugin, load your follower, and then follow the steps I outlined above. It's that simple. The editor should make your follower plugin dependent on the armor plugin automatically (which means that if the follower plugin is loaded but the armor mod plugin is not installed, the follower plugin will not work).

Now, if you're okay with your follower mod being dependent on that mod, then you're done. If, however, you don't want it independent, you would need to incorporate that armor into your follower mod which would require TES5Edit. If you're doing that for personal use, then just use TES5Edit to merge the two mods (or ask again if you need to know how). If you want to then release that follower, you would need to first get permission from the author of the armor mod to use their armor.

If, however, you don't want your mod to be strictly dependent on another mod and you can't or don't want to integrate that armor plugin into your follower plugin but rather check to see if a mod is installed before adding that armor to your follower, then you would need to use a bit of complicated scripting as palingard stated.

Edited by dalsio
Link to comment
Share on other sites

yup, definately dont know how to use any of that stuff lol. I thought I could just load my folower in CK + armor mod + weapon mod and everything magically work then i just add it to my follower and hit save.. yea guess not lol

 

It is going to be a follower thats getting released, both authors approved

Link to comment
Share on other sites

yup, definately dont know how to use any of that stuff lol. I thought I could just load my folower in CK + armor mod + weapon mod and everything magically work then i just add it to my follower and hit save.. yea guess not lol

 

It is going to be a follower thats getting released, both authors approved

That would work just fine, as I said. That would make the follower dependent on the mod, though. If you're saying you specifically want to integrate the armor mod into your own, you can do it in the editor (i forgot last time, sorry). It isn't as simple as loading the plugins, making yours the active one, and adding the armor to the follower though. You'll have to do that and then individually duplicate each part and sub-parts (armors/weapons, custom armor addons of the armors, any custom texture sets for the armor addons, custom enchants tied to the armors/weapons) of the armors/weapons into your new mod as a duplicate and then reconstruct them, linking each "piece" back to the armor/weapon in it's appropriate place. It's a whole lot easier with TES5Edit.

Edited by dalsio
Link to comment
Share on other sites

  • 3 years later...

Dalsio if it isn't problem can you make a tutorial video for us please. I'm stuck like kayden87. I did what you say and I did what I understand but it didn't work. Can you help.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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