Jump to content

Dynamic Player Body


oscardaguy

Recommended Posts

  • 2 weeks later...

Alright so I contacted some of the modders and it seems that it can be done. The entire mod would be papyrus based and one modder has linked me to some useful stuff.

 

Now what would consumables come under as an event in papyrus and how would I go about writing something that would trigger a player body change when they are consumed?

 

This may take some time.

Link to comment
Share on other sites

So, having talked to modders and read articles on the creation club,
It seems that I'll need the following scripts

https://www.creationkit.com/fallout4/index.php?title=BodyWeight_Struct_-_ActorBase
https://www.creationkit.com/fallout4/index.php?title=SetBodyWeight_-_ActorBase

Plus OnEvents and ActorBase scripts for the whole eating, moving and exercising part.

Lol I don't know how to write papyrus.
I had a look at the source scripts for WeightMorphs and I've managed to deduce that:

Eating will need an OnEvent (I'm not sure which one, maybe OnItemRemoved?) Here's a link to a brainstorm thread about which one to use: https://forums.nexusmods.com/index.php?/topic/3194309-detect-when-a-player-eats-something/
Running would possibly require an OnBeginState (I'm not certain if you can define and create your own events in Fallout 4, so a left foot, right foot movement tracker might not be possible. Idk about this one.)
Swimming could easily be done with OnPlayerSwimming, StartTimer and OnTimer
Weights can be done with OnAnimationEvent, OnExitFurniture, OnActivate and StartTimer
Stats, buffs and debuffs I haven't even looked at yet but I could probably "appropriate" the scripts from some other mods and simply modify them until it fits.

Still don't know how to actually make it beyond opening the creation kit and creating a new plugin.
One modder told me "bear in mind that the body weight functions require F4SE and you to extract the F4SE scripts, both the source and compiled ones."
Does that mean I have to add the scripts to the new plugin when I create the mod? If so, how do I do that?

Man I bet it'd be useful to know how to program.
Link to comment
Share on other sites

  • 4 years later...
  • Recently Browsing   0 members

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