Garry's Mod

Garry's Mod

Not enough ratings
TTT - Löwenzahn
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Fun
File Size
Posted
Updated
9.920 MB
26 Dec, 2023 @ 4:06pm
19 Jan, 2024 @ 9:05am
5 Change Notes ( view )

Subscribe to download
TTT - Löwenzahn

In 2 collections by Ciel シエル
Trouble in Terrorist Town
135 items
Anakin - Start Panakin - I don't have a Planakin
11 items
Description
This addon is mostly aimed at those who would love to bring a bit of German TV nostalgia to TTT! Traitors can now buy a Löwenzahn seed in the traitor shop - planting it will cause it to grow over several minutes. Once it's grown enough, it will start damaging anybody who dares step to close to it which makes it quite useful to zone innocents and prevent a body from ever being found. There is also a chance that at some point during its growth Peter himself will make a grandiose appearance, sing one of a few little songs and then leave with a bang!

Enjoy!




Usage

  1. Buy the item in the Traitor shop.
  2. While having the item equipped, left click onto the ground anywhere to place a Löwenzahn seed.
  3. Profit.




Configuration

If you would like to, you can adjust the addon's behaviour to your needs using the following CVars. Simply add them to your server.cfg configuration file:

  • ttt_loewenzahn_peter_spawn_chance : Change how likely it is for Peter to make an appearance. 0.0 will disable him entirely, 1.0 will have him appear on every Löwenzahn. Default is 0.5.
  • ttt_loewenzahn_limited_stock : Set to 0 to allow the Löwenzahn to be bough more than once per round per traitor (default). Set to 1 to make it limited stock.
  • ttt_loewenzahn_explode_immediately : Set to 1 to trigger the explosion immediately when Peter spawns. Set to 0 to trigger it after he is done talking. Previously, a bug specific to Linux dedicated server would cause behaviour as if this variable was set to 1. Default depends on platform to mimic previous behaviour: 1 on Linux, 0 anywhere else.

Example

server.cfg
// TTT_Loewenzahn ttt_loewenzahn_peter_spawn_chance 0.5 ttt_loewenzahn_limited_stock 1




CHANGELOG

01/19/2024 Peter Voice Line Bugfix
  • Fixed bug which would cause Peter's voice lines to have length of 0s on Linux dedicated servers which would trigger the explosion immediately when Peter spawned and also overlay it with the theme song.
  • To allow for consistent behaviour, a new CVar "ttt_loewenzahn_explode_immediately" was introduced which allows control over when the explosion will take place.

01/04/2024 CVar configuration
  • Added two CVars "ttt_loewenzahn_peter_spawn_chance" and "ttt_loewenzahn_limited_stock". See above for details.

01/03/2024 Balancing changes
  • Nerfed damage significantly. Stepping close to the Löwenzahn will no longer immediately kill a player but will instead damage them continuously at lower intensity. This way, it takes around 1.5 seconds to die while within the Löwenzahn's range giving players enough time to move away to avoid further damage. Since they cannot regularly move past the Löwenzahn without dying this does not negatively impact the item's ability to zone players.
  • Fixed rendering issue. Prevously, the Löwenzahn would disappear if you did not have a clear line of sight to its spawn location. This is now fixed and the Löwenzahn will now be visible even when partially occluded.
  • Added despawn. After about 2 minutes the Löwenzahn will now despawn. Since it cannot be damaged to make it useful for zoning there were instances in which Traitors could make it impossible for themselves to reach remaining Innocents. By adding a time limit on this item this can be prevented when used properly.

12/27/2023 Initial release
10 Comments
Kreddel 16 Jul, 2024 @ 3:30pm 
I don't know for sure. It's hosted by Nitrado and I'm 90% sure it's Linux. I was testing the addon about two weeks ago.
Ciel シエル  [author] 16 Jul, 2024 @ 2:10pm 
Hey Kreddel, thank you for your message! Could you tell me what OS your server is running on? There were issues with the music on Linux in a previous version but those have since been fixed.

As for the ConVars: I could look into making those values configurable at some point.
Kreddel 16 Jul, 2024 @ 2:05pm 
I don't know if it's a common issue, but for me the music never stops. It still plays in the round after and is only stopped by changing maps or using stopsound.

Also, it would be nice to have ConVars to adjust the damage and range of the area damage and also the despawn time. :gumsmile:
Galsaurus 4 Jan, 2024 @ 9:21am 
Thanks will do :steamthis: :CoreKeeper_Gold_Bar:
Ciel シエル  [author] 3 Jan, 2024 @ 7:48pm 
Alright, as per your suggestion I added two CVars which you can change by specifying their values in your server.cfg file (see addon description for details). If you set ttt_loewenzahn_limited_stock to 1 it can only be bought once per round per traitor :D

When you and your friends had a chance to play, I'd appreciate it if you could give the addon a rating ^^
Galsaurus 3 Jan, 2024 @ 4:40pm 
i tested it with a friend the change are really good the only thing we found is that you can buy it more than once per round if you can change that to just once that would be great
Ciel シエル  [author] 3 Jan, 2024 @ 1:44pm 
The item's damage has been adjusted, the rendering issue has been fixed and I added a time limit to this item (see Changelog in the item description). Please let me know if you have further suggestions :2016villain:
Galsaurus 3 Jan, 2024 @ 6:26am 
Thank you :steamthumbsup:
Ciel シエル  [author] 2 Jan, 2024 @ 11:45pm 
Hi Galsaurus!

Thank you for your comment - I've only today had the chance to playtest the addon in a real setting and I totally agree, the damage must be nerfed. I'll post a new version either today or tomorrow which will see the damage reduced to give players a chance to retreat in time. While 3d modeling is beyond my capabilities, I have found a way to make the sprite appear at any angle, so that will also be fixed.

I'll post here again once the fixed version is published.
Galsaurus 2 Jan, 2024 @ 7:04pm 
Hi,
i like this addon but me and my play groupe have some problems with it.
The damage is too high it kills the player too fast defeating the purpose from locking something away behind it when grow tall. Also it would be nice if you can see it from any point of view because sometimes you cant even see it. Maybe make it a 3d modell.