Garry's Mod

Garry's Mod

3,562 ratings
[LVS] - Framework
7
3
3
2
2
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Vehicle
Addon Tags: Fun, Realism
File Size
Posted
Updated
30.077 MB
4 Jan, 2023 @ 6:48pm
3 Jul @ 11:56pm
255 Change Notes ( view )

Subscribe to download
[LVS] - Framework

In 1 collection by Luna
[LVS]
8 items
Description
This is Luna's Vehicle System. It's purpose is to get all the different vehicle systems running on one and the same base so you don't have to code all the basic things over and over again such as seat switcher, damage system, exit scripts, weapon systems, ect. Just a simple, standardized framework. Doesn't matter what it is, it can be used for anything you can imagine. Cars, boats, planes, spaceships, or just a stationary turret, or a house? you name it. If it's supposed to be enterable this base got your back. Comes with a timed-projectile system so you don't have to use hitscan anymore. Also includes a Damage System and Armor System with callbacks so you can code whatever damage reactions you want. Also comes with some basic effects such as scraping, wind noises, ground effects for fast moving objects, trail system...



Controls (Default)
(you can rebind all controls in the control panel)

OUTSIDE VEHICLE:
  • E = Enter Vehicle
  • ALT + E = Enter closest passenger seat | gunner seat

INSIDE VEHICLE:
  • E + W or A or S or D = Exit Vehicle in desired direction
  • R = Start Engine
  • 0-9 (NOT NUMPAD) = switch to Seat
  • Left Mouse Button = fire selected Weapon
  • Right Mouse Button = zoom
  • Mouse Wheel Up = select next Weapon
  • Mouse Wheel Down = select previous Weapon
  • Middle Mouse Button + Wheel Up/Down = change camera distance
  • Ctrl = Toggle First/Third Person View
  • Alt = Free Look
  • Space = Toggle Vehicle Function (such as Landing Gear)



ADDITIONAL NOTES
  • As Driver, you can lock the vehicle by pressing 1

  • The [LVS] control panel can be accessed using either the context menu desktop widget or by typing lvs_openmenu into the console.

The control panel gives access to following console variables:
  • lvs_volume - from 0 to 1 changes engine volume, clientside command
  • lvs_camerafocus - change view-camera focus from -1 to 1, clientside command (mouse aim only)
    • -1 = Focus Mouse
    • 1 = Focus Vehicle (when set to 1, camera will roll with the Vehicle. If you don't want this behavior set it to 0.99)
    • 0 = neutral(default) )
  • lvs_freeze_teams - 0 / 1 enable/disable auto ai-team switching, serverside command
  • lvs_default_teams - 0 / 1 / 2 default player ai-team, serverside command
  • lvs_show_identifier - 0 / 1 enable/disable plane identifier (red/blue/orange square on other planes), clientside command
  • lvs_hitmarker - 0 / 1 enables/disables hit marker + sound effect, clientside command
  • lvs_edit_hud - 0 / 1 enable/disable Context Menu HUD editing, clientside command
  • lvs_mouseaim - 0 / 1 enable/disable Mouse-Aim Steering Method, clientside command
  • lvs_sensitivity_x - change mouse sensitivity in X direction (relative to screen: left/right) (Direct Input only), clientside command
  • lvs_sensitivity_y - change mouse sensitivity in Y direction (relative to screen: up/down) (Direct Input only), clientside command. SET THIS TO A NEGATIVE VALUE TO INVERT THIS AXIS
  • lvs_return_delta - change how fast the input returns to 0 (Direct Input only), clientside command

you can toggle mouse-aim by using lvs_mouseaim_toggle console command or by binding it to a key like:
bind X lvs_mouseaim_toggle
and then press X

convar for max projectile turret is: sbox_maxlvsturret (default 1)



Links
This Project on GitHub[github.com]
[LVS] - Planes
[LVS] - Star Wars
[LVS] - Helicopters
[LVS] - Cars
[LVS] - Cars - Pack
[LVS] - Tanks
GitHub[github.com]
Discord[discord.gg]



No version or modification of this content is allowed to be uploaded to the workshop except under the account ID 76561197995010235
86 Comments
==theskttdin== 5 hours ago 
where did it went? cant find it in list of addons in game
Dr Evil 6 hours ago 
will it impact the performance greatly or not much
Dr Evil 6 hours ago 
@Luna quick question about the mod how heavy is the mod on the server if someone was hosting
abdullah hajj hasan 8 hours ago 
Will you ever put a dealer NPC for DARKRP?
Luna  [author] 3 Jul @ 11:48am 
make sure the vehicle team is enemy with the npc you want to fight
AS_QWFTG 3 Jul @ 11:19am 
addition, they react only to cars and Flak 38 and Pak 40 only on them, and tanks and cars with machine guns do not react.:steamsad:
AS_QWFTG 3 Jul @ 10:49am 
NPCs and SNPCs VJ Base don't react to me in transportation, they just stand still, how can this be fixed?
old man jenkins 2 Jul @ 7:31pm 
i keep getting errors and i have not been on gmod for a whole week. can someone fix it and also lvs framework updated as soon as i booted up my computer
mike2170 2 Jul @ 4:52pm 
how do i set the kmh to mph (i need imperial system plez)
Luna  [author] 1 Jul @ 11:40pm 
set your team correctly. team 1 => friends with combine, team 2 => friends with rebels, team 0 => friends with everyone, team 3 = enemy with everyone