Back to Browse

Gmod - Engine Tutorial (Updated)

33.0K views
Dec 27, 2013
34:30

Here is a new engine tutorial that is updated with what I have learned since the last one. SProps - http://steamcommunity.com/sharedfiles/filedetails/?id=173482196 Wiremod - http://steamcommunity.com/sharedfiles/filedetails/?id=160250458 Fading Doors - http://steamcommunity.com/sharedfiles/filedetails/?id=105115318 Precision Alignment & Axis Center - http://facepunch.com/showthread.php?t=1239976 Engine Code Pastebin: http://pastebin.com/WhVgueXW -------------------------------------------------------------------------------------- #Made by xxxmags, Improved by Spider0804 & Christian @name Engine Chip @inputs On Throttle [Crankshaft BasePlate]:wirelink @outputs RPM Bearing SoundPitch @outputs Piston1 Piston2 Piston3 Piston4 Piston5 interval(10) T = Throttle*On SoundPitch=RPM*0.003 Crank = Crankshaft:entity() Base = BasePlate:entity() RPM = Crank:angVel():yaw()/6 Bearing=Crank:bearing(Base:pos()+vec(0,0,12):rotate(Base:angles())) Piston1 = sin(Bearing)*T Piston2 = sin(Bearing + 72)*T Piston3 = sin(Bearing + 144)*T Piston4 = sin(Bearing + 216)*T Piston5 = sin(Bearing + 288)*T

Download

0 formats

No download links available.

Gmod - Engine Tutorial (Updated) | NatokHD