I combined both of the E2's together, I did this on my last pc too, I think it makes things easier EDIT: Also, I just build my hydraulics straight onto the Setang Steering E2, thats what I and pretty much everyone else on the server I play on do, makes things more organized (I play on I Just Want to Build (IJWTB)) @name ACF Setup + Setang Steering @inputs W A D CHASSIS:entity @outputs Throttle Constant Damping @persist SLAVE:entity [TURN_RATE TURN_ANGLE TURN] B C @model models/sprops/rectangles/size_2_5/rect_18x18x3.mdl Throttle = W * 100 Constant = 50000 Damping = 500 if (dupefinished()) {reset()} B = round(toUnit("km/h",CHASSIS:vel():length()))
I know it's late but I believe the problem is that you don't have an extension (propcore) enabled in E2. I think you can 'fix' this, in singleplayer only, by following the instructions on this image: image.prntscr.com/image/33WMdj9XSi2cHgA5L5R-CQ.png Although I recommend you enable them all in singleplayer. "Note: Most E2 addons do not register themselves as extensions and thus cannot be turned on or off with the above commands. A notable exception is the propcore extension in the UWSVN, which is disabled by default. Also, you must run wire_expression2_reload in order for enabling/disabling extensions to take effect." Here is the list of functions that propCore provides: github.com/wiremod/wire/wiki/Prop-core And setAng is one of them. So enabling propcore must fix it.
I know it's late but I believe the problem is that you don't have an extension (propcore) enabled in E2. I think you can 'fix' this, in singleplayer only, by following the instructions on this image: image.prntscr.com/image/33WMdj9XSi2cHgA5L5R-CQ.png Although I recommend you enable them all in singleplayer. "Note: Most E2 addons do not register themselves as extensions and thus cannot be turned on or off with the above commands. A notable exception is the propcore extension in the UWSVN, which is disabled by default. Also, you must run wire_expression2_reload in order for enabling/disabling extensions to take effect." Here is the list of functions that propCore provides: github.com/wiremod/wire/wiki/Prop-core And setAng is one of them. So enabling propcore must fix it.
Advanced duplicator 2. My vehicle is facing north, and I have the exact same settings for the ball socket. I've tried to change the settings to see if I can fix it, but it doesn't work no matter what I do.
Yes! I got it working. I decided to make it on the flatgrass map, facing the Flattywood sign (which I assumed was north for some reason). It decided to roll only sideways, so I realized that I wasn't actually facing north, and I changed the settings of the ball socket to fix it. It works now, thanks for your awesome tutorial!
i bring unfortunate news, im not sure if its something im doing wrong addon-wise, but the method of using PA for wire hydraulics doesn't seem to work anymore
i bring fortunate news there is a fork of precision alignment also for some reason the wire hydraulic does work in multyplayer but it work in signleplayer
@@13B-POWAH the offbrand version is called "precision alignment" and its made by a guy called GNU. And fork is when someone makes something makes it open to the public and some takes it and makes adjustments to it
Constant is basically spring constant, it's how stiff the spring is. The higher it is the more force will be required to move wheels from neutral position and the more force they will return to neutral with. Heavier cars need stronger constant. Ideally you want a constant such that the biggest bumps you expect to hit will max out your available wheel travel. Damping is like the delta (or $) if you have ever coded hovering e2 thrusters before. It basically punishes and slows down high speeds, it slows the amount of time to return to neutral initially but then heavily cuts down the oscillations and springing around the neutral point. If you have no damping you return to neutral fast but then overshoot it and keep oscillating back and forth past it. Ideally you want higher damping for fewer really big bumps and low damping for many smaller bumps. This is because you need fast return to neutral if you hit many smaller bumps in sequence, but if you hit big bumps you need something that will cancel the large oscillations out and perform smoothly. You may want to look up PID controller- P relates to constant and D relates to damping. You can ignore the I bit, it's an extra factor that can be added which accumulates over time to overcome natural failure to return to the exact start position. It's not used here.
Probably a bit late but I'm stuck on the step where you connect the hydraulics to the wheels. The odd and even step. It's giving me errors and saying its a nil value. any advice?
While this tutorial is amazing and very appreciated, I can't get the E2 chip to work. I keep getting an error saying "directive (@name) is required on line 2 at character 1... which doesn't make sense because the @name is definitely there, I re-pasted the code numerous times. I need halp. :(
Sorry man I've kinda stopped playing, and all I can suggest is check my description and make sure some of the e2 settings in the console. Otherwise I recommend maybe finding a different steering e2 or go to a legit build server and ask some who is much better with e2. :/ sorry I'm not of much help here. Tomorrow I will add another steering e2 to the pastebin.
+ZcytheGaming hehe, nevermind, I did the same thing as one of the comments below, I copied some ball socket values by accident. Awesome video, definitely subbing.
It has been over a year, and I haven't played gmod in forever. IF you're talking about the actual link not working, it is for me. Otherwise I won't be much help sorry :(
How do I make this support a lot of weight? Turning the damping up, it stops being effective and increasing strength at one point (about 5000 id say?) And I have a big car that weighs a lot.
I'm working with a lot of acf engines and gearboxes guns etc, so I can't decrease weight. I've also tried making the body and wheels heavier, no such luck.
Umm... well i'm not sure, Making the baseplate and wheels heavier works for me. Also remember that the wheels must be lighter than the baseplate. And your baseplate needs to be heavier than all of the combined ACF parts attached to it.
That didn't seem to work, What happens is the suspension isn't able to support the car and this happens: Before: steamcommunity.com/sharedfiles/filedetails/?id=868000326 After: steamcommunity.com/sharedfiles/filedetails/?id=868000207
I put down the E2 on the plate with the code in it but it says "Directive (@name) must appear before code at line 2 char 1" please help NVM I noticed what I was doing wrong, LOL.
When i spawn in the E2 steering thing it says "No such function: entity:setAng(angle) at line 31, char 15" Can you help? E: After like 2 seconds found answer in google :P Sorry for my comment. Amazing tutorial bro
"wire_expression2_extension_enable propcore" on console to fix. You could have copypasted the command here instead of telling that you've found the solution on google, not only it would have taken less time to type but also it would have been more helpful for other people. Also facepunch link got 404'd.
this is bullshit the steering E2 simply doesnt work for me i put it its red it says that some characters dont exist and if i delete them than it has errors i dont even understand so yeah for me its a failure
Silverheart this doesn't make sense. If a chip doesn't work, it should just throw an error or something. I've never heard of a simple e2 chip causing a crash. And if your talking about the steering e2 that's not my chip, and it was made years ago. I'd try searching for a updated steering chip.
This perplexed me as well, as no e2 chip crashed my game before, especiallly not when i just copy the code into the Editor. ill go look for an updated version then.
I know it's late but I believe the problem is that you don't have an extension (propcore) enabled in E2. I think you can 'fix' this, in singleplayer only, by following the instructions on this image: image.prntscr.com/image/33WMdj9XSi2cHgA5L5R-CQ.png Although I recommend you enable them all in singleplayer. "Note: Most E2 addons do not register themselves as extensions and thus cannot be turned on or off with the above commands. A notable exception is the propcore extension in the UWSVN, which is disabled by default. Also, you must run wire_expression2_reload in order for enabling/disabling extensions to take effect." Here is the list of functions that propCore provides: github.com/wiremod/wire/wiki/Prop-core And setAng is one of them. So enabling propcore must fix it.
I combined both of the E2's together, I did this on my last pc too, I think it makes things easier
EDIT: Also, I just build my hydraulics straight onto the Setang Steering E2, thats what I and pretty much everyone else on the server I play on do, makes things more organized (I play on I Just Want to Build (IJWTB))
@name ACF Setup + Setang Steering
@inputs W A D CHASSIS:entity
@outputs Throttle Constant Damping
@persist SLAVE:entity [TURN_RATE TURN_ANGLE TURN] B C
@model models/sprops/rectangles/size_2_5/rect_18x18x3.mdl
Throttle = W * 100
Constant = 50000
Damping = 500
if (dupefinished()) {reset()}
B = round(toUnit("km/h",CHASSIS:vel():length()))
if(B >= 20) {
TURN_ANGLE = 25
}
else
{
TURN_ANGLE = 45
}
if (first()) {
interval(20)
TURN_RATE = 5
SLAVE = entity()
} elseif (clk()) {
interval(20)
if (!SLAVE:isPlayerHolding()) {
TURN += clamp((A-D)*TURN_ANGLE - TURN, -TURN_RATE, TURN_RATE)
SLAVE:setAng( CHASSIS:toWorld(ang(0, TURN, 0)) )
SLAVE:propFreeze(1)
}
}
Thank you so much for this tutorial. Even though it's pretty old, it still works nowadays, and I can finally make proper suspensions.
when creating the wired hydraulic constraint it says precision aligntment is creating errors
please reply :)
Best ACF tutorial on youtube right now. tyty
Thanks!
Help pls. I get error "No such function: entity:SetAng(angle) at line 31 char 15"
I know it's late but I believe the problem is that you don't have an extension (propcore) enabled in E2. I think you can 'fix' this, in singleplayer only, by following the instructions on this image: image.prntscr.com/image/33WMdj9XSi2cHgA5L5R-CQ.png
Although I recommend you enable them all in singleplayer.
"Note: Most E2 addons do not register themselves as extensions and thus cannot be turned on or off with the above commands. A notable exception is the propcore extension in the UWSVN, which is disabled by default.
Also, you must run wire_expression2_reload in order for enabling/disabling extensions to take effect."
Here is the list of functions that propCore provides: github.com/wiremod/wire/wiki/Prop-core And setAng is one of them. So enabling propcore must fix it.
Every time i go to use the suspension module thingy, it throws an error code saying that SLAVE:setAng isn't a proper function
I know it's late but I believe the problem is that you don't have an extension (propcore) enabled in E2. I think you can 'fix' this, in singleplayer only, by following the instructions on this image: image.prntscr.com/image/33WMdj9XSi2cHgA5L5R-CQ.png
Although I recommend you enable them all in singleplayer.
"Note: Most E2 addons do not register themselves as extensions and thus cannot be turned on or off with the above commands. A notable exception is the propcore extension in the UWSVN, which is disabled by default.
Also, you must run wire_expression2_reload in order for enabling/disabling extensions to take effect."
Here is the list of functions that propCore provides: github.com/wiremod/wire/wiki/Prop-core And setAng is one of them. So enabling propcore must fix it.
@@Georetic Thanks for the help! I'll try this later on
anyone getting "Directive (@name) must appear before code at line 2 char 1" delete //acf startup from above the first line.
SimpleHoon still not working
4:19
perfectly balanced, as all things should be
How do I do it for more wheels the precision alignment can't take more than 9 points so what I should do about hydraulics part?
basically do what I did to each wheel. And just keep doing it till its done, I will make a Tank tutorial w/ suspension as good as this.
Ok thanks.
eventually.
Wheels don't rotate like they should. Wheels roll over sideways. Can't dupe machine because it won't duplicate the hydraulics for some reason.
Did you ball socket correctly?, As for duplication, you are using the advanced duplicator right?
Advanced duplicator 2. My vehicle is facing north, and I have the exact same settings for the ball socket. I've tried to change the settings to see if I can fix it, but it doesn't work no matter what I do.
Then I'm unsure how to help, and I am terribly sorry I cannot. I wish only for you to find a solution.
Yes! I got it working. I decided to make it on the flatgrass map, facing the Flattywood sign (which I assumed was north for some reason). It decided to roll only sideways, so I realized that I wasn't actually facing north, and I changed the settings of the ball socket to fix it. It works now, thanks for your awesome tutorial!
Deathpuff12 Glad you got it working! Remember that on any map, the top of your spray is north.
You dont need to click on the sides for adv ball socket, u can click anywhere
+zsolesz gamer Oh, Well either way it works, and it helped me visualize how it kind of works.
im just saying to make things easyer :D
Great tutorial!
Thanks!
the only good tutorial
thanks
I can’t figure out how to make a six wheel vehicle with the mirror, any tips?
i bring unfortunate news, im not sure if its something im doing wrong addon-wise, but the method of using PA for wire hydraulics doesn't seem to work anymore
i bring fortunate news there is a fork of precision alignment also for some reason the wire hydraulic does work in multyplayer but it work in signleplayer
what's the fork? also i was trying this in singleplayer
ill try again in multiplayer if i get the time
@@13B-POWAH the offbrand version is called "precision alignment" and its made by a guy called GNU. And fork is when someone makes something makes it open to the public and some takes it and makes adjustments to it
I was wondering, what exactly does Constant and Damping do?
Truth be told i'm not sure, I never really experimented with the numbers enough.
Constant is basically spring constant, it's how stiff the spring is. The higher it is the more force will be required to move wheels from neutral position and the more force they will return to neutral with. Heavier cars need stronger constant. Ideally you want a constant such that the biggest bumps you expect to hit will max out your available wheel travel.
Damping is like the delta (or $) if you have ever coded hovering e2 thrusters before. It basically punishes and slows down high speeds, it slows the amount of time to return to neutral initially but then heavily cuts down the oscillations and springing around the neutral point. If you have no damping you return to neutral fast but then overshoot it and keep oscillating back and forth past it.
Ideally you want higher damping for fewer really big bumps and low damping for many smaller bumps. This is because you need fast return to neutral if you hit many smaller bumps in sequence, but if you hit big bumps you need something that will cancel the large oscillations out and perform smoothly.
You may want to look up PID controller- P relates to constant and D relates to damping. You can ignore the I bit, it's an extra factor that can be added which accumulates over time to overcome natural failure to return to the exact start position. It's not used here.
The ball socket things dont really work the way you described. Mine wont hold the wheel in place.
You probably didn't build north because I had that problem then I fixed the orientation and it worked
Probably a bit late but I'm stuck on the step where you connect the hydraulics to the wheels. The odd and even step.
It's giving me errors and saying its a nil value.
any advice?
attempt to callmethod 'SetRope'
I have the problem that Precision Alignment can't constraint an object to itself
While this tutorial is amazing and very appreciated, I can't get the E2 chip to work. I keep getting an error saying "directive (@name) is required on line 2 at character 1... which doesn't make sense because the @name is definitely there, I re-pasted the code numerous times. I need halp. :(
Sorry man I've kinda stopped playing, and all I can suggest is check my description and make sure some of the e2 settings in the console. Otherwise I recommend maybe finding a different steering e2 or go to a legit build server and ask some who is much better with e2. :/ sorry I'm not of much help here. Tomorrow I will add another steering e2 to the pastebin.
+ZcytheGaming hehe, nevermind, I did the same thing as one of the comments below, I copied some ball socket values by accident. Awesome video, definitely subbing.
10:22 "Directive (@name) must appear before code at line 2 char 1" fix?? this is also happening with inputs and outputs
My precision alignment tool won't set more then one point
Hold SHIFT while you click.
The link for pastebin where you gave us the E2 and ball-socket information isn't working.
It has been over a year, and I haven't played gmod in forever. IF you're talking about the actual link not working, it is for me. Otherwise I won't be much help sorry :(
The Steering e2 is not working it says: " left curly bracket ({) expected after if condition at line 29, char 33 " please help.
I recommend looking up similar e2s. I haven't played GMOD for quite some time.
+ZcytheGaming ok.
nvm i passed the error code!
When I used this, the wheels in the front locked up
Does this works on Cars with a weight from... like 120 tons? ._.
If your car weighs 120 tons, you might want to reconsider your life choices.
0:43 "Lets get begin!"
it keeps saying u need @name to be at line 2 char 1
When i unfreeze my car the suspension doesn't work and it just flops or freaks out
your baseplate needs to be heavier than the wheels
nice physgun skin btw
i need help the ball socket is not working it just has my weels just go left right i want help
Sorry to say, but I haven't messed with GMod since this video. Your gonna have to find help somewhere else. :( Good luck
Do you know how I can do suspension with only three wheels. on say a tricycle?
You do the same thing I do here, except for both sides of the wheel, look at the end of my ACF video for reference, though it's backward :p
i followed step by step but the wheels wont rotate and the wheels sway back and fourth
i just re did it, i even slowed it down but it still sways
How do I make this support a lot of weight? Turning the damping up, it stops being effective and increasing strength at one point (about 5000 id say?) And I have a big car that weighs a lot.
Mabye make the car not heavy? And make sure the wheels and baseplate are significantly more heavy then the "body"
I'm working with a lot of acf engines and gearboxes guns etc, so I can't decrease weight.
I've also tried making the body and wheels heavier, no such luck.
Umm... well i'm not sure, Making the baseplate and wheels heavier works for me. Also remember that the wheels must be lighter than the baseplate. And your baseplate needs to be heavier than all of the combined ACF parts attached to it.
That didn't seem to work, What happens is the suspension isn't able to support the car and this happens:
Before:
steamcommunity.com/sharedfiles/filedetails/?id=868000326
After:
steamcommunity.com/sharedfiles/filedetails/?id=868000207
What are the the weights?
I put down the E2 on the plate with the code in it but it says "Directive (@name) must appear before code at line 2 char 1" please help
NVM I noticed what I was doing wrong, LOL.
What did you do wrong
Your e2 doesn’t work
Clicked for tutorial, stayed for synthwave
Thanks! One of my favorite albums.
Thanks, great tutorial!
When i spawn in the E2 steering thing it says "No such function: entity:setAng(angle) at line 31, char 15" Can you help?
E: After like 2 seconds found answer in google :P Sorry for my comment. Amazing tutorial bro
Glad you found a solution, I was halfway onto searching google myself when I read your edit. Thanks.
where did you find the solution?
facepunch.com/showthread.php?t=1256001
"wire_expression2_extension_enable propcore" on console to fix.
You could have copypasted the command here instead of telling that you've found the solution on google, not only it would have taken less time to type but also it would have been more helpful for other people. Also facepunch link got 404'd.
5:20 ish fail edit.
ZcytheGaming you can press shift to wire multiple at once
Does anyone know how to fix the problem of the steering not working over 5 mph?
i need help i get an errar that seas entitty:setang(angel) line 31 chr 15 what do i do on the stering
Go into Q>Utilities>Admin>E2 Extensions and enable all of them, Then in console type: wire_expression2_reload
@@professorboxtrot4922 thanks man
so lets get begin!
this is bullshit the steering E2 simply doesnt work for me i put it its red it says that some characters dont exist and if i delete them than it has errors i dont even understand so yeah for me its a failure
Why you need to build north??
not sure, but i do know that if you dont some things wont work.
ok thx
very nice :D
mine doesn't freak out like that now now it just stays in one pot and the wheels just sag plz help
nvm fixed it maybe haven't fully finished this part
nope still have problems
E2 seems broken, Game Crashes as soon as it attempts to load your Chip
Silverheart this doesn't make sense. If a chip doesn't work, it should just throw an error or something. I've never heard of a simple e2 chip causing a crash. And if your talking about the steering e2 that's not my chip, and it was made years ago. I'd try searching for a updated steering chip.
This perplexed me as well, as no e2 chip crashed my game before, especiallly not when i just copy the code into the Editor. ill go look for an updated version then.
alrightjust added you I am vShazerJr
its good now :D
UFGFFGFG I SPENT 1 HOUR ON THIS AND I FAILED
it says cannot constrain entity to itself
Hey I messaged you asking if you have time to help me with this part
I do not have the advanced wire tool plizz help
Wiremod has been updated so the advanced wire tool is the standard tool now, the legacy tool has been removed cause it was never used
Can you build a engine, like a V-12,8,6 pls
+Gamer_time What like e2 engines? Otherwise its all very similar just mess with the final drive until it works well.
Like a e2 engine.
Sorry don't know anything about e2 engines.
the e2 setang steering is outdated please update it
I know it's late but I believe the problem is that you don't have an extension (propcore) enabled in E2. I think you can 'fix' this, in singleplayer only, by following the instructions on this image: image.prntscr.com/image/33WMdj9XSi2cHgA5L5R-CQ.png
Although I recommend you enable them all in singleplayer.
"Note: Most E2 addons do not register themselves as extensions and thus cannot be turned on or off with the above commands. A notable exception is the propcore extension in the UWSVN, which is disabled by default.
Also, you must run wire_expression2_reload in order for enabling/disabling extensions to take effect."
Here is the list of functions that propCore provides: github.com/wiremod/wire/wiki/Prop-core And setAng is one of them. So enabling propcore must fix it.
Derective (@name) must appere before code at line 2 char 1 Help!
My wheels won't spin at all. Help?
BUT this is an amazing tutorial either way! Best one out there!! All the others out there are wayyyy too vague. Awesome!!
Nvm actually... I got it. Awesome tutorial!!
Rest in rip idubs
wait no I changed it its Mr.Weast
I need help pasting the e2 code. can anyone help me? i need to know where to extract the E2 file in the good folder
+Bridger Johnson How are you having trouble? Like all you have to do is past the stuff into the E2, and save it. And update the list on the wire menu.
+Bridger Johnson Also keep in mind, that the pastebin has multiple codes, for multiple chips.
+ZcytheGaming i was being stupid sorry. lol. Also on the steering E2 it says "unknown character found (.)" the period after ball socket adv.
I'm not sure, The code works for me, I'd suggest trying to re-paste it and save it. I'm sorry I can't help you on this part.
+ZcytheGaming i have multiple times. can you look on your link at the steering code? the period is on line 46 on the page.
My wheels are spinning the wrong way
I fixed it
@@TheBlueScroom Good to hear
do you do holo?
Nope, I just know how to setup cars.
cant get the e2 chip
Can I not use ACF
Yeah, use whatever means you feel to get the vehicle going.
if you can make a holo with 0 ops and have it move without parenting come and show me
add me on steam trust me i can show you
we will join a server and i will show you wrong
+ZcytheGaming toWorld() magic my friend
the e2 is not working
+Isaiah Duarte How? Whats it say, Give me more information so I can help you, because it works for me.
the part that says if(replied)){ say("ITS JUST A PRANK BRO")
Oky m8, wanna go? I'll rek you i swear on me mum.. 1v1 me cod mw2
I will use my minecarft hacks -_-
is it possible to do this car but without acf;and make steering and gas like in this video:ruclips.net/video/Flex-2so_Zs/видео.html
Oh
music please.
Home - Odyssey
ZcytheGaming thank you very much!
man, u sure that this music is Home - Odyssey? i was looking for that but i think its different music
and, uh, i want first music from second movie about ACF car
build one without mods
you mean addons?
I do not know how. And I don't think limiting myself will be fun in this game. (Not that I play it anymore)
Dude you desperately need to make videos along side a script...
Agreed but it was a heat of the moment kind of thing. I tried my best not to stutter, trust me you haven't heard the worst of it.
my steam name is DSMRSpektrum
My precision alignment tool won't set more then one point
Mine works fine, make sure you have the right kind, Check my collection, steamcommunity.com/sharedfiles/filedetails/?id=582472912
Same problem and i have the same tool as you.