Jump to content

Looking for a little help on a new player weight mod


gamedude711

Recommended Posts

Posted

So I'm trying to create a mod that changes the player weight system in FNV. I've always disliked how bethesda deals with the player's weight in their games. Since there doesn't seem to be any function for directly getting an objects weight I decided to add the items I wanted to count toward the players weight to a container and then get it's InventoryWeight. Unfortunately it's seems that the only containers in the game that have weight are the player and companions. Even worse however is that inventoryweight doesn't seem to be updated at all when using the add/removeitem functions. I'm hoping somebody will have an idea as to how to get object weight or at least how to force the game to update the player/companion's inventoryweight.


 


Any and all ideas are appreciated. Sorry if my explanation was a bit confusing. Feel free to ask questions.   :)


Posted

Probably it is updated on the next frame, you could cast a spell on the actor and use a gamemode to check it.

To notice, weight can be affected by perks, too.

Posted

Probably it is updated on the next frame, you could cast a spell on the actor and use a gamemode to check it.

To notice, weight can be affected by perks, too.

Thanks AJ, I think you're probably right about that. I changed the script to delay the weight grab, and I'm hoping to get it tested in the next couple days.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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