Statistics: Posted by Ithilis_Quo — 01 Apr 2015, 23:59
Statistics: Posted by The Mak — 30 Mar 2015, 18:41
#****************************************************************************
#**
#** File : /data/units/XAL0203/XAL0203_script.lua
#** Author(s): Jessica St. Croix
#**
#** Summary : Aeon Assault Tank Script
#**
#** Copyright © 2007 Gas Powered Games, Inc. All rights reserved.
#****************************************************************************
local AHoverLandUnit = import('/lua/aeonunits.lua').AHoverLandUnit
local ADFQuantumAutogunWeapon = import('/lua/aeonweapons.lua').ADFQuantumAutogunWeapon
XAL0203 = Class(AHoverLandUnit) {
Weapons = {
MainGun = Class(ADFQuantumAutogunWeapon) {}
},
OnLayerChange = function(self, new, old)
AHoverLandUnit.OnLayerChange(self, new, old)
if( old != 'None' ) then
if( new == 'Land' ) then
self:SetSpeedMult(1)
elseif( new == 'Water' ) then
self:SetSpeedMult(.5)
end
end
end,
}
TypeClass = XAL0203
Physics = {
BankingSlope = 0,
BuildOnLayerCaps = {
LAYER_Air = false,
LAYER_Land = true,
LAYER_Orbit = false,
LAYER_Seabed = false,
LAYER_Sub = false,
LAYER_Water = false,
},
DragCoefficient = 0.2,
Elevation = 0.15,
MaxAcceleration = 4,
MaxBrake = 4,
MaxSpeed = 4,
MaxSpeedReverse = 0,
MaxSteerForce = 20,
MeshExtentsX = 1,
MeshExtentsY = 0.5,
MeshExtentsZ = 1,
MinSpeedPercent = 0,
MotionType = 'RULEUMT_Hover',
RotateBodyWhileMoving = true,
RotateOnSpot = false,
TurnFacingRate = 120,
TurnRadius = 0,
TurnRate = 90,
WaterSpeedMultiplier = 0.5
Statistics: Posted by Ithilis_Quo — 29 Mar 2015, 15:48
UAL0201 = Class(AHoverLandUnit) {
Weapons = {
MainGun = Class(ADFDisruptorCannonWeapon) {}
},
OnLayerChange = function(self, new, old)
AHoverLandUnit.OnLayerChange(self, new, old)
if( old != 'None' ) then
if( new == 'Land' ) then
self:SetSpeedMult(1)
elseif( new == 'Water' ) then
self:SetSpeedMult(.7)
end
end
end,
TypeClass = UAL0201
}
Statistics: Posted by Krapougnak — 29 Mar 2015, 08:53
Statistics: Posted by Ithilis_Quo — 28 Mar 2015, 15:10