Config variables - ShadowBonnieRUS/GMOD-SB_Advanced_Nextbots_Base GitHub Wiki

Here are descriptions for every configurable variable in base.

Marks help


🔹🔸 bool | NEXTBOT.SBAdvancedNextBot

Always true, can be used to check is entity SB Advanced NextBot or not.


🔹🔸 Vector | NEXTBOT.ControlCameraOffset

Offset of player view when controlling bot.


🔹🔸 Vector | NEXTBOT.ViewOffset

Bot's eye position relative bot position


🔹🔸 Vector | NEXTBOT.CrouchViewOffset

Bot's eye position relative bot position when crouching


🔹🔸 number | NEXTBOT.ViewPunchLength

Bot's view punch duration


🔹 string | NEXTBOT.Model

Default bot's model


🔹 string | NEXTBOT.DefaultWeapon

Default bot's weapon on spawn


🔹 number | NEXTBOT.SpawnHealth

Default bot's health


🔹 number | NEXTBOT.MoveSpeed

Bot's desired move speed


🔹 number | NEXTBOT.RunSpeed

Bot's desired run speed


🔹 number | NEXTBOT.WalkSpeed

Bot's desired walk speed


🔹 number | NEXTBOT.CrouchSpeed

Bot's desired crouch walk speed


🔹 number | NEXTBOT.AccelerationSpeed

Bot's acceleration speed


🔹 number | NEXTBOT.DecelerationSpeed

Bot's deceleration speed


🔹 number | NEXTBOT.AimSpeed

Bot's aiming speed, in degrees per second


🔹 table | NEXTBOT.CollisionBounds

Bot's collision bounds, first value is Vector min, second value is Vector max


🔹 table | NEXTBOT.CrouchCollisionBounds

Bot's collision bounds when crouching, first value is Vector min, second value is Vector max


🔹 bool | NEXTBOT.CanCrouch

Can bot crouch


🔹 number | NEXTBOT.StepHeight

Max height the bot can step up


🔹 number | NEXTBOT.JumpHeight

Bot's jump height


🔹 number | NEXTBOT.MaxJumpToPosHeight

Height limit for path finding. Using nodegraph for CAP_MOVE_JUMP links, too high nodes will be skipped. For navmesh, not jumping on NAV_MESH_JUMP if too high


🔹 number | NEXTBOT.DeathDropHeight

Height the bot is scared to fall from


🔹 number | NEXTBOT.DefaultGravity

Default gravity for bot


🔹 number | NEXTBOT.PathStuckJumpTime

While moving along path, bot will jump after this time if it thinks it stuck


🔹 number | NEXTBOT.SolidMask

Solid mask used for raytracing when detecting collision while moving


🔹 number | NEXTBOT.LineOfSightMask

Mask used in line of sight test trace


🔹 number | NEXTBOT.ForgetEnemyTime

Time need to forget enemy if bot doesn't see it


🔹 number | NEXTBOT.CloseEnemyDistance

Distance at which enemy should be to make bot think enemy is very close


🔹 number | NEXTBOT.MaxSeeEnemyDistance

Max distance at which bot can see enemies


🔹 number | NEXTBOT.PathMinLookAheadDistance

Default motion path minimum look ahead distance


🔹 number | NEXTBOT.PathGoalTolerance

Default motion path goal tolerance


🔹 number | NEXTBOT.PathGoalToleranceFinal

Default motion path goal tolerance on last segment


🔹 number | NEXTBOT.PathRecompute

Default motion path recompute time


⚠️🔹 ConVar | NEXTBOT.DrawPath

Draws path if valid. Used for debug


🔹 table | NEXTBOT.MotionTypeActivities

Table used to link SB_ADVANCED_NEXTBOT_MOTIONTYPE_ Motion Types to ACT_ Activities. Use format [Motion Type] = Activity.