Garry's Mod

Garry's Mod

Custom Air Drag
49 条留言
Name  [作者] 3 月 22 日 下午 6:07 
@havik I doubt that Source engine takes other entities into account when calculating air drag. I'd assume it's either placebo or maybe a different addon doing that. This addon only changes variables that Source uses to calculate the drag. It doesn't change the equations in any other way.
Dixon 3 月 22 日 下午 5:59 
When I'm following an car, why does the air draft affects me and him?
Name  [作者] 2024 年 12 月 24 日 下午 7:18 
@z̕͢oin̵k
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.
z̕͢oin̵k 2024 年 12 月 24 日 下午 5:53 
is there a way to reset props to their normal drag values?
bigulator 2024 年 9 月 4 日 下午 3:15 
They don't have to escape the map to disappear though, props can vanish when they spin too fast. Ik buggy props aren't the point of this addon but I only made them for funny physics interactions. I would've fixed this or made something like this for myself but idk how to code lua currently.
Name  [作者] 2024 年 9 月 4 日 上午 11:54 
They probably just gain so much velocity that they fly outside of the map boundaries and get deleted by the engine.
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
bigulator 2024 年 9 月 3 日 上午 11:29 
Things with -5 drag go so fast they vanish sometimes. Is there any way to fix that?
bigulator 2024 年 9 月 3 日 上午 11:14 
I've been looking for this exact addon for days. Only because I wanted to give props -5 air friction lol
aristlego 2022 年 12 月 13 日 上午 10:23 
do not put air drag at -1.00 , big mistake
ArcticValor 2022 年 2 月 22 日 上午 6:25 
the heck Megumin? what are you doing jeezus.
mac dre 2022 年 2 月 7 日 下午 5:35 
thanks for making this I've been trying to build a monster truck map and it just wont do flips through the air it flips then slows down in both velocity and rotation even for solid steel. if I dont repost it worked great to my liking.
Niterux 2021 年 3 月 28 日 上午 6:55 
This addon does not have furry character models in it
Name  [作者] 2021 年 1 月 28 日 上午 11:12 
No, I don't think Source engine even has the capability of doing this.
Even if, none of it is exposed to GMod's API.
FRZ 2021 年 1 月 28 日 上午 7:50 
is there any way to enable slipstream?
Grooblious Boozler 2020 年 8 月 8 日 下午 9:30 
I think this addon has some furry character models in it...
DerHobbyRoller 2020 年 3 月 1 日 上午 4:55 
Totally best addon on the workshop I couldnt find a better one. If you see this comment then please please get this. First I thought I didnt need air drag for cars but after i got it i couldnt think without it.
Taco Salad 2020 年 2 月 11 日 下午 1:34 
The addon its self works, removes air drag and all. May just be having issues with something else, will double check.
Name  [作者] 2020 年 2 月 11 日 上午 11:07 
Works for me without any issues.
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!
Taco Salad 2020 年 2 月 8 日 下午 8:07 
also the E2 function doesn't seem to work. Damn
Taco Salad 2020 年 2 月 8 日 下午 8:03 
Love using this, but it doesn't save when using ADV dupe 2
Name  [作者] 2019 年 10 月 16 日 上午 11:21 
I've checked out the Vermilion Server Management 2, it's comment section is full of bugs and people complaining it's breaking important stuff like Prop Protection, PAC3, resets UTime.
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.
Kerouha 2017 年 10 月 13 日 上午 11:43 
Looks like the "Vermilion Server Management 2" is breaking this tool.
Kerouha 2017 年 10 月 13 日 上午 9:55 
+ Does the intended thing
– Had to disable all addons to make it work

1/0 what the hell

By the way, what does "enable air drag" do?
ChyonE 2017 年 2 月 2 日 上午 1:35 
if you like building Pro racing acf cars then use this for more grip and speed :)
El TomX 2017 年 1 月 14 日 下午 3:22 
No sorry it was the rust racer addon :P
Name  [作者] 2017 年 1 月 14 日 下午 2:58 
Are you sure this addon is causing that?
El TomX 2017 年 1 月 14 日 下午 1:55 
When i try to load a play my game freeze with the loading screen
El TomX 2017 年 1 月 14 日 下午 1:54 
I have an issue
tricky 2016 年 7 月 22 日 下午 10:50 
Good stuff. Made my 170km/h car go faster than 300km/h!
AlexsTheCat(Spanko UwU) 2016 年 3 月 9 日 上午 9:01 
OMG ITS ME ON THE PCUTRE :3 <3 <3 ,3 <3 ,3 ,3 <3 ~!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
necromage 2016 年 1 月 28 日 上午 6:56 
WHY HAVE I NEVER FOUND THIS BEFORE!!!!?!?!?!?!!?
Name  [作者] 2015 年 6 月 8 日 上午 8:20 
Yep, that's how it works :D
Negative air drag is basically a speed up.
Kibōchen 2015 年 6 月 7 日 下午 8:45 
What happens if I set speed dampening to -1 on my car...

(a few seconds later)

OH SHIT!
Name  [作者] 2014 年 12 月 6 日 下午 6:09 
The issue was caused by Expression 2 extension was disabled, it still does highlight the text though. I Committed new version in which extension is enabled by default, if this still doesn't work ask owner's server to run these two commands:
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 .
fleshy hinge 2014 年 12 月 6 日 下午 5:06 
Another issue, the E2 function doesn't seem to work, it isn't modifying drag.

Code used:

@name test
@inputs Prop:entity


Prop:setCustomAirDrag(0,0,0)

Prop is 1kg and when it falls it still has drag
Name  [作者] 2014 年 10 月 20 日 下午 2:45 
It has been fixed, thanks for feedback.
fleshy hinge 2014 年 10 月 18 日 下午 5:21 
I've found out that this doesn't seem to save with Adv Dupe 2.
cynaraos 2014 年 10 月 13 日 上午 8:48 
I can approve of this tool, as it makes my crappy vehicle go 2x faster

it really does

before = 110 km/h max
after = 220+ km/h max


video proof can be given
chomilk 2014 年 9 月 21 日 上午 8:32 
nah
it made it really slow
Name  [作者] 2014 年 9 月 21 日 上午 6:04 
It's created for players-built cars but you can try to use it on SCars, maybe it will affect it in some way.
chomilk 2014 年 9 月 21 日 上午 4:44 
scars?
jasnygwint69 2014 年 9 月 20 日 上午 5:07 
Its not meant to be used with HL2 script based vehicles
chomilk 2014 年 9 月 19 日 上午 7:16 
made my lonewolfie's cars slower :L
Luke Laferrari 2014 年 5 月 29 日 上午 10:44 
Man that picture is so awesome even when the car in it is one of my most hated cars existence. 100/0.0000000000001
Name  [作者] 2014 年 5 月 8 日 上午 12:17 
This is very simple tool, there's no tutorial needed.
Det. Joseph 2014 年 5 月 7 日 上午 1:23 
is there tutorial?
Techmarine 2014 年 5 月 3 日 上午 6:17 
That shit might be useful. Name, thank your master for making you work faster :D.
D 2014 年 5 月 1 日 上午 2:05 
Nice shit, I'll use it.
(Name is paying for good comments, He's playing in bed with kuben,then kuben is giving me money).
Tek 2014 年 4 月 30 日 下午 3:18 
Shittiest mod I have ever downloaded, 10/10