Jump to content

Scripting question...


r4y30n

Recommended Posts

So I've been trying to enhance my power armor experience, mostly by implementing features DARPA would like to see in real prototypes such as increased payload capacity, mobility, protection and battlefield awareness. So far, I've solved all of these problems except mobility.

 

As I'm sure you all know, the game engine calculates a speed handicap based on the weight of your equipped armor and in most cases it makes sense for bulky armor to slow you down. However, the entire point of a powered armor suit is that the wearer does not feel any of the weight they are carrying, thus their speed should not be compromised by it.

 

Whether you agree or not my question is this: Can power armor be scripted to either negate this speed handicap all together, or even reverse it to increase player speed when worn?

Link to comment
Share on other sites

That check box just determines whether or not you need power armor training to use it.

 

The speed handicap is applied to all armors, power armor or not, so somewhere there is a script running that calculates the total clothing weight and multiplies by some fraction, with the result being the percentage movement speed is decreased by.

 

Actually, I suppose a script that changes the armor weight to zero when equipped would work as well. Anyone know how to do that?

Link to comment
Share on other sites

Theres a command to change the players walking speed, putting that into the script would be the easiest way. Just make it so when the armor is on it uses that command to set the walking speed to what it would be without armor, then when its off set the speed to default again.
Link to comment
Share on other sites

Archived

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

  • Recently Browsing   0 members

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