Garry's Mod

Garry's Mod

Not enough ratings
[TTT2] Ghost Attack [WEAPON]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun, Realism
File Size
Posted
Updated
9.667 MB
12 May, 2021 @ 3:05am
10 Sep @ 2:53pm
17 Change Notes ( view )

Subscribe to download
[TTT2] Ghost Attack [WEAPON]

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

This is a weapon that summons ghosts which will disturb the sights of your enemies if you do primary attack.
Secondary attack plays a random ghost sound from three looped sounds which will be audible for everyone near the owner in case you want to surprise someone. (You can switch to another weapon to stop the sound.)
The summoning sound is also for everyone near the owner audible.

The ghosts will disturb the sight for everyone for 15 seconds except for the owner and his team.
Two popups are also included which will inform the victims that the witching hour started and that the witching hour is over.
Both popups come with an individual sound, which will be heard for the victims and everyone near them.
The shoot animation and the bullet holes are only visible for the owner.

Primary attack sound is "Geist ich rufe dich." (English translation: "Ghost I call you.") and the arrival sound is "Geisterstunde!" (English translation: "Witching hour!").

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 TTT2.
TTT2 should appear on the right or if you try to download this addon it should appear for you too.

Who can use it?

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

F1 ConVars

Name
Description
ttt2_ghost_attack_primary_sound (Def. 1)
Sound of the primary attack
ttt2_ghost_attack_secondary_sound (Def. 1)
Sound of the secondary attack
ttt2_ghost_attack_arrival_sound (Def. 1)
Sound of the ghost arrival
ttt2_ghost_attack_departure_sound (Def. 1)
Sound of the ghost departure
ttt2_ghost_attack_arrival_popup (Def. 1)
Popup because of the ghost arrival
ttt2_ghost_attack_arrival_popup_duration (Def. 5)
Popup duration of the arrival popup
ttt2_ghost_attack_departure_popup (Def. 1)
Popup because of the ghost departure
ttt2_ghost_attack_departure_popup_duration (Def. 5)
Popup duration of the departure popup
ttt2_ghost_attack_ghosts_duration (Def. 15)
Ghost attack duration

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 file is located at: "ttt2_ghost_attack\sound" under the name "ghost_attack1.wav".
The secondary attack sound files are located at: "ttt2_ghost_attack\sound\secondary_ghost_attack" under the names "ghost_attack2.1.wav", "ghost_attack2.2.wav" and "ghost_attack2.3.wav".
The arrival sound file is located at: "ttt2_ghost_attack\sound" under the name "ghost_attack3.wav".
The departure sound file is located at: "ttt2_ghost_attack\sound" under the name "ghost_attack4.wav".
Important: You need .wav sound files and these sound files must be loopable. Only the primary attack, arrival and departure sound files are an exception.
If you don't know how to extract an addon: How to extract GMA files
If you don't know how to create loopable sound: How to create loopable sounds [wiki.facepunch.com]

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/translate to this addon?

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

Bugs
  • Nothing ...

Thanks to

Slifer808 - For the addon idea.
demarvLP/TTV - For the video and for the beautiful ingame/workshop icons.
berry - For his Russian translations.

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 "Ghost Attack" addon.
2 Comments
Slifer808 12 May, 2021 @ 6:11am 
So ein geistreiches Produkt
mexikoedi  [author] 12 May, 2021 @ 3:48am 
My Website [mexikoedi.github.io]