TheEnginesOfCreation / EntityPlus

EntityPlus is a mod that offers a true single player experience in the Quake III Arena videogame.
34 stars 5 forks source link

Make bots walk instead of run #101

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Bots should only run when they're attacking the player (and maybe not even 
then). When patrolling they should walk.

A hint provided by cyr:
"In order to make bots walk, set CHARACTERISTIC_WALKER to 0.5 or higher in the 
bot character file. Alternatively, you can clamp the forward and right values 
of the bot's usercommands to +-64 at the end of BotInputToUserCommand()."

Original issue reported on code.google.com by era...@gmail.com on 18 Aug 2011 at 2:29

GoogleCodeExporter commented 9 years ago
Setting bi->speed to a max of 64 in BotInputToUserCommand() in ai_main (line 
857) reduces movement speed but I think there should be walk animations as 
well. Lowering the movement speed gives too much of the "sliding feet" effect.

Original comment by era...@gmail.com on 18 Aug 2011 at 2:51

GoogleCodeExporter commented 9 years ago
This has been added in v1.1.4 through the PATROL_WALK and ALWAYS_WALK 
spawnflags on the target_botspawn entity.

Original comment by era...@gmail.com on 11 May 2013 at 8:38