simple sub
2 posters
RigidChips :: Rigid-Chips :: Files :: Watercraft
Page 1 of 1
simple sub
i worked on it for like 15 mins just trying to figure out all the avrage movements of a sub and i tryed my best to make a sub that did the basics
i think im proud of it
i think im proud of it
- Code:
// [RCD]
Val
{
RL(default=0, min=-30, max=30, step=30)
RR(default=0, min=-30, max=30, step=30)
TL(default=0, min=-30, max=30, step=30)
TR(default=0, min=-30, max=30, step=30)
TRUST(default=0, min=-40000, max=40000, step=10000)
}
Key
{
0:TRUST(step=40)
1:TRUST(step=-40)
2:RL(step=30), RR(step=30)
3:RR(step=-30), RL(step=-30)
5:TL(step=30)
6:TL(step=-30)
7:RL(step=30), RR(step=-30)
8:RR(step=30), RL(step=-30)
}
Body
{
Core() {
S:Chip() {
S:Chip() {
S:Chip() {
S:Frame() {
W:Chip() {
W:Trim() { }
}
E:Chip() {
E:Trim() { }
}
W:Chip(angle=-90) {
W:Trim() { }
}
E:Chip(angle=-90) {
E:Trim() { }
}
W:Chip(angle=90) {
W:Trim() { }
}
E:Chip(angle=90) {
E:Trim() { }
}
S:Wheel(angle=90, power=TRUST) {
N:Trim(angle=45) { }
E:Trim(angle=45) { }
S:Trim(angle=45) { }
W:Trim(angle=45) { }
}
S:Wheel(angle=-90, power=TRUST) {
N:Trim(angle=-45) { }
E:Trim(angle=-45) { }
S:Trim(angle=-45) { }
W:Trim(angle=-45) { }
}
}
E:Chip() { }
W:Chip() { }
}
E:Chip() { }
W:Chip() { }
}
E:Chip() { }
W:Chip() { }
}
W:Chip() {
W:Trim(angle=RL) { }
}
E:Chip() {
E:Trim(angle=RR) { }
}
W:Chip(angle=90) {
W:Trim(angle=-TL) { }
}
E:Chip(angle=90) {
E:Trim(angle=-TL) { }
}
E:Chip(angle=-90) {
E:Trim(angle=TL) { }
}
W:Chip(angle=-90) {
W:Trim(angle=TL) { }
}
}
}
studmuffin- Cube
- Posts : 3
Join date : 2010-11-29
Age : 30
Location : usa ,al
Re: simple sub
You should be proud of it. It works really well. The only complaint is that I had to hold "up" just to keep the power.
Re: simple sub
i would code a throttle in lua but i don't understand it myself yet ,
id also probably make a code to show the set speed in throttle if its not shown in the bottom
id also probably make a code to show the set speed in throttle if its not shown in the bottom
studmuffin- Cube
- Posts : 3
Join date : 2010-11-29
Age : 30
Location : usa ,al
Re: simple sub
To make a throttle, simply delete the "step" for "THRUST" in the VAL block, that way it wouldn't go back to its default value by itself.
Re: simple sub
ah i see makes sencebwansy wrote:To make a throttle, simply delete the "step" for "THRUST" in the VAL block, that way it wouldn't go back to its default value by itself.
studmuffin- Cube
- Posts : 3
Join date : 2010-11-29
Age : 30
Location : usa ,al
RigidChips :: Rigid-Chips :: Files :: Watercraft
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum