Survivor bot: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-note)
(-actions)
Line 100: Line 100:
sb_vomit_blind_time                      : 5        : , "sv", "cheat"  : How long Boomer vomit/explosion gore blinds us
sb_vomit_blind_time                      : 5        : , "sv", "cheat"  : How long Boomer vomit/explosion gore blinds us
</source>
</source>
== Actions ==
* L4D1SurvivorBehavior
* L4D1SurvivorLegsBattleStations
* L4D1SurvivorMinigunAttack
* SurvivorUseObject
* SurvivorApproachMinigun
* SurvivorAttack
* SurvivorAttractAndGiveItem
* SurvivorAttractForItemGive
* SurvivorBehavior
* SurvivorCheckpointLeaving
* SurvivorCheckpointReached
* SurvivorCloseDoor
* SurvivorUseObject
* SurvivorDebugApproach
* SurvivorUseObject
* SurvivorDispatchEnemy
* SurvivorElevatorEnter
* SurvivorElevatorRide
* SurvivorEngageTheEnemy
* SurvivorEscapeFlames
* SurvivorEscapeLadderAmbush
* SurvivorEscapeSpit
* SurvivorFinale
* SurvivorFinaleBattle
* SurvivorFinaleEscapeToVehicle
* SurvivorFinaleInitiate
* SurvivorFinalePreparation
* SurvivorFinaleRideVehicleAway
* SurvivorGiveItem
* SurvivorUseObject
* SurvivorHealFriend
* SurvivorHealSelf
* SurvivorHelpChokingFriend
* SurvivorHelpPouncedFriend
* SurvivorLegsApproach
* SurvivorLegsApproachElevator
* SurvivorLegsBattleStations
* SurvivorLegsCoverFriendInCombat
* SurvivorLegsCoverOrphan
* SurvivorLegsEnterRescueVehicle
* SurvivorLegsMeetRescueVehicleArrival
* SurvivorLegsMoveOn
* SurvivorLegsMoveToVantagePoint
* SurvivorLegsMoveUp
* SurvivorLegsRegroup
* SurvivorLegsRetreat
* SurvivorLegsStayClose
* SurvivorLegsWait
* SurvivorLiberateBesiegedFriend
* SurvivorReactToTongueGrab
* SurvivorReactToVomitOnFriend
* SurvivorReactToVomitOnMe
* SurvivorUseObject
* SurvivorUseObject
* SurvivorTakePills
* SurvivorTankAttacking
* SurvivorUseObject
* SurvivorWitchAttacking


== See Also ==
== See Also ==
* [[NextBot]]
* [[Player/Left_4_Dead_series|player]]
* [[Player/Left_4_Dead_series|player]]
* [[spitter]]
* [[spitter]]

Revision as of 06:38, 6 August 2023

Stub

This article or section is a stub. You can help by expanding it.

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.
C++ Class hierarchy
SurvivorBot
NextBotPlayer
CTerrorPlayer
CCSPlayer
CBaseMultiplayerPlayer
CBasePlayer
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity

Template:Entity

Warning.pngWarning:Trying to spawn survivor_bot using SpawnEntityFromTable script function or by placing him directly in a map will crash the game
Icon-Important.pngImportant:Spawned survivor_bot's classname is player
Note.pngNote:survivor_bot classname in-game can be observed on removed bots added back to game with sb_add while they are in their death state before spawning

ConVars/ConCommands

sb_add                                   : cmd      : , "sv"           : Add a Survivor Bot.
sb_all_bot_game                          : 0        : , "sv", "cheat"  : Allow a server of nothing but bots
sb_allow_leading                         : 0        : , "sv", "launcher" : If nonzero, SurvivorBots can take the lead and won't always wait behind the lead human player
sb_allow_shoot_through_survivors         : 1        : , "sv", "cheat"  : Allow SurvivorBots to shoot through fellow survivors
sb_battlestation_give_up_range_from_human : 1500     : , "sv", "cheat"  : 
sb_battlestation_human_hold_time         : 4        : , "sv", "cheat"  : How long the nearest human must hold their place before SurvivorBots will re-evaluate their Battlestations
sb_close_checkpoint_door_interval        : 2        : , "sv", "cheat"  : 
sb_close_threat_range                    : 200      : , "sv", "cheat"  : 
sb_combat_saccade_speed                  : 1000     : , "sv", "cheat"  : 
sb_crouch                                : 0        : , "sv", "cheat"  : Forces survivor bots to crouch
sb_debug_apoproach_wait_time             : 5        : , "sv", "cheat"  : How long a SurvivorBot waits once it reaches its debug move-to spot
sb_debug_buddy                           : 0        : , "sv", "cheat"  : 
sb_debug_locomotion                      : 0        : , "sv", "cheat"  : 
sb_debug_retreat                         : 0        : , "sv", "cheat"  : 
sb_debug_team_avoidance                  : 0        : , "sv", "cheat"  : 
sb_dont_bash                             : 0        : , "sv", "cheat"  : Force SurvivorBots to not bash
sb_dont_shoot                            : 0        : , "sv", "cheat"  : Force SurvivorBots to not fire their weapons
sb_enforce_proximity_lookat_timeout      : 10       : , "sv", "cheat"  : 
sb_enforce_proximity_range               : 1500     : , "sv", "cheat"  : 
sb_escort                                : 0        : , "sv", "cheat"  : 
sb_far_hearing_range                     : 1500     : , "sv", "cheat"  : 
sb_firstopentime                         : 0        : , "launcher"     : Indicates the time the server browser was first opened.
sb_flashlight                            : 0        : , "sv", "cheat"  : Forces survivor bots to use flashlights (-1 to force off)
sb_follow_stress_factor                  : 0.5      : , "sv", "cheat"  : 
sb_force_max_intensity                   : cmd      : , "sv", "cheat"  : Force intensity of selected SurvivorBot to maximum level.
sb_friend_immobilized_reaction_time_expert : 0.5      : , "sv", "cheat"  : How quickly a SurvivorBot realizes a friend has been Pounced or Tongued
sb_friend_immobilized_reaction_time_hard : 1.0      : , "sv", "cheat"  : How quickly a SurvivorBot realizes a friend has been Pounced or Tongued
sb_friend_immobilized_reaction_time_normal : 2.0      : , "sv", "cheat"  : How quickly a SurvivorBot realizes a friend has been Pounced or Tongued
sb_friend_immobilized_reaction_time_vs   : 0.5      : , "sv", "cheat"  : How quickly a SurvivorBot realizes a friend has been Pounced or Tongued
sb_friendlyfire                          : 0        : , "sv", "cheat"  : **Should SurvivorBot bullets hurt other survivors?
sb_give                                  : cmd      : , "sv", "cheat"  : Give an item to each Survivor bot
sb_give_random_weapon                    : cmd      : , "sv", "cheat"  : Give a random weapon to each Survivor bot
sb_hindrance_range                       : 150      : , "sv", "cheat"  : 
sb_hold_position                         : 0        : , "sv", "cheat"  : Force SurvivorBots to stand still
sb_l4d1_survivor_behavior                : 1        : , "sv", "cheat"  : 
sb_locomotion_wait_threshold             : 10       : , "sv", "cheat"  : 
sb_max_battlestation_range_from_human    : 750      : , "sv", "cheat"  : 
sb_max_scavenge_separation               : 750      : , "sv", "cheat"  : SurvivorBots won't scavenge items farther away from the group than this
sb_max_team_melee_weapons                : 0        : , "sv", "cheat"  : The total number of melee weapons allowed on the team. 0 = bots never use melee
sb_melee_approach_victim                 : 0        : , "sv", "launcher" : 
sb_min_attention_notice_time             : 0.5      : , "sv", "cheat"  : If someone looks at me longer than this, I'll notice
sb_min_orphan_time_to_cover              : 1        : , "sv", "cheat"  : 
sb_minigun_distance                      : 30.0     : , "cheat", "rep", "cl" : 
sb_move                                  : 1        : , "sv", "cheat"  : Stop all SurvivorBots from moving
sb_move_to_cursor                        : cmd      : , "sv"           : Sends survivor bots to cursor target
sb_narrow_corridor_width                 : 100      : , "sv", "cheat"  : 
sb_near_hearing_range                    : 500      : , "sv", "cheat"  : 
sb_neighbor_range                        : 300      : , "sv", "cheat"  : How close a friend needs to be to feel safe
sb_normal_saccade_speed                  : 350      : , "sv", "cheat"  : 
sb_numtimesopened                        : 0        : , "launcher"     : Indicates the number of times the server browser was opened this session.
sb_open_fire                             : 0        : , "sv", "cheat"  : Forces survivor bots to fire continuously
sb_path_lookahead_range                  : 200      : , "sv", "cheat"  : 
sb_perf_collect                          : 1        : , "cl", "launcher" : Collect perf for Steam stats
sb_perf_crawl                            : 0        : , "cheat", "rep", "cl" : If true, survivor bot will be doing a perf-crawl walk through the map
sb_perf_crawl_ang                        : 5        : , "sv", "cheat"  : Rotation angles at perf-crawl snapshots in the map
sb_perf_crawl_dist                       : 128      : , "sv", "cheat"  : Distance between perf-crawl snapshots in the map
sb_perf_crawl_time                       : 1.0      : , "sv", "cheat"  : How much time is spent at each perf-crawl spot/ang in the map
sb_perf_dump                             : 0        : , "cheat", "rep", "cl" : If true, low perf places will be dumped
sb_perf_dump_bots                        :          : , "cheat", "rep", "cl" : Which bots to use for dumping: namvet, girl, biker, manager
sb_perf_dump_low                         : 40       : , "cl", "launcher" : Low perf threshold
sb_perf_dump_low_dist                    : 64       : , "cl", "launcher" : Dump low perf points at least this distance apart
sb_pushscale                             : 1.0      : , "cheat", "rep", "cl" : 
sb_reachability_cache_lifetime           : 3        : , "sv", "cheat"  : 
sb_reachable_cache_paranoia              : 0        : , "sv", "launcher" : 
sb_replacement_interval                  : 0        : , "sv", "cheat"  : Force SurvivorBots to be replaced after this many seconds for stress testing
sb_rescue_vehicle_loading_range          : 300      : , "sv", "cheat"  : How close to the arrival point of the rescue vehicle SurvivorBots try to get
sb_revive_friend_distance                : 125.0    : , "sv", "cheat"  : 
sb_separation_danger_max_range           : 600      : , "sv", "cheat"  : A Survivor teammate this far away needs to be gathered back into the group
sb_separation_danger_min_range           : 200      : , "sv", "cheat"  : A Survivor teammate this far away is straying from the group
sb_separation_range                      : 200      : , "sv", "cheat"  : Desired distance between Survivors
sb_show_threat_areas                     : 0        : , "sv", "cheat"  : 
sb_sidestep_for_horde                    : 0        : , "sv", "cheat"  : Allow sidestepping left/right to acquire common infected targets
sb_skill                                 : survivor : , "sv", "launcher" : 
sb_stop                                  : 0        : , "sv", "cheat"  : Forces survivor bots to stand still
sb_takecontrol                           : cmd      : , "sv", "cheat"  : Take control of a bot.
sb_temp_health_consider_factor           : 0.5      : , "sv", "launcher" : Temporary health is multiplied by this when SurvivorBots consider who needs healing
sb_threat_close_range                    : 150      : , "sv", "cheat"  : Very close range for threats
sb_threat_exposure_stop                  : 200000   : , "sv", "cheat"  : 
sb_threat_exposure_walk                  : 50000    : , "sv", "cheat"  : 
sb_threat_far_range                      : 600      : , "sv", "cheat"  : Close enough to be a threat if near several other threats
sb_threat_medium_range                   : 300      : , "sv", "cheat"  : Too close for comfort, even when neutral
sb_threat_very_close_range               : 150      : , "sv", "cheat"  : 
sb_threat_very_far_range                 : 1500     : , "sv", "cheat"  : Too far to be a threat, even for boss infected
sb_toughness_buffer                      : 15       : , "sv", "launcher" : How much more SurvivorBots must be hurt to conider themselves equally valid as a healing target
sb_transition                            : 1        : , "sv", "launcher" : If true, survivor bots will be used as placeholders for survivors who are still changing levels
sb_unstick                               : 1        : , "sv", "cheat"  : 
sb_use_button_range                      : 1000     : , "sv", "cheat"  : 
sb_use_upgrades                          : 1        : , "sv", "cheat"  : 
sb_vomit_blind_time                      : 5        : , "sv", "cheat"  : How long Boomer vomit/explosion gore blinds us

Actions

  • L4D1SurvivorBehavior
  • L4D1SurvivorLegsBattleStations
  • L4D1SurvivorMinigunAttack
  • SurvivorUseObject
  • SurvivorApproachMinigun
  • SurvivorAttack
  • SurvivorAttractAndGiveItem
  • SurvivorAttractForItemGive
  • SurvivorBehavior
  • SurvivorCheckpointLeaving
  • SurvivorCheckpointReached
  • SurvivorCloseDoor
  • SurvivorUseObject
  • SurvivorDebugApproach
  • SurvivorUseObject
  • SurvivorDispatchEnemy
  • SurvivorElevatorEnter
  • SurvivorElevatorRide
  • SurvivorEngageTheEnemy
  • SurvivorEscapeFlames
  • SurvivorEscapeLadderAmbush
  • SurvivorEscapeSpit
  • SurvivorFinale
  • SurvivorFinaleBattle
  • SurvivorFinaleEscapeToVehicle
  • SurvivorFinaleInitiate
  • SurvivorFinalePreparation
  • SurvivorFinaleRideVehicleAway
  • SurvivorGiveItem
  • SurvivorUseObject
  • SurvivorHealFriend
  • SurvivorHealSelf
  • SurvivorHelpChokingFriend
  • SurvivorHelpPouncedFriend
  • SurvivorLegsApproach
  • SurvivorLegsApproachElevator
  • SurvivorLegsBattleStations
  • SurvivorLegsCoverFriendInCombat
  • SurvivorLegsCoverOrphan
  • SurvivorLegsEnterRescueVehicle
  • SurvivorLegsMeetRescueVehicleArrival
  • SurvivorLegsMoveOn
  • SurvivorLegsMoveToVantagePoint
  • SurvivorLegsMoveUp
  • SurvivorLegsRegroup
  • SurvivorLegsRetreat
  • SurvivorLegsStayClose
  • SurvivorLegsWait
  • SurvivorLiberateBesiegedFriend
  • SurvivorReactToTongueGrab
  • SurvivorReactToVomitOnFriend
  • SurvivorReactToVomitOnMe
  • SurvivorUseObject
  • SurvivorUseObject
  • SurvivorTakePills
  • SurvivorTankAttacking
  • SurvivorUseObject
  • SurvivorWitchAttacking

See Also