Garry's Mod |#34| Advanced Pod Controller Suspension

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
8,755
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 15, 2010

E2:

@name Car Controll
@inputs Ww Ss Aa Dd Space Active
@outputs HydrolicL HydrolicR Breaks Force

runOnTick(1)

if (Ww==1){Force=50000} else {Force=0}
if (Ss==1){Force=-50000}

if (Aa==1){HydrolicL=4,HydrolicR=64} else {HydrolicL=34,HydrolicR=34}
if (Dd==1){HydrolicR=4,HydrolicL=64}

if (Active==0){Breaks=1} else {Breaks=0}
if (Space==1){Breaks=1}




Be sure to watch my 30th Tut - 33rd Tut. They show the original body of the car.
Hey guys, today Im showing you guys how to make the car drivable now. So we can use W,A,S,and D to controll the movement and space for breaks. But this car has a feature that allows it to always be stopped when not occupied. So its like a automatic emergancy break. :D
So I hope you guys enjoy. Be on the lookout for a lot more of my tutorials. Also check our channel to see some more things.
Thanks for watching, subscribe. xD

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (tarpenman)

  • I saved the vehicle on a map and when I reloaded the map the E2 broke. What happened?

  • @MaximumYoshi What do you mean the E2 broke.

  • if i cant see the hole code?? what i have to do

    PLZ do not say anything about my english

  • @dragon222301 Click the down arrows in the decription box.

  • My E2 doesn't give the right power to my hydro's for turning.

  • @catperson2727 You probably didnt change the weight back to normal or you didnt change the weight high at the start.

see all

All Comments (47)

Sign In or Sign Up now to post a comment!
  • Dude I love your how to's I havent got GMod yet but I wunt to learn as much as I can so i can build my car as soon as I get it so thank you.

  • E1?

  • mustve been a bitch to make

  • @hunter21skate

    Oh how terrible...

    Sarcasm aside have you seen that thing below your monitor with buttons all over it?

  • you are wrong in e2 you cant go back because if you push s force = -50000 and if you dont push w force = 0

  • you cant copy and past :(

  • You sound so enthusiastic.

  • transcribe audio xD

  • you could have done it like this: (just one thing for an example

    @inputs Pod:wirelink

    runOnTick(1)

    W = Pod["W",number]

    if (W==1){Force=50000} else {Force=0}

    This is because a wirelink results in much faster code. (anti-lag for big codes)

    Dunno if you already knew that, because this is a older video, but i just wanted to say it.

  • WHERE I DOWNLOAD POD CONTROLLER?

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more