[RunUO 2.0 RC1] PlayerRangeSensitiveMod PlayerRangeSensitiveMod v2.0 RunUO 2.0 version updated 8/25/06 ArteGordon Summary: AI mod that provides most of the benefits of having PlayerRangeSensitive=false (continuously active AI) with virtually none of the server load. Recent Updates: New to version 2.0 updated 8/25/06 - Greatly simplified the overall mod. - installation instructions updated for RunUO 2.0 Description: This mod resulted from a great idea by KillerBeez to allow servers to set PlayerRangeSensitive=true but still have mobs to behave as though it were false for some period of time even when players are out of range. What this mod does is to allow creature AI to remain active for a delay period (set by the DeactivationDelay property, default is 2 minutes) after AI deactivation is triggered (when players go out of range). This essentially allows mob AI to behave as though PlayerRangeSensitive=false when players have been around but then move well beyond the normal range sensitivity (e.g. to other maps, or outside of dungeons), while leaving it true (hence no cpu load) for the vast majority of areas without any recent player activity. This is particularly effective on shards with low player counts since it provides most of the benefits of PlayerRangeSensitive=false with virtually none of the load. One thing that I especially like is that with the mod, mobs will no longer collect at dungeon entrances! I would estimate that shards that are currently running with PlayerRangeSensitive=false, could set it to true, put the delay at something like 10-20 minutes and get behavior that was essentially indistinguishable from PlayerRangeSensitive=false but with 50-90% reduction in overall cpu load. Even at longer delay settings (hours) I would estimate significant reductions in overall cpu load given that significant fractions of each facet are likely to be unvisited over the course of an hour or two and the cpu load reduction will be esentially proportional to this fraction. Commands: - the "[setdeactivation [minutes]" command allows an admin to change the default deactivation delay in-game. Note, setting it to zero will essentially disable the mod returning to the normal PlayerRangeSensitive=true behavior. Also, changed values in-game will not be restored on server restarts. For permanent change of the deactivation delay, set the DefaultDeactivationDelay static variable in setdeactivation.cs Installation: see the installation notes in the PlayerRangeSensitiveMod.txt file for details.