Repository navigation
Initial migration from previous code - #14
phoenixpinpoint wants to merge 2 commits into
Conversation
added second wind chance
Foot pursuit pacing
How the suspect slows downWhen a pursuit creates a pacing instance, it records the game time, rolls a motivation value from 1 to 10, and picks an initial pace offset of up to ±0.4. The offset comes from subtracting two random draws, so smaller offsets are more common.
The module reapplies the cap every frame while the suspect exists and is alive. The ratio limits the ped's movement blend. Actual running speed can vary. Disposing the pacing instance stops the frame loop and restores the cap to 3.0 if the suspect still exists. Second windThe first time the player closes from beyond 15 m to within 15 m during the run phase, the suspect gets one 10% chance at a second wind. On success, the blend cap rises to 2.3 for a random 5 to 8 seconds, then returns to 1.6. Exhaustion rolls pause during the burst, and the callout's catch distance still applies. How exhaustion surrender worksThe caller invokes
At 20 seconds, motivation 10 gives an 11% surrender chance and motivation 1 gives a 20% chance. Each full 10 seconds of pursuit after that adds 10 percentage points, up to 35%, even while the player is out of range. A successful roll makes Callouts that use itAll three callouts use
Player-initiated traffic stops
|
No description provided.