Difference between revisions of "Template:Metrics/Capture return/doc"
(Recreate of documentation for Control Point Timing/Decay) |
(Updated documentation) |
||
Line 35: | Line 35: | ||
| align = "center" | {{Control Point Timing/Decay|8}} | | align = "center" | {{Control Point Timing/Decay|8}} | ||
| align = "center" | {{#expr: 1 / {{Control Point Timing/Decay|8}} * 100 round 0 }}% | | align = "center" | {{#expr: 1 / {{Control Point Timing/Decay|8}} * 100 round 0 }}% | ||
+ | |- | ||
+ | | align = "center" | x9 | ||
+ | | align = "center" | {{Control Point Timing/Decay|9}} | ||
+ | | align = "center" | {{#expr: 1 / {{Control Point Timing/Decay|9}} * 100 round 0 }}% | ||
+ | |- | ||
+ | | align = "center" | x10 | ||
+ | | align = "center" | {{Control Point Timing/Decay|10}} | ||
+ | | align = "center" | {{#expr: 1 / {{Control Point Timing/Decay|10}} * 100 round 0 }}% | ||
+ | |- | ||
+ | | align = "center" | x11 | ||
+ | | align = "center" | {{Control Point Timing/Decay|11}} | ||
+ | | align = "center" | {{#expr: 1 / {{Control Point Timing/Decay|11}} * 100 round 0 }}% | ||
+ | |- | ||
+ | | align = "center" | x12 | ||
+ | | align = "center" | {{Control Point Timing/Decay|12}} | ||
+ | | align = "center" | {{#expr: 1 / {{Control Point Timing/Decay|12}} * 100 round 0 }}% | ||
+ | |- | ||
+ | | align = "center" | x13 | ||
+ | | align = "center" | {{Control Point Timing/Decay|13}} | ||
+ | | align = "center" | {{#expr: 1 / {{Control Point Timing/Decay|13}} * 100 round 0 }}% | ||
+ | |- | ||
+ | | align = "center" | x14 | ||
+ | | align = "center" | {{Control Point Timing/Decay|14}} | ||
+ | | align = "center" | {{#expr: 1 / {{Control Point Timing/Decay|14}} * 100 round 0 }}% | ||
+ | |- | ||
+ | | align = "center" | x15 | ||
+ | | align = "center" | {{Control Point Timing/Decay|15}} | ||
+ | | align = "center" | {{#expr: 1 / {{Control Point Timing/Decay|15}} * 100 round 0 }}% | ||
+ | |- | ||
+ | | align = "center" | x16 | ||
+ | | align = "center" | {{Control Point Timing/Decay|16}} | ||
+ | | align = "center" | {{#expr: 1 / {{Control Point Timing/Decay|16}} * 100 round 0 }}% | ||
+ | |- | ||
+ | | align = "center" | x17 | ||
+ | | align = "center" | {{Control Point Timing/Decay|17}} | ||
+ | | align = "center" | {{#expr: 1 / {{Control Point Timing/Decay|17}} * 100 round 0 }}% | ||
+ | |- | ||
+ | | align = "center" | x18 | ||
+ | | align = "center" | {{Control Point Timing/Decay|18}} | ||
+ | | align = "center" | {{#expr: 1 / {{Control Point Timing/Decay|18}} * 100 round 0 }}% | ||
+ | |- | ||
+ | | align = "center" | x19 | ||
+ | | align = "center" | {{Control Point Timing/Decay|19}} | ||
+ | | align = "center" | {{#expr: 1 / {{Control Point Timing/Decay|19}} * 100 round 0 }}% | ||
+ | |- | ||
+ | | align = "center" | x20 | ||
+ | | align = "center" | {{Control Point Timing/Decay|20}} | ||
+ | | align = "center" | {{#expr: 1 / {{Control Point Timing/Decay|20}} * 100 round 0 }}% | ||
+ | |- | ||
+ | | align = "center" | x21 | ||
+ | | align = "center" | {{Control Point Timing/Decay|21}} | ||
+ | | align = "center" | {{#expr: 1 / {{Control Point Timing/Decay|21}} * 100 round 0 }}% | ||
+ | |- | ||
+ | | align = "center" | x22 | ||
+ | | align = "center" | {{Control Point Timing/Decay|22}} | ||
+ | | align = "center" | {{#expr: 1 / {{Control Point Timing/Decay|22}} * 100 round 0 }}% | ||
+ | |- | ||
+ | | align = "center" | x23 | ||
+ | | align = "center" | {{Control Point Timing/Decay|23}} | ||
+ | | align = "center" | {{#expr: 1 / {{Control Point Timing/Decay|23}} * 100 round 0 }}% | ||
+ | |- | ||
+ | | align = "center" | x24 | ||
+ | | align = "center" | {{Control Point Timing/Decay|24}} | ||
+ | | align = "center" | {{#expr: 1 / {{Control Point Timing/Decay|24}} * 100 round 0 }}% | ||
|} | |} | ||
− | These decay rates were determined by creating a map with a 100 second capture point, then using [[Bots#Puppet_Bots|Puppet Bots]] to capture said point. | + | These decay rates were determined by creating a map with a 100 second capture point, then using [[Bots#Puppet_Bots|Puppet Bots]] to capture said point. I am unable to derive a simple equasion that explains these values. These times were generated using a SourceMod script as follows: |
− | + | <pre> | |
+ | #include <sourcemod> | ||
+ | |||
+ | public Plugin:myinfo = | ||
+ | { | ||
+ | name = "Capture Timing", | ||
+ | author = "Org", | ||
+ | description = "Console out debug info", | ||
+ | version = "1.0.0.2", | ||
+ | url = "example.org" | ||
+ | }; | ||
− | [ | + | public OnPluginStart() |
+ | { | ||
+ | HookEvent("controlpoint_starttouch", Event_StartCapture) | ||
+ | HookEvent("teamplay_point_captured", Event_EndCapture) | ||
+ | } | ||
+ | |||
+ | public Action:Event_StartCapture(Handle:event, const String:name[], bool:dontBroadcast) | ||
+ | { | ||
+ | new Float:time = GetEngineTime() | ||
+ | PrintToServer("Control Point Entered : %f", time) | ||
+ | return Plugin_Continue | ||
+ | } | ||
+ | |||
+ | public Action:Event_EndCapture(Handle:event, const String:name[], bool:dontBroadcast) | ||
+ | { | ||
+ | new Float:time = GetEngineTime() | ||
+ | PrintToServer("Control Point Captured: %f", time) | ||
+ | return Plugin_Continue | ||
+ | } | ||
+ | <pre> |
Revision as of 05:05, 11 July 2010
Multiplier | Adjustment | Rate |
---|---|---|
x1 | Template:Control Point Timing/Decay | Expression error: Unrecognized punctuation character "[".% |
x2 | Template:Control Point Timing/Decay | Expression error: Unrecognized punctuation character "[".% |
x3 | Template:Control Point Timing/Decay | Expression error: Unrecognized punctuation character "[".% |
x4 | Template:Control Point Timing/Decay | Expression error: Unrecognized punctuation character "[".% |
x5 | Template:Control Point Timing/Decay | Expression error: Unrecognized punctuation character "[".% |
x6 | Template:Control Point Timing/Decay | Expression error: Unrecognized punctuation character "[".% |
x7 | Template:Control Point Timing/Decay | Expression error: Unrecognized punctuation character "[".% |
x8 | Template:Control Point Timing/Decay | Expression error: Unrecognized punctuation character "[".% |
x9 | Template:Control Point Timing/Decay | Expression error: Unrecognized punctuation character "[".% |
x10 | Template:Control Point Timing/Decay | Expression error: Unrecognized punctuation character "[".% |
x11 | Template:Control Point Timing/Decay | Expression error: Unrecognized punctuation character "[".% |
x12 | Template:Control Point Timing/Decay | Expression error: Unrecognized punctuation character "[".% |
x13 | Template:Control Point Timing/Decay | Expression error: Unrecognized punctuation character "[".% |
x14 | Template:Control Point Timing/Decay | Expression error: Unrecognized punctuation character "[".% |
x15 | Template:Control Point Timing/Decay | Expression error: Unrecognized punctuation character "[".% |
x16 | Template:Control Point Timing/Decay | Expression error: Unrecognized punctuation character "[".% |
x17 | Template:Control Point Timing/Decay | Expression error: Unrecognized punctuation character "[".% |
x18 | Template:Control Point Timing/Decay | Expression error: Unrecognized punctuation character "[".% |
x19 | Template:Control Point Timing/Decay | Expression error: Unrecognized punctuation character "[".% |
x20 | Template:Control Point Timing/Decay | Expression error: Unrecognized punctuation character "[".% |
x21 | Template:Control Point Timing/Decay | Expression error: Unrecognized punctuation character "[".% |
x22 | Template:Control Point Timing/Decay | Expression error: Unrecognized punctuation character "[".% |
x23 | Template:Control Point Timing/Decay | Expression error: Unrecognized punctuation character "[".% |
x24 | Template:Control Point Timing/Decay | Expression error: Unrecognized punctuation character "[".% |
These decay rates were determined by creating a map with a 100 second capture point, then using Puppet Bots to capture said point. I am unable to derive a simple equasion that explains these values. These times were generated using a SourceMod script as follows:
#include <sourcemod> public Plugin:myinfo = { name = "Capture Timing", author = "Org", description = "Console out debug info", version = "1.0.0.2", url = "example.org" }; public OnPluginStart() { HookEvent("controlpoint_starttouch", Event_StartCapture) HookEvent("teamplay_point_captured", Event_EndCapture) } public Action:Event_StartCapture(Handle:event, const String:name[], bool:dontBroadcast) { new Float:time = GetEngineTime() PrintToServer("Control Point Entered : %f", time) return Plugin_Continue } public Action:Event_EndCapture(Handle:event, const String:name[], bool:dontBroadcast) { new Float:time = GetEngineTime() PrintToServer("Control Point Captured: %f", time) return Plugin_Continue }