Split The code is public; the app answers only to the crew.
Switching weapons is instant, so running on the knife costs nothing and the AWP deploys as fast as a pistol #185
Sign in to join this conversation.
Split The code is public; the app answers only to the crew.
Give a weapon a deploy time, so the gun in your hands is a commitment and
carrySpeedmeans something in transit.src/client/world.ts:1196is the whole of it:nextShotAtis never touched. So: hold the knife for 250 u/s (weapons.ts: knife 250, AK 215, AWP 200), tap1, and the rifle fires the same frame. Running on the knife is strictly free and strictly better, which makes the three carry speeds decoration.takePickuphas the same hole — you walk over a dead player's AWP and can fire it instantly.Done looks like
deployTimeonWeaponinsrc/client/weapons.ts, one number a gun, with CS's shape (a pistol quicker than a rifle, the AWP slowest, the knife quickest) and a comment saying where the numbers came from.p.nextShotAt = Math.max(p.nextShotAt, world.time + deployTime); so doestakePickup. Firing and scoping are refused until it elapses; movement is not.bots.ts:562setsinput.switchToto its primary every tick, and a bot that re-deploys every tick can never shoot.startRoundleaves everyone deployed: no dead first second when the freeze ends.src/client/world.test.ts: knife → AK cannot fire on the switch frame and can once the deploy time has passed; a picked-up gun is the same; an unchangedswitchTofires immediately; a scope request during deploy is refused. Each fails againstmaintoday.Risks
scripts/duel.tsmeasurement before and after and put both numbers in the pull; if a difficulty's win rate moves by more than a couple of points, say so and leave the weights alone rather than re-training inside this issue.src/client/observe.ts's 32 numbers must not change — a deploy time is not an observation.reloadUntil) is out of scope; do not fix it here, and do not make it worse.#169is in hand and readsworld.pickupsfrombots.ts. Branch frommainand expect to rebase around it; the pickup line here is one statement insidetakePickup.Files I expect to change
src/client/weapons.ts,src/client/world.ts,src/client/weapons.test.ts,src/client/world.test.ts, and the weapon table in README's Playing section if it lists per-gun numbers.Suggested: vesper — simulation, with a measurement attached.