VC-Mod Instructions for Gmod

VC-Mod Instructions for Gmod - Vehicle Control Console Commands


//Console Commands, all of which can be accessed VIA Utilities menu:
//"VC_Enabled" - Force enable/shut down Vehicle Controller.
//"VC_Enabled_CLIENT" - Force enable/shut down Client-Side part of the Vehicle Controller.
//"VC_Trl_Auto_Attach" - Automatically attach a trailer nearby.
//"VC_Trl_Attach_Distance" - Distance in order for the trailer to auto attach (min 15, max 250).
//"VC_Trl_Brakes_Enter_Exit" - Brakes On/Off on enter/exit (VC_Trl_Truck_Brakes controls this too).
//"VC_Trl_Truck_Brakes" - Combine the trucks brakes with the trailers.
//"VC_Trl_Crash_Brakes" - Trailers brakes active after involuntary detach.
//"VC_Trl_View_Adjust" - Custom third person view while having a trailer attached.
//"VC_Trailer_Detach" - Detach currently attached trailer.
//"VC_Siren_OnOff" - Turn the siren On/Off when in a vehicle carrying one.
//"VC_Siren_Sound_OnOff" - Toggle the siren sound, will not turn on the sound if siren is off.
//"VC_Siren_Affect_NPCs" - Agitate NPCs with the vehicles police siren.
//"VC_Brake_Lock" - Don't brake the car on exit if not braking.
//"VC_Wheel_Lock" - Lock the cars steering wheel on exit.
//"VC_Scale_Damage_Melee" - When in a custom vehicle scale melee damage.
//"VC_Door_Sounds" - Play a sound when opening/closing the car doors.
//"VC_Wheel_Dust" - Dust effect coming out of the wheels, depending on what surface the car is on.
//"VC_Wheel_Dust_Brakes" - Additional Dust effect coming out of the wheels when braking.
//"VC_Exit_Velocity" - Set your velocity to the same one that the vehicle has on exit.
//"VC_Exit_NoCollision" - Disable collisions between entitys and the vehicle till you finish exiting it.
//"VC_Exhaust_Effect" - Exhaust effect coming from the vehicles exhaust pipes.
//"VC_Damage" - Vehicles are capable of receiving damage.
//"VC_Dmg_Fire_Duration" - Delay before the fire gets removed after the explosion
//"VC_Lights_OnOff" - Lights On/Off.
//"VC_Health_Multiplier" - Starting health multiplier, depends on the volume the vehicle occupies.
//"VC_Lights_Brake" - Emit lights when applying brakes.
//"VC_Lights_Reverse" - Emit lights when reversing.
//"VC_Blinkers_OnOff" - Turn Lights On/Off when turning to the direction you want them to lit.
//"VC_Hazards_OnOff" - Turn Hazard lights On/Off.
//"VC_Cruise_OnOff" - Cruise Control On/Off, forward/back to increase/decrease cruise speed.
//"VC_ThirdPerson_Auto" - Automatically adjust vehicles camera when in third person.
//"VC_ThirdPerson_Auto_Pitch" - Automatic camera adjust pitch.
//"VC_ThirdPerson_Dynamic" - Dynamic third person view.
//"VC_ThirdPerson_Vec_Stf" - Dynamic view vector stiffness percentage. 100% is off.
//"VC_ThirdPerson_Ang_Stf" - Dynamic view angle stiffness percentage. 100% is off.
//"VC_ThirdPerson_Ang_Pitch" - Sharpen dynamic view angle pitch.
//"VC_ThirdPerson_Cam_World" - Camera can see through everything except the world.
//"VC_Passenger_Seats" - Enable players to use passanger seats.
//"VC_Switch_Seats" - Switch to different seats (passenger or driver), driver cant do this.
//"VC_Radio" - Play live online stream of music to your vehicle.
//"VC_Radio_OnOff" - Turn the radio on/off while keeping the station.
//"VC_Radio_Change" - Cycle through available stations.
//"VC_Model_Adjust" - Adjust the third person model position on vehicle enter.

//"VC_Keyboard_Input" - Use predefined key sets on the keyboard to control the script, can still use the menu.
//Seats: Press buttons 1-9 to choose through the first 9 seats, 0 to cycle through all of them.
//Radio Controls: Comma/Period/Slash for Previous/Next/OnOff.
//Lights: Press and release 'F' key to toggle headlights, hold the key to toggle nightlights, steer and hold the key to toggle turnlights.
//Horn: Press the 'R' key to sound the cars horn, the longer yo hold the key the longer it'll play.

//"VC_MouseControl" - Mouse control while in third person view, additional detail:
//Scroll up/down to zoom in/out, zoomed in is the default zoom level.
//Hold the middle button to look behind, release to reset.

All of these commands have a matching menu button to go with them so it's unlikely you will need to use them unless you wish to bind them to keys.

-----Manual Trailer Instructions-----

1) The semi-trailer in this pack is a vehicle so spawn it from the vehicle tab first.

2) Aim at the trailer and enter 'ent_setname trailer' into the console without the ''.

3) You can now give the trailer other commands. To allow it to move enter 'ent_fire trailer handbrakeoff' into the console, you can also bind this to a key.

Note. This may require sv_cheats to be set to 1 so if it's not working then make sure it is switched on first.

4) To park the trailer enter 'ent_fire trailer handbrakeon'

To pull the trailer with a truck just position the pin into the fifth wheel on the back of the truck and that is it, 
if you want extra security against detachments then use a ballsocket constraint although it is not usually necessary.

-----Truck Instructions-----

To change the bodygroup of the Longnose truck aim at it and use 'ent_fire !picker setbodygroup *'

* any number 0 to 2

0 = No wind deflector
1 = Wind deflector at low inclination
2 = Wind deflector at high inclination

Both trucks and the semi-trailer feature 19 skins to choose from plus an additional 6 spare slots for you to use for your own skins.
 
To switch them use a skin switcher tool or 'ent_fire !picker skin *'

* any number 0 to 24

** The tanker has 12 skin slots so use any number from 0 to 11

-----Additional Instructions-----

To name a car aim at it and then type: ent_setname name
you can then control the car by saying: 

ent_fire name turnon - turns on the car's engine, sound may not be heard this is because of some sound files not working competely, don't worry though there is nothing wrong.
ent_fire name turnoff - turns off the car's engine, this is still a bit buggy in my experiance so it's better to just get into a car and then get out again if you want to turn it off.
ent_fire name throttle -1/0/1 - you can enter higher or lower numbers but they may cause problems.
ent_fire name steer -1/0/1 - you can enter higher or lower numbers but they may cause problems.
ent_fire name handbrakeoff - turns off the handbrake, this will allow the car to roll freely.
ent_fire name handbrakeon - turns on the handbrake, this will prevent the car from moving.

No comments:

Post a Comment