Crossfire Server, Trunk  R20553

This is a custom attribute.


Type(s) Description

This value is taken as a percentage which is multiplied against against the weight this transport is carrying (the player) - this is then divided by weight_limit to determine the effective loading to determine effective object speed, eg:

speed = <base speed> - (<base speed> * <weight in transport> * <weight speed ratio>) / (<weight limit> 100)

Thus, if <weight factor> is 0, this object will move the same speed no matter how loaded it is. If it is 100, then if the transport is fully loaded, it moves at a crawl. In a sense, this somewhat mimics the player movement speed. Large transports, like boats, should likely be largely unaffected by weight (maybe have this value at 10), where something like a horse would have a relatively high value.