Garry's Mod

Garry's Mod

77 ratings
[TTT|2] Batarang [WEAPON]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Comic, Fun
File Size
Posted
Updated
834.198 KB
16 Mar, 2020 @ 2:18pm
5 Jan @ 10:48am
18 Change Notes ( view )

Subscribe to download
[TTT|2] Batarang [WEAPON]

In 1 collection by mexikoedi
Eskalation Pur Server Addons for TTT2 [STANDARD]
161 items
Description
What is this?

If you know Batman then you know what this is. These are Batarangs that can be thrown at the enemy. They are not only cool, they are also deadly if you hit the target.

Everything is configurable with ConVars. So you can for example deactivate the sounds if they are disturbing or change other settings.
A round restart or map reload/change is required to apply ConVar changes.

Requirements

This works ONLY in TTT/TTT2.

You can use ULX & ULib to change ConVars more easily.

Who can use it?

It's a weapon that is available for one credit for the detective. (You can change that in the F1 menu.)

ULX ConVars

Name
Description
ttt_batarang_primary_sound (Def. 1)
Sound of the primary attack
ttt_batarang_hit_sound (Def. 1)
Sound of the hit
ttt_batarang_automaticFire (Def. 0)
Enable automatic fire
ttt_batarang_damage (Def. 150)
Damage dealt on impact
ttt_batarang_ammo (Def. 3)
Default ammo the batarang has when bought
ttt_batarang_clipSize (Def. 3)
Clipsize of the batarang
ttt_batarang_rps (Def. 0.4)
Shots per second

Can I change the sound?

Yes you can. Extract the addon and delete the sound files which you don't like and add your sound files.
Don't forget to modify the code for the new sound files.
The primary attack sound files are located at: "ttt_ttt2_batarang\sound" under the names "hit1.wav", "hit2.wav", "hit3.wav", "throw1.wav", "throw2.wav", "throw3.wav" and "throw4.wav".
If you don't know how to extract an addon: How to extract GMA files

Can I change other settings?

You can change anything you want after you extracted the addon. After you finished just save and put the whole folder on your server (into the addons folder).

Can I contribute to this addon?

Of course. Thank you very much. Here you go: Source [github.com]

Bugs
  • Invisible if you drop it on the ground (only on some textures)
  • Nothing ...

Credits

76561198043640068
(Based on his "Batarang SWEP" addon: Here )

Thanks to

demarvLP/TTV - For the video and for the beautiful ingame/workshop icons.

Additional information

If you have any suggestions for improvements, just write them here in the comments. You can also post any ideas or feedback for my future workshop items.

Thanks for using the "Batarang" addon.
13 Comments
mexikoedi  [author] 30 Jan @ 3:00am 
@Monke soldier
There is a Sandbox version.
See in the description under credits.
I don't plan to make a version for a different gamemode.
Greg 30 Jan @ 2:52am 
can you make one not for ttt
Ted Lasso 12 Dec, 2021 @ 4:54am 
nice i like the sound effects:steamthumbsup:
mexikoedi  [author] 25 Dec, 2020 @ 4:14am 
My Website [mexikoedi.github.io]
Wyatt 11 Aug, 2020 @ 8:27am 
thanks (sorry)
mexikoedi  [author] 11 Aug, 2020 @ 8:26am 
It is already available for Sandbox. Look in the credits.
Wyatt 11 Aug, 2020 @ 8:24am 
can you make it for sandbox too?
mexikoedi  [author] 4 Jun, 2020 @ 11:31am 
Weird. I tested it and it works for me fine in ttt. I can buy it... . I updated the addon. Try if it works now.
Brushfire 3 Jun, 2020 @ 2:57pm 
I can't seem to buy this on TTT because it says slot 1 (Crowbar) is already in use?
Slifer808 22 Mar, 2020 @ 12:20pm 
Kannst ruhig Batman sein. Flash ist eh besser:steamhappy: