va_postal.jar vers 1.72

Details

  • Filename
    va_postal.jar
  • Uploaded by
  • Uploaded
    Nov 21, 2012
  • Size
    206.21 KB
  • Downloads
    319
  • MD5
    a5381af310fd13ba7ee291fd1b8a9759

Supported Bukkit Versions

  • CB 1.4.5-R0.2

Changelog

Versiom 1.71

Implemented 'speed' in config.yml to scale overall walkspeed of NPC's floating point 0.5 - 2.0

new command 'postal speed', both console and player to facilitate speed adjustment while server is up.

tweaked door navigation.

adjusted dynamic speed table

Versiom 1.72

new command 'postal expedite' both console and player. Allows op to push a specific route schedule forward.

console: 'postal talk' automatically turns quiet off

Deal with the unusual situation where a waypoint needed by the NPC is deleted while editing a route, live.

Remove dynamic waypoint attempted at residence. This is now obsolete since /setroute now synchronizes the last route waypoint with the residence location. Allowing them to be set independently makes it possible to create incorrect routing, difficult to diagnose. Any problem finding a residence mailbox is quickly solved using /setroute to re-set the last waypoint or two.

More work on dynamic speed control. Increased table resolution. Capped off slowest at 0.4 These values should correlate with standard Citizen2 speeds when 'postal speed' is set to 1.0 Actual NPC speed will be the average between the last waypoint segment and the current segment multiplied by the 'postal speed' scaling factor.

switch (distance) { case 0: speed_factor = 0.40f; break; case 1: speed_factor = 0.40f; break; case 2: speed_factor = 0.45f; break; case 3: speed_factor = 0.50f; break; case 4: speed_factor = 0.55f; break; case 5: speed_factor = 0.60f; break; case 6: speed_factor = 0.65f; break; case 7: speed_factor = 0.70f; break; case 8: speed_factor = 0.75f; break; case 9: speed_factor = 0.80f; break; case 10: speed_factor = 0.85f; break; case 11: speed_factor = 0.90f; break; case 12: speed_factor = 0.95f; break; default: speed_factor = 0.999f; }