Hey Guiz. Just a heads up i /did not/ make this e2 code. I am simply trying to edit it but I dont know how.
Code: @name TE37 Adjustable
@model
@inputs
@outputs
@persist
@trigger none
#### Adjustable Volk Rays TE37 style rims by AX53B60/KONG/ROCK
Color = vec(140,240,40)
LipColor = vec(140,240,40)
LugColor = vec(140,140,140)
Diameter = 1.4
Width = 1.2
Offset = 0.5
Side = 1 # 0 = left, 1 = right
CenterDepth = 4
SpokeDepth = 4
SpokeAngle =
SpokeRadiusScale = 1
SpokeRadiusOffset = 5.4
entity():setAlpha(1)
holoCreate(1,entity():toWorld(vec(0,0,-6+Offset)),vec(1.70*Diameter,1.70*Diameter,1.1*Width),entity():toWorld(ang(0,50,0)),LipColor,"hq_tube_thin")
holoParent(1,entity())
holoCreate(2,entity():toWorld(vec(0,0,-6+Offset)),vec(1.60*Diameter,1.60*Diameter,1*Width),entity():toWorld(ang(0,50,0)),LipColor,"hq_tube_thin")
holoParent(2,entity())
holoCreate(3,entity():toWorld(vec(0,0,-6+Offset)),vec(1.5*Diameter,1.5*Diameter,0.5*Width),entity():toWorld(ang(0,50,0)),LipColor,"hq_tube_thin")
holoParent(3,entity())
holoCreate(4,entity():toWorld(vec(0,0,-CenterDepth-2.2+Offset)),vec(0.55*Diameter,0.55*Diameter,0.3*Width),entity():toWorld(ang(0,90,0)),LipColor,"hq_tube")
holoParent(4,entity())
holoCreate(5,entity():toWorld(vec(0,0,-CenterDepth-3+Offset)),vec(0.55*Diameter,0.55*Diameter,0.3*Width),entity():toWorld(ang(0,90,0)),LipColor,"hq_cylinder")
holoParent(5,entity())
#### SPOKES
holoCreate(6,entity():toWorld(vec(-sin(180)*SpokeRadiusOffset*Diameter,cos(180)*SpokeRadiusOffset*Diameter,-SpokeDepth+Offset)),vec(0.2,0.5*Diameter,0.1),entity():toWorld(ang(0,180,25)),Color,"cube")
holoParent(6,entity())
holoCreate(7,entity():toWorld(vec(-sin(120)*SpokeRadiusOffset*Diameter,cos(120)*SpokeRadiusOffset*Diameter,-SpokeDepth+Offset)),vec(0.2,0.5*Diameter,0.1),entity():toWorld(ang(0,120,25)),Color,"cube")
holoParent(7,entity())
holoCreate(8,entity():toWorld(vec(-sin(60)*SpokeRadiusOffset*Diameter,cos(60)*SpokeRadiusOffset*Diameter,-SpokeDepth+Offset)),vec(0.2,0.5*Diameter,0.1),entity():toWorld(ang(0,60,25)),Color,"cube")
holoParent(8,entity())
holoCreate(9,entity():toWorld(vec(-sin(0)*SpokeRadiusOffset*Diameter,cos(0)*SpokeRadiusOffset*Diameter,-SpokeDepth+Offset)),vec(0.2,0.5*Diameter,0.1),entity():toWorld(ang(0,0,25)),Color,"cube")
holoParent(9,entity())
holoCreate(10,entity():toWorld(vec(-sin(-60)*SpokeRadiusOffset*Diameter,cos(-60)*SpokeRadiusOffset*Diameter,-SpokeDepth+Offset)),vec(0.2,0.5*Diameter,0.1),entity():toWorld(ang(0,-60,25)),Color,"cube")
holoParent(10,entity())
holoCreate(11,entity():toWorld(vec(-sin(-120)*SpokeRadiusOffset*Diameter,cos(-120)*SpokeRadiusOffset*Diameter,-SpokeDepth+Offset)),vec(0.2,0.5*Diameter,0.1),entity():toWorld(ang(0,-120,25)),Color,"cube")
holoParent(11,entity())
#### LUGS AND CENTERPIECE
holoCreate(12,entity():toWorld(vec(1.1*Diameter,1.1*Diameter,-CenterDepth-1+Offset)),vec(0.09,0.09,0.2),entity():toWorld(ang(0,random(60),0)),LugColor,"hexagon")
holoParent(12,entity())
holoCreate(13,entity():toWorld(vec(1.1*Diameter,-1.1*Diameter,-CenterDepth-1+Offset)),vec(0.09,0.09,0.2),entity():toWorld(ang(0,random(60),0)),LugColor,"hexagon")
holoParent(13,entity())
holoCreate(14,entity():toWorld(vec(-1.1*Diameter,1.1*Diameter,-CenterDepth-1+Offset)),vec(0.09,0.09,0.2),entity():toWorld(ang(0,random(60),0)),LugColor,"hexagon")
holoParent(14,entity())
holoCreate(15,entity():toWorld(vec(-1.1*Diameter,-1.1*Diameter,-CenterDepth-1+Offset)),vec(0.09,0.09,0.2),entity():toWorld(ang(0,random(60),0)),LugColor,"hexagon")
holoParent(15,entity())
holoCreate(16,entity():toWorld(vec(0,0,-CenterDepth-1+Offset)),vec(0.15,0.15,0.2),entity():toWorld(ang(0,0,0)),vec(50,50,50),"hq_cylinder")
holoParent(16,entity())
holoCreate(17,entity():toWorld(vec(-8.1*Diameter,0,-6+5*Width+Offset)),vec(0.05,0.05,0.1),entity():toWorld(ang(80,0,0)),vec(50,50,50),"cylinder")
holoParent(17,entity())
#### TYRES
holoCreate(18,entity():toWorld(vec(0,0,-6+Offset)),vec(2*Diameter,2*Diameter,0.7*Width),entity():toWorld(ang(180*Side,90,0)),vec(250,250,250),"hq_tube_thin")
holoParent(18,entity())
holoMaterial(18, "phoenix_storms/car_tire")
holoCreate(19,entity():toWorld(vec(0,0,-6+4*Width+Offset)),vec(2*Diameter,2*Diameter,3*Width),entity():toWorld(ang(0,90,0)),vec(30,30,30),"hq_torus")
holoParent(19,entity())
holoCreate(20,entity():toWorld(vec(0,0,-6-4*Width+Offset)),vec(2*Diameter,2*Diameter,3*Width),entity():toWorld(ang(0,90,0)),vec(30,30,30),"hq_torus")
holoParent(20,entity())
What im trying to do is angle the whole thing to be cambered or in this case fix the camber. My wheel that i have this attached to has positive camber and I dont like how it looks. Can someone please help me?
Wrong forum.
Sorry, you need to Log In to post a reply to this thread.