Garry's Mod

Garry's Mod

25 ratings
TTT PropHuntGun (Become a movable prop!)
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
6.377 MB
18 Apr, 2022 @ 8:21am
28 May, 2022 @ 8:46am
107 Change Notes ( view )

Subscribe to download
TTT PropHuntGun (Become a movable prop!)

In 2 collections by Active_Current
Active's Trouble In Terrorist Town
467 items
Active's Trouble In Terrorist Town - Trimmed
478 items
Description
A new alternative to the Prop Disguiser with new features!

TTT The PropHuntGun (Become a prop!) : Version 28522a

Strongly recommended to use with 'Custom Roles for TTT'
https://sp.zhabite.com/sharedfiles/filedetails/?id=2421039084

---------------------------------------------
ORIGINAL UPLOAD: Please do not reupload this unless you've talked with me about it
---------------------------------------------

Default Keybinds

Left click ........Enter/Exit PropHunt mode
WASD ....................Move
e ....................Change props
Right click ......Use Special ability
alt ..................Toggle rotation lock
r .....................Taunt / delay autotaunt

---------------------------------------------

How to use

Buy the traitor/detective PropHunt weapon for trouble in terrorist town!

Left click (fire) to enable PropHunt mode, left click once more to disable PropHunt mode - detroit become human again

Move around then press e (use) on a prop to become it while in PropHunt mode! (you can change infinitely with e so no need to leave PropHunt mode to change again if you wish)

Press alt (walk) to toggle rotation lock!

Right click (aim) to use random special ability (many available shown below, frequently updated)

Reload to taunt with default PropHunt taunts! (This will reset the auto timer too)

Works just like the prophunt gamemode - you can move around with your prop and there is no timer.

The custom hud shown below is activated when using PropHunt mode, displaying rotation lock state and time until next taunt (slider)



---------------------------------------------

Special Abilities!
Special abilities are random for each player and are chosen on player spawn
The yellow bar on the hud indicates whether your special is available.

See the discussions to find out what special abilities are available!

---------------------------------------------


SERVER CONVARS (time in seconds)

ttt_autotaunt_interval (def:45) - Interval time between autotaunts. Set really high to disable autotaunt
ttt_prophuntgun_taunt_cooldown(def:5) - Minimum time between player taunts (r)
ttt_prophuntgun_enable_randomprop (def:1) - If enabled, upon entering PH mode for the first time you will be a random prop
ttt_prophuntgun_enable_chooseWeapons (def:1) - If disabled, you will not be able to select weapons or ammo boxes
ttt_prophuntgun_enable_chooseProp (def:0) - If enabled, you will be able to switch to a random prop when you press ctrl
ttt_prop_hunt_gun_time (def:500) - Time before PropHunt mode is disabled automatically
ttt_prop_hunt_gun_cooldown (def:0) - Time between weapon uses
ttt_prop_hunt_gun_entityfinder (def:0) - enable yellow outlines for usable entities in a short radius (useful for finding usable props)
ttt_prophuntgun_default_prop (def: models/player/kleiner.mdl) - String input, choose default prop
ttt_prophuntgun_prop_rotation_on_by_default (def:1) - Rotate by default
ttt_prophuntgun_display_press_e_message (def:0) - Have a message to show usage ingame
ttt_prophuntgun_show_not_valid_prop_message(def:1) - Display message if prop is invalid


To use with the PropHunt randomat (make it just like prophunt) use this server convar:

randomat_prophunt_weaponid "weapon_ttt_prop_hunt_gun"
(reccomended)

also recomended for the randomat:

randomat_prophunt_props_join_hunters 1

(so that dead props join hunter team, good for balancing with this mod)

Specials

ttt_prophuntgun_enable_specials (def:1)

ttt_prophuntgun_special_smoke (def:1)
ttt_prophuntgun_special_flash (def:1)
ttt_prophuntgun_special_throwtaunt (def:1)
ttt_prophuntgun_special_fakeprop (def:1)
ttt_prophuntgun_special_speed (def:1)
ttt_prophuntgun_special_swappos (def:1)
ttt_prophuntgun_special_dropinv (def:1)
ttt_prophuntgun_special_yeet (def:1)
ttt_prophuntgun_special_newtonshoot (def:1)
ttt_prophuntgun_special_grapple (def:1)
ttt_prophuntgun_special_teleport (def:0) buggy not recommended
ttt_prophuntgun_special_propel (def:1)

ttt_prophuntgun_debug_specials_forceuse (def:0) -- only use if you know exactly what you are doing (read sourcecode)
---------------------------------------------

More taunts

Get extra taunts here! https://sp.zhabite.com/sharedfiles/filedetails/?id=2804142078

You can use that mod as a template to create your own taunt packs for this mod! Let me know if you have done this and I will put it in a list below for all to be able to find easily :)

---------------------------------------------

Extra information


Players in PropHunt mode can be killed (if found!)

Players in PropHunt mode cannot switch weapon, drop weapon or fire

When exiting PropHunt mode, the player will switch to their primary (or secondary/crowbar if none) to allow ambushes!

Players in PropHunt mode can fit into gaps the size of their selected prop

Players can move while being a prop

Usable props will have a green outline to help selection, colour then goes to yellow and red at larger distances

Other players can hear usage sounds (i.e. entering/exiting PropHunt mode, switching prop, and rotation lock/unlock)

Names could be visible on props if Custom Roles for ttt is not installed

Custom prop health generation
Each prop has its own unique health value using my own custom algorithm.
If you take damage as a player, it will remember and put you back to the damaged health when PropHunt mode is disabled again.
If you take damage as a prop, it will also remember, and will remember specifically for which props you took damage - so that you cannot switch props to gain a health advantage (reset)

Thus the health system should be foolproof (without exploit)

---------------------------------------------

Credit

Based on https://sp.zhabite.com/sharedfiles/filedetails/?id=2127939503
(Prop Disguiser Improved)

and https://sp.zhabite.com/sharedfiles/filedetails/?id=143190159&searchtext=prop+hunt
(Prop Hunt gamemode)

Special thanks to The Stig https://sp.zhabite.com/id/The-Stig-294/ for suggesting and implementing quality of life changes!


And using some code from,

https://sp.zhabite.com/id/badkingurgrain/
(Trouble in terrorist town / specifically default weapons)

https://sp.zhabite.com/sharedfiles/filedetails/?id=131410709
(Smoke Grenade)

https://sp.zhabite.com/sharedfiles/filedetails/?id=249131537
(Flashbang)

https://sp.zhabite.com/sharedfiles/filedetails/?id=874699750
(Grapple hook)

https://sp.zhabite.com/sharedfiles/filedetails/?id=1326870555
(Eagleflight)

https://sp.zhabite.com/sharedfiles/filedetails/?id=1361100842
(Traitor door locker)

---------------------------------------------

Depreciated stuff

Please note, as with normal PropHunt, to the user it will seem that the prop rotates with the camera, but to others the prop will always stay in one orientation. : --- : this is not true anymore, a prop rotation feature has been added (at all times you will see what other players would see)

Popular Discussions View All (1)
0
28 May, 2022 @ 8:50am
Special Abilities
Active_Current
5 Comments
Active_Current  [author] 26 Aug, 2024 @ 5:08am 
Its a traitor weapon for the game-mode trouble in terrorist town - it will not appear in the sandbox menu
coastmanPC 25 Aug, 2024 @ 12:00pm 
Where is the gun in the spawn menu
Jestermaxxer 30 Jan, 2023 @ 9:50am 
God mod
Active_Current  [author] 18 Dec, 2022 @ 1:00pm 
very unlikely
Leaky_Sponge 18 Dec, 2022 @ 9:29am 
does this work with normal sandbox?