用 Jev 做游戏 NPC:按需决策把成本压到 1/50
作者算了一笔账:Jev 的 Doom demo 约每秒 10 次决策、每小时 7 美元,1000 名玩家在线一天要 16.8 万美元,于是改成脚本管常规、Jev 只在关键时刻决策。

$168,000 A DAY That's what AI NPCs could cost a game with 1,000 players online Everyone wants Jev inside their NPCs Nobody did the math Jev's Doom demo: ~10 decisions per second, ~$7/hour Now give every player one smart NPC: > 1,000 players = $7,000/hour > 24 hours = $168,000/day No studio pays that But NPCs don't need to think 10 times a second A guard walking his route doesn't need a brain He needs one when the player shows up So here's how I'm building it: > scripts handle routine > AI only decides at key moments > 1 decision every 5 seconds = 50x cheaper ~$0.14/hour instead of $7 Smart NPCs aren't a model problem They're an architecture problem