News from 10 July 1999

News about ZDoom, its child ports, or any closely related projects.
[ZDoom Home] [Documentation (Wiki)] [Official News] [Downloads] [Discord]
[🔎 Google This Site]

Moderator: GZDoom Developers

Locked
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

News from 10 July 1999

Post by randi »

ZDoom 118test6 is now available. Changes from test5 are:
  • Rewrote the wu line drawer to look better (especially in overlay mode).
  • Stretched skies now get stretched horizontally as well as vertically.
  • Now comes with OpenPTC 1.0.17.
  • And probably the most interesting change: Now includes code from version 0.71 of the Cajun Bot, thanks to Martin Collberg (Yoghurt)'s generous donation of the Cajun source code.
Along with the bot are several new console commands and cvars. These are mostly the same as the ones used by the Cajun bot, but some have been renamed:

Console commands

addbot [name]

Spawns a bot. If a name is given, the corresponding bot in bots.cfg will be spawned. Otherwise, a bot will be picked at random from bots.cfg.

If you want to be able to spawn new bots by pressing 'B' like the Cajun bot allowed, you can bind "addbot" to the key with "bind b addbot".

removebot
Removes all bots from the game. You can spawn them again with addbot.

listbots
Lists the bots available in bots.cfg, and indicates which are currently playing.

freeze
Freezes the action in the game except for your player.

loadnodes <filename>
Loads the nodes from disk.

savenodes <filename>
Saves the current nodetable to disk.

statnodes
Displays the current number of nodes.

Console variables
bot_calcnodes (default: 1)
Enables/disables dynamic node calculation. When you have made a nodetable just set this value to 0 or save the table by using "save". Note that after you have loaded or saved a table, nodes are automatically set to 0.

weapondrop (default: 0)
If this cvar is 1, players will drop their selected weapons when they die.

bot_observer (default: 0)
When set to 1, the bots will ignore your player.


From the Cajun readme on nodes:
It is possible to play the CajunBot on any map, but first you'll have to calculate a nodetable, This is easily done by typing
"bat_calcnodes 1" in the console. Then make sure you move around in those areas you want the bot to be able to reach. An additional tip
for making the bot roam better is to try not to get on the same area on the map twice.

To use the bots, you'll probably want to start the game with:
zdoomtest -nomonsters -deathmatch -warp x

Bots currently do not work in real netgames (and thus, demos), as this was just a quick splice of the Cajun Bot code into ZDoom that I did in less than 24 hours. There are a few changes (such as the removal of the limit of 100 bots that can be in the bots.cfg file), but it is basically the same as the Cajun Bot. (Or at least it should be. I can't get cajun.exe to run under NT, so I can't compare the version in ZDoom with the original.)
Locked

Return to “ZDoom (and related) News”