Super aggressive submarine
+3
mober
jiri.hartvich.9
orrrrz
7 posters
RigidChips :: Rigid-Chips :: Files :: Watercraft
Page 1 of 1
Super aggressive submarine
It's correspond to BOT scenario in orz uploader
- Code:
// [RCD]
Val
{
BOMB(default=0, min=-180, max=0)
BRAKE(default=180, min=90, max=180, step=10, disp=0)
GUN(default=0, max=12800000, step=12900000, disp=0)
GUN2(default=0, max=12800000, step=12900000, disp=0)
JET(default=0, min=-1000000, max=1000000, disp=0)
ROLL(default=0, min=-15, max=15, step=5, disp=0)
SIDE(default=0, min=-20, max=20, step=5, disp=0)
T(default=0, max=99, disp=0)
UD(default=-0.2, min=-20, max=20, step=5, disp=0)
W_A1(default=0, max=180, step=30, disp=0)
W_A2(default=120, min=120, max=180, step=10, disp=0)
}
Key
{
}
Body
{
Core(color=#00FFFF) {}
Core(color=#00FFFF) {
N:Arm(power=GUN, option=100000, color=#80FFFF, user1=105) {
S:Jet(angle=bomb, color=#80FFFF) { }
}
W:Rudder(angle=-90, color=#00FFFF) {
N:RudderF(angle=-90, option=1) {
N:Trim(angle=90, color=#80FFFF) { }
N:Chip(angle=ud, color=#80FFFF) { }
E:RudderF(angle=-90, color=#00FFFF) {
S:Frame(angle=W_A2, color=#00FFFF) {
W:Arm(power=GUN2, option=100000, color=#80FFFF, user1=105) { }
}
S:Frame(angle=-W_A2, color=#00FFFF) {
W:Arm(power=GUN2, option=100000, color=#80FFFF, user1=105) { }
}
}
}
N:Chip(angle=120, color=#00FFFF) {
E:Arm(power=GUN, option=100000, color=#80FFFF, user1=105) {
W:Jet(angle=-bomb, color=#80FFFF) { }
}
W:Chip(angle=brake, color=#00FFFF) { }
}
N:Chip(angle=-120, color=#00FFFF) {
E:Arm(power=GUN, option=100000, color=#80FFFF, user1=105) {
W:Jet(angle=bomb, color=#80FFFF) { }
}
W:Chip(angle=-brake, color=#00FFFF) { }
}
}
E:Rudder(angle=90, color=#00FFFF) {
N:RudderF(angle=90, option=1) {
N:Trim(angle=90, color=#80FFFF) { }
N:Chip(angle=ud, color=#80FFFF) { }
W:RudderF(angle=90, color=#00FFFF) {
S:Frame(angle=W_A2, color=#00FFFF) {
E:Arm(power=GUN2, option=100000, color=#80FFFF, user1=105) { }
}
S:Frame(angle=-W_A2, color=#00FFFF) {
E:Arm(power=GUN2, option=100000, color=#80FFFF, user1=105) { }
}
}
}
N:Chip(angle=120, color=#00FFFF) {
W:Arm(power=GUN, option=100000, color=#80FFFF, user1=105) {
E:Jet(angle=-bomb, color=#80FFFF) { }
}
E:Chip(angle=brake, color=#00FFFF) { }
}
N:Chip(angle=-120, color=#00FFFF) {
W:Arm(power=GUN, option=100000, color=#80FFFF, user1=105) {
E:Jet(angle=bomb, color=#80FFFF) { }
}
E:Chip(angle=-brake, color=#00FFFF) { }
}
}
S:Chip(color=#0080FF) {
W:Trim(angle=roll, color=#00FFFF) { }
S:Jet(angle=-90, power=jet, color=#8080FF) { }
S:Jet(angle=90, power=-jet, color=#8080FF) { }
E:Trim(angle=roll, color=#00FFFF) { }
}
S:Trim(angle=90, color=#0080FF) {
S:Chip(angle=side, color=#00FFFF) { }
S:Jet(angle=90, power=-jet, color=#8080FF) { }
S:Jet(angle=-90, power=jet, color=#8080FF) { }
E:Frame(angle=W_A1, color=#00FFFF) {
N:Arm(power=gun2, option=100000, color=#80FFFF, user1=105) { }
E:RudderF(angle=90, color=#00FFFF) {
N:Frame(angle=W_A2, color=#00FFFF) {
W:Arm(power=GUN2, option=100000, color=#80FFFF, user1=105) { }
}
N:Frame(angle=-W_A2, color=#00FFFF) {
W:Arm(power=GUN2, option=100000, color=#80FFFF, user1=105) { }
}
}
}
W:Frame(angle=-W_A1, color=#00FFFF) {
N:Arm(power=GUN2, option=100000, color=#80FFFF, user1=105) { }
W:RudderF(angle=-90, color=#00FFFF) {
N:Frame(angle=W_A2, color=#00FFFF) {
E:Arm(power=GUN2, option=100000, color=#80FFFF, user1=105) { }
}
N:Frame(angle=-W_A2, color=#00FFFF) {
E:Arm(power=GUN2, option=100000, color=#80FFFF, user1=105) { }
}
}
}
}
}
}
Lua
{_SPLIT(CUT)
AUTO=1
BOMS=1
PX=0
PY=0
PZ=0
prev=0
CN=1
RN=100
function balancer()
prev=prev-(_AX(CN)-math.atan2(-_VY(CN),-_VZ(CN)))*0.5
prev=math.min(2,math.max(-2,prev))
ROLL=(_EZ(CN)*10+_WZ(CN))/2
UD=(_AX(CN)*20+_WX(CN)+prev)/2
end
function main()
if math.abs(UD)<=10 and _Y(CN)<=0 then UD=UD+(_KEY(0)-_KEY(1))*2 end
if _Y(CN)>0 then UD=UD+(_KEY(0)-_KEY(1))*2 end
ROLL=ROLL+(_KEY(2)-_KEY(3))*2
SIDE=SIDE+(_KEY(9)-_KEY(7))*2
GUN=_KEY(8)*12800000
GUN2=_KEY(8)*12800000
JET=JET+(_KEY(4)-_KEY(5))*10000
BRAKE=BRAKE-_KEY(10)*10
AUTO=AUTO-2*AUTO*_KEYDOWN(14)
if(AUTO<0) then balancer() end
BOMS=BOMS-2*BOMS*_KEYDOWN(6)
BOMB=BOMB+BOMS*5
_ZOOM(_ZOOM() + (_KEY(16)-_KEY(15))*5)
out(0,"num",T)
out(1,"name",_PLAYERNAME(T))
out(2,"chip",_PLAYERCHIPS(T),"arms",_PLAYERARMS(T))
out (4,"engine",(JET))
out (5,"speed",math.sqrt( _VX(CN)*_VX(CN)+_VY(CN)*_VY(CN)+_VZ(CN)*_VZ(CN)))
out (6 ,"x",_X(CN)," z",_Z(CN)," y",_Y(CN))
T=T+_KEYDOWN(12)-_KEYDOWN(13)
for i = 0, RN+1 do
PX=PX+_PLAYERX(T)
PY=PY+_PLAYERY(T)
PZ=PZ+_PLAYERZ(T)
if i==1 then PX=0 PY=0 PZ=0 end
end
_SETCOLOR(0)
_MOVE3D(PX/RN,PY/RN,PZ/RN)
_LINE3D(_X(CN),_Y(CN),_Z(CN))
if _Y(CN)>=0 then W_A1=W_A1+15 W_A2=W_A2+30 GUN2=0 end
end}
orrrrz- Tank
- Posts : 55
Join date : 2012-06-19
Age : 29
Location : Tokyo
Re: Super aggressive submarine
cool submarine
jiri.hartvich.9- Tank
- Posts : 51
Join date : 2012-08-29
Age : 68
Re: Super aggressive submarine
^And do you have any suggestions to improve it? Just saying "it stinks" isn't very helpful. It doesn't provide a way for the other person to learn something new and become a better designer, and frankly you come off looking like a jerk of legendary proportions.
Maurice- Hover
- Posts : 153
Join date : 2011-10-07
Age : 28
Location : The early 1970's
Re: Super aggressive submarine
Wadda shid Mober?!
jiri.hartvich.9- Tank
- Posts : 51
Join date : 2012-08-29
Age : 68
Re: Super aggressive submarine
it has a extra core, but wunts you get rid of the top core, its cool
mober- Tank
- Posts : 65
Join date : 2012-01-17
Re: Super aggressive submarine
Like bwansy has told you earlier, don't multipost. Use the EDIT button.
madbob2- Tank
- Posts : 87
Join date : 2010-07-16
Age : 27
Location : Orz Lake.x
Re: Super aggressive submarine
Powerfully armed and pretty maneuverable, but also to the point where it's kind of a pain to control.
I don't doubt it'd be effective, especially if controlled by a bot-script, but I feel like it lacks a certain... style. It just feels like a big amalgam of guns and engines and a couple steering surfaces, rather than a vehicle.
I don't doubt it'd be effective, especially if controlled by a bot-script, but I feel like it lacks a certain... style. It just feels like a big amalgam of guns and engines and a couple steering surfaces, rather than a vehicle.
Rainman- Tank
- Posts : 80
Join date : 2011-02-14
Age : 31
Location : New England, US
Re: Super aggressive submarine
but I feel like it lacks a certain... style.
[BLATANT PRODUCT PLUG]
Certainly nothing like my mighty Typhoon!
Maurice- Hover
- Posts : 153
Join date : 2011-10-07
Age : 28
Location : The early 1970's
Re: Super aggressive submarine
.what are the extra jets for:?:
mober- Tank
- Posts : 65
Join date : 2012-01-17
Re: Super aggressive submarine
jet's don't have underwater drag(but frames do).
RA2lover- Walker
- Posts : 382
Join date : 2010-10-11
Age : 29
Location : Brazil
Re: Super aggressive submarine
The extra jets are for explosion effect in BOT scenario.
orrrrz- Tank
- Posts : 55
Join date : 2012-06-19
Age : 29
Location : Tokyo
Similar topics
» Oscar Class Nuclear Submarine
» Mark Class Submarine
» Alfa-class Submarine
» Typhoon class submarine
» Paul Class Submarine
» Mark Class Submarine
» Alfa-class Submarine
» Typhoon class submarine
» Paul Class Submarine
RigidChips :: Rigid-Chips :: Files :: Watercraft
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum