Log in

Nironics #9 [349.4]

336 rounds, 280 wins, 42 losses, 14 draws

Ships

Bomber

{"name": "Bomber", "parts": [{"name": "brain","type": "brain","pos": [0,0],"rot": 0,"welds": [10,11,16,22]},{"type": "reinforced_hull","pos": [-1,1],"rot": 0,"welds": [3,6,10,16]},{"type": "reinforced_hull","pos": [1,1],"rot": 0,"welds": [4,7,11,16]},{"name": "r1","type": "rocket_launcher","pos": [-1,2],"rot": 0},{"name": "r3","type": "rocket_launcher","pos": [1,2],"rot": 0},{"name": "ranger","type": "ranger","pos": [0,2],"rot": 0,"welds": [16]},{"type": "reinforced_hull","pos": [-2,1],"rot": 0,"welds": [8,12]},{"type": "reinforced_hull","pos": [2,1],"rot": 0,"welds": [9,13]},{"name": "r2","type": "rocket_launcher","pos": [-2,2],"rot": 0},{"name": "r4","type": "rocket_launcher","pos": [2,2],"rot": 0},{"type": "reinforced_hull","pos": [-1,0],"rot": 0},{"type": "reinforced_hull","pos": [1,0],"rot": 0},{"type": "reinforced_hull","pos": [-3,1],"rot": 0,"welds": [14,18]},{"type": "reinforced_hull","pos": [3,1],"rot": 0,"welds": [17,21]},{"name": "r5","type": "rocket_launcher","pos": [-3,2],"rot": 0},{"name": "thruster","type": "thruster","pos": [-5,2],"rot": 2},{"type": "reinforced_hull","pos": [0,1],"rot": 0},{"name": "r6","type": "rocket_launcher","pos": [3,2],"rot": 0},{"type": "reinforced_hull","pos": [-4,1],"rot": 0,"welds": [19,20]},{"type": "reinforced_hull","pos": [-5,1],"rot": 0,"welds": [15]},{"name": "r7","type": "rocket_launcher","pos": [-4,2],"rot": 0},{"name": "thruster2","type": "thruster","pos": [3,0],"rot": 0},{"type": "reinforced_hull","pos": [0,-1],"rot": 0}]}
function Start()
	brain:SetColor(0, 0, Color(255,0,0)) 
	brain:SetColor(0, 1, Color(255,0,0)) 
	brain:SetColor(0, 2, Color(255,0,0)) 
	brain:SetColor(1, 0, Color(255,0,0)) 
	brain:SetColor(1, 1, Color(255,0,0)) 
	brain:SetColor(1, 2, Color(255,0,0)) 
	brain:SetColor(2, 0, Color(255,0,0)) 
	brain:SetColor(2, 1, Color(255,0,0)) 
	brain:SetColor(2, 2, Color(255,0,0))
end
function Update() 
	if brain:GetRoundOver() == true then
		brain:SetColor(0, 0, Color(0,255,0))  
		brain:SetColor(0, 1, Color(0,255,0))  
		brain:SetColor(0, 2, Color(0,255,0))  
		brain:SetColor(1, 0, Color(0,255,0))  
		brain:SetColor(1, 1, Color(0,255,0))  
		brain:SetColor(1, 2, Color(0,255,0))  
		brain:SetColor(2, 0, Color(0,255,0))  
		brain:SetColor(2, 1, Color(0,255,0))  
		brain:SetColor(2, 2, Color(0,255,0))
		thruster:SetThrust(1)
		thruster2:SetThrust(1) 
	end 
	if ranger:IsAlly() then
		thruster:SetThrust(0.5)
	elseif ranger:Range() == -1 then
		thruster:SetThrust(0.5)
		thruster2:SetThrust(0.5)
	else
		thruster:SetThrust(0)
		thruster:SetThrust(0)
		r1:Fire()
		r2:Fire()
		r3:Fire()
		r4:Fire()
		r5:Fire()
		r6:Fire()
		r7:Fire()
	end
end

Bomber Mk2

{"name": "Bomber Mk2", "parts": [{"name": "brain","type": "brain","pos": [0,0],"rot": 0,"welds": [20,21,22,23]},{"type": "reinforced_hull","pos": [-1,1],"rot": 0,"welds": [3,6,21,23]},{"type": "reinforced_hull","pos": [1,1],"rot": 0,"welds": [4,7,22,23]},{"name": "r1","type": "rocket_launcher","pos": [-1,2],"rot": 0},{"name": "r3","type": "rocket_launcher","pos": [1,2],"rot": 0},{"name": "ranger","type": "ranger","pos": [0,2],"rot": 0,"welds": [23]},{"type": "reinforced_hull","pos": [-2,1],"rot": 0,"welds": [8,10]},{"type": "reinforced_hull","pos": [2,1],"rot": 0,"welds": [9,11]},{"name": "r2","type": "rocket_launcher","pos": [-2,2],"rot": 0},{"name": "r4","type": "rocket_launcher","pos": [2,2],"rot": 0},{"type": "reinforced_hull","pos": [-3,1],"rot": 0,"welds": [12,15]},{"type": "reinforced_hull","pos": [3,1],"rot": 0,"welds": [14,17]},{"name": "r5","type": "rocket_launcher","pos": [-3,2],"rot": 0},{"name": "thrusterFL","type": "thruster","pos": [-4,2],"rot": 2},{"name": "r6","type": "rocket_launcher","pos": [3,2],"rot": 0},{"type": "reinforced_hull","pos": [-4,1],"rot": 0,"welds": [13,18]},{"name": "thrusterBR","type": "thruster","pos": [4,0],"rot": 0},{"type": "reinforced_hull","pos": [4,1],"rot": 0,"welds": [16,19]},{"name": "thrusterBL","type": "thruster","pos": [-4,0],"rot": 0},{"name": "thrusterFR","type": "thruster","pos": [4,2],"rot": 2},{"name": "gyro","type": "gyroscope","pos": [0,-1],"rot": 0,"welds": [24]},{"type": "reinforced_hull","pos": [-1,0],"rot": 0},{"type": "reinforced_hull","pos": [1,0],"rot": 0},{"type": "reinforced_hull","pos": [0,1],"rot": 0},{"type": "reinforced_hull","pos": [0,-2],"rot": 0}]}
function Start() 
	brain:SetColor(0, 0, Color(255,0,0))  
	brain:SetColor(0, 1, Color(255,0,0))  
	brain:SetColor(0, 2, Color(255,0,0))  
	brain:SetColor(1, 0, Color(255,0,0))  
	brain:SetColor(1, 1, Color(255,0,0))  
	brain:SetColor(1, 2, Color(255,0,0))  
	brain:SetColor(2, 0, Color(255,0,0))  
	brain:SetColor(2, 1, Color(255,0,0))  
	brain:SetColor(2, 2, Color(255,0,0)) 
end
function Update()
	if brain:GetRoundOver() == true then 
		brain:SetColor(0, 0, Color(0,255,0))   
		brain:SetColor(0, 1, Color(0,255,0))   
		brain:SetColor(0, 2, Color(0,255,0))   
		brain:SetColor(1, 0, Color(0,255,0))   
		brain:SetColor(1, 1, Color(0,255,0))   
		brain:SetColor(1, 2, Color(0,255,0))   
		brain:SetColor(2, 0, Color(0,255,0))   
		brain:SetColor(2, 1, Color(0,255,0))   
		brain:SetColor(2, 2, Color(0,255,0)) 
		thrusterFL:SetThrust(1)
		thrusterFR:SetThrust(1) 
		thrusterBL:SetThrust(1) 
		thrusterBR:SetThrust(1)  
	end  
	local angVel = gyro:AngVel()
		
	if ranger:IsAlly() then
		thrusterFL:SetThrust(0.5)
		thrusterFR:SetThrust(0)
		thrusterBL:SetThrust(0)
		thrusterBR:SetThrust(0.5)
	elseif ranger:Range() == -1 then
		thrusterFL:SetThrust(0.5)
		thrusterFR:SetThrust(0) 
		thrusterBL:SetThrust(0) 
		thrusterBR:SetThrust(0.5) 	
	else
		thrusterFL:SetThrust(-angVel)
		thrusterFR:SetThrust(angVel)
		thrusterBL:SetThrust(angVel)
		thrusterBR:SetThrust(-angVel)		
		
		r1:Fire()
		r2:Fire()
		r3:Fire()
		r4:Fire()
		r5:Fire()
		r6:Fire()
	end
end