BOTINFO: Difference between revisions

259 bytes added ,  2 January 2023
Add special lump warning box
mNo edit summary
Tag: Source edit
(Add special lump warning box)
Tag: Source edit
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{SpecialLumpWarning}}
'''BOTINFO''' is a lump used to define bots in Zandronum. Bots are defined between closing and opening braces, like so:
'''BOTINFO''' is a lump used to define bots in Zandronum. Bots are defined between closing and opening braces, like so:


Line 20: Line 21:
*'''color'''
*'''color'''
:The skin color of the bot in "RR GG BB" format.
:The skin color of the bot in "RR GG BB" format.
*'''colorset'''
:The name of the colorset the bot will use. By default, this is set to ''custom'', meaning that '''color''' is used instead. If the '''class''' doesn't have the colorset, then it's automatically set to ''custom''.
*'''railcolor'''
*'''railcolor'''
:The color of the bot's Railgun. Possible values are blue, red, green, silver, gold, yellow, purple, black, white, orange and rainbow.
:The color of the bot's Railgun. Possible values are blue, red, green, silver, gold, yellow, purple, black, white, orange and rainbow.
Line 25: Line 28:
:The skin of the bot, either defined in S_SKIN or [[SKININFO]].
:The skin of the bot, either defined in S_SKIN or [[SKININFO]].
*'''class'''
*'''class'''
:The prefered Class of the bot. For Hexen it can be Random, Fighter, Cleric or Mage. Custom player classes are supported too. Remember to type the class' display name rather than its ACTOR name.
: The prefered Class of the bot. For Hexen it can be Random, Fighter, Cleric or Mage. Custom player classes are supported too. Remember to type the class' display name rather than its ACTOR name.
*'''revealed'''
*'''revealed'''
:Determines if the bot is 'hidden' from selection in the 'Select bots' list in Skirmish. Can be true or false.
:Determines if the bot is 'hidden' from selection in the 'Select bots' list in Skirmish. Can be true or false.
Line 33: Line 36:
:How often the bot will say things from chatfile or chatlump. Value can be 1 to 100.
:How often the bot will say things from chatfile or chatlump. Value can be 1 to 100.
*'''chatlump'''
*'''chatlump'''
:An alternative to chatfile, which is instead a lump inside the wad file.
:An alternative to chatfile, which is instead a lump inside the wad file.  
*'''accuracy'''
*'''accuracy'''
:How accurate the bot is with hitscan weapons. Value can be 0 to 4.
:How accurate the bot is with hitscan weapons. Value can be 0 to 4.
Line 40: Line 43:
*'''evade'''
*'''evade'''
:How well the bot can dodge projectiles. Values can be 0 to 4.
:How well the bot can dodge projectiles. Values can be 0 to 4.
*'''anticipation'''
*'''anticipation'''  
:How well the bot can anticipate shots from hitscan weapons. Value can be 0 to 4.
:How well the bot can anticipate shots from hitscan weapons. Value can be 0 to 4.
*'''reactiontime'''
*'''reactiontime'''
:How well the bot can react to what is happening (being shot at etc). Value can be 0 to 4.
: How well the bot can react to what is happening (being shot at etc). Value can be 0 to 4.
*'''perception'''
*'''perception'''
:How well the bot knows where his enemies are. Value can be 0 to 4.
: How well the bot knows where his enemies are. Value can be 0 to 4.


== Examples ==
 
==Examples==
<pre>
<pre>
{
{