Gatling turret
4 posters
RigidChips :: Rigid-Chips :: Files :: Turrets
Page 1 of 1
Gatling turret
Hi guys
Here comes a simple turret with rotating barrels tech put to use:
Steering:
Arrow keys to turn the turret
D fires the gatling
Here comes a simple turret with rotating barrels tech put to use:
Steering:
Arrow keys to turn the turret
D fires the gatling
- Code:
// [RCD]
Val
{
AH(default=180, min=-9999, max=9999)
AV(default=90, max=110)
B1(default=0, max=100000, step=100000)
B2(default=0, max=100000, step=100000)
B3(default=0, max=100000, step=100000)
B4(default=0, max=100000, step=100000)
GAT(default=0, max=360)
}
Key
{
0:AV(step=1)
1:AV(step=-1)
2:AH(step=1)
3:AH(step=-1)
7:GAT(step=15)
}
Body
{
Core() {
W:Weight() {
W:Weight(angle=30) {
W:Weight(angle=150) {
S:Weight() {
E:Weight(angle=150) { }
}
N:Weight() {
E:Weight(angle=150) { }
}
}
}
S:Weight() { }
}
E:Weight() {
E:Weight(angle=30) {
E:Weight(angle=150) {
N:Weight() {
W:Weight(angle=150) { }
}
S:Weight() {
W:Weight(angle=150) { }
}
}
}
N:Weight() { }
}
N:Weight() {
N:Weight(angle=30) {
N:Weight(angle=150) {
E:Weight() {
S:Weight(angle=150) { }
}
W:Weight() {
S:Weight(angle=150) { }
}
}
}
W:Weight() { }
}
S:Weight() {
S:Weight(angle=30) {
S:Weight(angle=150) {
E:Weight() {
N:Weight(angle=150) { }
}
W:Weight() {
N:Weight(angle=150) { }
}
}
}
E:Weight() { }
}
S:Weight(angle=-90) {
S:Chip(angle=-90) {
S:Rudder(angle=AH) {
S:Chip(angle=AV) {
S:Chip(angle=90) {
W:Chip(angle=90) {
N:Trim(angle=90) { }
}
E:Chip(angle=90) {
N:Trim(angle=90) { }
S:Chip(angle=90) { }
}
N:Trim(angle=90) {
S:Rudder(angle=-30) {
S:Rudder(angle=210, spring=1, damper=1) {
N:Trim(angle=GAT) {
S:Chip() {
N:Trim(angle=90) {
W:Chip(angle=135) {
N:Arm(power=B2, option=100000, color=#FF0000) { }
}
E:Chip(angle=-135) {
N:Arm(power=B4, option=100000, color=#FF0000) { }
}
}
}
W:Chip(angle=135) {
N:Arm(power=B3, option=100000, color=#FF0000) { }
}
E:Chip(angle=-135) {
N:Arm(power=B1, option=100000, color=#FF0000) { }
}
}
}
}
}
}
N:Chip(angle=90) {
S:Trim(angle=90) { }
}
}
W:Chip(angle=-90) { }
S:Chip(angle=-90) { }
E:Chip(angle=-90) { }
N:Chip(angle=-90) { }
}
}
W:Weight(angle=-90) { }
E:Weight(angle=-90) {
E:Weight(angle=-90) { }
}
}
}
}
Script
{
if gat=360 {gat=0}
if gat=90 {B1=100000}
if gat=180 {B2=100000}
if gat=270 {B3=100000}
if gat=0 {B4=100000}
}
Last edited by Warbird on Wed Oct 27, 2010 2:22 am; edited 1 time in total (Reason for editing : my own dumbness)
Warbird- Tank
- Posts : 60
Join date : 2010-10-27
Age : 29
Location : Germany
Re: Gatling turret
ok
1.) put the core in the actual part that rotates so that we can see where we are shooting.
2.) try to add more guns and make it spin faster.
1.) put the core in the actual part that rotates so that we can see where we are shooting.
2.) try to add more guns and make it spin faster.
Sting Auer- Hover
- Posts : 170
Join date : 2010-09-19
Location : Aw crap i think I'm lost.
Re: Gatling turret
working on it... when it spins faster it will get torn apart in breakable mode so i can only add more barrels and well the thing with the core is for the next update but thx for the critique, it helps making everything better
Warbird- Tank
- Posts : 60
Join date : 2010-10-27
Age : 29
Location : Germany
Re: Gatling turret
it doesnt need to spin too much faster.
oh i just remembered something. when a trim stops moving or starts moving it will jerk the entire model. there has got to be a way to make it slowly decelerate.
maybe attach it to another trim with spring and a really high damper? ill have to test that...
oh i just remembered something. when a trim stops moving or starts moving it will jerk the entire model. there has got to be a way to make it slowly decelerate.
maybe attach it to another trim with spring and a really high damper? ill have to test that...
Sting Auer- Hover
- Posts : 170
Join date : 2010-09-19
Location : Aw crap i think I'm lost.
Re: Gatling turret
Or use Lua
JHaskly- Admin
- Posts : 235
Join date : 2010-07-16
Age : 28
Location : Brisbane
Re: Gatling turret
Damn you Jhaskley and your "Lua is the answer to everything" standpoint!!
(jk. you know i think ur awesome)
Sting Auer- Hover
- Posts : 170
Join date : 2010-09-19
Location : Aw crap i think I'm lost.
Re: Gatling turret
well i guess im too stupid for lua but im fine with scripts too ^^
Warbird- Tank
- Posts : 60
Join date : 2010-10-27
Age : 29
Location : Germany
Re: Gatling turret
I'm just saying, you could make something speed up or slow down its rotations fairly easily in Lua. In Script too, actually...
JHaskly- Admin
- Posts : 235
Join date : 2010-07-16
Age : 28
Location : Brisbane
Re: Gatling turret
Good idea, but I had the idea, of simply using a wheel instead of the trim i used until now, but therefor I need to know, how to ask the wheel, which position its currently at. does anybody kow how to do that with a script?, it would make the turrets construction more simple and it would increase the turrets effectivity
Warbird- Tank
- Posts : 60
Join date : 2010-10-27
Age : 29
Location : Germany
RigidChips :: Rigid-Chips :: Files :: Turrets
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum