Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Unfortunately Garry's Mod API doesn't provide a way to get information about the default drag properties of an entity, at most you can read the current state or change it.
I could technically store the initial values when the tool is first used on the prop, before applying the properties, but not sure if it's worth it.
If you have access to E2 or Starfall, you could probably whip out something that fits your needs quite quickly.
You could probably hack around this in a few ways, but it's definitely outside of the scope for this addon. Just don't let your props fly around loose with negative drag :P
Even if, none of it is exposed to GMod's API.
Copied entities save their velocity and rotation drag.
E2 Function works too:
entity():isWeldedTo():setCustomAirDrag(1, -1, 100)
Do you see any errors when using it?
Do you see following addon load messages in your console?
Custom Air Drag loaded properly (clientside)
Custom Air Drag loaded properly (serverside)
To check:
1. Type clear into your console
2. Launch singleplayer
3. After you spawn, copy everything from your console
4. Use external program like Notepad and search for Custom Air Drag
5. If you don't see both of those messages, search for customairdrag.lua and send me the full error messages
Thanks!
And for an addon of it's scope it hasn't been updated in a long time, thus I'm not gonna get into what's really happening there.
– Had to disable all addons to make it work
1/0 what the hell
By the way, what does "enable air drag" do?
Negative air drag is basically a speed up.
(a few seconds later)
OH SHIT!
wire_expression2_extension_enable customairdrag
wire_expression2_reload
This will enable it, otherwise if you don't like this to be used by players, then run these 2 commands, but instead enable , type disable .
Code used:
@name test
@inputs Prop:entity
Prop:setCustomAirDrag(0,0,0)
Prop is 1kg and when it falls it still has drag
it really does
before = 110 km/h max
after = 220+ km/h max
video proof can be given
it made it really slow
(Name is paying for good comments, He's playing in bed with kuben,then kuben is giving me money).