Attaching size to armor

Post » Fri Oct 29, 2010 5:57 pm

Is it possible to attach a script to certain armors that increases character size to a certain number when worn? This would be great for making Power Armor look imposing like it did in Fallout 1/2 by making your character grow larger when worn. I know it probably isn't possible because if it were it would most likely have already been done. Doesn't hurt to ask, though. Thanks.
User avatar
Kelly Osbourne Kelly
 
Posts: 3426
Joined: Sun Nov 05, 2006 6:56 pm

Post » Fri Oct 29, 2010 8:30 pm

I did this for my Powered Power Armor mod, though the feature is disabled by default due to some really obnoxious bugs associated with it. If you change the scale of an NPC via script, it causes their AI to hang up and they'll just stand there until you've left and re-entered their cell. It can be fixed by disabling and enabling the NPC after you change their scale, but that has it's own bugs. The other problem is with the player - if you make them too big, they will no longer be able to activate some objects, instead getting a "child cannot use this item" warning. The fix for that is to set the player's scale again the moment they press the activate key, though it doesn't seem to work for everybody.

I put a request in to the NVSE team for a different setscale function. The normal setscale function changes both the base scale and the ref scale of the item. This causes the actual scale to be the square of the scale specified, so you want to use the square root of the scale you actually want. I was hoping though that the bugs mentioned above were associated with either changing the base scale, or the ref scale, and that if there was a separate function for each you could just change the one that didn't cause the bug. Haven't heard back though.

It's a cool feature though and I'm using it in my game without any issues so far (apart from one of my companions disappearing, but that's only happened once).
User avatar
Valerie Marie
 
Posts: 3451
Joined: Wed Aug 15, 2007 10:29 am

Post » Fri Oct 29, 2010 8:55 pm

Okay, thanks. That sounds pretty complicated, so I'll just wait to see if the NVSE team acts on your request.
User avatar
Rach B
 
Posts: 3419
Joined: Thu Mar 08, 2007 11:30 am


Return to Fallout: New Vegas