Garry's Mod

Garry's Mod

Not enough ratings
[TTT/2] Lightning Caller [ITEM]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Comic, Fun
File Size
Posted
Updated
1.687 MB
24 Oct, 2023 @ 3:53pm
5 Nov, 2023 @ 12:58am
5 Change Notes ( view )

Subscribe to download
[TTT/2] Lightning Caller [ITEM]

In 1 collection by dhkatz
[TTT] Chromozone T/D Items
50 items
Description
NOTICE: This Addon only works for the "Trouble in Terrorist Town" and "TTT2" gamemodes.

Features
This is a more configurable version of the Lightning Caller addon by splet.

The damage and effects have been lowered to try and be a bit more balanced and performant in TTT.

This version allows you configure almost everything, from lightning delay, range, damage, and cooldown. See the ConVars below for more information.

This equipment is available for the Traitors in the Equipment menu.

Allows you to smite your foes (and insult them).

Includes an individual shop icon.

Compatibility
There should be no issues with other addons. This is compatible with both TTT and TTT2.

ConVars
- ttt_smite_time (def: 1.68) - Delay in seconds from starting to smite to the actual smite.
- ttt_smite_damage (def: 150) - Damage of the smite.
- ttt_smite_range (def: 4096) - Range of the smite in units.
- ttt_smite_radius (def: 128) - Radius of the smite in units.
- ttt_smite_sparks_victim (def: 1) - Should the victim emit sparks when they are a potential smite target?
- ttt_smite_sparks_self (def: 1) - Should the owner emit sparks when they holding the Lightning Caller?
- ttt_smite_cooldown (def: 10) - Cooldown of the smite in seconds.
- ttt_smite_ammo (def: 2) - Amount of smites the Lightning Caller can hold.
- ttt_smite_status (def: 0) - Should the smite status be shown to the potential victim?
- ttt_smite_speech (def: 1) - Should the smite speech be played?

Note: After changing these values you may have to restart your map/server.

Server Infos
Add it to your server by following this guide: http://wiki.garrysmod.com/page/Server/Workshop
You can add "ttt_smite_weapon_name" and "ttt_smite_weapon_desc" to your translation file, to translate this addon.

Source
The whole source code can be found on GitHub[github.com], feel free to contribute. The original addon was taken from here (but modified extensively!). I agree to remove this item if the Author or Valve wishes to.

Thanks for reading, enjoy and have fun!

7 Comments
Sgt. Sex 9 Aug @ 6:01pm 
fascist gaming
Thephillips2020 21 Mar, 2024 @ 4:39pm 
Why is it Oswald Mosley?
dhkatz  [author] 29 Feb, 2024 @ 11:29am 
I can take a look at that later
Yoshika 29 Feb, 2024 @ 11:22am 
Getting this error when firing it, is there a fix by chance?
------------
Trying to remove server entity weapon_ttt_smite#45 on client!

SafeRemoveEntity - lua/includes/util.lua:242
unknown - lua/includes/util.lua:253
бабиджон 13 Feb, 2024 @ 8:13am 
Oswald Mosley Gaming
navy 16 Nov, 2023 @ 3:21am 
Oh god that symbol is very bad in England
dhkatz  [author] 5 Nov, 2023 @ 1:11am 
Fixed translations so they display properly.

If you would like to help add translations, please see the Github repo.