Skip to content

Commit

Permalink
Fixed truck attach nodes and orientation of all parts
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxgurugamer committed May 11, 2020
1 parent 0a9fe51 commit 36682ac
Show file tree
Hide file tree
Showing 9 changed files with 51 additions and 20 deletions.
3 changes: 3 additions & 0 deletions Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -253,3 +253,6 @@ ChangeLog
Update SXTContinued.restockwhitelist
Thanks to @Lisais for this:
Fixing crew and IVA for the Osaul Radial Cockpit

0.3.29.3
Fixed truck attach nodes and orientation of all parts
5 changes: 3 additions & 2 deletions GameData/SXT/Parts/Trucks/Utility/truck/Narrow1cabin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ PART
// --- node definitions ---
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z

node_stack_bottom = 0.0, -0, 0.0, 0, -1, 0
node_stack_rear = 0.0, -0, 0.0, 0, -1, 0
node_attach = 0.0, 0.0, 0.52, 0.0, 0.0, -1.0, 1
node_stack_bottom = 0.0, 0.33, 0.259, 0.0, 0.0, 1.0, 1

// --- editor parameters ---

Expand All @@ -36,7 +37,7 @@ PART

//attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision

attachRules = 1,1,1,1,1
attachRules = 1,0,1,1,1

// --- standard part parameters ---

Expand Down
4 changes: 3 additions & 1 deletion GameData/SXT/Parts/Trucks/Utility/truck/Narrow2middle.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ PART
MODEL
{
model = SXT/Parts/Trucks/Utility/truck/middlebaseSmall
//rotation = 180,0,0
}

scale = 1
Expand All @@ -25,7 +26,8 @@ PART
//node_attach = 0.0, 0.0, 0.52, 0.0, 0.0, -1.0, 1
node_stack_top = 0.0, 0.699, 0.0, 0.0, 1.0, 0.0, 1
node_stack_bottom = 0.0, -0.699, 0.0, 0.0, -1.0, -0.0, 1
node_stack_bed = 0.0, 0.0, -0.21, 0.0, 1.0, 0.0, 1
node_stack_base = 0.0, 0.0, 0.259, 0.0, 0.0, 1.0, 1
node_stack_bed = 0.0, 0.0, -0.21, 0.0, 0.0, -1.0, 1
node_attach = 0.0, 0.0, 0.52, 0.0, 0.0, -1.0, 1

// --- editor parameters ---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@ PART
{
model = SXT/Parts/Trucks/Utility/truck/Wheel/LLLtruckWheel
scale = 1.5, 1.5, 1.5
rotation = 90, 0, 180
}

// mesh = LLLtruckWheel.mu
scale = 1
rescaleFactor = 1

node_stack_node1 = 0.0, 0.0, 0.0, -1.0, 0.0, 0.0, 0
node_stack_node1 = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0
node_attach = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0

// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,28 @@ PART//By SMSolutions, not for distribution, re-distribution, cloning, copying or
//model = LLLyellowTruckParts/WheelBoxes/NarrowWheelBox
model = SXT/Parts/Trucks/Utility/truck/WheelBoxes/NarrowWheelBox
scale = 1.5, 1.5, 1.5
rotation = -90, 0, 0
}

scale = 1
rescaleFactor = 1

//node_stack_right = 0.5, 0, 0, -1, 0, 0, 0,0
//node_stack_left = -0.5, 0, 0, 1, 0, 0, 0,0
node_stack_wheel1 = 0.6, -0.1, 0.0, 1.0, 0.0, 0.0, 0
node_stack_wheel2 = -0.6, -0.1, 0.0, -1.0, 0.0, 0.0, 0
node_stack_top = 0.0, 0.21, 0.0, 0.0, 0.0, 1.0, 1
node_stack_front = 0.0, 0.0, 0.55, 0.0, 0.0, 1.0, 1
node_stack_back = 0.0, 0.0, -0.55, 0.0, 0.0, -1.0, 1
node_attach = 0.0, 0.0, -0.369, 0.0, 0.0, 1.0, 0
//node_stack_wheel1 = 0.6, 0.0, 0.0, 1.0, 0.0, 0.0, 0
//node_stack_wheel2 = -0.6, 0.0, 0.0, -1.0, 0.0, 0.0, 0
//node_stack_top = 0.0, 0.21, 0.0, 0.0, 0.0, 1.0, 1
//node_stack_front_ = 0.0, 0.0, 0.55, 0.0, 0.0, 1.0, 1
//node_stack_back_top = 0.0, 0.0, -0.55, 0.0, 0.0, -1.0, 1
//node_attach = 0.0, 0.0, -0.369, 0.0, 0.0, 1.0, 0

node_stack_wheel1 = 0.519, 0.0, 0.12, 1.0, 0.0, 0.0, 0, 1
node_stack_wheel2 = -0.519, 0.0, 0.12, -1.0, 0.0, 0.0, 0, 1
node_stack_front = 0.0, 0.559, 0.0, 0.0, 1.0, 0.0, 1, 1
node_stack_back = 0.0, -0.559, 0.0, 0.0, -1.0, 0.0, 1
node_stack_bottom = 0.0, 0.0, 0.25, 0.0, 0.0, 1.0, 1, 1
node_stack_top = 0.0, 0.0, -0.216, 0.0, 0.0, -1.0, 1, 1
node_attach = 0.0, 0.0, -0.369, 0.0, 0.0, 1.0, 0, 1

// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,31 @@ PART//By SMSolutions, not for distribution, re-distribution, cloning, copying or
//model = LLLyellowTruckParts/WheelBoxes/WideWheelBox
model = SXT/Parts/Trucks/Utility/truck/WheelBoxes/WideWheelBox
scale = 1.5, 1.5, 1.5
rotation = -90, 0, 0
}

rescaleFactor = 1

//node_stack_right = 0.5, 0, 0, -1, 0, 0, 0,0
//node_stack_left = -0.5, 0, 0, 1, 0, 0, 0,0
node_stack_wheel1 = 1.035, -0.1, 0.0, 1.0, 0.0, 0.0, 0
node_stack_wheel2 = -1.035, -0.1, 0.0, -1.0, 0.0, 0.0, 0
node_stack_top = 0.0, 0.21, 0.0, 0.0, 0.0, 1.0, 1
node_stack_front = 0.0, 0.0, 0.55, 0.0, 0.0, 1.0, 1
node_stack_back = 0.0, 0.0, -0.55, 0.0, 0.0, -1.0, 1
node_attach = 0.0, 0.0, -0.369, 0.0, 0.0, 1.0, 0
//node_stack_wheel1 = 1.035, 0.0, 0.12, 1.0, 0.0, 0.0, 0
//node_stack_wheel2 = -1.035, 0.0, 0.12, -1.0, 0.0, 0.0, 0
//node_stack_top = 0.0, 0.21, 0.0, 0.0, 0.0, 1.0, 1
//node_stack_front = 0.0, 0.0, 0.55, 0.0, 0.0, 1.0, 1
//node_stack_back = 0.0, 0.0, -0.55, 0.0, 0.0, -1.0, 1
//node_attach = 0.0, 0.0, -0.369, 0.0, 0.0, 1.0, 0
//node_attach = 0, 0, 0,-0.2035117, 0, 0, 0

node_stack_wheel1 = 1.004, 0.0, 0.12, 1.0, 0.0, 0.0, 0, 1
node_stack_wheel2 = -1.004, 0.0, 0.12, -1.0, 0.0, 0.0, 0, 1
node_stack_front = 0.0, 0.559, 0.0, 0.0, 1.0, 0.0, 1, 1
node_stack_back = 0.0, -0.559, 0.0, 0.0, -1.0, 0.0, 1
node_stack_bottom = 0.0, 0.0, 0.25, 0.0, 0.0, 1.0, 1, 1
node_stack_top = 0.0, 0.0, -0.216, 0.0, 0.0, -1.0, 1, 1
node_attach = 0.0, 0.0, -0.369, 0.0, 0.0, 1.0, 0, 1



//TechRequired = start
TechRequired = engineering101
entryCost = 7200
Expand Down
5 changes: 3 additions & 2 deletions GameData/SXT/Parts/Trucks/Utility/truck/Wide1cabin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ PART
// --- node definitions ---
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z

node_stack_bottom = 0.0, -0, 0.0, 0, -1, 0
node_stack_rear = 0.0, -0, 0.0, 0, -1, 0
node_attach = 0.0, 0.0, 0.52, 0.0, 0.0, -1.0, 1
node_stack_bottom = 0.0, 0.33, 0.259, 0.0, 0.0, 1.0, 1

// --- editor parameters ---

Expand All @@ -37,7 +38,7 @@ PART

//attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision

attachRules = 1,1,1,1,1
attachRules = 1,0,1,1,1

// --- standard part parameters ---

Expand Down
5 changes: 4 additions & 1 deletion GameData/SXT/Parts/Trucks/Utility/truck/Wide2middle.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ PART
MODEL
{
model = SXT/Parts/Trucks/Utility/truck/middlebase
//rotation = 180,0,0
}

scale = 1
Expand All @@ -23,9 +24,11 @@ PART
//node_stack_top = 0.0, 0.699, 0.0, 0.0, 1.0, 0.0
//node_stack_bottom = 0.0, -0.699, 0.0, 0, -1, 0
//node_attach = 0.0, 0.0, 0.52, 0.0, 0.0, -1.0, 1

node_stack_top = 0.0, 0.699, 0.0, 0.0, 1.0, 0.0, 1
node_stack_bottom = 0.0, -0.699, 0.0, 0.0, -1.0, 0.0, 1
node_stack_bed = 0.0, 0.0, -0.21, 0.0, 1.0, 0.0, 1
node_stack_base = 0.0, 0.0, 0.259, 0.0, 0.0, 1.0, 1
node_stack_bed = 0.0, 0.0, -0.21, 0.0, 0.0, -1.0, 1
node_attach = 0.0, 0.0, 0.52, 0.0, 0.0, -1.0, 1

// --- editor parameters ---
Expand Down
2 changes: 1 addition & 1 deletion SXTContinued.version
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"MAJOR": 0,
"MINOR": 3,
"PATCH": 29,
"BUILD": 2
"BUILD": 3
},
"KSP_VERSION_MIN": {
"MAJOR": 1,
Expand Down

0 comments on commit 36682ac

Please sign in to comment.