Skip to content

Commit 29f6618

Browse files
committed
Completed first functioning version of throttle logic and added in a dedicated part
1 parent f905718 commit 29f6618

8 files changed

Lines changed: 160 additions & 0 deletions

File tree

GameData/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
/ModuleManager.2.0.7.dll
2+
/CrossFeedEnabler/
29.5 KB
Loading

GameData/HexCans/HexCans.0.5.1.version

Whitespace-only changes.

GameData/HexCans/LICENSE.txt

Lines changed: 59 additions & 0 deletions
Large diffs are not rendered by default.

GameData/HexCans/Models/HexCan.mu

45 KB
Binary file not shown.
141 Bytes
Loading
158 KB
Loading
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
PART
2+
{
3+
MODEL
4+
{
5+
model = HexCans/Models/HexCan
6+
texture = HexCan000, Virgin Kalactic/HexCanAdvGen/AdvGen
7+
position = 0.0, 0.0, 0.0
8+
rotation = 0.0, 0.0, 0.0
9+
scale = 2.0, 2.0, 2.0
10+
}
11+
// --- general parameters ---
12+
name = HexCanAdvGen
13+
module = Part
14+
author = Greys
15+
16+
// --- asset parameters ---
17+
scale = 1.0
18+
rescaleFactor = 0.5
19+
specPower = 0.3
20+
rimFalloff = 3.0
21+
alphaCutoff = 0.0
22+
23+
// --- general parameters ---
24+
node_attach = 0.0, 0.0, -0.2, 0.0, 0.0, 1.0, 2
25+
node_stack_top_01 = 0.0, 0.0, 0.166, 0.0, 1.0, 0.0, 1
26+
node_stack_top = 0.0, 0.75, 0.0, 0.0, 1.0, 0.0, 1
27+
node_stack_bottom = 0.0,-0.75, 0.0, 0.0,-1.0, 0.0, 1
28+
29+
attachRules = 1,1,1,1,1
30+
31+
// --- editor parameters ---
32+
cost = 200
33+
category = Utility
34+
subcategory = 0
35+
title = HexCan-Advanced Generator-Rover
36+
manufacturer = PanSpace Manufacturing Inc. Ltd. LLC. Co.
37+
// small= 0.75m, normal= 1.5m large= 3m
38+
description = A 0.75m long electrical generator that burns fuel and air.
39+
40+
// --- general parameters ---
41+
mass = 0.02
42+
dragModelType = default
43+
maximum_drag = 0.2
44+
minimum_drag = 0.3
45+
angularDrag = 2.0
46+
crashTolerance = 12
47+
breakingForce = 400
48+
breakingTorque = 400
49+
maxTemp = 2900
50+
51+
// --- resource parameters ---
52+
// 2x the container size = 8x the volume
53+
54+
MODULE
55+
{
56+
name = AdvGenerator
57+
numSamples = 20
58+
minThrottle = 0.002
59+
INPUT
60+
{
61+
resourceName = LiquidFuel
62+
maxRate = 0.45
63+
rateCurve
64+
{
65+
// throttle percent, amount percent, tangentIn, tangentOut
66+
key = 0 0.0002 0 0
67+
key = 0.5 0.6 0 0
68+
key = 1 1 0 0
69+
}
70+
}
71+
OUTPUT
72+
{
73+
resourceName = ElectricCharge
74+
maxRate = 10
75+
type = PRIMARY // PRIMARY outputs drive the throttle response, BYPRODUCT outputs are ignored
76+
rateCurve
77+
{
78+
// amount percent, throttle percent, tangentIn, tangentOut
79+
key = 0 0 0 0
80+
key = 0.5 0.3 0 0
81+
key = 1 1 0 0
82+
}
83+
revRateCurve
84+
{
85+
// throttle percent, amount percent, tangentIn, tangentOut
86+
key = 0 0 0 0
87+
key = 0.3 0.5 0 0
88+
key = 1 1 0 0
89+
}
90+
}
91+
}
92+
93+
MODULE
94+
{
95+
name = ModuleCrossFeed
96+
}
97+
98+
}
99+
100+

0 commit comments

Comments
 (0)