Garry's Mod

Garry's Mod

48 ratings
[TTT/2] Petition
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
1.085 MB
Dec 26, 2019 @ 7:02am
Dec 26, 2019 @ 7:47am
5 Change Notes ( view )

Subscribe to download
[TTT/2] Petition

In 2 collections by Cuckoo
Cuckoo's TTT Stuff Pack
544 items
Cuckoo's TTT2 Stuff Pack 2: Weapon Waltz
106 items
Description
Sources
This is a conversion of 16 Bytes's (English) edit of JλCK0L's (Russian) Postal 2 Petition Swep for Sandbox.

This add-on will most likely conflict with either of these Sandbox originals.

All sounds are originally sourced from Postal 2.

Orig. RUS by JλCK0L (Sandbox): [ https://steamcommunity.com/sharedfiles/filedetails/?id=1857386503 ]
Orig. ENG by 16 Bytes (Sandbox): [ https://steamcommunity.com/sharedfiles/filedetails/?id=1861110676 ]

Summary
This version makes the petition a "weapon" in Trouble in Terrorist Town, with shop description and icon, and the text on the clipboard has been changed.

You can Left-Click or Right-Click, to ask someone to sign your petition.

Nobody will actually sign it, but they will admire your commitment to social activism.

This weapon should work just fine in basic TTT, although it is recommended for use with TTT2, which features additional role support, permits adjustment of weapon slot limits*, and includes a shop editor which can determine the role-availability and prices of items**.

*(So that players need not sacrifice one of their only two special equipment slots for, let's say, a clipboard that confers no gameplay benefits.)
**(So that players need not spend a whole credit on, let's say, a clipboard that occupies an equipment slot but confers no gameplay benefits.)

By default, the petition is available for the Detective to buy, is limited-stock (purchasable once per-round per-person), and is non-droppable (due to bone-related script errors I've found to occur when an attempt is made).

If any further bugs or issues do emerge, please let me know in the comments- though if I'm honest, it will probably be beyond my ability to fix them. Have fun!

Issues
It seems that dying with the petition in your hands will lead to the same sort of bone-related script errors that a successful 'drop' of the petition would have triggered.

Harmless, but an annoyance, of course. Then again, nobody saw fit to report it, and I'd be surprised if nobody had actually come across it, so... Perhaps that means nobody really cares that much?

Regardless, sooner or later, I'll take a fresh look, and see what might be done about it. I can't make any promises, however.

If you're truly and immensely bothered by it... You could always try dying a little less?
10 Comments
Cypher May 21, 2022 @ 10:51am 
[[TTT/2] Petition] lua/weapons/ttt_petition.lua:94: Tried to use a NULL entity!
1. LookupBone - [C]:-1
2. unknown - lua/weapons/ttt_petition.lua:94
mememaster6969 Jan 6, 2022 @ 8:03pm 
sign my petition or ill follow you home and kill your dog.
Jay(Official)- Jul 11, 2020 @ 10:20am 
are you going to sign this or will it be your surviving family members?
E-Bushido Jun 6, 2020 @ 12:23am 
reminds me of postal xD
Leerabitt Mar 9, 2020 @ 12:51pm 
(Continued)

As for preventing the innocents from just piling on and signing it, (which would in essence make the petition a traitor testor and make single traitor matches a nightmare,) I feel that getting every other living player's signature should lead to a win solely for the petitioner (if at all possible,) as that way it wouldn't just be a go-to/surefire way for innocents to win. Then, the petitioner would have to work hard to get each and every signature as they'd be the only one to win should they succeed. This wouldn't make the item a competitive one by any means but it would allow for some fun/casual chaos and deal-brokering.

In order to prevent accidental signings, it'd also be a good idea to make it so that a signing person has to be holstered before being able to do so. After all, it is hard to sign with a gun in one's hands anyway.

Thank you for your responsiveness, friendliness and for the work you have and are putting in to the addon, it's much appreciated.
Leerabitt Mar 9, 2020 @ 12:51pm 
No worries on the signing part, while it would be neat, the item is still plenty fun without it.

In regards to the fringe scenario, I had figured that since the petitioner would need to get traitors' signatures to to win as well, (and the traitors would probably be pretty reluctant to do so since it could result in them losing,) if one were to sign it and then have their buddies die, (leading to their loss,) they would have quite literally signed up for it. It would be a funny/unexpected way for the round to end as they probably had to of been pretty darn confident that their partner(s) wouldn't die or that others wouldn't sign it to have signed it in the first place.
Cuckoo  [author] Feb 19, 2020 @ 1:13pm 
(Cont'd)

There would be some fringe scenarios to consider as well, such as what should happen if some players (a mix of traitors and innocents) have already signed the petition, but then a bunch of players die, and the only ones left are those who already signed the petition. Should the round then immediately end ( if we assume that a fully-notarised petition to "Ban Trouble in Terrorist Town" should mean that the round of Trouble in Terrorist Town should now come to an end ), or would that not be a bit unsatisfying?

Anyway, if I started really digging into how the petition could be turned into a gameplay-influencing item rather than just a novelty item (not that it would, necessarily, happen in the near or even distant future), those are some of the sort of things I'd have to consider. Anyway, thanks a heck of a bunch- both- for the encouraging and positive feedback!
Cuckoo  [author] Feb 19, 2020 @ 1:13pm 
@Aie'dail & @Lepus:

Oh, that's really fantastic, thank you! I'm really happy to hear people are enjoying this port, and having fun with it ( in spite of all the script errors- I will try to work out what I can do about that at some point )!

@Lepus

Well, that sounds like you're using it as intended.

As for the possibility of an actual signing function, and one that can result in victory... Of course, this has crossed my mind plenty, but it would take someone with much more competence and knowledge in luascript to actually implement it, I reckon (I mean, I'm not even sure yet how I'm going to get rid of those bone-related script errors that occur when someone dies holding the petition, or is forced to drop it, so come now...).

It would be an exquisite addition if I could pull it off, and (at least in principle) it should be possible to do- it's just outside my experience for writing luascript.
Aie'dail Feb 12, 2020 @ 2:21pm 
Bless you :D I suggested on gmod sandbox version that it would be awesome to have it in TTT and here it is!
Leerabitt Feb 12, 2020 @ 11:08am 
I love this item. It's pretty darn fun running all over the map, chasing after every person I see and demanding that they sign my petition. While it may not be able to do much currently, it has become one of the most feared detective items in my playgroup as they know that once the petitioning has started, it won't be done until either I'm dead or the round is over (and they don't want to lose their Karma). It would be nice though, if a feature could be added to make it so that others can actually sign the petition and so that if all the currently living players (including traitors) have signed it, the player who was able to get all the signatures wins (or to have some other benefit occur). Either way, it's nice to have a more casual/jokey detective item that works to alleviate some of pressure players can feel when tasked with having to pick from the role's buy menu.