[TTT2] Bodyguard [ROLE]
Изображение 1 из 4. Материалы автора из Steam Workshop.
О материале
«[TTT2] Bodyguard [ROLE]» — материал мастерской Garry’s Mod. Аддоны, карты, персонажи и инструменты для песочницы. Для установки откройте оригинал в Steam Workshop, проверьте требования автора и подпишитесь. Совместимость с версией игры редакцией не проверена.
Описание автора
By using his bare muscles, and the help of some bullets, he needs to protect the Person he got paid from.
You have to use TTT2 in order to use this role. Additionally using ULX for TTT2 is recommended. Report bugs concerning this role here and submit new role ideas here. A list of all currently available roles can be found here.
Discord: https://discord.gg/9njYXGY Source: https://github.com/TheNickSkater/ttt2-bodyguard
The BodyGuard is a special case. Once he Spawns, he will get a random Player dedicated for him to protect and is also in the same Team as this Player. He will get a message which also reveals the Role of the Player he needs to protect. BUT, the BodyGuard will NOT see the other Players in the Team he is (so as Traitor he will not see other Traitors). Also the Player he needs to protect will get a message that a Player is his BodyGuard. Goal is to protect the Player you are dedicated to.
If the Player you need to protect dies, you will get some damage (or die depending on the Convar settings below) and you will also get a new Player to protect.
If you damage the Person you should protect, he will get less damage and you will get much damage back (Depending on the convar settings below). If you somehow manage to kill the Person you need to protect, you will also die (Depending on the convar settings below).
Plays best with:
-
Jackal
-
Pirate
-
And probably all other Roles
Convars are variables that are introduced to allow server owners to customize the gameplay without changing the code. There are always a handful of convars automatically created by TTT2, that define the spawn parameters of this role and are found in ULX. Additionally there might be some role specific convars, which have to be set in the server config file.
Normal Role Convars (also found in ULX):
# enable or disable this role
ttt_bodyguard_enabled [0/1] (default: 1)
# the percentage of players that are spawned as this role
ttt_bodyguard_pct [0.0..1.0] (default: 0.13)
# the limit of players that spawn as this role each round, this overwrites the percentage
ttt_bodyguard_max [0..n] (default: 1)
# the probability each round of this role being spawned at all
ttt_bodyguard_random [0..100] (default: 20)
# the amount of players needed for this role to spawn
ttt_bodyguard_min_players: [0..n] (default: 8)
Rolespecific Convars:
# the damage a bodyguard will get if the person he needs to protect dies
ttt_bodygrd_damage_guarded_death [0..n] (def: 20)
# defines if the bodyguard should be killed if he manages to kill the person he needs to protect
ttt_bodygrd_kill_guard_teamkill [0/1] (def: 1)
# the multiplier of damage that gets reflected to the bodyguard if damaging the person he needs to protect
ttt_bodygrd_damage_reflect_multiplier [0..n] (def: 1.5)
# the multiplier of damage that the person will get if damaged by his bodyguard
ttt_bodygrd_damage_dealt_multiplier [0..n] (def: 0.1)
--
Credits:
Alf21: creator of TTT2 Mineotopia: designer of the WS icon and probably most TTT2 designs
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.