@Mewmuphinz Make it like this ill use your information @name hydraulic(or whatever name) @inputs A B C D @outputs H (empty line) if(A == 1){H = 100} elseif(B == 1){H = 200} elseif(C == 1){H = 300} elseif(D == 1){H = 0} Go ahead and copy that
@MegaDragon0000 Try this. Make another button (0, or whatever you want) and add this line to your expression: if(D==1) {H=0} There can only be ONE zero. When you're done, it should look like this: @name Elevator @inputs A B C D @outputs H if(A==1) {H=100} if(B==1) {H=200} if(C==1) {H=300} if(D==1) {H=0} This worked PERFECT for me.
I've done this exact way of making an elevator from since I first saw this video, and it always worked, but recently, the fixed hydraulic and the plate its moving just starts flailing. If I get on it it flips and spins, killing me.
Actually, I found that MOST servers have bad wire installs, and I updated via SVN to my server and it's seems to be working now, and on a few other servers. But thanks for the reply.
@GunskiMod I'm having the same problem. I weld a plate to the ground and base my elevator off of it; when I make the base plate super heavy it seems to stabilize the elevator more, but it still throws me off when I try to step onto it. I'm about to try just attaching it to the ground, to see if that makes a difference.
You press E on the buttons. I wired the A to 1, B to 2, and C to button 3. So if you press any of the buttons, the hydraulic will switch over to that length.
@trashsplashvideos Right click to change wire option (when a gray box comes up to say A, you right click and it changes to B, right click again, C, again, A. It cycles through.
@trashsplashvideos Hover over the item you want to scroll through, in this case the Expression and right click it should then scroll through the different inputs
i do everything exactly as you do it but when i press the buttons nothing happens. and yes everything is unfrozen. I am new to wire mod so some help would be appreciated
Hey Gunski i want to ask you i just got the original gmod and im a noob at wire id make this but i want to make a big house/fort so how do i make the lift go higher?
i might be able to help u... do u know where he says his code A==1 -> H=100; just swap out the 100 for any number u want and that will be the height that the elevator will raise up too. :D
ooo i might beable to help u on that too.. so when u say *take it down* do u mean like take it to ground floor? cause u can add another button that says 0 and in expression how the inputs are A B C add A B C AND THEN put a D then in expression put in the code D==1 -> H=10; thats ground level. lawl sorry if its not what ur asking or u dont get it just send me another message:D
but there is a problem i dicovered when i save the game and the next time i load it i see everything but the hydraulic line isnt on the elevator but the controller is what should i do?
the only thing that i could think of is some error with saving wired hydralics... idk your best bet is to make the hydralics again and advance duplicate the finished elevator and save it to your files.. if u need anything else just add me msk8r101 on steam :D
This is very confusing. I tried this the same way you did and my hydro goes right to 300 when im done wireing it my buttons are toggles and they are off. I use Exp1 because I don't know how to use Exp2. Can you tell me or anyone?
this is gmod 12 O_o where to download if there is link or it's facke
55spiros1 3 weeks ago
Can you make it go to the first story by putting 0 instead of 100?
Bonktf 1 month ago
what kind of e2 is it
ryan50676 5 months ago
are u using a tool mod or is it gmod 11??
odgaardDK 6 months ago
So when is it coming back down?
TheJockman117 10 months ago
expressions make me fell dumb they look hard
zallazum 11 months ago
is that Gmod 11 and is there more tools in gmod11?
odgaardDK 1 year ago
@mewmuphinz
You should have added an interval
Just put interval(10) or runOnTick(1) after outputs :D
fast0lf 1 year ago
I did everything that the video said. Correctly. My E2 chip says: (without the blank stuff)
@inputs A B C D
@outputs H Smooth
if(A==1){H=100}
if(B==1){H=200}
if(C==1){H=300}
if(D==1){H=0}
Even without the D button in there, the only button that would ever work was the first button. I don't know why. Help plz?
Mewmuphinz 1 year ago
djcaffinefan 8 months ago
hey not A==1 -> H=0 ???
TommyDDoom 1 year ago
FAIL AT 2:05
TommyDDoom 1 year ago
7 people are hating trolls.
chaquator 1 year ago
sick dude
MastaKnifa55 1 year ago
HOLY SHIT COMPLICATED
xXChuckNorrisXx98 1 year ago
@xXChuckNorrisXx98 i really hope you were sarcastic....
Zomakoguy 1 year ago
@Zomakoguy i just have ADD thats y i thought it wuz complicated
xXChuckNorrisXx98 1 year ago
MAN U ROX, I LOVE U FOR THIS.
Carlozz1000 1 year ago
This has been flagged as spam show
AMD Phenom II X4 955(3.2GHz)
4GB (2x2GB) DDR3 1333
500GB SATA-II 3.0Gb/s 7200RPM HDD (will upgrade soon enough)
NVIDIA GeForce 9800GT 1GB
How does this look for games of the source engine.
Chefboyardee334 1 year ago
and how did you get the phx pack? i alreaddy downloaded it and i have the files, they are in the addons map but they only wont come at the game...
grrgaap1234567890 1 year ago
@grrgaap1234567890 you have to get it from SVN, search in youtube "gmod how to download PHX" or something like that, it's an awesome tut!
skipa25 1 year ago
lol how do you get those mini white squares those like 0:22?
grrgaap1234567890 1 year ago
Easy, Simple, and useful, thanks alot bro.
failOtavio 1 year ago
This has been flagged as spam show
hey guys check out my video response with an alternate way of doing this.
TheChelck 1 year ago
Nicely done, good job and thanks!
ekorad1995 1 year ago
I added a 0 Button so it goes All the way down =/
onetimecake 1 year ago
This has been flagged as spam show
couldn't you just type in on E2; its easier to remember
if (Button1) {hydraulic=50}
if (Button2) {hydraulic=100}
if (Button3) {hydraulic=150}
TheMrBuBB13s 1 year ago
couldn't you just type in on E2 its easier to remember
if (Button1) {hydraulic=50}
if (Button2) {hydraulic=100}
if (Button3) {hydraulic=150}
TheMrBuBB13s 1 year ago
@TheNp42 lol I know it already,the reply too long so now I know everything(not :D),but I even know how to make a button call the elevator
MegaDragon0000 1 year ago
@GunskiMod how to call the Elevator back?I try:
if (A==1) {H=000} but failed
MegaDragon0000 1 year ago
TheNp42 1 year ago
Comment removed
Geex1988 1 year ago
My elevator is killing everyone who try to drive it >.<
Whats the problem?
Geex1988 1 year ago
@Geex1988 you didn't do the smoother part
TheMrBuBB13s 1 year ago
@GunskiMod how to change A to B and B to C at 1:28???
MegaDragon0000 1 year ago
@MegaDragon0000 Right click
jodelahithit 1 year ago
that is easy!
and without expresion is easy to but more chip!
infera1 1 year ago
Comment removed
MegaDragon0000 1 year ago
I'm thinking this is prolly something you'll know how to do, how to I set up multiple keypads for 1 hydraulic thing?
flasbang73 1 year ago
Comment removed
MegaDragon0000 1 year ago
@GunskiMod what's the Elevator Button?And Download link?
MegaDragon0000 1 year ago
@MegaDragon0000 Wiremod(dot)com, click download.
GunskiMod 1 year ago
@GunskiMod I found out how but it wont work :/
816nnm 3 months ago
@MegaDragon0000 DOWNLOAD LINK???
TommyDDoom 1 year ago
@TommyDDoom what download link???
MegaDragon0000 1 year ago
Is there a way to use smoother from inside the E2 chip?
MrMetalCookie 1 year ago
Comment removed
lovingkorvs 1 year ago
Comment removed
lovingkorvs 1 year ago
miny wire mod is diferente from yours can you give the link to download that wire mod plz reply
sadam23 1 year ago
@sadam23 wiremod(dot)com, then click download. If you mean that, there is no Expression 1, they removed that. You have to use E2.
GunskiMod 1 year ago
@GunskiMod thz
sadam23 1 year ago
@GunskiMod I cant find those stuff at Chip- Expression, its just some choices and at the bottom it says updaate
816nnm 3 months ago
wtflip dude i only have e2 no expression
gmodroxx5 1 year ago
i dont have a expression chip just 2 will this work with expression 2?
Thoopje 1 year ago
good that steam has a ingame browser so i can watch this while playing :)
Thoopje 1 year ago
how would i do this with E2? would i have to make the line Inputs, outputs, etc?
BobertBarker101 1 year ago
@BobertBarker101 Same inputs and outputs. But instead of A==1 -> H=100; you do if(A==1) {H=100}
GunskiMod 1 year ago
@GunskiMod nvm i found it in the e2 the line is
if (A) then {H=100}
if (B) then {H=200} and so on
BobertBarker101 1 year ago
@GunskiMod When i do tht it says Left curly bracket ({) must be part of an if/while/for-statment block at line 4, char11
myepic41 1 year ago
@myepic41 If you're still having problems, I can help if you send me your code
MrMetalCookie 1 year ago
when i use expression 2 it says none help
ILoveYouVids 1 year ago
Can someone PLEASE help me?! my hydraulic controller only says "0 and constant - damping -" PLEASE HELP!"
Robozarm 1 year ago
@Robozarm sasame problem here, did u find a fix?
twentyletternamesftw 1 year ago
Thanks for the tut it help alot
CoolKillerClan 1 year ago
Hey I was just wondering, what does a smoother do? I do use wire and expression 2 but never used a smoother :P
ssankoo 1 year ago
@ssankoo Exactly what it's name says. It makes things smooth.
GunskiMod 1 year ago
@GunskiMod Yeh but like does it round it, or does it slowly increase/decrease? Srry I didn't understand, I'm Dutch..
ssankoo 1 year ago
What about for ground floor? Do I add an (A==1 -> H=0;) to line 1 and just continue it with B C D?
KillerZetzz 1 year ago
@KillerZetzz Doesn't matter. You can just change the 100 to a 0.
GunskiMod 1 year ago
Lawl. Yes, it works.. can you make a E2 guide about multi stage elvators now XD
Reidar00 1 year ago
Thanks, just what i needed to get my smoother to work. Thanks :D
sniperjep10 1 year ago
i want to make 8 floors but it stops at the 3rd floor
HiMyNameIsRichy 1 year ago
I have to hold my buttons to get it to work...
ringworm232 1 year ago
@ringworm232 when you put the buttons you see something "toggle"click on it and put the buttons
stunterz100 1 year ago
I've done this exact way of making an elevator from since I first saw this video, and it always worked, but recently, the fixed hydraulic and the plate its moving just starts flailing. If I get on it it flips and spins, killing me.
WaterCow12 1 year ago
Mess around with the weights.
GunskiMod 1 year ago
@GunskiMod
Actually, I found that MOST servers have bad wire installs, and I updated via SVN to my server and it's seems to be working now, and on a few other servers. But thanks for the reply.
WaterCow12 1 year ago
@GunskiMod I'm having the same problem. I weld a plate to the ground and base my elevator off of it; when I make the base plate super heavy it seems to stabilize the elevator more, but it still throws me off when I try to step onto it. I'm about to try just attaching it to the ground, to see if that makes a difference.
sogortheogre 1 year ago
@GunskiMod Hey this has nothing to do with weights but i cant get the line 3 expression symbol to work
TY if you help
YouWantACandy 1 year ago
@WaterCow12 Add Sliders, Much Better Idea Than Messing Around With Weights.
GamingFPS 1 year ago
@WaterCow12 Or just use between 2-4 Sliders. I used that and a Fixed Hydraulic and my elevator worked great for 2 people in a tower I made.
R4nd0m0s1ty 1 year ago
oops i did just put A== -> H=100
tommynator97 2 years ago
unexepted symbol at line 1 ->
WHY?!?!?!
tommynator97 2 years ago
i too got that, it stand unexepted symbol (;) at line 4, I DONT HAVE ANY ; AT LINE 4!!! ZOMG
CKproduktions 1 year ago
Thanks, 5*
Tom260398 2 years ago
how do you switch from link A, to link B, to like C, what button do you press, im kinda new to wiremod
trashsplashvideos 2 years ago
You press E on the buttons. I wired the A to 1, B to 2, and C to button 3. So if you press any of the buttons, the hydraulic will switch over to that length.
GunskiMod 2 years ago
Special attack or right click
Tom260398 2 years ago
@trashsplashvideos right click
stunterz100 1 year ago
@trashsplashvideos Right click to change wire option (when a gray box comes up to say A, you right click and it changes to B, right click again, C, again, A. It cycles through.
Howie21191 1 year ago
@trashsplashvideos Hover over the item you want to scroll through, in this case the Expression and right click it should then scroll through the different inputs
FagDelivers 1 year ago
It worked for a while but then i had to hold down the buttons to make it move up and down
MistMrE 2 years ago
Comment removed
Sp042J 2 years ago
Try it upside down.
GunskiMod 2 years ago
Very Good, Thx
failOtavio 2 years ago
Very Helpful. I got killed by my elevator a few times before finding this video and adding the smoother gate. Thanks for the tutorial.
89nephilim 2 years ago
i do everything exactly as you do it but when i press the buttons nothing happens. and yes everything is unfrozen. I am new to wire mod so some help would be appreciated
DHANSON94 2 years ago
lol but how do you get it back down???
darkstar32526 2 years ago
Press the first button...
GunskiMod 2 years ago
@GunskiMod i meant to the ground :P
darkstar32526 2 years ago
to get it back down make the exp first line 0 this will make the hydrailic decresse as low as it can go which is the ground
keeligirl 2 years ago
@keeligirl ty!
darkstar32526 2 years ago
MINE DIDNT WORK! >:( i did everything right! i pushed 1 then it went up then it stopped forever! i couldnt even put it back down
IxdokuxI 2 years ago
I think it might be a glitch. Try a different server.
GunskiMod 2 years ago
awesome and the configuration is simple but wouldn you start A at 0? then B 100 C 200 etc.
acre1290 2 years ago
Doesn't matter.
GunskiMod 2 years ago
@acre1290 hes only showing the principle of setting values to multiple inputs with one chip
ivorbigun20 2 years ago
Best Elevator Tutorial on YouTube... 5* and will recommend it =D
BigBlueInc 2 years ago
thanks, this really helped 5/5
MajorWales 2 years ago
No, mine works now, but i can't ride it. Any suggestions on what I'm doing wrong?
masterlock1000 2 years ago
Weight.
GunskiMod 2 years ago
what do you mean by can't ride it?
does it shake? or does it not move at all?
MajorWales 2 years ago
Well, i get on it. and it just drops to the ground. INSTANTLY! :O
masterlock1000 2 years ago
Weight.
GunskiMod 2 years ago
mine won't work.
masterlock1000 2 years ago
unfreeze?
Turtles9788 2 years ago
No dummy, i unfroze it. it works now.
masterlock1000 2 years ago
Oh, And great tutorial, It helped me alot!!
FreakFixtional 2 years ago
I need help, it says unexpected ; on line 3, 2, and 1. Please help
FreakFixtional 2 years ago
Make sure you're using expression 1. If you're using expression2, you have to make it a little different.
GunskiMod 2 years ago
I am using expression 1 and ghave an error that says "expected symbol (;) at line 3."
What to do???
reameess 2 years ago
Put a ; at the end of line 3.
GunskiMod 2 years ago
u forgot the ; at the end of the line.
FlamingSwordPro 2 years ago
thanks, awesome tut, my fort will be great! >=D
nachos7117 2 years ago
5/5 it's awesome, short and very explicit...ur great man!
maiamibych 2 years ago
when i write this
A== -> H=100;
then (( -> )) this is an unexpected error why?
ehentrich 2 years ago
Same problem!
FreakFixtional 2 years ago
when im entering the A==1 -> h=0 (zero is what im using for my first button) it says error cannot create expression
please help me with this problem.
thanks
mrwuggles117 2 years ago
You need the ; at the end.
GunskiMod 2 years ago
i wanna know how to get the elevator to come to each floor by a fixed button on each floor how is that done (new to wire mod)
=] reply back soon
666Lurks666 2 years ago
i dont understand... i just Wire then what i press to change A B C
thendlessonline 2 years ago
The buttons
GunskiMod 2 years ago
i mean Change A to B to C
when i wire to buttons for i did..
A to 1 buttons then A to 2 buttons how i change the A,B,C
thendlessonline 2 years ago
You don't make any sense. You wire the A to button 1, B to 2, C to 3.
GunskiMod 2 years ago
i dont understand :/
thendlessonline 2 years ago
Comment removed
thendlessonline 2 years ago
I think he means change from using A to B because when he wants to wire them hes using A on button 1 and 2
Orinmaru 2 years ago
Hey Gunski i want to ask you i just got the original gmod and im a noob at wire id make this but i want to make a big house/fort so how do i make the lift go higher?
thank you
UnFuryYY 2 years ago
i might be able to help u... do u know where he says his code A==1 -> H=100; just swap out the 100 for any number u want and that will be the height that the elevator will raise up too. :D
12ragoschkema 2 years ago
Thanks but theres is another problem :D how do i take it down?
UnFuryYY 2 years ago
ooo i might beable to help u on that too.. so when u say *take it down* do u mean like take it to ground floor? cause u can add another button that says 0 and in expression how the inputs are A B C add A B C AND THEN put a D then in expression put in the code D==1 -> H=10; thats ground level. lawl sorry if its not what ur asking or u dont get it just send me another message:D
12ragoschkema 2 years ago
its just what i wanted thx
UnFuryYY 2 years ago
but there is a problem i dicovered when i save the game and the next time i load it i see everything but the hydraulic line isnt on the elevator but the controller is what should i do?
UnFuryYY 2 years ago
the only thing that i could think of is some error with saving wired hydralics... idk your best bet is to make the hydralics again and advance duplicate the finished elevator and save it to your files.. if u need anything else just add me msk8r101 on steam :D
12ragoschkema 2 years ago
i don't use steam it's like the half-pirated gmod but thanks i will try to advance duplicate
UnFuryYY 2 years ago
:D i used the pirated version before lol but now im onto real gmod =p
12ragoschkema 2 years ago
how do i advance duplicate?
UnFuryYY 2 years ago
Awesome tut!
sniperjep10 2 years ago 2
im soooo confused at this, yo dude, think you could show me how to wire lol.
g0d0fw4r1 2 years ago
This is SOO easy :x
TheFantomxero 2 years ago
i am a noob in expression and this is very easy
schneggedigger 2 years ago
thx u some much i know know how to do my spider mech e1
stuntman30321 2 years ago
Can anyone type exactly what this should look like in Expression 2??
@name
@inputs
@outputs
@persist
@trigger
and then the extra lines.
Bobakidboy97 2 years ago
Same inputs and outputs as in the video.
if(A==1) {H=Blah}
if(B==1) {H=something else}
and so on.
GunskiMod 2 years ago
Cool! Thanks so much! Can you make more tutorials using Expression2/Wire? I really like your vids :)
Bobakidboy97 2 years ago
Just change the number in the constant value.
GunskiMod 2 years ago
Thanks.
Bobakidboy97 2 years ago
Oh and is it possible to change the speed of the hydraulics using E2?
Bobakidboy97 2 years ago
you would need a smoother I think, and I think you would connect the smoother to the hydraulic, I don't know, all I know is use need a smoother
lildragon5555 2 years ago
why can it only be a small number?? i made 9 buttons and i had to hold them in to work
Kovven 2 years ago
Look at the date.
officialbassbounce 2 years ago
i changed mine a bit to "A B C D E F G I" and using those extra letters i had 4 floors and 4 more buttons to call the elevator to those floors.
emill151 2 years ago
thx~ i can make a elevator with 5 "floor" now~ yeah
mickeyyeung0528 2 years ago
i did the same it worked but when i tryed 2 do it in heavy stuff it does not work
VIPMAster1000 2 years ago
YOUR TUTURIALS ROCK!
VIPMAster1000 2 years ago
Thanks for watching? More like thanks for showing! :D
glitchuser4 2 years ago
it it ok to make the 100,200,300 numbers a diffrent number?
keeligirl 2 years ago
no
100, 200 and 300 are the heigths
uziinmepuzi 2 years ago
Who said you can't change the heights?
GunskiMod 2 years ago
keeligirl asked if she could change the numbers 100, 200 and 300 and I ment to say yes. I don't know why i said no :S
probably just confused.
uziinmepuzi 2 years ago
you are a GENIUS!!!!!
uziinmepuzi 2 years ago
My elevator plate dosent move after ive wired everthing together!Someone plese help?
lolmaster42 2 years ago
1 got everything still it wont work :S pls help,, i think my problem is with the buttons.. they are non toggled but all on 0/0 that ok?
and with expression i added an exta Line D for an extra button, that cant be a prob right?
MrWinkelNL 2 years ago
Make sure the buttons are set to 1 and 0. And it doesn't matter how many floors you add.
GunskiMod 2 years ago
This helped a lot. Thanks!
razr1121 2 years ago
This is very confusing. I tried this the same way you did and my hydro goes right to 300 when im done wireing it my buttons are toggles and they are off. I use Exp1 because I don't know how to use Exp2. Can you tell me or anyone?
tarpenman 2 years ago