Garry's Mod

Garry's Mod

78 ratings
[TTT2] Kiss [WEAPON]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun, Realism
File Size
Posted
Updated
5.166 MB
9 Aug, 2022 @ 12:52pm
6 Oct @ 12:35pm
14 Change Notes ( view )

Subscribe to download
[TTT2] Kiss [WEAPON]

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

This is a weapon that allows you to kiss someone if you do primary attack.
Secondary attack plays a random sound from three available 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 deploy sound is also for everyone near the owner audible.

The kiss heals 10 HP and you can kiss three times.
You and the kissed one are both healed.
You can also deal damage to the player with the kiss if you configure it that way.

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 spawns randomly on the map. (You can change that in the F1 menu.)

F1 ConVars

Name
Description
ttt2_kiss_prepare_sound (Def. 1)
Sound of the preparing
ttt2_kiss_primary_sound (Def. 1)
Sound of the primary attack
ttt2_kiss_secondary_sound (Def. 1)
Sound of the secondary attack
ttt2_kiss_damage (Def. -10)
Damage of the kiss (Negative values heal)
ttt2_kiss_ammo (Def. 3)
Default ammo amount of kisses when bought
ttt2_kiss_clipSize (Def. 3)
Default clipsize amount of kisses
ttt2_kiss_length (Def. 0.80)
Length of the kiss animation
ttt2_kiss_delay (Def. 3.00)
Delay until the next kiss

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 deploy sound file is located at: "ttt2_kiss\sound" under the name "kiss_prepare.wav".
The primary attack sound files are located at: "ttt2_kiss\sound" under the names "kiss_start_1.wav", "kiss_start_2.wav", "kiss_start_3.wav", "kiss_start_4.wav", "kiss_start_5.wav" and "kiss_start_6.wav".
The secondary attack sound files are located at: "ttt2_kiss\sound" under the names "kiss_meme_1.wav", "kiss_meme_2.wav" and "kiss_meme_3.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/translate to this addon?

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

Bugs
  • Nothing ...

Credits

Juckey
(Based on his "License to Kiss" addon: Here )

Thanks to

NoColorFrog - For the addon idea.
demarvLP/TTV - For the beautiful ingame/workshop icons.
Slifer808 - For the video.
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 "Kiss" addon.
18 Comments
mexikoedi  [author] 4 May @ 3:32am 
@🧱LegoCustomZone🧱
Yes. See in the description under "Credits".
🧱LegoCustomZone🧱 3 May @ 5:27pm 
Is there a "Sandbox" version of this "KISS" addons?
mexikoedi  [author] 26 Jan @ 11:55am 
@NoColorFrog
It shouldn't cause any issues now.
If you are interested in the cause see the linked issue below.
mexikoedi  [author] 15 Jan @ 2:26am 
@NoColorFrog
This shouldn't be caused by this addon.
This seems like a TTT2 error and was also reported here: https://github.com/TTT-2/TTT2/issues/1207
I didn't notice any issues while playing the last time.
NoColorFrog 15 Jan @ 1:41am 
it's create an error when i switch kiss out
[TTT2 (Base) - v0.12.3b] gamemodes/terrortown/entities/weapons/weapon_tttbase.lua:450: attempt to index local 'line' (a nil value)
1. DrawHelp - gamemodes/terrortown/entities/weapons/weapon_tttbase.lua:450
2. unknown - gamemodes/terrortown/entities/weapons/weapon_tttbase.lua:301 (x238)
mexikoedi  [author] 30 Jul, 2023 @ 11:03am 
Yes, this is the sandbox version which is also linked in the description.
EidolonWyrm72 25 Jul, 2023 @ 6:08pm 
⠛⠛⣿⣿⣿⣿⣿⡷⢶⣦⣶⣶⣤⣤⣤⣀⠀⠀⠀
⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡀⠀
⠀⠀⠀⠉⠉⠉⠙⠻⣿⣿⠿⠿⠛⠛⠛⠻⣿⣿⣇⠀
⠀⠀⢤⣀⣀⣀⠀⠀⢸⣷⡄⠀ ⣀⣤⣴⣿⣿⣿⣆
⠀⠀⠀⠀⠹⠏⠀⠀⠀⣿⣧⠀⠹⣿⣿⣿⣿⣿⡿⣿
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠛⠿⠇⢀⣼⣿⣿⠛⢯⡿⡟
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠦⠴⢿⢿⣿⡿⠷⠀⣿⠀
⠀⠀⠀⠀⠀⠀⠀⠙⣷⣶⣶⣤⣤⣤⣤⣤⣶⣦⠃⠀
⠀⠀⠀⠀⠀⠀⠀⢐⣿⣾⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠈⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠻⢿⣿⣿⣿⣿⠟
mexikoedi  [author] 24 Nov, 2022 @ 10:40pm 
Look in the description above.
It's all written there.
There is also a video.
i_like_cheese_balls:) 24 Nov, 2022 @ 6:40pm 
how use