Garry's Mod

Garry's Mod

Not enough ratings
[TTT2] Yandere & Senpai [ROLE]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
8.170 MB
4 Feb, 2022 @ 1:00pm
9 Feb, 2022 @ 3:15pm
37 Change Notes ( view )

Subscribe to download
[TTT2] Yandere & Senpai [ROLE]

In 2 collections by Tweek, The Goblin
SipcoGamingGuild TTT Collection
246 items
SipcoGame's TTT2 Items and Role's
21 items
Description
You are a Yandere! You love your Senpai and would do anything for them...ANYTHING...

Requires TTT2 in order to use this role. A list of all currently available roles can be found HERE.

Join my Discord: https://discord.gg/PpCafA7wqZ
TTT2 Discord: https://discord.gg/Npcbb4W
Source Code: TBD



The Yandere is a role that spawns occasionally in place of an innocent. When they spawn a random non traitor (tries for an innocent) is turned into Senpai (a normal innocent role besides being Senpai).

The Yandere can always see their Senpai, and must protect them to remain "good", but Senpai has no idea who their stalker is. If both characters live and Yandere doesn't involve herself in her desires, then they can both win on the innocent team.

Yandere's mental state / needs for Senpai are shown above their health bar. If Senpai takes damage, or Yandere gives into her desire to mutilate corpses and go stab crazy (both of which raises her HP a bit), she will lose mental states. If Senpai dies, or she spends too much time mutilating corpses her mental state will go to "Crazy" and she will become a Yangire; becoming much more powerful and going full stab crazy. In this state she must kill everyone to win; and if she wins, her Senpai wins with her (dead or alive).

Side Note: Senpai is pulled into the Yandere's team if/when she goes mad. So it's in his best interest to figure out who the Yandere is and help them both win on innocent team so they don't have to try and win on their own. If Yandere/Yangire kills senpai they take their own life instead of transforming.



Normal Convars Generated by TTT2
# enable or disable this role ttt_ycalm_enabled [0/1] (default: 1) # the percentage of players that are spawned as this role ttt_ycalm_pct [0.0..1.0] (default 0.17) # the limit of players that spawn as this role each round, this overwrites the percentage ttt_ycalm_max [0.0..n] (default: 1) # the probability each round of this role being spawned at all ttt_ycalm_random [0..100] (default: 50) # the amount of players needed for this role to spawn ttt_ycalm_min_players: [0..n] (default: 7)

NAdditional Convars in ULX & F1 Menu
# blood amount from stabbing a corpse ttt2_yandere_bleed_amount [0..1] (def. 0.05) # adjust yandere max and starting HP ttt2_yandere_max_health [100...500] (default: 100) # use a model for the yandere (I recommend against this, added it for fun) ttt2_yandere_use_model [0/1] (default: 0) # show particles on the yandere to show when they're crazy ttt2_yandere_do_crazy_smoke [0/1] (default: 1) # healing from dmg with knife ttt2_yandere_dmg_heal [0...1] (default: 0.2) # yandere base knife damage ttt2_yandere_dmg_base [1..100] (default: 20) # yandere max knife damage ttt2_yandere_dmg_base [1..150] (default: 100) # yandere kill bonus health ttt2_yandere_kill_bonus [1..50] (default: 10) # yandere base time for stabbing bodies ttt2_yandere_stab_time_base [0..10] (default: 0.5) # yandere max time for stabbing bodies ttt2_yandere_stab_time_max [0..10] (default: 5.0) # yandere health gained for stabbing bodies ttt2_yandere_stab_health [0..100] (default: 50) # yandere base movespeed ttt2_yandere_speed_base [0..5] (default: 1) # yandere max movespeed ttt2_yandere_speed_max [0..5] (default: 2) # yandere base stamina ttt2_yandere_stamina_base [0..5] (default: 1) # yandere max stamina ttt2_yandere_stamina_max [0..5] (default: 2) # yandere crazy radar time between pulses ttt2_yandere_crazy_radar_time [1..30] (default: 15)




The optional model is of Yuno from Future Diary. made by "Nara" and found HERE
18 Comments
Dughoo 17 Feb, 2022 @ 8:06pm 
enjoy your dota
Tweek, The Goblin  [author] 9 Feb, 2022 @ 3:52pm 
Interesting. Maybe it's drying before the call and then there's no entity. I'll check that out thank you :)
The1337Gh0st 9 Feb, 2022 @ 3:50pm 
I was using the Yandere role, and I killed Senpai with the primary attack which caused the lua error. The Yandere still died as a result of killing Senpai, but it caused a lua error. The bug appears in both the calm and crazy versions of Yandere.
Tweek, The Goblin  [author] 9 Feb, 2022 @ 3:13pm 
That is definitely a new error. that line of code is to get the health of the owner of the knife. Not sure why you're SWEP owner is null. Did you throw the knife or were you playing a role that didn't have HP? I might need more details to replicate this bug.
Tweek, The Goblin  [author] 9 Feb, 2022 @ 2:44pm 
Weird i thought I fixed that knife bug. I'll look into it again, thank you @The1337Gh0st
The1337Gh0st 9 Feb, 2022 @ 1:48pm 
Yandere also cannot see the role of Senpai whenever it turns crazy.
The1337Gh0st 9 Feb, 2022 @ 1:46pm 
Since the source code for the role is not available yet, I'll post a bug report here:

Killing Senpai with the "For Senpai" knife will cause the following lua error:

[[TTT2] Yandere & Senpai [ROLE]] gamemodes/terrortown/entities/weapons/weapon_ttt_yandere_knife.lua:284: Tried to use a NULL entity!
1. Health - [C]:-1
2. StabKill - gamemodes/terrortown/entities/weapons/weapon_ttt_yandere_knife.lua:284
3. unknown - gamemodes/terrortown/entities/weapons/weapon_ttt_yandere_knife.lua:179
Tweek, The Goblin  [author] 8 Feb, 2022 @ 7:13pm 
My bad. Fixed it now XD
Hannes 8 Feb, 2022 @ 3:27pm 
Ok, i have no idea what you did with that latest update, but something seems to destroy everything xD. It constantly says, there is an error with TTT2 Base, the round doesn't start, TAB does nothing and when pressing F1, everything is white.
Tweek, The Goblin  [author] 8 Feb, 2022 @ 8:01am 
Yea thats a good point didn't even think of the teamkill to go yangire. Yea i noticed that during testing too even with the cap filter in. I gotta figure out why the max flag is being ignored.