Ragebot
IgnoreTargetHitbox
Ragebot.IgnoreTargetHitbox( entity, hitbox )
[EN] Forces ragebot to ignore specific entity hitbox. [RU] Заставляет ragebot игнорировать хитбокс.
Ragebot.IgnoreTargetHitbox( entity, hitbox )
GetTargetHitchance
[EN] Used to get hitchance for current target. [RU] Используется для получения вероятности попадания по текущей цели.
Ragebot.GetTargetHitchance( )
GetTarget
Ragebot.GetTargets( )
[EN] Used to get hittable ragebot targets. [RU] Используется для получения поражаемых целей ragebot.
function cm()
{
targets = Ragebot.GetTargets();
if (targets != "")
{
for (i=0; i < targets.length; i++)
{
Entity.DrawFlag(targets[i], "HITTABLE", [0,255,255,255])
}
}
}
Cheat.RegisterCallback("CreateMove", "cm")
IgnoreTarget
Ragebot.IgnoreTarget( entity_index )
[EN] Ignores a target for 1 tick [RU] Игнорирует цель на 1 тик
var target = 0
function cm()
{
target = Ragebot.GetTarget()
if (Entity.GetName(target) == "llama")
{
Ragebot.IgnoreTarget(target)
}
}
Cheat.RegisterCallback("CreateMove", "cm")
[EN] This example will force ragebot to ignore target player with name "llama" if possible. You can change the name in code and use this as a whitelist for your friends on HVH servers. [RU] Этот пример заставит ragebot игнорировать целевого игрока с именем «лама», если это возможно. Вы можете изменить имя в коде и использовать его как белый список для своих друзей на серверах HVH.
ForceHitboxSafety
Ragebot.ForceHitboxSafety( hitbox_index )
[EN] Forces safety on a specific hitbox. [RU] Обеспечивает безопасность для определенного хитбокса.
Hitboxes:
0 = head ( 4x damage )
1 = neck ( legacy in CSGO, does not actually register damage )
2 = pelvis ( 1.25x damage )
3 = body ( 1.25x damage )
4 = thorax
5 = chest
6 = upper chest
7 = left thigh
8 = right thigh
9 = left calf
10 = right calf
11 = left foot
12 = right foot
var target = 0
function cm()
{
target = Ragebot.GetTarget()
if (GetVelocity(target) <= 90)
{
Ragebot.ForceHitboxSafety(0)
}
}
function GetVelocity(index) {
var velocity = Entity.GetProp(index, "CBasePlayer", "m_vecVelocity[0]");
return Math.sqrt(velocity[0] * velocity[0] + velocity[1] * velocity[1]);
}
Cheat.RegisterCallback("CreateMove", "cm")
[EN] This example will force ragebot to target only safe point of the hitbox if target velocity is less or equal to 90. Note: ForceHitboxSafety is only active for 1 tick and must be called on CreateMove callback. [RU] В этом примере ragebot будет нацеливаться только на безопасную точку хитбокса, если целевая скорость меньше или равна 90. Примечание: ForceHitboxSafety активен только для 1 тика и должен вызываться при обратном вызове CreateMove.
ForceTargetMinimumDamage
Ragebot.ForceTargetMinimumDamage(entity_index, value)
[EN] Overrides minimum damage on a specific target [RU] Отменяет минимальный урон по конкретной цели
var target = 0
function cm()
{
target = Ragebot.GetTarget()
if (GetVelocity(target) <= 90)
{
Ragebot.ForceTargetMinimumDamage(target, 80)
}
}
function GetVelocity(index) {
var velocity = Entity.GetProp(index, "CBasePlayer", "m_vecVelocity[0]");
return Math.sqrt(velocity[0] * velocity[0] + velocity[1] * velocity[1]);
}
Cheat.RegisterCallback("CreateMove", "cm")
[EN] This example will force ragebot's minimum damage to 80 if target velocity is less or equal to 90. Note: ForceTargetMinimumDamage is only active for 1 tick and must be called on CreateMove callback. [RU] В этом примере минимальный урон ragebot будет равен 80, если целевая скорость меньше или равна 90. Примечание: ForceTargetMinimumDamage активен только в течение 1 тика и должен вызываться при обратном вызове CreateMove.
ForceTargetHitchance
Ragebot.ForceTargetHitchance( entity_index, value)
[EN] Overrides hitchance on a specific target [RU] Отменяет шанс попадания по определенной цели
var target = 0
function cm()
{
target = Ragebot.GetTarget()
if (GetVelocity(target) <= 90)
{
Ragebot.ForceTargetHitchance(target, 80)
}
}
function GetVelocity(index) {
var velocity = Entity.GetProp(index, "CBasePlayer", "m_vecVelocity[0]");
return Math.sqrt(velocity[0] * velocity[0] + velocity[1] * velocity[1]);
}
Cheat.RegisterCallback("CreateMove", "cm")
ForceTargetSafety|
Ragebot.ForceTargetSafety(entity_index)
[EN] Forces safety on a specific target. [RU] Обеспечивает безопасность конкретной цели.
var target = 0
function cm()
{
target = Ragebot.GetTarget()
if (Entity.GetName(target) == "edeen")
{
Ragebot.ForceTargetSafety(target)
}
}
Cheat.RegisterCallback("CreateMove", "cm")
[EN] This example will force ragebot safety on target if the target's name is "edeen". Note: ForceTargetSafety is only active for 1 tick and must be called on CreateMove callback. [RU] Этот пример заставит ragebot безопасно атаковать цель, если имя цели "edeen". Примечание. ForceTargetSafety активен только в течение 1 тика и должен вызываться при обратном вызове CreateMove.
ForceTarget
Ragebot.ForceTarget(entity_index)
[EN] Forces the rage-bot to target a specific entity. [RU] Заставляет рейджбот фокусироваться на определенном игроке/области.
function cm()
{
players = Entity.GetEnemies()
for (i=0; i < players.length; i++)
{
name = Entity.GetName(players[i])
if(Entity.IsValid(players[i]) && Entity.IsAlive(players[i]) && name == "edeen")
{
var edeensIndex = players[i]
Ragebot.ForceTarget(edeensIndex)
}
}
}
Cheat.RegisterCallback("CreateMove", "cm")
GetTarget
Ragebot.GetTarget()
[EN] Used to get ragebot target. [RU] Используется для получения цели ragebot.
Ragebot.GetTarget()
Last updated
Was this helpful?