Garry's Mod

Garry's Mod

296 평점
TTT Turret with anti-tester feature
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
Content Type: Addon
Addon Type: Weapon
파일 크기
게시일
업데이트일
44.909 KB
2014년 3월 2일 오전 9시 31분
2018년 9월 9일 오전 9시 50분
변경 사항 20개 ( 보기 )

다운로드 위해 구독하기
TTT Turret with anti-tester feature

Cédric GÉRILLE [GiletJaune]님의 1 모음집
The TTT by Mohamed Rachid
아이템 39개
설명
Turret for the TTT, traitor weapon with anti-tester feature
It is fully compatible with Sandbox and the DarkRP as well.

This turret can be used by traitors to kill innocents easily.
It works in the Sandbox too.
It is now compatible with the TTT_Spectator_Deathmatch[github.com].

[curse.com]

Anti-tester:
When traitors are shot, they do not receive damages. But for innocents not to know they have not been harmed, other players see a fake health level when aiming at traitor victims (<real health> - <damages not received>).

Distance:
The maximum distance to spawn the turret is 100 from the player who got it.

Safe placement:
It can only be placed on the world itself, not on entities.

Damages:
The turret harms the player with about 6HP per shot.

Health:
The turret initially has 500HP.

Configuration
You do not need to reload the map after modifying these console variables.
  • ttt_turret_health = 500
  • ttt_turret_dmg_scale = 2

Notes
1- If you have an addon that adds a hook to "ScaleNPCDamage" or "EntityTakeDamage" that returns a value, then you may have problems because of the execution order of hooks. In most cases of problems, the damage system of the turret will be ignored. "ScaleNPCDamage" scales the received damages and makes the turret destroyable. "EntityTakeDamage" scales the damages inflicted to players: it multiplies by 2 the default turret damages and it handles traitors' fake damages.
댓글 48
MähnGiL 2022년 9월 15일 오전 2시 11분 
i got it but stil this is good stuff thx
Cédric GÉRILLE [GiletJaune]  [작성자] 2022년 9월 14일 오후 11시 58분 
I don't have time nor courage to add an event for that. I am sorry.
MähnGiL 2022년 9월 11일 오전 11시 02분 
Because I think the traitor is too advantageous.
Cédric GÉRILLE [GiletJaune]  [작성자] 2022년 9월 11일 오전 10시 42분 
Unfortunately that is out of the plan. Besides, why would you need that??
MähnGiL 2022년 9월 11일 오전 2시 59분 
sir, its really nice!
and can i know how to set traitor can receive real damage from turret
Cédric GÉRILLE [GiletJaune]  [작성자] 2020년 1월 1일 오전 4시 59분 
According to https://developer.valvesoftware.com/wiki/Npc_turret_floor it does not seem to be possible with a setting.
You can reduce the detection distance by making the NPC unable to see the player, but you cannot extend it. I suggest checking out https://wiki.garrysmod.com/page/Category:NPC
quickmonkeySC 2020년 1월 1일 오전 4시 47분 
how to modify the engagement distance? like how do i change how close players have to be so the turret start shooting?
Cédric GÉRILLE [GiletJaune]  [작성자] 2018년 9월 9일 오전 9시 54분 
Done. Check the addon's description and the changelog. :steamhappy:
< blank > 2018년 9월 9일 오전 8시 35분 
I'd like to be able to up the damage slightly. If it's not too much trouble can you make it configurable? If not, don't sweat it.
Cédric GÉRILLE [GiletJaune]  [작성자] 2018년 9월 9일 오전 1시 59분 
- Garry's Mod includes Half-Life 2 content so there is no dependance.
- I have not made damages configurable. Is it something that you need?