Garry's Mod

Garry's Mod

Not enough ratings
[TTT] Gravity Cube
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
13.695 KB
4 Aug, 2018 @ 1:06pm
4 Aug, 2018 @ 2:47pm
3 Change Notes ( view )

Subscribe to download
[TTT] Gravity Cube

Description
Gravity Cube

Source: Gravity Cube on GitHub [github.com]

This Addon was made for the Gamemode "Trouble in Terrorist Town"

Description:

The Gravity Cube can be used to influence the gravity around it self.
You can apply force which leads to how high someone floats before falling, the force range is 0 - 500.
On max. the Cube will launch you (or someone else) in the air, but be carefull! Your landing is maybe not that soft!
This Item can be used for Traitors and Detectives but there is an option to change that if you like to.

Controls:

You can throw the Cube with M1 and afterwards set you wish settings for the force with should apply to the players with M2. Based on how high the settings are set, you may have to jump on low settings to get soft in the air. If you wish to rush to the stars, just go and set the settings to maximum.

You can also pick up the Cube again to place it somewhere else. The default key for that is E (interaction).

ConVars:

ttt_gc_allow_traitor 1 -- are Traitors allow to buy this Item?
ttt_gc_allow_detective 1 -- are Detectives allow to buy this Item?

More:

If you drop the Item by the default key "Q" you will lose this Item, so maybe consider if you need to drop it.

If you find any bugs, just report them here. Have Fun!
1 Comments
emil 12 Aug, 2018 @ 1:08pm 
Is there a way to use this in sandbox mode?