Implementing better steering
This commit is contained in:
45
koptilnya/data/models/bmw_m4_g82.txt
Normal file
45
koptilnya/data/models/bmw_m4_g82.txt
Normal file
@@ -0,0 +1,45 @@
|
||||
-- @shared
|
||||
-- @name BMW M4 G82 Competition
|
||||
-- @author Koptilnya1337
|
||||
-- @include /koptilnya/mesh_loader/builder.txt
|
||||
require("/koptilnya/mesh_loader/builder.txt")
|
||||
|
||||
DEBUG_MODE = true
|
||||
|
||||
local LINK = "https://drive.google.com/u/0/uc?id=1yxjPtVhoMROwSB56tfL_dbBPrW1Yjr9h&export=download"
|
||||
local SCALE = Vector(1)
|
||||
|
||||
local Materials =
|
||||
{
|
||||
Body = "phoenix_storms/fender_white",
|
||||
Carbon = "sprops/textures/sprops_cfiber2"
|
||||
}
|
||||
|
||||
local Colors =
|
||||
{
|
||||
Body = Color(115,218,201),
|
||||
Carbon = Color(255,255,255)
|
||||
}
|
||||
|
||||
local builder = {}
|
||||
|
||||
if SERVER then
|
||||
builder = MeshBuilder:new(LINK)
|
||||
|
||||
local this = chip()
|
||||
|
||||
-- Body group
|
||||
builder:build("Body", Vector(0), Angle(0), SCALE, Colors.Body, Materials.Body, this, this)
|
||||
builder:build("LeftDoor", Vector(0), Angle(0), SCALE, Colors.Body, Materials.Body, this, this)
|
||||
builder:build("RightDoor", Vector(0), Angle(0), SCALE, Colors.Body, Materials.Body, this, this)
|
||||
builder:build("Bonnet", Vector(0), Angle(0), SCALE, Colors.Body, Materials.Body, this, this)
|
||||
builder:build("Trunk", Vector(0), Angle(0), SCALE, Colors.Body, Materials.Body, this, this)
|
||||
builder:build("Roof", Vector(0), Angle(0), SCALE, Colors.Carbon, Materials.Carbon, this, this)
|
||||
|
||||
local result = builder:getResult()
|
||||
else
|
||||
PERMA.onPermissionsGained = function()
|
||||
builder = MeshBuilder:new(LINK)
|
||||
end
|
||||
PERMA.build()
|
||||
end
|
||||
Reference in New Issue
Block a user