Frame 1
fscommand ("showmenu", "false");
_focusrect = false;
_global.openSite = function () {
getURL ("http://www.gametop.com/stats/madmech.html", "_blank");
};
_root.loaderAnimDelta = 5;
_root.loaderAnimPause = 2500;
_root.parsingAnimDelta = 10;
_root.loaderAnimDelta = 50;
_root.loaderAnimPause = 25;
_root.parsingAnimDelta = 50;
Instance of Symbol 10 MovieClip in Frame 2
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
t = _root.getBytesTotal();
l = _root.getBytesLoaded();
bar._xscale = (100 * l) / t;
p = Math.round((1000 * l) / t) / 10;
if (p == Math.floor(p)) {
p = p + ".0";
}
p = p + "%";
tf.text = p;
if (t > 0) {
if ((l < t) && (_alpha < 100)) {
_alpha = (_alpha + 5);
}
if ((l == t) && (_alpha > 0)) {
_alpha = (_alpha - 5);
}
}
}
Frame 3
stop();
Instance of Symbol 15 MovieClip in Frame 3
onClipEvent (load) {
_alpha = 0;
state = 0;
_root.stop();
}
onClipEvent (enterFrame) {
l = _root.getBytesLoaded();
t = _root.getBytesTotal();
if (state == 0) {
_alpha = (_alpha + _root.loaderAnimDelta);
if (_alpha >= 100) {
_alpha = 100;
state = 1;
startPause = getTimer();
}
} else if ((((state == 1) && (t == l)) && (l > 10)) && ((getTimer() - startPause) > _root.loaderAnimPause)) {
this._alpha = this._alpha - _root.loaderAnimDelta;
if (_alpha < 0) {
_root.gotoAndPlay("init");
}
}
}
Frame 5
function globalStart() {
debug("Try to start game", true);
if (_global.settingsLoaded === true) {
debug("STARTING GAME", true);
_global.slidingBg = true;
_global.maxLevelItem = 0;
_global.currLevel = _global.levels["level_" + levelNum];
trace("level " + levelNum);
_global.gameOver = false;
_global.gameInProcess = true;
_global.gameInWin = false;
_global.userControlled = true;
if (_global.levelNum == 1) {
_global.fullRezults = {killed:0, survived:0, items:0};
}
_global.rezults = {killed:0, survived:0, items:0};
_global.staticObjects = new Array();
_global.bonusObjects = new Array();
_global.bulletObjects = new Array();
_global.enemyObjects = new Array();
_global.splashedObjects = new Array();
_root.bg.env.depth = 0;
_root.bg.fx.depth = 0;
_root.bg.splashez.depth = 0;
_root.bg.envTop.depth = 0;
_root.bg.envTop2.depth = 0;
_root.bg.enemyMC.depth = 0;
_root.bg.topEnemyMC.depth = 0;
_root.bg.attachMovie("queue", "queue", _root.bg.getNextHighestDepth());
_global.PI2 = 57.2957795130823;
_root.clockEFid = _global.queue.addFunc(clockAdder, _root, 5);
_root.changeBGSpeedEFid = _global.queue.addFunc(changeBGSpeed, _root.bg, 15);
_root.bg.moveTo(0, 400);
_root.bg.setMotion(0, 1);
_root.bg.inQueue(20);
_root.bg.player.setMotion(playerS.speed, playerS.speed);
var _local8 = (_global.noSet(currLevel.playerArmor) ? (playerS.maxArmor) : (currLevel.playerArmor));
var _local9 = (_global.noSet(currLevel.playerShield) ? (playerS.maxShield) : (currLevel.playerShield));
_root.bg.player.initTank(playerS.base, playerS.gun, undefined, _local8, playerS.withoutBase, _local9, playerS.maxShield, playerS.maxArmor, playerS.shadow);
_root.bg.player.initGun(0, playerS.weapons[0].shotsTime, 0, playerS.weapons[0].bulletType, playerS.weapons[0].bulletSpeed, playerS.weapons[0].bulletTopLevel, playerS.weapons[0].amount, playerS.weapons[0].flySteps, playerS.weapons[0].flyMinScale, playerS.weapons[0].flyDistance, playerS.weapons[0].bulletDamage, playerS.weapons[0].splashDamage, playerS.weapons[0].damageRadius, playerS.weapons[0].splashDelay, playerS.weapons[0].movedBullet, playerS.weapons[0].passageAbility, playerS.weapons[0].bulletFlyDistance, playerS.weapons[0].pointsUsed, playerS.weapons[0].pointsAngles, playerS.weapons[0].pointsScale);
i = 1;
while (i < currLevel.playerAvailableWeapons) {
_root.bg.player.addGun(0, playerS.weapons[i].shotsTime, 0, playerS.weapons[i].bulletType, playerS.weapons[i].bulletSpeed, playerS.weapons[i].bulletTopLevel, playerS.weapons[i].amount, playerS.weapons[i].flySteps, playerS.weapons[i].flyMinScale, playerS.weapons[i].flyDistance, playerS.weapons[i].bulletDamage, playerS.weapons[i].splashDamage, playerS.weapons[i].damageRadius, playerS.weapons[i].splashDelay, playerS.weapons[i].movedBullet, playerS.weapons[i].passageAbility, playerS.weapons[i].bulletFlyDistance, playerS.weapons[i].pointsUsed, playerS.weapons[i].pointsAngles, playerS.weapons[i].pointsScale);
i++;
}
_root.gui.tf_rocket.text = _root.bg.player.cannons[0].gunZ[1].amount;
_root.bg.player.viewWeapons();
_root.bg.player.dieImmediatly = false;
_root.bg.player.inQueue(10);
if (!_global.noSet(playerS.soundKills)) {
_root.bg.player.soundKills = playerS.soundKills;
}
bg.oEF2 = mainOEF;
_root.bgEFid = _global.queue.addFunc(_root.bg.oEF2, _root.bg, 90);
delete _global.currLevelByTime;
_global.currLevelByTime = new Array();
delete _global.currLevelByFrame;
_global.currLevelByFrame = new Array();
var i = 0;
while (i < _global.currLevel.level.length) {
if (!_global.noSet(_global.currLevel.level[i].yoffset)) {
if (_global.noSet(_global.currLevel.level[i].orig_yoffset)) {
_global.currLevel.level[i].yoffset = Math.floor(parseFloat(_global.currLevel.level[i].yoffset) * 100) / 100;
_global.currLevel.level[i].orig_yoffset = _global.currLevel.level[i].yoffset;
}
}
if (!_global.noSet(_global.currLevel.level[i].timeOffset)) {
var _local4 = _global.currLevel.level[i].timeOffset.charAt(0);
var _local3 = _global.currLevel.level[i].timeOffset.substr(1, 100);
_local3 = parseInt(_local3);
if (_local4 == "s") {
currLevelByTime.push({obj:_global.currLevel.level[i], t:_local3});
}
if (_local4 == "f") {
currLevelByFrame.push({obj:_global.currLevel.level[i], t:_local3});
}
}
if ((!_global.noSet(_global.currLevel.level[i].tank)) && (!_global.noSet(_global.currLevel.level[i].yoffset))) {
_global.maxLevelItem = Math.max(_global.maxLevelItem, _global.currLevel.level[i].yoffset);
}
i++;
}
debug("\u041C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u044B\u0439 \u043E\u0431\u044A\u0435\u043A\u0442 " + _global.maxLevelItem, true);
setProgressBar(0, _global.maxLevelItem);
_global.maxLevelItem = _global.maxLevelItem + 0.5;
_root.wndComplete._visible = false;
_root.wndPause._visible = false;
_root.bossBar._visible = false;
_global.sound.width = 550;
_global.queue.addFunc(sound.oEF, sound, 95);
_root.bg.lineGrid._y = _global.envS.newObjectYOffset;
if (_global.envS.debug != 1) {
_root.bottomRuler._visible = (_root.bg.lineGrid._visible = (_root.tfTimer._visible = (_root.tfTimerF._visible = (_root.error._visible = false))));
}
_global.gameTimeStart = getTimer();
_global.keyGetter = new Object();
keyGetter.onKeyDown = makePause;
keyGetter.onMouseWheel = changeWeaponByMouse;
Key.addListener(_global.keyGetter);
Mouse.addListener(_global.keyGetter);
_global.levelCompleteDelayCounter = 0;
_global.usingBar = ((currLevel.bar == 0) ? false : true);
_root.gui.progress.bar._visible = _global.usingBar;
_root.fastZone._visible = (_root.slowZone._visible = false);
if ((!_global.noSet(_global.currLevel.playerX)) && (!_global.noSet(_global.currLevel.playerY))) {
trace("\u043F\u043E \u0443\u0440\u043E\u0432\u043D\u044E");
_root.bg.player.moveTo(_global.currLevel.playerX, -_global.currLevel.playerY);
} else {
trace("\u043F\u043E \u0434\u0435\u0444\u043E\u043B\u0442\u0443");
_root.bg.player.moveTo(playerS.startX, -playerS.startY);
}
_root.gui._visible = true;
_global.levelTime = 0;
_global.levelTimeF = 0;
_global.levelTimeS = getTimer();
_root.textBar1._visible = (_root.textBar2._visible = (_root.textBar3._visible = false));
_root.textBar1.setBarAction = (_root.textBar2.setBarAction = (_root.textBar3.setBarAction = _global.setBarAction));
if (typeof(_global.envS.comboFactorz) == "string") {
var _local5 = _global.envS.comboFactorz.split(",");
var i = 0;
while (i < _local5.length) {
_local5[i] = Math.floor(parseFloat(_local5[i]) * 100) / 100;
i++;
}
_global.envS.comboFactorz = _local5;
}
if (typeof(_global.envS.comboLinkagez) == "string") {
var _local5 = _global.envS.comboLinkagez.split(",");
var i = 0;
while (i < _local5.length) {
_local5[i] = trim(_local5[i]);
i++;
}
_global.envS.comboLinkagez = _local5;
}
if (typeof(_global.envS.comboDeltaz) == "string") {
var _local5 = _global.envS.comboDeltaz.split(",");
var i = 0;
while (i < _local5.length) {
_local5[i] = Math.floor(parseFloat(_local5[i]) * 100) / 100;
i++;
}
_global.envS.comboDeltaz = _local5;
}
_global.actualComboNumber = 0;
_global.comboNumber = 0;
_global.comboTimer = _global.levelTime;
_global.comboFactor = 1;
if (noSet(_global.gameScore) || (_global.levelNum == 1)) {
_global.gameScore = 0;
}
_global.levelScore = 0;
_root.gui.score.text = 0;
_root.mainSegment = -10;
_root.bg.player.showArmor();
if (currLevel.wiewShield == 0) {
_root.gui.armor._visible = false;
}
_root.gui.progress.bar.gotoAndStop(1);
_root.gui.progress.bar._visible = false;
_root.gui.adder.gotoAndStop(1);
_root.gui.fireRate.gotoAndStop(1);
_root.gui.double.gotoAndStop(1);
_root.gui.speed.gotoAndStop(1);
if (!noSet(selectedSecondWeapon)) {
_root.gui.weaponReady.gotoAndStop(selectedSecondWeapon + 1);
}
_root.bg.oEF2();
} else {
debug("XML data not loaded yet", true);
}
}
function endGameOutput() {
_root.wndComplete.flag = true;
with (_root.wndComplete) {
_visible = true;
var ttz = _global.envS.textZ;
title_mc.title.text = ttz.gameCompleteTitle;
tf1_.htmlText = ("<p align=\"right\">" + ttz.final_completeString1) + "</p>";
tf2_.htmlText = ("<p align=\"right\">" + ttz.final_completeString2) + "</p>";
tf3_.htmlText = ("<p align=\"right\">" + ttz.final_completeString3) + "</p>";
tf4_.htmlText = ("<p align=\"right\">" + ttz.final_completeString4) + "</p>";
tf1.text = _global.fullRezults.killed;
tf2.text = _global.fullRezults.survived;
tf3.text = _global.fullRezults.items;
tf4.text = _global.gameScore;
}
}
System.useCodepage = true;
fscommand ("trapallkeys", true);
trace("init");
_root.depth = 0;
_global.isChild = function (arr, item) {
var _local2 = false;
for (var _local3 in arr) {
if (arr[_local3] == item) {
_local2 = _local3;
break;
}
}
return(_local2);
};
_global.changeDebugText = function () {
debug();
};
_global.debug = function (str, important) {
if (important == undefined) {
important = false;
}
if (str == undefined) {
str = "";
}
clearInterval(_root.debugInt);
_root.tf_debug.text = str;
if (str != "") {
if ((_global.envS.debugTrace == 1) || (important)) {
trace(str);
}
_root.debugInt = setInterval(changeDebugText, 5000);
_global.debugLog = _global.debugLog + (str + newline);
}
};
_global.debugLog = "";
debug();
_global.drawRect = function (target, x1, y1, x2, y2) {
target.moveTo(x1, y1);
target.lineTo(x2, y1);
target.lineTo(x2, y2);
target.lineTo(x1, y2);
target.lineTo(x1, y1);
};
_global.trim = function (str) {
str = String(str);
var _local2 = -1;
do {
_local2++;
var a = str.charAt(_local2);
} while ((((a == " ") || (a == newline)) || (a == "\r")) || (a == "\t"));
var _local3 = str.length;
do {
_local3--;
var a = str.charAt(_local3);
} while ((((a == " ") || (a == newline)) || (a == "\r")) || (a == "\t"));
str = str.substring(_local2, _local3 + 1);
if (String(parseFloat(str)) == str) {
str = parseFloat(str);
}
return(str);
};
_global.alphaIn = function () {
this._alpha = this._alpha + 5;
if (this._alpha > 100) {
this._alpha = 100;
delete this.onEnterFrame;
}
};
_global.alphaOut = function () {
this.step++;
if (this.step > this.maxStep) {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
this._alpha = 0;
delete this.onEnterFrame;
}
}
};
_global.noSet = function (a) {
if (a == undefined) {
return(true);
}
if (a == null) {
return(true);
}
if (String(a) == "") {
return(true);
}
if (a == "undefined") {
return(true);
}
if ((typeof(a) == "number") && (isNaN(a))) {
return(true);
}
return(false);
};
_global.prepareArrayString = function (inv) {
var _local3 = inv.split(",");
if (_global.noSet(_local3)) {
_local3 = new Array();
_local3.push(inv);
}
var _local2 = 0;
while (_local2 < _local3.length) {
_local3[_local2] = _global.trim(_local3[_local2]);
_local2++;
}
return(_local3);
};
_global.prepareArrayNum = function (inv) {
var _local3 = inv.split(",");
if (_global.noSet(_local3)) {
_local3 = new Array();
_local3.push(inv);
}
var _local2 = 0;
while (_local2 < _local3.length) {
_local3[_local2] = parseFloat(_local3[_local2]);
_local2++;
}
return(_local3);
};
_global.prepareArrayBool = function (inv) {
var _local3 = inv.split(",");
if (_global.noSet(_local3)) {
_local3 = new Array();
_local3.push(inv);
}
var _local2 = 0;
while (_local2 < _local3.length) {
_local3[_local2] = ((parseFloat(_local3[_local2]) == 1) ? true : false);
_local2++;
}
return(_local3);
};
_global.isChild = function (arr, item) {
var _local2 = false;
for (var _local3 in arr) {
if (arr[_local3] == item) {
_local2 = _local3;
break;
}
}
return(_local2);
};
_global.isArrChild = function (arr, name, item) {
var _local3 = false;
var _local1 = 0;
while (_local1 < arr.length) {
if (arr[_local1][name] == item) {
_local3 = arr[_local1];
break;
}
_local1++;
}
return(_local3);
};
_global.parsingOn = function () {
this._alpha = this._alpha + _root.parsingAnimDelta;
if (this._alpha > (100 + _root.parsingAnimDelta)) {
_root.gotoAndStop("parse");
delete this.onEnterFrame;
}
};
_global.parsingOff = function () {
this._alpha = this._alpha - _root.parsingAnimDelta;
if (this._alpha <= 0) {
delete this.onEnterFrame;
_root.gotoAndStop("menu");
}
};
stop();
_root.parsingDataMC._alpha = 0;
_root.parsingDataMC.onEnterFrame = parsingOn;
_global.allowToStart = false;
mainOEF = function () {
if (_global.gameInProcess) {
var dt = Math.round((getTimer() - gameTimeStart) / 1000);
var st = (dt % 60);
if (st < 10) {
st = "0" + st;
}
var tt = Math.floor(dt / 60);
_root.tfTimer.text = (tt + ":") + st;
_global.levelTime = _global.levelTime + (getTimer() - _global.levelTimeS);
_global.levelTimeF++;
_root.tfTimerF.text = levelTimeF;
var dt = Math.round(_global.levelTime / 1000);
var st = (dt % 60);
if (st < 10) {
st = "0" + st;
}
var tt = Math.floor(dt / 60);
if (tt < 10) {
tt = "0" + tt;
}
_root.gui.time.text = (tt + ":") + st;
}
_global.levelTimeS = getTimer();
countCombo();
var xp = _root.bg.player._x;
var yp = _root.bg.player._y;
var i = 0;
while (i < bonusObjects.length) {
var dx = (bonusObjects[i]._x - xp);
var dy = (bonusObjects[i]._y - yp);
var d = Math.sqrt((dx * dx) + (dy * dy));
if (d < 40) {
makeBonusAnimation(bonusObjects[i].bonusType, bonusObjects[i]);
_root.bg.player.applyBonus(bonusObjects[i].bonusType);
bonusObjects[i].onEnterFrame = getOff;
bonusObjects.splice(i, 1);
}
i++;
}
var pointZFlag = false;
i = 0;
for ( ; i < bulletObjects.length ; i++) {
var foo = bulletObjects[i];
var weaponPoints = new Array();
var klop = 1;
while (foo["p" + klop] != undefined) {
var wp = new Object();
var wmc = foo["p" + klop];
wp.x = wmc._x;
wp.y = wmc._y;
foo.localToGlobal(wp);
weaponPoints.push({mc:wmc, x:wp.x, y:wp.y});
klop++;
}
var killFlag = false;
if (foo.flySteps != 0) {
var ll = (_global.clock - foo.startClock);
if (ll == (foo.flySteps - 1)) {
killFlag = true;
}
if (!killFlag) {
continue;
}
} else {
if (killFlag) {
makeSplash(foo, weaponPoints[0], foo.object == 1, foo.object != 1);
}
if (foo.object == 1) {
if ((foo.type == "torpedoe") && (!foo.mode)) {
continue;
}
if ((foo.type == "lazer") || (foo.type == "lazer2")) {
var flag = true;
var n = 0;
var points = new Array();
var sina = Math.sin(foo.fireAngle);
var cosa = Math.cos(foo.fireAngle);
if (_global.envS.debug) {
if (_global.envS.lazerDebug && (!pointZFlag)) {
if (_global.noSet(_root.pointZ)) {
_root.createEmptyMovieClip("pointZ", _root.getNextHighestDepth());
}
_root.pointZ.clear();
pointZFlag = true;
_root.pointZ.lineStyle(1, 16711935);
}
}
while (flag) {
n++;
var pointObj = {x:(Math.round(((10 * n) * _global.envS.lazerInterval) * cosa) / 10) + foo._x, y:((Math.round(((10 * n) * _global.envS.lazerInterval) * sina) / 10) + _root.bg._y) + foo._y};
if (pointObj.y < (0 + foo.offsetTop)) {
flag = false;
}
if (pointObj.y > (400 - foo.offsetBottom)) {
flag = false;
}
if (pointObj.x < (0 + foo.offsetLeft)) {
flag = false;
}
if (pointObj.x > (550 - foo.offsetRight)) {
flag = false;
}
if (_global.envS.debug && (_global.envS.lazerDebug)) {
drawRect(_root.pointZ, pointObj.x - 3, pointObj.y - 3, pointObj.x + 3, pointObj.y + 3);
}
if (flag) {
points.push(pointObj);
}
}
var staticObjectsTests = new Array();
var staticObjectsHits = new Array();
var j = 0;
while (j < staticObjects.length) {
if (!staticObjects[j].ignoreHit) {
staticObjectsTests.push(staticObjects[j]);
}
j++;
}
var j = 0;
while (j < staticObjectsTests.length) {
var g = 0;
while (g < points.length) {
if (staticObjectsTests[j].body.hitTest(points[g].x, points[g].y, true)) {
if (_global.envS.debug && (_global.envS.lazerDebug)) {
_root.pointZ.beginFill(16711680);
drawRect(_root.pointZ, points[g].x - 3, points[g].y - 3, points[g].x + 3, points[g].y + 3);
_root.pointZ.endFill();
}
staticObjectsHits.push({obj:staticObjectsTests[j], point:g, type:"stat"});
staticObjectsTests.splice(j, 1);
j--;
break;
}
g++;
}
j++;
}
var enemyObjectsTests = new Array();
var enemyObjectsHits = new Array();
var j = 0;
while (j < enemyObjects.length) {
if (!enemyObjects[j].ignoreHit) {
enemyObjectsTests.push(enemyObjects[j]);
}
j++;
}
var j = 0;
while (j < enemyObjectsTests.length) {
var g = 0;
while (g < points.length) {
if (enemyObjectsTests[j].body.hitTest(points[g].x, points[g].y, true)) {
if (_global.envS.debug && (_global.envS.lazerDebug)) {
_root.pointZ.beginFill(65280);
drawRect(_root.pointZ, points[g].x - 3, points[g].y - 3, points[g].x + 3, points[g].y + 3);
_root.pointZ.endFill();
}
enemyObjectsHits.push({obj:enemyObjectsTests[j], point:g, type:"enemy"});
enemyObjectsTests.splice(j, 1);
j--;
break;
}
g++;
}
j++;
}
var allObjs = new Array();
allObjs = enemyObjectsHits.concat(staticObjectsHits);
allObjs.sortOn("point", Array.NUMERIC);
var staticObjectsHits = new Array();
var enemyObjectsHits = new Array();
var j = 0;
while (j < allObjs.length) {
trace((((((j + " (") + allObjs.length) + ") dir=") + allObjs[j].point) + ", type=") + allObjs[j].type);
foo.addEnemy(allObjs[j].obj);
if (allObjs[j].type == "enemy") {
enemyObjectsHits.push(allObjs[j].obj);
}
if (allObjs[j].type == "stat") {
staticObjectsHits.push(allObjs[j].obj);
}
if (foo.passageDone()) {
break;
}
j++;
}
var j = 0;
while (j < staticObjectsHits.length) {
var name = staticObjectsHits[j];
debug("lazer damage = " + foo.damage);
var klop = name.armor;
name.changeArmor(-foo.damage);
debug((((((((("static object " + name) + " health = ") + name.armor) + " (") + klop) + "), obj splash damage = ") + name.splashDamage) + ", radius = ") + name.damageRadius);
_global.rezults.hits++;
if (name.armor <= 0) {
checkSplash(name);
}
j++;
}
var j = 0;
while (j < enemyObjectsHits.length) {
var name = enemyObjectsHits[j];
debug("lazer damage = " + foo.damage);
var klop = name.armor;
if ((name.thereCanBeOnlyOne == 0) || ((name.thereCanBeOnlyOne == 1) && (enemyObjects.length == 1))) {
name.changeArmor(-foo.damage);
_global.rezults.hits++;
}
debug((((((((("static object " + name) + " health = ") + name.armor) + " (") + klop) + "), obj splash damage = ") + name.splashDamage) + ", radius = ") + name.damageRadius);
j++;
}
foo.removeFromArray();
foo.outQueue();
i--;
} else {
var flag = false;
var j = 0;
while (j < staticObjects.length) {
if (staticObjects[j].ignoreHit && (foo.type != "torpedoe")) {
} else if (foo.alreadyHited(staticObjects[j])) {
} else {
var hit = false;
ii = 0;
while (ii < weaponPoints.length) {
var hit = staticObjects[j].body.hitTest(weaponPoints[ii].x, weaponPoints[ii].y, true);
if (hit) {
var hitPoint = weaponPoints[ii];
break;
}
ii++;
}
if (hit) {
var name = staticObjects[j];
debug("rocket damage to standing = " + foo.damage);
var klop = name.armor;
name.changeArmor(-foo.damage);
debug((((((((("static object " + name) + " health = ") + name.armor) + " (") + klop) + "), obj splash damage = ") + name.splashDamage) + ", radius = ") + name.damageRadius);
foo.addEnemy(name);
if (!killFlag) {
_global.rezults.hits++;
makeSplash(foo, hitPoint);
if (foo.passageDone()) {
foo.kill(true);
i--;
}
}
if (name.armor <= 0) {
flag = true;
}
break;
}
}
j++;
}
if (flag) {
checkSplash(name);
}
var j = 0;
while (j < enemyObjects.length) {
if (enemyObjects[j].ignoreHit) {
} else if ((foo.type == "torpedoe") && (enemyObjects[j].top)) {
} else if (foo.alreadyHited(enemyObjects[j])) {
} else {
var hit = false;
ii = 0;
while (ii < weaponPoints.length) {
var hit = enemyObjects[j].body.hitTest(weaponPoints[ii].x, weaponPoints[ii].y, true);
if (hit) {
var hitPoint = weaponPoints[ii];
break;
}
ii++;
}
if (hit) {
var name = enemyObjects[j];
klop = name.armor;
if ((name.thereCanBeOnlyOne == 0) || ((name.thereCanBeOnlyOne == 1) && (enemyObjects.length == 1))) {
name.changeArmor(-foo.damage);
if (!killFlag) {
_global.rezults.hits++;
makeSplash(foo, hitPoint);
}
debug((((((((("enemy object " + name) + " health = ") + name.armor) + " (") + klop) + "), obj splash damage = ") + name.splashDamage) + ", radius = ") + name.damageRadius);
foo.addEnemy(name);
if (!killFlag) {
if (foo.passageDone()) {
foo.kill(true);
i--;
}
}
break;
}
if (foo.type == "torpedoe") {
foo.kill(true);
i--;
} else {
debug("IGNORING");
}
}
}
j++;
}
}
} else if (foo.object == 0) {
if ((foo.type == "lazer") || (foo.type == "lazer2")) {
var flag = true;
var n = 0;
var sina = Math.sin(foo.fireAngle);
var cosa = Math.cos(foo.fireAngle);
if (_global.envS.debug) {
if (_global.envS.lazerDebug && (!pointZFlag)) {
if (_global.noSet(_root.pointZ)) {
_root.createEmptyMovieClip("pointZ", _root.getNextHighestDepth());
}
_root.pointZ.clear();
pointZFlag = true;
_root.pointZ.lineStyle(1, 16711935);
}
}
while (flag) {
n++;
var pointObj = {x:(Math.round(((10 * n) * _global.envS.lazerInterval) * cosa) / 10) + foo._x, y:((Math.round(((10 * n) * _global.envS.lazerInterval) * sina) / 10) + _root.bg._y) + foo._y};
if (pointObj.y < (0 + foo.offsetTop)) {
flag = false;
}
if (pointObj.y > (400 - foo.offsetBottom)) {
flag = false;
}
if (pointObj.x < (0 + foo.offsetLeft)) {
flag = false;
}
if (pointObj.x > (550 - foo.offsetRight)) {
flag = false;
}
if (_global.envS.debug && (_global.envS.lazerDebug)) {
drawRect(_root.pointZ, pointObj.x - 3, pointObj.y - 3, pointObj.x + 3, pointObj.y + 3);
}
if (_root.bg.player.base.body.hitTest(pointObj.x, pointObj.y, true)) {
debug("\u0418\u0413\u0420\u041E\u041A \u041F\u041E\u0412\u0420\u0415\u0416\u0414\u0415\u041D \u041B\u0410\u0417\u0415\u0420\u041E\u041C! \u0443\u0440\u043E\u043D " + foo.damage);
_root.bg.player.changeArmor(-foo.damage);
flag = false;
}
}
foo.removeFromArray();
foo.outQueue();
i--;
} else {
if (foo.alreadyHited(_root.bg.player)) {
continue;
}
var hit = false;
ii = 0;
while (ii < weaponPoints.length) {
var hit = _root.bg.player.base.body.hitTest(weaponPoints[ii].x, weaponPoints[ii].y, true);
if (hit) {
var hitPoint = weaponPoints[ii];
break;
}
ii++;
}
if (hit) {
debug("\u0418\u0413\u0420\u041E\u041A \u041F\u041E\u0412\u0420\u0415\u0416\u0414\u0415\u041D! \u0443\u0440\u043E\u043D " + foo.damage);
_root.bg.player.changeArmor(-foo.damage);
foo.addEnemy(_root.bg.player);
if (foo.passageDone()) {
foo.kill(true);
i--;
}
}
}
}
if (foo.init && (killFlag)) {
foo.kill();
i--;
}
}
}
if (_root.bg.player.armor > 0) {
var ppointz = new Array();
var j = 0;
while (!_global.noSet(_root.bg.player.base["p" + j])) {
var obj = {x:_root.bg.player.base["p" + j]._x, y:_root.bg.player.base["p" + j]._y};
_root.bg.player.base.localToGlobal(obj);
ppointz.push(obj);
j++;
}
var i = 0;
while (i < staticObjects.length) {
if (staticObjects[i].ignoreDirect) {
} else {
name = staticObjects[i];
if (_root.bg.player.hitBody.hitTest(name.hitBody)) {
var hit = false;
var j = 0;
while (j < ppointz.length) {
hit = hit | name.hitBody.hitTest(ppointz[j].x, ppointz[j].y, true);
if (hit) {
break;
}
j++;
}
if (hit) {
if (staticObjects[i].immortal) {
debug("\u0418\u0413\u0420\u041E\u041A \u0421\u041E\u0423\u0414\u0410\u0420\u0418\u041B\u0421\u042F \u0421 \u0411\u0415\u0421\u0421\u041C\u0415\u0420\u0422\u041D\u042B\u041C \u041E\u0411\u042A\u0415\u041A\u0422\u041E\u041C!");
_root.bg.player.changeArmor(-10000000);
} else {
debug("\u0418\u0413\u0420\u041E\u041A \u0421\u041E\u0423\u0414\u0410\u0420\u0418\u041B\u0421\u042F \u0421 \u0411\u041E\u0427\u041A\u041E\u0419! \u0443\u0440\u043E\u043D " + ((name.directDamage == 0) ? (-name.armor) : (-name.directDamage)));
_root.bg.player.changeArmor(((name.directDamage == 0) ? (-name.armor) : (-name.directDamage)));
name.changeArmor(-10000000);
checkSplash(name, false);
}
}
}
}
i++;
}
var i = 0;
while (i < enemyObjects.length) {
if (!enemyObjects[i].enable_enemy_to_enemy_collision) {
} else if (enemyObjects[i].armor <= 0) {
} else {
var j = 0;
while (j < enemyObjects.length) {
if (i == j) {
} else if (!enemyObjects[j].enable_enemy_to_enemy_collision) {
} else if (enemyObjects[j].armor <= 0) {
} else {
name_1 = enemyObjects[i];
name_2 = enemyObjects[j];
if (name_1.hitBody.hitTest(name_2.hitBody)) {
if (name_1.dont_smash_me_ally == false) {
name_1.changeArmor(-10000000);
}
if (name_2.dont_smash_me_ally == false) {
name_2.changeArmor(-10000000);
}
break;
}
}
j++;
}
}
i++;
}
var i = 0;
while (i < enemyObjects.length) {
if (enemyObjects[i].ignoreDirect) {
} else {
name = enemyObjects[i];
if (_root.bg.player.hitBody.hitTest(name.hitBody)) {
debug(((("test for collision with enemy " + name) + " (") + name.hitBody) + ")");
var hit = false;
var j = 0;
while (j < ppointz.length) {
hit = hit | name.hitBody.hitTest(ppointz[j].x, ppointz[j].y, true);
if (hit) {
break;
}
j++;
}
if (hit) {
var damage = name.armor;
if ((name.directdamage != -100) && (!_global.noSet(name.directdamage))) {
damage = name.directdamage;
}
_root.bg.player.changeArmor(-damage);
trace("\u0418\u0413\u0420\u041E\u041A \u0421\u041E\u0423\u0414\u0410\u0420\u0418\u041B\u0421\u042F \u0421 \u0412\u0420\u0410\u0413\u041E\u041C! \u0443\u0440\u043E\u043D " + damage);
if ((name.thereCanBeOnlyOne == 0) || ((name.thereCanBeOnlyOne == 1) && (enemyObjects.length == 1))) {
name.changeArmor(-10000000);
}
}
}
}
i++;
}
}
i = 0;
while (i < splashedObjects.length) {
splashedObjects[i].delay--;
i++;
}
var len = splashedObjects.length;
i = 0;
while (i < len) {
var name = splashedObjects[i];
if ((name.delay <= 0) && (name.obj.armor > 0)) {
name.obj.changeArmor(-name.dmg);
splashedObjects.splice(i, 1);
i--;
len--;
if ((name.obj.armor <= 0) && (name.spl)) {
checkSplash(name.obj);
}
}
i++;
}
oldMainSegment = mainSegment;
mainSegment = Math.floor(_root.bg._y / 20) / 20;
mainSegmentDelta = _root.bg._y - ((mainSegment * 20) * 20);
setProgressBar(mainSegment, _global.maxLevelItem);
if ((((mainSegment >= _global.maxLevelItem) || ((!slidingBg) && (slidingLimit == 0))) && (enemyObjects.length == 0)) || (_global.gameOver)) {
if ((++_global.levelCompleteDelayCounter) >= _global.envS.levelCompleteDelay) {
stopAllEngines();
with (_root.wndComplete) {
_visible = true;
var ttz = _global.envS.textZ;
if (_global.gameOver && (!gameInWin)) {
_global.sound.play("playerDead", undefined, true);
title_mc.title.text = ttz.playerDiedTitle;
_global.levelNum--;
} else {
title_mc.title.text = ttz.levelCompleteTitle;
_global.fullRezults.killed = _global.fullRezults.killed + _global.rezults.killed;
_global.fullRezults.survived = _global.fullRezults.survived + _global.rezults.survived;
_global.fullRezults.items = _global.fullRezults.items + _global.rezults.items;
_global.gameScore = _global.gameScore + _global.levelScore;
_global.sound.play("levelComplete", undefined, true);
var saved = SharedObject.getLocal(gameName, "/");
if ((saved.data.levelDone < levelNum) || (noSet(saved.data.levelDone))) {
if (!noSet(levels["level_" + (levelNum + 1)])) {
saved.data.levelDone = levelNum;
saved.data.killed = _global.fullRezults.killed;
saved.data.survived = _global.fullRezults.survived;
saved.data.items = _global.fullRezults.items;
saved.data.gameScore = _global.gameScore;
saved.flush();
}
}
}
tf1_.htmlText = ("<p align=\"right\">" + ttz.completeString1) + "</p>";
tf2_.htmlText = ("<p align=\"right\">" + ttz.completeString2) + "</p>";
tf3_.htmlText = ("<p align=\"right\">" + ttz.completeString3) + "</p>";
tf4_.htmlText = ("<p align=\"right\">" + ttz.completeString4) + "</p>";
tf5_.htmlText = ("<p align=\"right\">" + ttz.completeString5) + "</p>";
tf1.text = _global.rezults.killed;
tf2.text = _global.rezults.survived;
tf3.text = _global.rezults.items;
tf4.text = _global.levelScore;
tf5.text = _global.gameScore;
}
}
}
if (gameInProcess) {
var i = 0;
while (i < currLevelByTime.length) {
var foo = currLevelByTime[i];
if (foo.t <= _global.levelTime) {
makeGameObject.call(this, foo.obj, 0);
currLevelByTime.splice(i, 1);
i--;
}
i++;
}
var i = 0;
while (i < currLevelByFrame.length) {
var foo = currLevelByFrame[i];
if (foo.t == _global.levelTimeF) {
makeGameObject.call(this, foo.obj, 0);
currLevelByFrame.splice(i, 1);
i--;
}
i++;
}
if (mainSegment != oldMainSegment) {
var i = 0;
while (i < _global.currLevel.level.length) {
var foo = _global.currLevel.level[i];
var vary = foo.yoffset;
if ((vary > oldMainSegment) && (vary <= mainSegment)) {
makeGameObject.call(this, foo, (((vary < 1) ? ((-(vary - 1)) * 400) : 0) + ((mainSegment - vary) * 400)) + mainSegmentDelta);
}
i++;
}
}
}
};
_global.clock = 0;
clockAdder = function () {
_global.clock++;
};
changeBGSpeed = function () {
if (_global.scrollBG_debugFlag === true) {
return(undefined);
}
if (!_global.slidingBg) {
_root.bg.speedY = _root.bg.speedY * slidingfactor;
if (slidingfactor > 1) {
if (_root.bg.speedY > slidingLimit) {
_root.bg.speedY = slidingLimit;
}
}
if (slidingfactor < 1) {
if (_root.bg.speedY < slidingLimit) {
_root.bg.speedY = slidingLimit;
}
}
} else if (_global.gameInProcess) {
if (!_global.noSet(_global.currLevel.screenSpeed)) {
_root.bg.speedY = _global.currLevel.screenSpeed;
return(undefined);
}
var _local6 = _root.bg.player._x;
var _local5 = _root.bg.player._y + _root.bg._y;
var _local7 = _root.fastZone.hitTest(_local6, _local5, 1);
var _local8 = _root.slowZone.hitTest(_local6, _local5, 1);
var _local3 = _global.envS.screenSpeed;
if (_local7) {
_local3 = _global.envS.screenFastSpeed;
}
if (_local8) {
_local3 = _global.envS.screenSlowSpeed;
}
if (_local3 != _root.bg.speedY) {
if (_local3 > _root.bg.speedY) {
var _local4 = _root.bg.speedY * _global.envS.screenSpeedFactorUp;
if (_local4 > _local3) {
_local4 = _local3;
}
}
if (_local3 < _root.bg.speedY) {
var _local4 = _root.bg.speedY * _global.envS.screenSpeedFactorDown;
if (_local4 < _local3) {
_local4 = _local3;
}
}
if ((_local3 == 0) && (_local4 < 0.1)) {
var _local4 = 0;
}
if ((_local3 > 0) && (_local4 < 0.1)) {
var _local4 = 0.1;
}
_root.bg.speedY = _local4;
}
}
};
_global.checkSplash = function (obj, flag, flag2) {
var _local9 = splashedObjects.length;
if (_global.noSet(obj)) {
return(undefined);
}
if (_global.noSet(flag)) {
flag = true;
}
if (_global.noSet(flag2)) {
flag2 = true;
}
if (flag2) {
var _local3 = 0;
while (_local3 < staticObjects.length) {
if (staticObjects[_local3].ignoreSplash) {
} else if (checkSplashOne(obj, staticObjects[_local3])) {
splashedObjects.push({obj:staticObjects[_local3], from:obj._name, dmg:obj.splashDamage, delay:obj.splashDelay, spl:true});
}
_local3++;
}
_local3 = 0;
while (_local3 < enemyObjects.length) {
if (enemyObjects[_local3].ignoreSplash) {
} else if (checkSplashOne(obj, enemyObjects[_local3])) {
splashedObjects.push({obj:enemyObjects[_local3], from:obj._name, dmg:obj.splashDamage, delay:obj.splashDelay, spl:false});
}
_local3++;
}
}
if (false && (flag)) {
if (checkSplashOne(obj, _root.bg.player)) {
splashedObjects.push({obj:_root.bg.player, from:obj._name, dmg:obj.splashDamage, delay:obj.splashDelay, spl:false});
}
}
var _local4 = "";
var _local3 = 0;
while (_local3 < splashedObjects.length) {
_local4 = _local4 + (((((((_local3 + ": obj=") + splashedObjects[_local3].obj) + ", damage=") + splashedObjects[_local3].dmg) + ", from=") + splashedObjects[_local3].from) + ((_local3 == (splashedObjects.length - 1)) ? "" : newline));
_local3++;
}
};
checkSplashOne = function (a, b) {
if (a == b) {
return(undefined);
}
if (!a.spl.hitTest(b.body)) {
return(undefined);
}
var _local7 = _global.envS.splashTests;
var _local5 = {x:a.spl._x, y:a.spl._y};
a.localToGlobal(_local5);
var _local8 = {x:b.body._x, y:b.body._y};
b.localToGlobal(_local8);
dx = _local5.x - _local8.x;
dy = _local5.y - _local8.y;
d = Math.sqrt((dx * dx) + (dy * dy));
al = Math.atan2(dy, dx);
al = al - (((5 / PI2) * (_local7 - 1)) / 2);
if (d < (a.damageRadius / 2)) {
return(true);
}
i = 0;
while (i < _local7) {
var _local4 = _local5.x - ((Math.cos(al) * a.damageRadius) / 2);
var _local3 = _local5.y - ((Math.sin(al) * a.damageRadius) / 2);
al = al + (5 / PI2);
if (b.body.hitTest(_local4, _local3, true)) {
return(true);
}
i++;
}
return(false);
};
_global.setProgressBar = function (now, all) {
if (!usingBar) {
return(undefined);
}
now = now - 1;
all = all - 1;
var _local2 = (100 * now) / all;
if (_local2 > 100) {
_local2 = 100;
}
if (_local2 < 1) {
_local2 = 1;
}
_root.gui.progress.bar._xscale = _local2;
};
_global.makePause = function (flag) {
if (_global.gameOver) {
return(undefined);
}
if ((Key.isDown(27) || (Key.isDown(80))) || (flag)) {
if (_global.gameInProcess) {
_global.gameInProcess = false;
_root.wndPause._visible = true;
} else {
_global.gameInProcess = true;
_root.wndPause._visible = false;
_global.levelTimeS = getTimer();
}
}
if (_global.envS.debug == 1) {
if (Key.isDown(8)) {
if (_global.noSet(_global.scrollBG_debugFlag)) {
_global.scrollBG_debugFlag = false;
}
_global.scrollBG_debugFlag = !_global.scrollBG_debugFlag;
if (_global.scrollBG_debugFlag) {
_root.bg.setMotion(0, 0);
}
}
}
};
_global.changeWeaponByMouse = function (dir) {
if (_global.gameInProcess) {
if (dir == 0) {
return(undefined);
}
dir = ((dir > 0) ? -1 : 1);
var _local3 = _root.bg.player.cannons[0].currentGun + dir;
if (_local3 >= _root.bg.player.cannons[0].gunZ.length) {
_local3 = 0;
}
if (_local3 < 0) {
_local3 = _root.bg.player.cannons[0].gunZ.length - 1;
}
if (_root.bg.player.cannons[0].changeGun(_local3)) {
_root.lbar.weaponSelector.gotoAndStop(_local3 + 1);
}
oldTab = Key.isToggled(9);
}
};
_global.explodePause = function () {
if (_global.noSet(this.delay)) {
this.delay = 0;
}
if ((++this.delay) >= this.maxDelay) {
this.play();
if (!_global.noSet(this.target)) {
if (((this.oldx != this.target._x) || (this.oldy != this.target._y)) || (this.oldr != this.target._rotation)) {
var _local3 = {x:this.target_mc._x, y:this.target_mc._y};
this.target_mc._parent.localToGlobal(_local3);
this._parent.globalToLocal(_local3);
this._x = _local3.x;
this._y = _local3.y;
this.oldx = this.target._x;
this.oldy = this.target._y;
this.oldr = this.target._rotation;
}
}
if (this._currentframe == 6) {
if (this.destroyer) {
if (this.destroyTarget.gunHolder != this.destroyTarget) {
this.destroyTarget.gunHolder.removeMovieClip();
}
this.destroyTarget.shadow.removeMovieClip();
this.destroyTarget.shadow.unloadMovie();
this.destroyTarget.removeMovieClip();
this.destroyTarget.unloadMovie();
delete this.onEnterFrame;
}
}
}
};
_global.stopAllEngines = function () {
if (!_global.noSet(_root.pointZ)) {
_root.pointZ.clear();
}
Key.removeListener(_global.keyGetter);
Mouse.removeListener(_global.keyGetter);
delete _global.keyGetter;
_global.gameInProcess = false;
_global.queue.clear();
_global.queue.removeMovieClip();
delete _global.queue;
};
_global.getOff = function () {
this._yscale = this._yscale + ((-2 - this._yscale) / 3);
this._xscale = this._yscale;
if (this._yscale <= 0) {
delete this.onEnterFrame;
this.removeMovieClip();
}
};
_global.getOn = function () {
this._yscale = this._yscale + ((100 - this._yscale) / 6);
this._alpha = (this._xscale = this._yscale);
if (this._yscale >= 98) {
this._alpha = (this._xscale = (this._yscale = 100));
delete this.onEnterFrame;
}
};
_global.makeSplash = function (shot, point, enemyFlag, playerFlag) {
if (_global.noSet(enemyFlag)) {
enemyFlag = true;
}
if (_global.noSet(playerFlag)) {
playerFlag = true;
}
if ((shot.splashDamage == 0) || (_global.noSet(shot.splashDamage))) {
return(undefined);
}
var _local5 = _root.bg.splashez;
var _local7 = _local5.depth++;
var _local3 = _local5.attachMovie("userSplash", "sf" + _local7, 1000000 - _local7);
_local3.initArmor(1);
_local3.setMotion(0, 0);
var _local6 = {x:point.x, y:point.y};
_local5.globalToLocal(_local6);
_local3.moveTo(_local6.x, _local6.y);
_local3.initSplash(shot.splashDamage, shot.damageRadius, shot.splashDelay, true);
checkSplash(_local3, playerFlag, enemyFlag);
if (_global.envS.debug != 1) {
_local3.spl._visible = false;
}
};
_global.makeBreef = function (done) {
if (done == true) {
if (this.mode == 1) {
while (this.currText < 3) {
if (this.currText == 1) {
var _local4 = this.breefText1;
var _local5 = _root.wnd.intro1;
}
if (this.currText == 2) {
var _local4 = this.breefText2;
var _local5 = _root.wnd.intro2;
}
while (this.step < _local4.length) {
_local5.text = _local5.text + _local4.charAt(++this.step);
}
this.currText++;
this.step = -1;
this.step2 = 0;
}
this.mode = 2;
}
} else if (this.mode == 1) {
if (this.currText == 1) {
var _local4 = this.breefText1;
var _local5 = _root.wnd.intro1;
}
if (this.currText == 2) {
var _local4 = this.breefText2;
var _local5 = _root.wnd.intro2;
}
if (_global.noSet(this.step)) {
this.step = -1;
}
if (_global.noSet(this.step2)) {
this.step2 = 0;
}
this.step2++;
if (this.step2 >= this.delay) {
this.step2 = 0;
_local5.text = _local5.text + _local4.charAt(++this.step);
_local5.text = _local5.text + _local4.charAt(++this.step);
if (Math.random() < 0.5) {
_global.sound.play("type");
}
}
if (this.step >= _local4.length) {
if (this.currText == 1) {
this.currText = 2;
this.step = -1;
this.step2 = 0;
} else {
this.mode = 2;
}
}
}
};
_root.prebreefFunc = function () {
stop();
_global.levelNum++;
_global.currLevel = _global.levels["level_" + levelNum];
if (!_global.noSet(_global.levels["level_" + levelNum])) {
delete _global.selectedPlane;
delete _global.selectedSecondWeapon;
if (!noSet(currLevel.playerSelectorMode)) {
wnd.selector.gotoAndStop(currLevel.playerSelectorMode);
}
wnd.levelNum.text = _global.levelNum;
wnd.breefText1 = prepareText(_global.levels["level_" + levelNum].comment1);
wnd.breefText2 = prepareText(_global.levels["level_" + levelNum].comment2);
if (_global.noSet(wnd.breefText1) || (wnd.breefText1 == "")) {
wnd.breefText1 = _global.levels["level_" + levelNum].comment;
}
if (_global.noSet(wnd.breefText1)) {
wnd.breefText1 = "";
}
if (_global.noSet(wnd.breefText2)) {
wnd.breefText2 = "";
}
wnd.currText = 1;
var _local3 = _global.levels["level_" + levelNum].typerDelay;
if (_global.noSet(_local3)) {
_local3 = 0;
}
_root.wnd.delay = _local3;
_root.wnd.intro1.text = "";
_root.wnd.intro2.text = "";
_root.wnd.mode = 1;
_root.wnd.onEnterFrame = makeBreef;
}
if (!_global.noSet(_global.levels["level_" + levelNum].story)) {
_root.wnd.attachMovie(_global.levels["level_" + levelNum].story, "story", _root.wnd.getNextHighestDepth());
}
};
_global.makeDie = function (mc, forward, double) {
if (_global.noSet(forward)) {
forward = false;
}
if (_global.noSet(double)) {
double = false;
}
mc.forward = forward;
mc.r = Math.round((Math.random() * 3) + 3) / 2;
if (_global.noSet(forward)) {
mc.r = mc.r * 0.5;
}
if (Math.random() < 0.5) {
mc.r = mc.r * -1;
}
if (double) {
mc.k = 1.05;
} else {
mc.k = 1.03;
}
if (double) {
mc.k2 = 40;
} else {
mc.k2 = 15;
}
mc.onEnterFrame = dieAnimation;
};
_global.dieAnimation = function () {
if (this.forward) {
this._parent._parent.speedX = this._parent._parent.speedX * this.k;
this._parent._parent.speedY = this._parent._parent.speedY * this.k;
} else {
this._parent._parent.speedX = this._parent._parent.speedX + ((-this._parent._parent.speedX) / 50);
this._parent._parent.speedY = this._parent._parent.speedY + ((-this._parent._parent.speedY) / 50);
}
this._parent._parent._x = this._parent._parent._x + this._parent._parent.speedX;
this._parent._parent._y = this._parent._parent._y + this._parent._parent.speedY;
this._parent._parent._yscale = this._parent._parent._yscale - ((105 - this._parent._parent._yscale) / 20);
this._parent._parent._xscale = this._parent._parent._yscale;
this._parent._rotation = this._parent._rotation + this.r;
this._parent._parent.SolarXFactor = this._parent._parent.SolarXFactor + ((1 - this._parent._parent.SolarXFactor) / this.k2);
this._parent._parent.SolarYFactor = this._parent._parent.SolarYFactor + ((1 - this._parent._parent.SolarYFactor) / this.k2);
this._parent._parent.moveShadow();
};
_global.getAngleDelta = function (a, b, c) {
while (a > 180) {
a = a - 360;
}
while (a < -180) {
a = a + 360;
}
var _local7 = b - 360;
var _local6 = b;
var _local5 = b + 360;
var _local11 = _local7 - a;
var _local10 = _local6 - a;
var _local9 = _local5 - a;
var _local4 = Math.abs(_local11);
var _local3 = Math.abs(_local10);
var _local8 = Math.abs(_local9);
var _local2 = Math.min(_local4, _local3);
_local2 = Math.min(_local2, _local8);
if (_local2 == _local4) {
var _local13 = _local7;
}
if (_local2 == _local3) {
var _local13 = _local6;
}
if (_local2 == _local8) {
var _local13 = _local5;
}
return((_local13 - a) / c);
};
_global.setBarAction = function (text, col, length, ad) {
var _local3 = this.tf.getTextFormat();
if (!_global.noSet(col)) {
_local3.color = parseInt("0x" + col, 16);
this.tf.setNewTextFormat(_local3);
}
this.tf.text = text;
this.len = length;
this.s = 0;
this._alpha = 0;
this._visible = true;
this.onEnterFrame = textBarAction;
if (!noSet(ad)) {
this.alphaDelta = ad;
} else {
this.alphaDelta = 5;
}
};
_global.textBarAction = function () {
if (this.s == 0) {
this._alpha = this._alpha + this.alphaDelta;
if (this._alpha >= 100) {
this.s = 1;
this._alpha = 100;
this.timeStart = getTimer();
}
} else if (this.s == 1) {
if ((getTimer() - this.timeStart) > this.len) {
this.s = 2;
}
} else if (this.s == 2) {
this._alpha = this._alpha - this.alphaDelta;
if (this._alpha <= 0) {
this._visible = false;
delete this.s;
delete this.onEnterFrame;
}
}
};
_global.prepareText = function (inText) {
var _local4 = "";
var _local1 = 0;
while (_local1 < inText.length) {
var _local2 = inText.charAt(_local1);
if (_local2 != "\r") {
_local4 = _local4 + _local2;
}
_local1++;
}
return(_local4);
};
_global.setPlayerSettings = function (lev) {
if (_global.noSet(lev)) {
lev = _global.levelNum;
}
trace("selectedPlane = " + _global.selectedPlane);
_global.playerS = _global.playerSettings[_global.selectedPlane];
trace("selectedSecondWeapon = " + _global.selectedSecondWeapon);
};
_global.makeGameObject = function (foo, delta) {
if (!_global.noSet(foo.tank)) {
var _local4 = new Object();
for (var _local7 in foo) {
_local4[_local7] = foo[_local7];
}
var _local8 = movingUnits[_local4.tank];
for (var _local7 in _local8) {
if (_global.noSet(_local4[_local7])) {
_local4[_local7] = _local8[_local7];
}
}
var _local10 = mainUnits[_local4.mainObj];
for (var _local7 in _local10) {
if (_global.noSet(_local4[_local7])) {
_local4[_local7] = _local10[_local7];
}
}
var _local12 = ((_local4.top == 1) ? (this.topEnemyMC) : (this.enemyMC));
var _local13 = _local12.depth++;
var _local11 = _local12.attachMovie("enemy", "e" + _local13, 1000000 - _local13);
_local11.initOffset(_local4.bigObject);
_local11.moveTo(((_local4.factor == -1) ? (550 - _local4.xoffset) : (_local4.xoffset)), ((-this._y) + ((_local4.bigObject == 1) ? (_global.envS.newBigObjectYOffset) : (_global.envS.newObjectYOffset))) + delta);
if ((_local4.way != "") && (_local4.way != 0)) {
if (_local4.way == "player") {
_local11.setMotion(_local4.way, _local4.speed, _local4.followPlayer, _local4.UAADistance, _local4.UAARotationFactor);
} else {
_local11.setMotion(_local4.way, _local4.mratio, _local4.xratio, _local4.yratio, _local4.rotate, _local4.factor, _local4.startFrame, _local4.endFrame, _local4.moveWayAtStart, _local4.wayCycle, _local4.rotatedByWay, _local4.orientToPath);
}
} else {
_local11.setMotion((_global.noSet(_local4.xspeed) ? 0 : (_local4.xspeed)), (_global.noSet(_local4.yspeed) ? 0 : (_local4.yspeed)));
}
_local11.setEnemyToEnemyCollisionFlag(foo.enable_enemy_to_enemy_collision, foo.dont_smash_me_ally);
_local11.initTank(_local4.base, _local4.gun, this.player, _local4.armor, _local4.directdamage, _local4.withoutBase, _local4.bossBar, _local4.top, _local4.shadow, _local4.noInitRotate, _local4.score);
_local11.initLoot(_local4.loot, _local4.lootXoffset, _local4.lootYoffset, _local4.autoloot);
_local11.initChilds(_local4.child, _local4.childXOffset, _local4.childYOffset, _local4.EC, _local4.ECCount, _local4.ECTime, _local4.ECTimeOffset, _local4.ECXOffset, _local4.ECYOffset);
_local11.initGun(_local4.reloadingTime, _local4.shotsTime, _local4.clip, _local4.bulletType, _local4.bulletSpeed, _local4.bulletDir, _local4.bulletFactor, _local4.bulletTopLevel, _local4.amount, _local4.flySteps, _local4.flyMinScale, _local4.flyDistance, _local4.bulletDamage, _local4.cannonAngle, _local4.cannonTimeOffset, _local4.ai, _local4.splashDamage, _local4.damageRadius, _local4.splashDelay, _local4.movedBullet, _local4.passageAbility, _local4.bulletFlyDistance);
_local11.initFlags(_local4.ignoreHit, _local4.ignoreSplash, _local4.ignoreDirect, _local4.immortal, _local4.notCount);
if (_local4.movedWay == 1) {
_local11.initWayMotion(_local4.movedWayOffset, _local4.movedWayXSpeed, _local4.movedWayYSpeed);
}
if (!_global.noSet(_local4.thereCanBeOnlyOne)) {
_local11.thereCanBeOnlyOne = _local4.thereCanBeOnlyOne;
}
if (!_global.noSet(_local4.dieImmediatly)) {
if (_local4.dieImmediatly == 0) {
_local11.dieImmediatly = false;
}
if (_local4.dieImmediatly == 1) {
_local11.dieImmediatly = true;
}
}
if (!_global.noSet(_local4.soundKills)) {
_local11.soundKills = _local4.soundKills;
}
_local11.inQueue();
return(_local11);
}
if (!_global.noSet(foo.object)) {
var _local5 = new Object();
for (var _local7 in foo) {
_local5[_local7] = foo[_local7];
}
var _local9 = standingUnits[_local5.object];
for (var _local7 in _local9) {
if (_global.noSet(_local5[_local7])) {
_local5[_local7] = _local9[_local7];
}
}
var _local12 = this.env;
if (_local5.top == 1) {
_local12 = this.envTop;
}
if (_local5.top == 2) {
_local12 = this.envTop2;
}
var _local13 = _local12.depth++;
var _local11 = _local12.attachMovie(_local5.linkage, "o" + _local13, 1000000 - _local13);
_local11.initOffset(_local5.bigObject);
_local11.initArmor(_local5.armor);
_local11.initScore(_local5.score);
_local11.initLoot(_local5.loot, _local5.lootXoffset, _local5.lootYoffset, _local5.autoloot);
_local11.initChilds(_local5.child, _local5.childXOffset, _local5.childYOffset, _local5.EC, _local5.ECCount, _local5.ECTime, _local5.ECTimeOffset, _local5.ECXOffset, _local5.ECYOffset);
_local11.setMotion(0, 0);
if (_local5.rotate != undefined) {
_local11._rotation = _local5.rotate;
}
_local11.moveTo(_local5.xoffset, ((-this._y) + ((_local5.bigObject == 1) ? (_global.envS.newBigObjectYOffset) : (_global.envS.newObjectYOffset))) + delta);
_local11.initSplash(_local5.splashDamage, _local5.damageRadius, _local5.splashDelay);
_local11.initFlags(_local5.ignoreHit, _local5.ignoreSplash, _local5.ignoreDirect, _local5.immortal, _local5.notCount);
_local11.inQueue();
_local11.link = _local5.linkage;
for (var _local7 in _local5) {
if (_global.noSet(_local11[_local7])) {
_local11[_local7] = _local5[_local7];
}
}
return(_local11);
}
if (!_global.noSet(foo.bonus)) {
var _local13 = this.bnz.getNextHighestDepth();
var _local11 = this.bnz.attachMovie("bonus_" + foo.bonus, "b" + _local13, _local13);
_local11.initOffset(foo.bigObject);
bonusObjects.push(_local11);
_local11._x = foo.xoffset;
_local11._y = ((-this._y) + ((foo.bigObject == 1) ? (_global.envS.newBigObjectYOffset) : (_global.envS.newObjectYOffset))) + delta;
_local11.bonusType = foo.bonus;
_local11.inQueue();
return(_local11);
}
if (!_global.noSet(foo.command)) {
if (foo.command == "slideConstant") {
_global.slidingBg = false;
_global.slidingfactor = foo.factor;
_global.slidingLimit = foo.limit;
}
if (foo.command == "slideNormal") {
_global.slidingBg = true;
}
if (foo.command == "printMessage") {
trace(foo.message);
_root.error.text = foo.message;
}
if (foo.command == "textBar1") {
_root.textBar1.setBarAction(foo.text, foo.color, foo.interval, foo.alphaDelta);
}
if (foo.command == "textBar2") {
_root.textBar2.setBarAction(foo.text, foo.color, foo.interval, foo.alphaDelta);
}
if (foo.command == "textBar3") {
_root.textBar3.setBarAction(foo.text, foo.color, foo.interval, foo.alphaDelta);
}
if (foo.command == "endLevel") {
_global.gameOver = true;
}
}
};
_global.makeBonusAnimation = function (bonusType, obj) {
var _local4 = _root.bg.bnzFX.getNextHighestDepth();
var _local3 = _root.bg.bnzFX.attachMovie("bonus_anim_" + bonusType, "b" + _local4, _local4);
if (!_global.noSet(_local3)) {
_local3._alpha = 70;
_local3._x = obj._x;
_local3._y = obj._y;
}
};
_global.countCombo = function (flag) {
if (_global.noSet(flag)) {
flag = false;
}
var _local4 = _global.levelTime - _global.comboTimer;
if ((_local4 > _global.envS.comboDeltaz[_global.comboNumber]) || (_global.comboNumber >= _global.envS.comboDeltaz.length)) {
if (_global.comboNumber > 0) {
if (_global.comboNumber > _global.actualComboNumber) {
_global.actualComboNumber = _global.comboNumber;
_global.comboFactor = _global.envS.comboFactorz[_global.actualComboNumber - 1];
makeBonusAnimation(_global.envS.comboLinkagez[_global.actualComboNumber - 1], _root.bg.player);
}
}
_global.comboNumber = 0;
_global.comboTimer = -100000;
} else if (flag) {
_global.comboNumber++;
}
if (flag) {
_global.comboTimer = _global.levelTime;
}
_root.gui.multi.text = (((_global.actualComboNumber + 1) + " (") + _global.comboFactor) + ")";
};
Frame 6
stop();
XML.prototype.ignoreWhite = true;
_global.settingsLoaded = false;
fscommand ("trapallkeys", true);
_focusrect = false;
fscommand ("showmenu", false);
createXML = function () {
var _local4 = new XML(str);
if (_local4.status == 0) {
_global.settingsLoaded = true;
debug("Settings loaded; parsing...");
var _local3 = 0;
while (_local3 < _local4.firstChild.childNodes.length) {
foo = _local4.firstChild.childNodes[_local3];
parseXMLtoVars(foo, _global);
_local3++;
}
_root.parsingDataMC.onEnterFrame = parsingOff;
} else {
var _local5 = (("XML parsing error (\u2116" + _local4.status) + "). ") + xmlErrors[(-_local4.status) - 2];
_root.error.text = _local5;
debug(_local5);
}
};
_global.xmlErrors = new Array("A CDATA section was not properly terminated.", "The XML declaration was not properly terminated.", "The DOCTYPE declaration was not properly terminated.", "A comment was not properly terminated.", "An XML element was malformed.", "Out of memory.", "An attribute value was not properly terminated.", "A start-tag was not matched with an end-tag.", "An end-tag was encountered without a matching start-tag.");
parseXMLtoVars = function (xml, target) {
if (xml.nodeName == "var") {
var _local5 = xml.attributes.value;
if (_global.noSet(_local5) && (xml.nodeValue == null)) {
_local5 = xml.childNodes.join("");
}
if (String(parseFloat(_local5)) == _local5) {
_local5 = parseFloat(_local5);
}
if (xml.attributes.name != null) {
target[xml.attributes.name] = _local5;
// unexpected jump
}
return(_local5);
}
if (xml.nodeName == "array") {
target[xml.attributes.name] = new Array();
var _local4 = target[xml.attributes.name];
var _local3 = 0;
while (_local3 < xml.childNodes.length) {
_local4.push(parseXMLtoVars(xml.childNodes[_local3]));
_local3++;
}
} else if (xml.nodeName == "object") {
var _local4 = new Object();
for (var _local3 in xml.attributes) {
if (_local3 != "name") {
parseXMLtoVars(new XML(((("<var name=\"" + _local3) + "\"\tvalue=\"") + xml.attributes[_local3]) + "\" />").firstChild, _local4);
}
}
var _local3 = 0;
while (_local3 < xml.childNodes.length) {
parseXMLtoVars(xml.childNodes[_local3], _local4);
_local3++;
}
if (xml.attributes.name != null) {
target[xml.attributes.name] = _local4;
} else {
return(_local4);
}
}
};
str = "";
str = str + "<?xml version=\"1.0\" encoding=\"windows-1251\"?>";
str = str + "<settings>";
str = str + "<object name=\"envS\">";
str = str + "<object name=\"playerOffset\">";
str = str + "<var name=\"top\" value=\"10\" />";
str = str + "<var name=\"bottom\" value=\"20\" />";
str = str + "<var name=\"left\" value=\"10\" />";
str = str + "<var name=\"right\" value=\"10\" />";
str = str + "</object>";
str = str + "<object name=\"enemyOffset\">";
str = str + "<var name=\"top\" value=\"-250\" />";
str = str + "<var name=\"bottom\" value=\"-150\" />";
str = str + "<var name=\"left\" value=\"-150\" />";
str = str + "<var name=\"right\" value=\"-150\" />";
str = str + "</object>";
str = str + "<object name=\"bulletOffset\">";
str = str + "<var name=\"top\" value=\"-20\" />";
str = str + "<var name=\"bottom\" value=\"-20\" />";
str = str + "<var name=\"left\" value=\"-10\" />";
str = str + "<var name=\"right\" value=\"-10\" />";
str = str + "</object>";
str = str + "<object name=\"allOffset\">";
str = str + "<var name=\"top\" value=\"-500\" />";
str = str + "<var name=\"bottom\" value=\"-100\" />";
str = str + "<var name=\"left\" value=\"-300\" />";
str = str + "<var name=\"right\" value=\"-300\" />";
str = str + "</object>";
str = str + "<object name=\"bigTileOffset\">";
str = str + "<var name=\"top\" value=\"-1100\" />";
str = str + "<var name=\"bottom\" value=\"-1100\" />";
str = str + "<var name=\"left\" value=\"-100\" />";
str = str + "<var name=\"right\" value=\"-100\" />";
str = str + "</object>";
str = str + "<object name=\"blinks\">";
str = str + "<object name=\"hit\" color=\"#FFBC22\" amount=\"40\" times=\"5\" step=\"2\"/>";
str = str + "<object name=\"shield\" color=\"#0066cc\" amount=\"40\" times=\"3\" step=\"2\"/>";
str = str + "<object name=\"takebonus\" color=\"#FFFFFF\" amount=\"40\" times=\"5\" step=\"3\"/>";
str = str + "</object> ";
str = str + "<object name=\"textZ\">";
str = str + "<var name=\"intro\" ></var>";
str = str + "<var name=\"completeString1\" >Enemies destroyed :</var>";
str = str + "<var name=\"completeString2\" >Enemies survived :</var>";
str = str + "<var name=\"completeString3\" > </var>";
str = str + "<var name=\"completeString4\" >Level score :</var>";
str = str + "<var name=\"completeString5\" >Total score :</var>";
str = str + "<var name=\"final_completeString1\" >Enemies destroyed total:</var>";
str = str + "<var name=\"final_completeString2\" >Enemies survived total:</var>";
str = str + "<var name=\"final_completeString3\" > </var>";
str = str + "<var name=\"final_completeString4\" >Total score :</var>";
str = str + "<var name=\"playerDiedTitle\" > Rest In Peace </var>";
str = str + "<var name=\"levelCompleteTitle\" > Level Complete! </var>";
str = str + "<var name=\"gameCompleteTitle\" > Congratulations, Hero! </var>";
str = str + "<var name=\"gamePausedTitle\" >Pause</var>";
str = str + "<var name=\"gamePausedString\" ><br /><br /><br /><b>Return to the game?</b></var>";
str = str + "</object>";
str = str + "<var name=\"screenSpeed\" value=\"3\" />";
str = str + "<var name=\"screenFastSpeed\" value=\"3\" />";
str = str + "<var name=\"screenSlowSpeed\" value=\"3\" />";
str = str + "<var name=\"screenSpeedFactorUp\" value=\"1.1\" />";
str = str + "<var name=\"screenSpeedFactorDown\" value=\"0.9\" />";
str = str + "<var name=\"debug\" value=\"0\" />";
str = str + "<var name=\"debugTrace\" value=\"0\" />";
str = str + "<var name=\"lazerDebug\" value=\"0\" />";
str = str + "<var name=\"soundDebug\" value=\"0\" />";
str = str + "<var name=\"markerDebug\" value=\"0\" />";
str = str + "<var name=\"wayDebug\" value=\"0\" />";
str = str + "<var name=\"lazerInterval\" value=\"15\" />";
str = str + "<var name=\"multipleFireAngle\" value=\"60\" />";
str = str + "<var name=\"newObjectYOffset\" value=\"-200\" />";
str = str + "<var name=\"newBigObjectYOffset\" value=\"-200\" />";
str = str + "<var name=\"splashTests\" value=\"20\" />";
str = str + "<var name=\"levelCompleteDelay\" value=\"70\" />";
str = str + "<var name=\"defaultRotation\" value=\"180\" />";
str = str + "<var name=\"soundKills\" value=\"eexplode\" />";
str = str + "<var name=\"autoAimDistance\" value=\"50\" />";
str = str + "<var name=\"UAADistance\" value=\"70\" />";
str = str + "<var name=\"SolarX\" value=\"275\" />";
str = str + "<var name=\"SolarXFactor\" value=\"0.85\" />";
str = str + "<var name=\"SolarY\" value=\"400\" />";
str = str + "<var name=\"SolarYFactor\" value=\"0.9\" />";
str = str + "<var name=\"defaultScore\" value=\"0\" />";
str = str + "<var name=\"comboFactorz\" value=\"0\" />";
str = str + "<var name=\"comboLinkagez\" value=\"\" />";
str = str + "<var name=\"comboDeltaz\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"playerSettings\">";
str = str + "<object name=\"playerMech\">";
str = str + "<var name=\"speed\" value=\"6\" />";
str = str + "<var name=\"XspeedFactor\" value=\"5\" />";
str = str + "<var name=\"YspeedFactor\" value=\"5\" />";
str = str + "<var name=\"rotationFactor\" value=\"4\" />";
str = str + "<var name=\"base\" value=\"player_base\" />";
str = str + "<var name=\"gun\" value=\"player_gun\" />";
str = str + "<var name=\"maxArmor\" value=\"50\" />";
str = str + "<var name=\"maxShield\" value=\"3\" />";
str = str + "<var name=\"recoil\" value=\"3\" />";
str = str + "<var name=\"recoilLength\" value=\"1\" />";
str = str + "<var name=\"startX\" value=\"275\" />";
str = str + "<var name=\"startY\" value=\"50\" />";
str = str + "<var name=\"withoutBase\" value=\"1\" />";
str = str + "<var name=\"soundKills\" value=\"eexplode\" />";
str = str + "<array name=\"weapons\">";
str = str + "<object>";
str = str + "<var name=\"movedBullet\" value=\"0\" />";
str = str + "<var name=\"bulletType\" value=\"weapon1\" />";
str = str + "<var name=\"bulletSpeed\" value=\"40\" />";
str = str + "<var name=\"bulletDamage\" value=\"10\" />";
str = str + "<var name=\"shotsTime\" value=\"5\" />";
str = str + "<var name=\"splashDamage\" value=\"0\" />";
str = str + "<var name=\"damageRadius\" value=\"0\" />";
str = str + "<var name=\"splashDelay\" value=\"0\" />";
str = str + "<var name=\"flySteps\" value=\"0\" />";
str = str + "<var name=\"flyMinScale\" value=\"0\" />";
str = str + "<var name=\"amount\" value=\"-100\" />";
str = str + "<var name=\"bulletTopLevel\" value=\"0\" />";
str = str + "<var name=\"pointsUsed\" value=\"shoot3\" />";
str = str + "<var name=\"pointsAngles\" value=\"0\" />";
str = str + "</object>";
str = str + "<object>";
str = str + "<var name=\"movedBullet\" value=\"0\" />";
str = str + "<var name=\"bulletType\" value=\"weapon1, weapon1\" />";
str = str + "<var name=\"bulletSpeed\" value=\"40\" />";
str = str + "<var name=\"bulletDamage\" value=\"10\" />";
str = str + "<var name=\"shotsTime\" value=\"5\" />";
str = str + "<var name=\"splashDamage\" value=\"0\" />";
str = str + "<var name=\"damageRadius\" value=\"0\" />";
str = str + "<var name=\"splashDelay\" value=\"0\" />";
str = str + "<var name=\"flySteps\" value=\"0\" />";
str = str + "<var name=\"flyMinScale\" value=\"0\" />";
str = str + "<var name=\"amount\" value=\"-100\" />";
str = str + "<var name=\"bulletTopLevel\" value=\"0\" />";
str = str + "<var name=\"pointsUsed\" value=\"shoot1,shoot2\" />";
str = str + "<var name=\"pointsAngles\" value=\"0,0\" />";
str = str + "</object>";
str = str + "<object>";
str = str + "<var name=\"movedBullet\" value=\"0\" />";
str = str + "<var name=\"bulletType\" value=\"weapon1, weapon1\" />";
str = str + "<var name=\"bulletSpeed\" value=\"50\" />";
str = str + "<var name=\"bulletDamage\" value=\"10\" />";
str = str + "<var name=\"shotsTime\" value=\"4\" />";
str = str + "<var name=\"splashDamage\" value=\"0\" />";
str = str + "<var name=\"damageRadius\" value=\"0\" />";
str = str + "<var name=\"splashDelay\" value=\"0\" />";
str = str + "<var name=\"flySteps\" value=\"0\" />";
str = str + "<var name=\"flyMinScale\" value=\"0\" />";
str = str + "<var name=\"amount\" value=\"-100\" />";
str = str + "<var name=\"bulletTopLevel\" value=\"0\" />";
str = str + "<var name=\"pointsUsed\" value=\"shoot1,shoot2\" />";
str = str + "<var name=\"pointsAngles\" value=\"0,0\" />";
str = str + "</object>";
str = str + "<object>";
str = str + "<var name=\"movedBullet\" value=\"0\" />";
str = str + "<var name=\"bulletType\" value=\"rocket\" />";
str = str + "<var name=\"bulletSpeed\" value=\"10\" />";
str = str + "<var name=\"bulletDamage\" value=\"25\" />";
str = str + "<var name=\"shotsTime\" value=\"50\" />";
str = str + "<var name=\"splashDamage\" value=\"100\" />";
str = str + "<var name=\"damageRadius\" value=\"100\" />";
str = str + "<var name=\"splashDelay\" value=\"0\" />";
str = str + "<var name=\"flySteps\" value=\"0\" />";
str = str + "<var name=\"flyMinScale\" value=\"0\" />";
str = str + "<var name=\"amount\" value=\"-100\" />";
str = str + "<var name=\"bulletTopLevel\" value=\"0\" />";
str = str + "<var name=\"pointsUsed\" value=\"shoot3\" />";
str = str + "</object>";
str = str + "<object>";
str = str + "<var name=\"movedBullet\" value=\"0\" />";
str = str + "<var name=\"bulletType\" value=\"rocket\" />";
str = str + "<var name=\"bulletSpeed\" value=\"10\" />";
str = str + "<var name=\"bulletDamage\" value=\"25\" />";
str = str + "<var name=\"shotsTime\" value=\"25\" />";
str = str + "<var name=\"splashDamage\" value=\"100\" />";
str = str + "<var name=\"damageRadius\" value=\"200\" />";
str = str + "<var name=\"splashDelay\" value=\"0\" />";
str = str + "<var name=\"flySteps\" value=\"0\" />";
str = str + "<var name=\"flyMinScale\" value=\"0\" />";
str = str + "<var name=\"amount\" value=\"-100\" />";
str = str + "<var name=\"bulletTopLevel\" value=\"0\" />";
str = str + "<var name=\"pointsUsed\" value=\"shoot3\" />";
str = str + "</object>";
str = str + "<object>";
str = str + "<var name=\"movedBullet\" value=\"0\" />";
str = str + "<var name=\"bulletType\" value=\"lazer\" />";
str = str + "<var name=\"bulletSpeed\" value=\"10\" />";
str = str + "<var name=\"bulletDamage\" value=\"50\" />";
str = str + "<var name=\"shotsTime\" value=\"50\" />";
str = str + "<var name=\"splashDamage\" value=\"0\" />";
str = str + "<var name=\"damageRadius\" value=\"0\" />";
str = str + "<var name=\"splashDelay\" value=\"0\" />";
str = str + "<var name=\"flySteps\" value=\"0\" />";
str = str + "<var name=\"flyMinScale\" value=\"0\" />";
str = str + "<var name=\"amount\" value=\"-100\" />";
str = str + "<var name=\"bulletTopLevel\" value=\"0\" />";
str = str + "<var name=\"pointsUsed\" value=\"shoot3\" />";
str = str + "<var name=\"passageAbility\" value=\"1\" />";
str = str + "</object>";
str = str + "<object>";
str = str + "<var name=\"movedBullet\" value=\"0\" />";
str = str + "<var name=\"bulletType\" value=\"lazer\" />";
str = str + "<var name=\"bulletSpeed\" value=\"10\" />";
str = str + "<var name=\"bulletDamage\" value=\"100\" />";
str = str + "<var name=\"shotsTime\" value=\"25\" />";
str = str + "<var name=\"splashDamage\" value=\"0\" />";
str = str + "<var name=\"damageRadius\" value=\"0\" />";
str = str + "<var name=\"splashDelay\" value=\"0\" />";
str = str + "<var name=\"flySteps\" value=\"0\" />";
str = str + "<var name=\"flyMinScale\" value=\"0\" />";
str = str + "<var name=\"amount\" value=\"-100\" />";
str = str + "<var name=\"bulletTopLevel\" value=\"0\" />";
str = str + "<var name=\"pointsUsed\" value=\"shoot3\" />";
str = str + "<var name=\"passageAbility\" value=\"100\" />";
str = str + "</object>";
str = str + "</array>";
str = str + "</object>";
str = str + "<object name=\"playerMan\">";
str = str + "<var name=\"speed\" value=\"6\" />";
str = str + "<var name=\"XspeedFactor\" value=\"5\" />";
str = str + "<var name=\"YspeedFactor\" value=\"5\" />";
str = str + "<var name=\"rotationFactor\" value=\"4\" />";
str = str + "<var name=\"base\" value=\"player_empty_base\" />";
str = str + "<var name=\"gun\" value=\"soldier\" />";
str = str + "<var name=\"maxArmor\" value=\"50\" />";
str = str + "<var name=\"maxShield\" value=\"0\" />";
str = str + "<var name=\"recoil\" value=\"10\" />";
str = str + "<var name=\"recoilLength\" value=\"1\" />";
str = str + "<var name=\"startX\" value=\"275\" />";
str = str + "<var name=\"startY\" value=\"50\" />";
str = str + "<var name=\"withoutBase\" value=\"0\" />";
str = str + "<var name=\"soundKills\" value=\"eexplode\" />";
str = str + "<array name=\"weapons\">";
str = str + "<object>";
str = str + "<var name=\"movedBullet\" value=\"0\" />";
str = str + "<var name=\"bulletType\" value=\"lazer\" />";
str = str + "<var name=\"bulletSpeed\" value=\"10\" />";
str = str + "<var name=\"bulletDamage\" value=\"10\" />";
str = str + "<var name=\"shotsTime\" value=\"12\" />";
str = str + "<var name=\"splashDamage\" value=\"0\" />";
str = str + "<var name=\"damageRadius\" value=\"0\" />";
str = str + "<var name=\"splashDelay\" value=\"0\" />";
str = str + "<var name=\"flySteps\" value=\"0\" />";
str = str + "<var name=\"flyMinScale\" value=\"0\" />";
str = str + "<var name=\"amount\" value=\"-100\" />";
str = str + "<var name=\"bulletTopLevel\" value=\"0\" />";
str = str + "<var name=\"pointsUsed\" value=\"shoot1\" />";
str = str + "<var name=\"pointsAngles\" value=\"0\" />";
str = str + "<var name=\"passageAbility\" value=\"1\" />";
str = str + "</object>";
str = str + "<object>";
str = str + "<var name=\"movedBullet\" value=\"0\" />";
str = str + "<var name=\"bulletType\" value=\"lazer\" />";
str = str + "<var name=\"bulletSpeed\" value=\"10\" />";
str = str + "<var name=\"bulletDamage\" value=\"10\" />";
str = str + "<var name=\"shotsTime\" value=\"10\" />";
str = str + "<var name=\"splashDamage\" value=\"0\" />";
str = str + "<var name=\"damageRadius\" value=\"0\" />";
str = str + "<var name=\"splashDelay\" value=\"0\" />";
str = str + "<var name=\"flySteps\" value=\"0\" />";
str = str + "<var name=\"flyMinScale\" value=\"0\" />";
str = str + "<var name=\"amount\" value=\"-100\" />";
str = str + "<var name=\"bulletTopLevel\" value=\"0\" />";
str = str + "<var name=\"pointsUsed\" value=\"shoot1\" />";
str = str + "<var name=\"pointsAngles\" value=\"0\" />";
str = str + "<var name=\"passageAbility\" value=\"100\" />";
str = str + "</object>";
str = str + "<object>";
str = str + "<var name=\"movedBullet\" value=\"0\" />";
str = str + "<var name=\"bulletType\" value=\"lazer\" />";
str = str + "<var name=\"bulletSpeed\" value=\"10\" />";
str = str + "<var name=\"bulletDamage\" value=\"50\" />";
str = str + "<var name=\"shotsTime\" value=\"10\" />";
str = str + "<var name=\"splashDamage\" value=\"0\" />";
str = str + "<var name=\"damageRadius\" value=\"0\" />";
str = str + "<var name=\"splashDelay\" value=\"0\" />";
str = str + "<var name=\"flySteps\" value=\"0\" />";
str = str + "<var name=\"flyMinScale\" value=\"0\" />";
str = str + "<var name=\"amount\" value=\"-100\" />";
str = str + "<var name=\"bulletTopLevel\" value=\"0\" />";
str = str + "<var name=\"pointsUsed\" value=\"shoot1\" />";
str = str + "<var name=\"pointsAngles\" value=\"0\" />";
str = str + "<var name=\"passageAbility\" value=\"100\" />";
str = str + "</object>";
str = str + "</array>";
str = str + "</object>";
str = str + "</object>";
str = str + "<object name=\"mainUnits\">";
str = str + "<object name=\"barrel1_obj\">";
str = str + "<var name=\"linkage\" value=\"barrel1\" />";
str = str + "<var name=\"armor\" value=\"10\" />";
str = str + "<var name=\"splashDamage\" value=\"50\" />";
str = str + "<var name=\"damageRadius\" value=\"100\" />";
str = str + "<var name=\"splashDelay\" value=\"1\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"immortal\" value=\"0\" />";
str = str + "<var name=\"bigObject\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"abrams_obj\">";
str = str + "<var name=\"base\" value=\"abrams\" />";
str = str + "<var name=\"gun\" value=\"gun_abrams\" />";
str = str + "<var name=\"armor\" value=\"300\" />";
str = str + "<var name=\"bulletType\" value=\"rocket\" />";
str = str + "<var name=\"cannonTimeOffset\" value=\"0\" />";
str = str + "<var name=\"flySteps\" value=\"0\" />";
str = str + "<var name=\"flyMinScale\" value=\"0\" />";
str = str + "<var name=\"flyDistance\" value=\"0\" />";
str = str + "<var name=\"cannonAngle\" value=\"t\" />";
str = str + "<var name=\"splashDamage\" value=\"0\" />";
str = str + "<var name=\"damageRadius\" value=\"0\" />";
str = str + "<var name=\"bulletSpeed\" value=\"20\" />";
str = str + "<var name=\"bulletDamage\" value=\"15\" />";
str = str + "<var name=\"reloadingTime\" value=\"30\" />";
str = str + "<var name=\"clip\" value=\"3\" />";
str = str + "<var name=\"shotsTime\" value=\"30\" />";
str = str + "<var name=\"ai\" value=\"0\" />";
str = str + "<var name=\"withoutBase\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"orientToPath\" value=\"way\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"directdamage\" value=\"80\" />";
str = str + "<var name=\"bulletDir\" value=\"d\" />";
str = str + "<var name=\"autoAimDistance\" value=\"60\" />";
str = str + "<var name=\"bulletFactor\" value=\"13\" />";
str = str + "</object>";
str = str + "<object name=\"towergun_obj\">";
str = str + "<var name=\"base\" value=\"empty_base\" />";
str = str + "<var name=\"gun\" value=\"gun_1\" />";
str = str + "<var name=\"armor\" value=\"45\" />";
str = str + "<var name=\"bulletType\" value=\"weapon2\" />";
str = str + "<var name=\"cannonTimeOffset\" value=\"30\" />";
str = str + "<var name=\"flySteps\" value=\"0\" />";
str = str + "<var name=\"flyMinScale\" value=\"0\" />";
str = str + "<var name=\"flyDistance\" value=\"0\" />";
str = str + "<var name=\"cannonAngle\" value=\"t\" />";
str = str + "<var name=\"splashDamage\" value=\"0\" />";
str = str + "<var name=\"damageRadius\" value=\"0\" />";
str = str + "<var name=\"bulletSpeed\" value=\"13\" />";
str = str + "<var name=\"bulletDamage\" value=\"3\" />";
str = str + "<var name=\"reloadingTime\" value=\"40\" />";
str = str + "<var name=\"clip\" value=\"3\" />";
str = str + "<var name=\"shotsTime\" value=\"5\" />";
str = str + "<var name=\"ai\" value=\"0\" />";
str = str + "<var name=\"withoutBase\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"orientToPath\" value=\"way\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"directdamage\" value=\"80\" />";
str = str + "<var name=\"bulletDir\" value=\"d\" />";
str = str + "<var name=\"autoAimDistance\" value=\"60\" />";
str = str + "<var name=\"bulletFactor\" value=\"13\" />";
str = str + "</object>";
str = str + "<object name=\"buggy_obj\">";
str = str + "<var name=\"base\" value=\"buggy\" />";
str = str + "<var name=\"gun\" value=\"gun_jeep\" />";
str = str + "<var name=\"armor\" value=\"20\" />";
str = str + "<var name=\"bulletType\" value=\"weapon2\" />";
str = str + "<var name=\"cannonTimeOffset\" value=\"15\" />";
str = str + "<var name=\"flySteps\" value=\"0\" />";
str = str + "<var name=\"flyMinScale\" value=\"0\" />";
str = str + "<var name=\"flyDistance\" value=\"0\" />";
str = str + "<var name=\"cannonAngle\" value=\"t\" />";
str = str + "<var name=\"splashDamage\" value=\"0\" />";
str = str + "<var name=\"damageRadius\" value=\"0\" />";
str = str + "<var name=\"bulletSpeed\" value=\"15\" />";
str = str + "<var name=\"bulletDamage\" value=\"3\" />";
str = str + "<var name=\"reloadingTime\" value=\"25\" />";
str = str + "<var name=\"clip\" value=\"2\" />";
str = str + "<var name=\"shotsTime\" value=\"3\" />";
str = str + "<var name=\"ai\" value=\"0\" />";
str = str + "<var name=\"withoutBase\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"orientToPath\" value=\"move\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"directdamage\" value=\"80\" />";
str = str + "<var name=\"bulletDir\" value=\"d\" />";
str = str + "<var name=\"autoAimDistance\" value=\"60\" />";
str = str + "<var name=\"bulletFactor\" value=\"13\" />";
str = str + "</object>";
str = str + "<object name=\"soldier_obj\">";
str = str + "<var name=\"base\" value=\"empty_base\" />";
str = str + "<var name=\"gun\" value=\"gun_gunner\" />";
str = str + "<var name=\"armor\" value=\"10\" />";
str = str + "<var name=\"bulletType\" value=\"weapon2\" />";
str = str + "<var name=\"cannonTimeOffset\" value=\"20\" />";
str = str + "<var name=\"flySteps\" value=\"0\" />";
str = str + "<var name=\"flyMinScale\" value=\"0\" />";
str = str + "<var name=\"flyDistance\" value=\"0\" />";
str = str + "<var name=\"cannonAngle\" value=\"t\" />";
str = str + "<var name=\"splashDamage\" value=\"0\" />";
str = str + "<var name=\"damageRadius\" value=\"0\" />";
str = str + "<var name=\"bulletSpeed\" value=\"12\" />";
str = str + "<var name=\"bulletDamage\" value=\"2\" />";
str = str + "<var name=\"reloadingTime\" value=\"50\" />";
str = str + "<var name=\"clip\" value=\"2\" />";
str = str + "<var name=\"shotsTime\" value=\"4\" />";
str = str + "<var name=\"ai\" value=\"0\" />";
str = str + "<var name=\"withoutBase\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"orientToPath\" value=\"way\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"directdamage\" value=\"0\" />";
str = str + "<var name=\"bulletDir\" value=\"d\" />";
str = str + "<var name=\"autoAimDistance\" value=\"60\" />";
str = str + "<var name=\"bulletFactor\" value=\"13\" />";
str = str + "</object>";
str = str + "<object name=\"soldier2_obj\">";
str = str + "<var name=\"base\" value=\"empty_base\" />";
str = str + "<var name=\"gun\" value=\"gun_gunner\" />";
str = str + "<var name=\"armor\" value=\"20\" />";
str = str + "<var name=\"bulletType\" value=\"rocket\" />";
str = str + "<var name=\"cannonTimeOffset\" value=\"7\" />";
str = str + "<var name=\"flySteps\" value=\"0\" />";
str = str + "<var name=\"flyMinScale\" value=\"0\" />";
str = str + "<var name=\"flyDistance\" value=\"0\" />";
str = str + "<var name=\"cannonAngle\" value=\"t\" />";
str = str + "<var name=\"splashDamage\" value=\"0\" />";
str = str + "<var name=\"damageRadius\" value=\"0\" />";
str = str + "<var name=\"bulletSpeed\" value=\"8\" />";
str = str + "<var name=\"bulletDamage\" value=\"20\" />";
str = str + "<var name=\"reloadingTime\" value=\"100\" />";
str = str + "<var name=\"clip\" value=\"1\" />";
str = str + "<var name=\"shotsTime\" value=\"0\" />";
str = str + "<var name=\"ai\" value=\"0\" />";
str = str + "<var name=\"withoutBase\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"orientToPath\" value=\"way\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"directdamage\" value=\"0\" />";
str = str + "<var name=\"bulletDir\" value=\"d\" />";
str = str + "<var name=\"autoAimDistance\" value=\"60\" />";
str = str + "<var name=\"bulletFactor\" value=\"13\" />";
str = str + "</object>";
str = str + "<object name=\"buggy_gun_obj\">";
str = str + "<var name=\"base\" value=\"buggy\" />";
str = str + "<var name=\"gun\" value=\"gun_gunner\" />";
str = str + "<var name=\"armor\" value=\"20\" />";
str = str + "<var name=\"bulletType\" value=\"weapon2\" />";
str = str + "<var name=\"cannonTimeOffset\" value=\"15\" />";
str = str + "<var name=\"flySteps\" value=\"0\" />";
str = str + "<var name=\"flyMinScale\" value=\"0\" />";
str = str + "<var name=\"flyDistance\" value=\"0\" />";
str = str + "<var name=\"cannonAngle\" value=\"t\" />";
str = str + "<var name=\"splashDamage\" value=\"0\" />";
str = str + "<var name=\"damageRadius\" value=\"0\" />";
str = str + "<var name=\"bulletSpeed\" value=\"15\" />";
str = str + "<var name=\"bulletDamage\" value=\"3\" />";
str = str + "<var name=\"reloadingTime\" value=\"25\" />";
str = str + "<var name=\"clip\" value=\"2\" />";
str = str + "<var name=\"shotsTime\" value=\"3\" />";
str = str + "<var name=\"ai\" value=\"0\" />";
str = str + "<var name=\"withoutBase\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"orientToPath\" value=\"way\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"directdamage\" value=\"80\" />";
str = str + "<var name=\"bulletDir\" value=\"d\" />";
str = str + "<var name=\"autoAimDistance\" value=\"60\" />";
str = str + "<var name=\"bulletFactor\" value=\"13\" />";
str = str + "</object>";
str = str + "<object name=\"hummer_obj\">";
str = str + "<var name=\"base\" value=\"hummer\" />";
str = str + "<var name=\"gun\" value=\"gun_jeep\" />";
str = str + "<var name=\"armor\" value=\"40\" />";
str = str + "<var name=\"bulletType\" value=\"weapon2\" />";
str = str + "<var name=\"cannonTimeOffset\" value=\"20\" />";
str = str + "<var name=\"flySteps\" value=\"0\" />";
str = str + "<var name=\"flyMinScale\" value=\"0\" />";
str = str + "<var name=\"flyDistance\" value=\"0\" />";
str = str + "<var name=\"cannonAngle\" value=\"t\" />";
str = str + "<var name=\"splashDamage\" value=\"0\" />";
str = str + "<var name=\"damageRadius\" value=\"0\" />";
str = str + "<var name=\"bulletSpeed\" value=\"20\" />";
str = str + "<var name=\"bulletDamage\" value=\"3\" />";
str = str + "<var name=\"reloadingTime\" value=\"30\" />";
str = str + "<var name=\"clip\" value=\"3\" />";
str = str + "<var name=\"shotsTime\" value=\"2\" />";
str = str + "<var name=\"ai\" value=\"0\" />";
str = str + "<var name=\"withoutBase\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"orientToPath\" value=\"way\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"directdamage\" value=\"80\" />";
str = str + "<var name=\"bulletDir\" value=\"d\" />";
str = str + "<var name=\"autoAimDistance\" value=\"60\" />";
str = str + "<var name=\"bulletFactor\" value=\"13\" />";
str = str + "</object>";
str = str + "<object name=\"truck_obj\">";
str = str + "<var name=\"base\" value=\"truck1\" />";
str = str + "<var name=\"gun\" value=\"gun_1\" />";
str = str + "<var name=\"armor\" value=\"10\" />";
str = str + "<var name=\"bulletType\" value=\"weapon2\" />";
str = str + "<var name=\"cannonTimeOffset\" value=\"0\" />";
str = str + "<var name=\"flySteps\" value=\"0\" />";
str = str + "<var name=\"flyMinScale\" value=\"0\" />";
str = str + "<var name=\"flyDistance\" value=\"0\" />";
str = str + "<var name=\"cannonAngle\" value=\"t\" />";
str = str + "<var name=\"splashDamage\" value=\"50\" />";
str = str + "<var name=\"damageRadius\" value=\"10\" />";
str = str + "<var name=\"bulletSpeed\" value=\"10\" />";
str = str + "<var name=\"bulletDamage\" value=\"3\" />";
str = str + "<var name=\"reloadingTime\" value=\"1000000\" />";
str = str + "<var name=\"clip\" value=\"1\" />";
str = str + "<var name=\"shotsTime\" value=\"1000000\" />";
str = str + "<var name=\"ai\" value=\"0\" />";
str = str + "<var name=\"withoutBase\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"orientToPath\" value=\"way\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"directdamage\" value=\"80\" />";
str = str + "<var name=\"bulletDir\" value=\"d\" />";
str = str + "<var name=\"autoAimDistance\" value=\"60\" />";
str = str + "<var name=\"bulletFactor\" value=\"13\" />";
str = str + "</object>";
str = str + "<object name=\"truck_obj\">";
str = str + "<var name=\"base\" value=\"truck2\" />";
str = str + "<var name=\"gun\" value=\"gun_1\" />";
str = str + "<var name=\"armor\" value=\"40\" />";
str = str + "<var name=\"bulletType\" value=\"weapon2\" />";
str = str + "<var name=\"cannonTimeOffset\" value=\"0\" />";
str = str + "<var name=\"flySteps\" value=\"0\" />";
str = str + "<var name=\"flyMinScale\" value=\"0\" />";
str = str + "<var name=\"flyDistance\" value=\"0\" />";
str = str + "<var name=\"cannonAngle\" value=\"t\" />";
str = str + "<var name=\"splashDamage\" value=\"250\" />";
str = str + "<var name=\"damageRadius\" value=\"40\" />";
str = str + "<var name=\"bulletSpeed\" value=\"10\" />";
str = str + "<var name=\"bulletDamage\" value=\"1\" />";
str = str + "<var name=\"reloadingTime\" value=\"1000000\" />";
str = str + "<var name=\"clip\" value=\"1\" />";
str = str + "<var name=\"shotsTime\" value=\"1000000\" />";
str = str + "<var name=\"ai\" value=\"0\" />";
str = str + "<var name=\"withoutBase\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"orientToPath\" value=\"way\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"directdamage\" value=\"80\" />";
str = str + "<var name=\"bulletDir\" value=\"d\" />";
str = str + "<var name=\"autoAimDistance\" value=\"60\" />";
str = str + "<var name=\"bulletFactor\" value=\"13\" />";
str = str + "</object>";
str = str + "<object name=\"truck_obj\">";
str = str + "<var name=\"base\" value=\"truck3\" />";
str = str + "<var name=\"gun\" value=\"gun_1\" />";
str = str + "<var name=\"armor\" value=\"40\" />";
str = str + "<var name=\"bulletType\" value=\"weapon2\" />";
str = str + "<var name=\"cannonTimeOffset\" value=\"0\" />";
str = str + "<var name=\"flySteps\" value=\"0\" />";
str = str + "<var name=\"flyMinScale\" value=\"0\" />";
str = str + "<var name=\"flyDistance\" value=\"0\" />";
str = str + "<var name=\"cannonAngle\" value=\"t\" />";
str = str + "<var name=\"splashDamage\" value=\"1\" />";
str = str + "<var name=\"damageRadius\" value=\"100\" />";
str = str + "<var name=\"bulletSpeed\" value=\"10\" />";
str = str + "<var name=\"bulletDamage\" value=\"1\" />";
str = str + "<var name=\"reloadingTime\" value=\"1000000\" />";
str = str + "<var name=\"clip\" value=\"1\" />";
str = str + "<var name=\"shotsTime\" value=\"1000000\" />";
str = str + "<var name=\"ai\" value=\"0\" />";
str = str + "<var name=\"withoutBase\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"orientToPath\" value=\"way\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"directdamage\" value=\"80\" />";
str = str + "<var name=\"bulletDir\" value=\"d\" />";
str = str + "<var name=\"autoAimDistance\" value=\"60\" />";
str = str + "<var name=\"bulletFactor\" value=\"13\" />";
str = str + "</object>";
str = str + "<object name=\"truck_obj\">";
str = str + "<var name=\"base\" value=\"truck4\" />";
str = str + "<var name=\"gun\" value=\"gun_1\" />";
str = str + "<var name=\"armor\" value=\"40\" />";
str = str + "<var name=\"bulletType\" value=\"weapon2\" />";
str = str + "<var name=\"cannonTimeOffset\" value=\"0\" />";
str = str + "<var name=\"flySteps\" value=\"0\" />";
str = str + "<var name=\"flyMinScale\" value=\"0\" />";
str = str + "<var name=\"flyDistance\" value=\"0\" />";
str = str + "<var name=\"cannonAngle\" value=\"t\" />";
str = str + "<var name=\"splashDamage\" value=\"1\" />";
str = str + "<var name=\"damageRadius\" value=\"100\" />";
str = str + "<var name=\"bulletSpeed\" value=\"10\" />";
str = str + "<var name=\"bulletDamage\" value=\"1\" />";
str = str + "<var name=\"reloadingTime\" value=\"1000000\" />";
str = str + "<var name=\"clip\" value=\"1\" />";
str = str + "<var name=\"shotsTime\" value=\"1000000\" />";
str = str + "<var name=\"ai\" value=\"0\" />";
str = str + "<var name=\"withoutBase\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"orientToPath\" value=\"way\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"directdamage\" value=\"80\" />";
str = str + "<var name=\"bulletDir\" value=\"d\" />";
str = str + "<var name=\"autoAimDistance\" value=\"60\" />";
str = str + "<var name=\"bulletFactor\" value=\"13\" />";
str = str + "</object>";
str = str + "<object name=\"mech_gunner_obj\">";
str = str + "<var name=\"base\" value=\"mech_gunner\" />";
str = str + "<var name=\"gun\" value=\"gun_mech_gunner_1, gun_mech_gunner_2\" />";
str = str + "<var name=\"armor\" value=\"320\" />";
str = str + "<var name=\"bulletType\" value=\"weapon3, weapon3\" />";
str = str + "<var name=\"cannonTimeOffset\" value=\"15, 15\" />";
str = str + "<var name=\"flySteps\" value=\"0, 0\" />";
str = str + "<var name=\"flyMinScale\" value=\"0, 0\" />";
str = str + "<var name=\"flyDistance\" value=\"0, 0\" />";
str = str + "<var name=\"cannonAngle\" value=\"t, t\" />";
str = str + "<var name=\"splashDamage\" value=\"0, 0\" />";
str = str + "<var name=\"damageRadius\" value=\"0, 0\" />";
str = str + "<var name=\"bulletSpeed\" value=\"18, 18\" />";
str = str + "<var name=\"bulletDamage\" value=\"5, 5\" />";
str = str + "<var name=\"reloadingTime\" value=\"18, 18\" />";
str = str + "<var name=\"clip\" value=\"1, 1\" />";
str = str + "<var name=\"shotsTime\" value=\"0\" />";
str = str + "<var name=\"ai\" value=\"0\" />";
str = str + "<var name=\"withoutBase\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"orientToPath\" value=\"way\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"directdamage\" value=\"80\" />";
str = str + "<var name=\"bulletDir\" value=\"d\" />";
str = str + "<var name=\"autoAimDistance\" value=\"60\" />";
str = str + "<var name=\"bulletFactor\" value=\"13\" />";
str = str + "</object>";
str = str + "<object name=\"mech_rocket_obj\">";
str = str + "<var name=\"base\" value=\"mech_rocket\" />";
str = str + "<var name=\"gun\" value=\"gun_mech_rocket_1, gun_mech_rocket_2\" />";
str = str + "<var name=\"armor\" value=\"350\" />";
str = str + "<var name=\"bulletType\" value=\"rocket, rocket\" />";
str = str + "<var name=\"cannonTimeOffset\" value=\"15, 15\" />";
str = str + "<var name=\"flySteps\" value=\"0, 0\" />";
str = str + "<var name=\"flyMinScale\" value=\"0, 0\" />";
str = str + "<var name=\"flyDistance\" value=\"0, 0\" />";
str = str + "<var name=\"cannonAngle\" value=\"t, t\" />";
str = str + "<var name=\"splashDamage\" value=\"0, 0\" />";
str = str + "<var name=\"damageRadius\" value=\"0, 0\" />";
str = str + "<var name=\"bulletSpeed\" value=\"13, 13\" />";
str = str + "<var name=\"bulletDamage\" value=\"15, 15\" />";
str = str + "<var name=\"reloadingTime\" value=\"70, 70\" />";
str = str + "<var name=\"clip\" value=\"3, 3\" />";
str = str + "<var name=\"shotsTime\" value=\"10, 10\" />";
str = str + "<var name=\"ai\" value=\"0\" />";
str = str + "<var name=\"withoutBase\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"orientToPath\" value=\"way\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"directdamage\" value=\"80\" />";
str = str + "<var name=\"bulletDir\" value=\"d\" />";
str = str + "<var name=\"autoAimDistance\" value=\"60\" />";
str = str + "<var name=\"bulletFactor\" value=\"13\" />";
str = str + "</object>";
str = str + "<object name=\"mech_boss_obj\">";
str = str + "<var name=\"base\" value=\"mech_boss\" />";
str = str + "<var name=\"gun\" value=\"gun_mech_boss_1, gun_mech_boss_2, gun_mech_boss_3\" />";
str = str + "<var name=\"armor\" value=\"50\" />";
str = str + "<var name=\"bulletType\" value=\"lazer, weapon3, lazer\" />";
str = str + "<var name=\"cannonTimeOffset\" value=\"100, 200, 100\" />";
str = str + "<var name=\"flySteps\" value=\"0, 0, 0\" />";
str = str + "<var name=\"flyMinScale\" value=\"0, 0, 0\" />";
str = str + "<var name=\"flyDistance\" value=\"0, 0, 0\" />";
str = str + "<var name=\"cannonAngle\" value=\"h, h, h\" />";
str = str + "<var name=\"splashDamage\" value=\"0, 0, 0\" />";
str = str + "<var name=\"damageRadius\" value=\"0, 0, 0\" />";
str = str + "<var name=\"bulletSpeed\" value=\"15, 15, 15\" />";
str = str + "<var name=\"bulletDamage\" value=\"10, 14, 10\" />";
str = str + "<var name=\"reloadingTime\" value=\"80, 80, 80\" />";
str = str + "<var name=\"clip\" value=\"5, 3, 5\" />";
str = str + "<var name=\"shotsTime\" value=\"8, 5, 8\" />";
str = str + "<var name=\"ai\" value=\"0\" />";
str = str + "<var name=\"withoutBase\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"orientToPath\" value=\"move\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"directdamage\" value=\"80\" />";
str = str + "<var name=\"bulletDir\" value=\"d\" />";
str = str + "<var name=\"autoAimDistance\" value=\"60\" />";
str = str + "<var name=\"bulletFactor\" value=\"13\" />";
str = str + "</object>";
str = str + "<object name=\"heli1_obj\">";
str = str + "<var name=\"base\" value=\"heli1\" />";
str = str + "<var name=\"gun\" value=\"gun_1, gun_1\" />";
str = str + "<var name=\"shadow\" value=\"heli1_shadow\" />";
str = str + "<var name=\"armor\" value=\"200\" />";
str = str + "<var name=\"bulletType\" value=\"rocket\" />";
str = str + "<var name=\"cannonTimeOffset\" value=\"30,0\" />";
str = str + "<var name=\"flySteps\" value=\"0, 0\" />";
str = str + "<var name=\"flyMinScale\" value=\"0, 0\" />";
str = str + "<var name=\"flyDistance\" value=\"100, 0\" />";
str = str + "<var name=\"cannonAngle\" value=\"t, t\" />";
str = str + "<var name=\"splashDamage\" value=\"0, 0\" />";
str = str + "<var name=\"damageRadius\" value=\"0, 0\" />";
str = str + "<var name=\"bulletSpeed\" value=\"17, 0\" />";
str = str + "<var name=\"bulletDamage\" value=\"15, 0\" />";
str = str + "<var name=\"reloadingTime\" value=\"50, 0\" />";
str = str + "<var name=\"clip\" value=\"2, 0\" />";
str = str + "<var name=\"shotsTime\" value=\"8, 0\" />";
str = str + "<var name=\"ai\" value=\"0\" />";
str = str + "<var name=\"withoutBase\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"1\" />";
str = str + "<var name=\"orientToPath\" value=\"shoot\" />";
str = str + "<var name=\"top\" value=\"1\" />";
str = str + "<var name=\"directdamage\" value=\"80\" />";
str = str + "<var name=\"bulletDir\" value=\"d\" />";
str = str + "<var name=\"autoAimDistance\" value=\"60\" />";
str = str + "<var name=\"bulletFactor\" value=\"13\" />";
str = str + "</object>";
str = str + "<object name=\"heli2_obj\">";
str = str + "<var name=\"base\" value=\"heli2\" />";
str = str + "<var name=\"gun\" value=\"gun_1, gun_1, gun_1, gun_1\" />";
str = str + "<var name=\"shadow\" value=\"heli2_shadow\" />";
str = str + "<var name=\"armor\" value=\"1000\" />";
str = str + "<var name=\"bulletType\" value=\"lazer, rocket, rocket, lazer\" />";
str = str + "<var name=\"cannonTimeOffset\" value=\"0, 0, 0, 0\" />";
str = str + "<var name=\"flySteps\" value=\"0, 0, 0, 0\" />";
str = str + "<var name=\"flyMinScale\" value=\"0, 0, 0, 0\" />";
str = str + "<var name=\"flyDistance\" value=\"0, 0, 0, 0\" />";
str = str + "<var name=\"cannonAngle\" value=\"h, h, h, h\" />";
str = str + "<var name=\"splashDamage\" value=\"0, 0, 0, 0\" />";
str = str + "<var name=\"damageRadius\" value=\"0, 0, 0, 0\" />";
str = str + "<var name=\"bulletSpeed\" value=\"30, 10, 10, 30\" />";
str = str + "<var name=\"bulletDamage\" value=\"15, 15, 15, 15\" />";
str = str + "<var name=\"reloadingTime\" value=\"30, 60000, 60000, 30\" />";
str = str + "<var name=\"clip\" value=\"4, 5, 5, 4\" />";
str = str + "<var name=\"shotsTime\" value=\"2, 15, 15, 2\" />";
str = str + "<var name=\"ai\" value=\"0\" />";
str = str + "<var name=\"withoutBase\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"1\" />";
str = str + "<var name=\"orientToPath\" value=\"way\" />";
str = str + "<var name=\"top\" value=\"1\" />";
str = str + "<var name=\"directdamage\" value=\"80\" />";
str = str + "<var name=\"bulletDir\" value=\"d\" />";
str = str + "<var name=\"autoAimDistance\" value=\"60\" />";
str = str + "<var name=\"bulletFactor\" value=\"13\" />";
str = str + "</object>";
str = str + "<object name=\"heli3_obj\">";
str = str + "<var name=\"base\" value=\"heli3\" />";
str = str + "<var name=\"gun\" value=\"gun_1\" />";
str = str + "<var name=\"armor\" value=\"30\" />";
str = str + "<var name=\"bulletType\" value=\"emptyShoot\" />";
str = str + "<var name=\"cannonTimeOffset\" value=\"0\" />";
str = str + "<var name=\"flySteps\" value=\"0\" />";
str = str + "<var name=\"flyMinScale\" value=\"0\" />";
str = str + "<var name=\"flyDistance\" value=\"0\" />";
str = str + "<var name=\"cannonAngle\" value=\"w0, w0, w0, w0\" />";
str = str + "<var name=\"splashDamage\" value=\"0, 0, 0, 0\" />";
str = str + "<var name=\"damageRadius\" value=\"0, 0, 0, 0\" />";
str = str + "<var name=\"bulletSpeed\" value=\"15, 10, 10, 15\" />";
str = str + "<var name=\"bulletDamage\" value=\"0, 0, 0, 0\" />";
str = str + "<var name=\"reloadingTime\" value=\"30, 30, 30, 30\" />";
str = str + "<var name=\"clip\" value=\"2, 2, 2, 2\" />";
str = str + "<var name=\"shotsTime\" value=\"2, 2, 2, 2\" />";
str = str + "<var name=\"ai\" value=\"0\" />";
str = str + "<var name=\"withoutBase\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"orientToPath\" value=\"way\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"directdamage\" value=\"80\" />";
str = str + "<var name=\"bulletDir\" value=\"d\" />";
str = str + "<var name=\"autoAimDistance\" value=\"60\" />";
str = str + "<var name=\"bulletFactor\" value=\"13\" />";
str = str + "</object>";
str = str + "<object name=\"dropship_obj\">";
str = str + "<var name=\"base\" value=\"dropship\" />";
str = str + "<var name=\"gun\" value=\"gun_1, gun_1\" />";
str = str + "<var name=\"shadow\" value=\"dropship_shadow\" />";
str = str + "<var name=\"armor\" value=\"600\" />";
str = str + "<var name=\"bulletType\" value=\"weapon3, weapon3\" />";
str = str + "<var name=\"cannonTimeOffset\" value=\"0, 0\" />";
str = str + "<var name=\"flySteps\" value=\"0, 0\" />";
str = str + "<var name=\"flyMinScale\" value=\"0, 0\" />";
str = str + "<var name=\"flyDistance\" value=\"0, 0\" />";
str = str + "<var name=\"cannonAngle\" value=\"w-20, w20\" />";
str = str + "<var name=\"splashDamage\" value=\"0, 0\" />";
str = str + "<var name=\"damageRadius\" value=\"0, 0\" />";
str = str + "<var name=\"bulletSpeed\" value=\"10, 10\" />";
str = str + "<var name=\"bulletDamage\" value=\"20, 20\" />";
str = str + "<var name=\"reloadingTime\" value=\"100, 100\" />";
str = str + "<var name=\"clip\" value=\"5, 5\" />";
str = str + "<var name=\"shotsTime\" value=\"10, 10\" />";
str = str + "<var name=\"ai\" value=\"0\" />";
str = str + "<var name=\"withoutBase\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"1\" />";
str = str + "<var name=\"orientToPath\" value=\"way\" />";
str = str + "<var name=\"top\" value=\"1\" />";
str = str + "<var name=\"directdamage\" value=\"80\" />";
str = str + "<var name=\"bulletDir\" value=\"d\" />";
str = str + "<var name=\"autoAimDistance\" value=\"60\" />";
str = str + "<var name=\"bulletFactor\" value=\"13\" />";
str = str + "</object>";
str = str + "</object>";
str = str + "<object name=\"movingUnits\"> ";
str = str + "<object name=\"abrams\">";
str = str + "<var name=\"mainObj\" value=\"abrams_obj\" />";
str = str + "<var name=\"way\" value=\"line_way\" />";
str = str + "<var name=\"xratio\" value=\"100\" />";
str = str + "<var name=\"yratio\" value=\"100\" />";
str = str + "<var name=\"mratio\" value=\"5\" />";
str = str + "<var name=\"rotate\" value=\"90\" />";
str = str + "<var name=\"factor\" value=\"1\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "<var name=\"startFrame\" value=\"1\" />";
str = str + "<var name=\"endFrame\" value=\"-1\" />";
str = str + "<var name=\"wayCycle\" value=\"1\" />";
str = str + "<var name=\"rotatedByWay\" value=\"1\" />";
str = str + "<var name=\"movedWay\" value=\"0\" />";
str = str + "<var name=\"movedWayOffset\" value=\"0\" />";
str = str + "<var name=\"movedWayXSpeed\" value=\"0\" />";
str = str + "<var name=\"movedWayYSpeed\" value=\"0\" />";
str = str + "<var name=\"thereCanBeOnlyOne\" value=\"0\" />";
str = str + "<var name=\"dieImmediatly\" value=\"0\" />";
str = str + "</object> ";
str = str + "<object name=\"robogear\">";
str = str + "<var name=\"mainObj\" value=\"mech_rocket_obj\" />";
str = str + "<var name=\"gun\" value=\"gun_mech_gunner_1\" />";
str = str + "<var name=\"bulletDamage\" value=\"1, 1\" />";
str = str + "<var name=\"way\" value=\"line_way\" />";
str = str + "<var name=\"xratio\" value=\"100\" />";
str = str + "<var name=\"yratio\" value=\"100\" />";
str = str + "<var name=\"mratio\" value=\"2\" />";
str = str + "<var name=\"rotate\" value=\"90\" />";
str = str + "<var name=\"factor\" value=\"1\" />";
str = str + "<var name=\"xoffset\" value=\"275\" />";
str = str + "<var name=\"startFrame\" value=\"1\" />";
str = str + "<var name=\"endFrame\" value=\"150\" />";
str = str + "<var name=\"wayCycle\" value=\"1\" />";
str = str + "<var name=\"rotatedByWay\" value=\"1\" />";
str = str + "<var name=\"movedWay\" value=\"2\" />";
str = str + "<var name=\"movedWayOffset\" value=\"50\" />";
str = str + "<var name=\"movedWayXSpeed\" value=\"0\" />";
str = str + "<var name=\"movedWayYSpeed\" value=\"0\" />";
str = str + "<var name=\"thereCanBeOnlyOne\" value=\"0\" />";
str = str + "<var name=\"dieImmediatly\" value=\"0\" />";
str = str + "</object> ";
str = str + "<object name=\"towergun_obj\">";
str = str + "<var name=\"mainObj\" value=\"towergun_obj\" />";
str = str + "<var name=\"way\" value=\"line_way\" />";
str = str + "<var name=\"xratio\" value=\"100\" />";
str = str + "<var name=\"yratio\" value=\"100\" />";
str = str + "<var name=\"mratio\" value=\"1\" />";
str = str + "<var name=\"rotate\" value=\"90\" />";
str = str + "<var name=\"factor\" value=\"1\" />";
str = str + "<var name=\"xoffset\" value=\"275\" />";
str = str + "<var name=\"startFrame\" value=\"1\" />";
str = str + "<var name=\"endFrame\" value=\"3\" />";
str = str + "<var name=\"wayCycle\" value=\"1\" />";
str = str + "<var name=\"rotatedByWay\" value=\"1\" />";
str = str + "<var name=\"movedWay\" value=\"0\" />";
str = str + "<var name=\"movedWayOffset\" value=\"0\" />";
str = str + "<var name=\"movedWayXSpeed\" value=\"0\" />";
str = str + "<var name=\"movedWayYSpeed\" value=\"0\" />";
str = str + "<var name=\"thereCanBeOnlyOne\" value=\"0\" />";
str = str + "<var name=\"dieImmediatly\" value=\"0\" />";
str = str + "</object> ";
str = str + "</object>";
str = str + "<object name=\"standingUnits\">";
str = str + "<object name=\"exploder\">";
str = str + "<var name=\"linkage\" value=\"autoExplodePoint\" />";
str = str + "<var name=\"armor\" value=\"20\" />";
str = str + "<var name=\"splashDamage\" value=\"1000\" />";
str = str + "<var name=\"damageRadius\" value=\"1000\" />";
str = str + "<var name=\"splashDelay\" value=\"3\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"1\" />";
str = str + "<var name=\"ignoreSplash\" value=\"1\" />";
str = str + "<var name=\"ignoreDirect\" value=\"1\" />";
str = str + "<var name=\"explodeTimer\" value=\"1\" />";
str = str + "<var name=\"notCount\" value=\"1\" />";
str = str + "<var name=\"soundKills\" value=\"none\" />";
str = str + "</object>";
str = str + "<object name=\"building\">";
str = str + "<var name=\"linkage\" value=\"base01_l\" />";
str = str + "<var name=\"armor\" value=\"100\" />";
str = str + "<var name=\"splashDamage\" value=\"100\" />";
str = str + "<var name=\"damageRadius\" value=\"250\" />";
str = str + "<var name=\"splashDelay\" value=\"6\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"1\" />";
str = str + "<var name=\"ignoreSplash\" value=\"1\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"immortal\" value=\"1\" />";
str = str + "<var name=\"bigObject\" value=\"1\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"building\">";
str = str + "<var name=\"linkage\" value=\"base01_r\" />";
str = str + "<var name=\"armor\" value=\"100\" />";
str = str + "<var name=\"splashDamage\" value=\"100\" />";
str = str + "<var name=\"damageRadius\" value=\"250\" />";
str = str + "<var name=\"splashDelay\" value=\"6\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"1\" />";
str = str + "<var name=\"ignoreSplash\" value=\"1\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"immortal\" value=\"1\" />";
str = str + "<var name=\"bigObject\" value=\"1\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"building\">";
str = str + "<var name=\"linkage\" value=\"base02_r\" />";
str = str + "<var name=\"armor\" value=\"100\" />";
str = str + "<var name=\"splashDamage\" value=\"100\" />";
str = str + "<var name=\"damageRadius\" value=\"250\" />";
str = str + "<var name=\"splashDelay\" value=\"6\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"1\" />";
str = str + "<var name=\"ignoreSplash\" value=\"1\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"immortal\" value=\"1\" />";
str = str + "<var name=\"bigObject\" value=\"1\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"building\">";
str = str + "<var name=\"linkage\" value=\"base02_l\" />";
str = str + "<var name=\"armor\" value=\"100\" />";
str = str + "<var name=\"splashDamage\" value=\"100\" />";
str = str + "<var name=\"damageRadius\" value=\"250\" />";
str = str + "<var name=\"splashDelay\" value=\"6\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"1\" />";
str = str + "<var name=\"ignoreSplash\" value=\"1\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"immortal\" value=\"1\" />";
str = str + "<var name=\"bigObject\" value=\"1\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"building\">";
str = str + "<var name=\"linkage\" value=\"base03_r\" />";
str = str + "<var name=\"armor\" value=\"100\" />";
str = str + "<var name=\"splashDamage\" value=\"100\" />";
str = str + "<var name=\"damageRadius\" value=\"250\" />";
str = str + "<var name=\"splashDelay\" value=\"6\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"1\" />";
str = str + "<var name=\"ignoreSplash\" value=\"1\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"immortal\" value=\"1\" />";
str = str + "<var name=\"bigObject\" value=\"1\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"building\">";
str = str + "<var name=\"linkage\" value=\"base03_l\" />";
str = str + "<var name=\"armor\" value=\"100\" />";
str = str + "<var name=\"splashDamage\" value=\"100\" />";
str = str + "<var name=\"damageRadius\" value=\"250\" />";
str = str + "<var name=\"splashDelay\" value=\"6\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"1\" />";
str = str + "<var name=\"ignoreSplash\" value=\"1\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"immortal\" value=\"1\" />";
str = str + "<var name=\"bigObject\" value=\"1\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"building\">";
str = str + "<var name=\"linkage\" value=\"base04_r\" />";
str = str + "<var name=\"armor\" value=\"100\" />";
str = str + "<var name=\"splashDamage\" value=\"100\" />";
str = str + "<var name=\"damageRadius\" value=\"250\" />";
str = str + "<var name=\"splashDelay\" value=\"6\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"1\" />";
str = str + "<var name=\"ignoreSplash\" value=\"1\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"immortal\" value=\"1\" />";
str = str + "<var name=\"bigObject\" value=\"1\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"building\">";
str = str + "<var name=\"linkage\" value=\"base04_l\" />";
str = str + "<var name=\"armor\" value=\"100\" />";
str = str + "<var name=\"splashDamage\" value=\"100\" />";
str = str + "<var name=\"damageRadius\" value=\"250\" />";
str = str + "<var name=\"splashDelay\" value=\"6\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"1\" />";
str = str + "<var name=\"ignoreSplash\" value=\"1\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"immortal\" value=\"1\" />";
str = str + "<var name=\"bigObject\" value=\"1\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"helipad\">";
str = str + "<var name=\"linkage\" value=\"helipad\" />";
str = str + "<var name=\"armor\" value=\"50\" />";
str = str + "<var name=\"splashDamage\" value=\"100\" />";
str = str + "<var name=\"damageRadius\" value=\"250\" />";
str = str + "<var name=\"splashDelay\" value=\"6\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"1\" />";
str = str + "<var name=\"ignoreSplash\" value=\"1\" />";
str = str + "<var name=\"ignoreDirect\" value=\"1\" />";
str = str + "<var name=\"immortal\" value=\"1\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"bunker1\">";
str = str + "<var name=\"linkage\" value=\"bunker1\" />";
str = str + "<var name=\"armor\" value=\"30\" />";
str = str + "<var name=\"splashDamage\" value=\"100\" />";
str = str + "<var name=\"damageRadius\" value=\"250\" />";
str = str + "<var name=\"splashDelay\" value=\"6\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"immortal\" value=\"0\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"bunker2\">";
str = str + "<var name=\"linkage\" value=\"bunker2\" />";
str = str + "<var name=\"armor\" value=\"30\" />";
str = str + "<var name=\"splashDamage\" value=\"100\" />";
str = str + "<var name=\"damageRadius\" value=\"250\" />";
str = str + "<var name=\"splashDelay\" value=\"6\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"immortal\" value=\"0\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"oiltanker1\">";
str = str + "<var name=\"linkage\" value=\"oiltanker1\" />";
str = str + "<var name=\"armor\" value=\"30\" />";
str = str + "<var name=\"splashDamage\" value=\"300\" />";
str = str + "<var name=\"damageRadius\" value=\"250\" />";
str = str + "<var name=\"splashDelay\" value=\"6\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"immortal\" value=\"0\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"tower1\">";
str = str + "<var name=\"linkage\" value=\"tower1\" />";
str = str + "<var name=\"armor\" value=\"45\" />";
str = str + "<var name=\"splashDamage\" value=\"100\" />";
str = str + "<var name=\"damageRadius\" value=\"150\" />";
str = str + "<var name=\"splashDelay\" value=\"6\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"immortal\" value=\"0\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"decals\">";
str = str + "<var name=\"linkage\" value=\"explode1\" />";
str = str + "<var name=\"armor\" value=\"200\" />";
str = str + "<var name=\"splashDamage\" value=\"100\" />";
str = str + "<var name=\"damageRadius\" value=\"250\" />";
str = str + "<var name=\"splashDelay\" value=\"6\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"1\" />";
str = str + "<var name=\"ignoreSplash\" value=\"1\" />";
str = str + "<var name=\"ignoreDirect\" value=\"1\" />";
str = str + "<var name=\"immortal\" value=\"1\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "<var name=\"rotate\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"decals\">";
str = str + "<var name=\"linkage\" value=\"explode2\" />";
str = str + "<var name=\"armor\" value=\"200\" />";
str = str + "<var name=\"splashDamage\" value=\"100\" />";
str = str + "<var name=\"damageRadius\" value=\"250\" />";
str = str + "<var name=\"splashDelay\" value=\"6\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"1\" />";
str = str + "<var name=\"ignoreSplash\" value=\"1\" />";
str = str + "<var name=\"ignoreDirect\" value=\"1\" />";
str = str + "<var name=\"immortal\" value=\"1\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "<var name=\"rotate\" value=\"0\" /> ";
str = str + "</object>";
str = str + "<object name=\"junk\">";
str = str + "<var name=\"linkage\" value=\"junk_1_1\" />";
str = str + "<var name=\"armor\" value=\"40\" />";
str = str + "<var name=\"splashDamage\" value=\"0\" />";
str = str + "<var name=\"damageRadius\" value=\"0\" />";
str = str + "<var name=\"splashDelay\" value=\"1\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"immortal\" value=\"0\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "<var name=\"rotate\" value=\"0\" /> ";
str = str + "</object>";
str = str + "<object name=\"junk\">";
str = str + "<var name=\"linkage\" value=\"junk_1_2\" />";
str = str + "<var name=\"armor\" value=\"40\" />";
str = str + "<var name=\"splashDamage\" value=\"0\" />";
str = str + "<var name=\"damageRadius\" value=\"0\" />";
str = str + "<var name=\"splashDelay\" value=\"1\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"immortal\" value=\"0\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "<var name=\"rotate\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"junk\">";
str = str + "<var name=\"linkage\" value=\"junk_1_3\" />";
str = str + "<var name=\"armor\" value=\"40\" />";
str = str + "<var name=\"splashDamage\" value=\"0\" />";
str = str + "<var name=\"damageRadius\" value=\"0\" />";
str = str + "<var name=\"splashDelay\" value=\"1\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"immortal\" value=\"0\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "<var name=\"rotate\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"junk\">";
str = str + "<var name=\"linkage\" value=\"junk_1_4\" />";
str = str + "<var name=\"armor\" value=\"40\" />";
str = str + "<var name=\"splashDamage\" value=\"0\" />";
str = str + "<var name=\"damageRadius\" value=\"0\" />";
str = str + "<var name=\"splashDelay\" value=\"1\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"immortal\" value=\"0\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "<var name=\"rotate\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"junk\">";
str = str + "<var name=\"linkage\" value=\"junk_1_5\" />";
str = str + "<var name=\"armor\" value=\"40\" />";
str = str + "<var name=\"splashDamage\" value=\"0\" />";
str = str + "<var name=\"damageRadius\" value=\"0\" />";
str = str + "<var name=\"splashDelay\" value=\"1\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"immortal\" value=\"0\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "<var name=\"rotate\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"junk\">";
str = str + "<var name=\"linkage\" value=\"junk_1_6\" />";
str = str + "<var name=\"armor\" value=\"40\" />";
str = str + "<var name=\"splashDamage\" value=\"0\" />";
str = str + "<var name=\"damageRadius\" value=\"0\" />";
str = str + "<var name=\"splashDelay\" value=\"1\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"immortal\" value=\"0\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "<var name=\"rotate\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"explode1\">";
str = str + "<var name=\"linkage\" value=\"explode1\" />";
str = str + "<var name=\"armor\" value=\"0\" />";
str = str + "<var name=\"splashDamage\" value=\"0\" />";
str = str + "<var name=\"damageRadius\" value=\"0\" />";
str = str + "<var name=\"splashDelay\" value=\"0\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"immortal\" value=\"0\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "<var name=\"rotate\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"explode2\">";
str = str + "<var name=\"linkage\" value=\"explode2\" />";
str = str + "<var name=\"armor\" value=\"0\" />";
str = str + "<var name=\"splashDamage\" value=\"0\" />";
str = str + "<var name=\"damageRadius\" value=\"0\" />";
str = str + "<var name=\"splashDelay\" value=\"0\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"immortal\" value=\"0\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "<var name=\"rotate\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"wall1\">";
str = str + "<var name=\"linkage\" value=\"wall1\" />";
str = str + "<var name=\"armor\" value=\"400\" />";
str = str + "<var name=\"splashDamage\" value=\"1\" />";
str = str + "<var name=\"damageRadius\" value=\"1\" />";
str = str + "<var name=\"splashDelay\" value=\"1\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"immortal\" value=\"0\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "<var name=\"rotate\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"wall2\">";
str = str + "<var name=\"linkage\" value=\"wall2\" />";
str = str + "<var name=\"armor\" value=\"10\" />";
str = str + "<var name=\"splashDamage\" value=\"1\" />";
str = str + "<var name=\"damageRadius\" value=\"1\" />";
str = str + "<var name=\"splashDelay\" value=\"1\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"immortal\" value=\"0\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "<var name=\"rotate\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"oilpump_r\">";
str = str + "<var name=\"linkage\" value=\"oilpump_r\" />";
str = str + "<var name=\"armor\" value=\"150\" />";
str = str + "<var name=\"splashDamage\" value=\"1\" />";
str = str + "<var name=\"damageRadius\" value=\"1\" />";
str = str + "<var name=\"splashDelay\" value=\"1\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"immortal\" value=\"0\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "<var name=\"rotate\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"oilpump_l\">";
str = str + "<var name=\"linkage\" value=\"oilpump_l\" />";
str = str + "<var name=\"armor\" value=\"150\" />";
str = str + "<var name=\"splashDamage\" value=\"1\" />";
str = str + "<var name=\"damageRadius\" value=\"1\" />";
str = str + "<var name=\"splashDelay\" value=\"1\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"immortal\" value=\"0\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "<var name=\"rotate\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"hangar1\"> ";
str = str + "<var name=\"linkage\" value=\"hangar1\" />";
str = str + "<var name=\"armor\" value=\"100\" />";
str = str + "<var name=\"splashDamage\" value=\"1\" />";
str = str + "<var name=\"damageRadius\" value=\"1\" />";
str = str + "<var name=\"splashDelay\" value=\"1\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"immortal\" value=\"0\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "<var name=\"rotate\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"oil1\"> ";
str = str + "<var name=\"linkage\" value=\"oil1\" />";
str = str + "<var name=\"armor\" value=\"50\" />";
str = str + "<var name=\"splashDamage\" value=\"1\" />";
str = str + "<var name=\"damageRadius\" value=\"1\" />";
str = str + "<var name=\"splashDelay\" value=\"1\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"immortal\" value=\"0\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "<var name=\"rotate\" value=\"0\" />";
str = str + "</object>";
str = str + "<object name=\"rls1_obj\"> ";
str = str + "<var name=\"linkage\" value=\"rls1\" />";
str = str + "<var name=\"armor\" value=\"30\" />";
str = str + "<var name=\"splashDamage\" value=\"1\" />";
str = str + "<var name=\"damageRadius\" value=\"1\" />";
str = str + "<var name=\"splashDelay\" value=\"1\" />";
str = str + "<var name=\"top\" value=\"0\" />";
str = str + "<var name=\"ignoreHit\" value=\"0\" />";
str = str + "<var name=\"ignoreSplash\" value=\"0\" />";
str = str + "<var name=\"ignoreDirect\" value=\"0\" />";
str = str + "<var name=\"immortal\" value=\"0\" />";
str = str + "<var name=\"xoffset\" value=\"0\" />";
str = str + "<var name=\"rotate\" value=\"0\" />";
str = str + "</object>";
str = str + "</object>";
str = str + "<object name=\"levels\">";
str = str + "<object name=\"level_1\">";
str = str + "<var name=\"comment1\" > The messege recieved: \u00ABDo not wander far... You are being watched\u00BB... </var>";
str = str + "<var name=\"screenSpeed\" value=\"3\" />";
str = str + "<var name=\"playerX\" value=\"275\" />";
str = str + "<var name=\"playerY\" value=\"100\" />";
str = str + "<var name=\"maxShield\" value=\"0\" />";
str = str + "<var name=\"playerArmor\" value=\"50\" />";
str = str + "<var name=\"wiewShield\" value=\"0\" />";
str = str + "<var name=\"playerAvailableWeapons\" value=\"7\" />";
str = str + "<var name=\"playerSelectorMode\" value=\"2\" />";
str = str + "<object name=\"childs\">";
str = str + "<object yoffset=\"0.9\" xoffset=\"275\" tank=\"robogear\" armor=\"500\"/>";
str = str + "<object name=\"m1\" tank=\"abrams\" mainObj=\"mech_gunner_obj\"/>";
str = str + "<object name=\"m2\" tank=\"abrams\" mainObj=\"mech_rocket_obj\"/>";
str = str + "<object name=\"m3\" tank=\"abrams\" mratio=\"2\" mainObj=\"soldier_obj\" />";
str = str + "</object>";
str = str + "<array name=\"level\">";
str = str + "<object yoffset=\"5.3\" bonus=\"health\" xoffset=\"300\"/>";
str = str + "<object yoffset=\"6.6\" bonus=\"health\" xoffset=\"280\"/>";
str = str + "<object yoffset=\"7.4\" bonus=\"health\" xoffset=\"300\"/>";
str = str + "<object yoffset=\"7.9\" bonus=\"1updater\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"8.5\" bonus=\"health\" xoffset=\"235\"/>";
str = str + "<object yoffset=\"9.3\" bonus=\"health\" xoffset=\"325\"/>";
str = str + "<object yoffset=\"1\" xoffset=\"90\" object=\"helipad\" />";
str = str + "<object yoffset=\"1\" xoffset=\"450\" object=\"helipad\" />";
str = str + "<object yoffset=\"1.4\" xoffset=\"90\" object=\"rls1_obj\" />";
str = str + "<object yoffset=\"1.4\" xoffset=\"450\" object=\"rls1_obj\" />";
str = str + "<object yoffset=\"1.8\" xoffset=\"90\" object=\"helipad\" />";
str = str + "<object yoffset=\"1.8\" xoffset=\"450\" object=\"helipad\" />";
str = str + "<object yoffset=\"1.8\" xoffset=\"450\" tank=\"abrams\" rotate=\"0\" mainObj=\"heli3_obj\" mratio=\"4\" endFrame=\"2\" wayCycle=\"1\" />";
str = str + "<object yoffset=\"2.5\" xoffset=\"505\" object=\"wall1\" />";
str = str + "<object yoffset=\"2.5\" xoffset=\"465\" object=\"wall1\" />";
str = str + "<object yoffset=\"2.5\" xoffset=\"45\" object=\"wall1\" />";
str = str + "<object yoffset=\"2.5\" xoffset=\"-5\" object=\"wall1\" />";
str = str + "<object yoffset=\"3\" xoffset=\"90\" object=\"helipad\" />";
str = str + "<object yoffset=\"3\" xoffset=\"450\" object=\"helipad\" />";
str = str + "<object yoffset=\"3.6\" xoffset=\"90\" object=\"helipad\" />";
str = str + "<object yoffset=\"3.6\" xoffset=\"450\" object=\"helipad\" />";
str = str + "<object yoffset=\"3.6\" xoffset=\"90\" tank=\"abrams\" rotate=\"0\" mainObj=\"heli3_obj\" mratio=\"4\" endFrame=\"2\" wayCycle=\"1\" />";
str = str + "<object yoffset=\"3.9\" xoffset=\"459\" object=\"wall1\" />";
str = str + "<object yoffset=\"3.9\" xoffset=\"44\" object=\"wall1\" />";
str = str + "<object yoffset=\"3.9\" xoffset=\"-6\" object=\"wall1\" />";
str = str + "<object yoffset=\"3.9\" xoffset=\"502\" object=\"wall1\" />";
str = str + "<object yoffset=\"4.5\" xoffset=\"489\" object=\"explode2\" />";
str = str + "<object yoffset=\"4.5\" xoffset=\"136\" object=\"explode1\" />";
str = str + "<object yoffset=\"4.7\" xoffset=\"469\" object=\"helipad\" />";
str = str + "<object yoffset=\"4.7\" xoffset=\"94\" object=\"helipad\" />";
str = str + "<object yoffset=\"4.7\" xoffset=\"469\" tank=\"abrams\" rotate=\"0\" mainObj=\"heli3_obj\" mratio=\"4\" endFrame=\"2\" wayCycle=\"1\" />";
str = str + "<object yoffset=\"4.7\" xoffset=\"94\" tank=\"abrams\" rotate=\"0\" mainObj=\"heli3_obj\" mratio=\"4\" endFrame=\"2\" wayCycle=\"1\" />";
str = str + "<object yoffset=\"4.7\" xoffset=\"104\" object=\"explode2\" />";
str = str + "<object yoffset=\"4.7\" xoffset=\"467\" object=\"explode1\" />";
str = str + "<object yoffset=\"5.1\" xoffset=\"50\" object=\"tower1\" />";
str = str + "<object yoffset=\"5.1\" xoffset=\"500\" object=\"tower1\" />";
str = str + "<object yoffset=\"6.7\" xoffset=\"46\" object=\"explode2\" />";
str = str + "<object yoffset=\"6.6\" xoffset=\"162\" object=\"explode1\" />";
str = str + "<object yoffset=\"7\" xoffset=\"124\" object=\"explode2\" />";
str = str + "<object yoffset=\"7.1\" xoffset=\"399\" object=\"explode1\" />";
str = str + "<object yoffset=\"6.7\" xoffset=\"473\" object=\"explode1\" />";
str = str + "<object yoffset=\"6.5\" xoffset=\"450\" object=\"explode2\" />";
str = str + "<object yoffset=\"5.5\" xoffset=\"456\" object=\"helipad\" />";
str = str + "<object yoffset=\"5.5\" xoffset=\"94\" object=\"helipad\" />";
str = str + "<object yoffset=\"5.7\" xoffset=\"92\" object=\"explode1\" />";
str = str + "<object yoffset=\"5.9\" xoffset=\"505\" object=\"wall1\" />";
str = str + "<object yoffset=\"5.9\" xoffset=\"455\" object=\"wall1\" />";
str = str + "<object yoffset=\"5.9\" xoffset=\"405\" object=\"wall1\" />";
str = str + "<object yoffset=\"5.9\" xoffset=\"95\" object=\"wall1\" />";
str = str + "<object yoffset=\"5.9\" xoffset=\"45\" object=\"wall1\" />";
str = str + "<object yoffset=\"5.9\" xoffset=\"-5\" object=\"wall1\" />";
str = str + "<object yoffset=\"6.3\" xoffset=\"490\" object=\"hangar1\" />";
str = str + "<object yoffset=\"6.3\" xoffset=\"0\" object=\"hangar1\" />";
str = str + "<object yoffset=\"7.1\" xoffset=\"490\" object=\"helipad\" />";
str = str + "<object yoffset=\"7.1\" xoffset=\"50\" object=\"helipad\" />";
str = str + "<object yoffset=\"7.4\" xoffset=\"0\" object=\"wall1\" />";
str = str + "<object yoffset=\"7.4\" xoffset=\"50\" object=\"wall1\" />";
str = str + "<object yoffset=\"7.4\" xoffset=\"100\" object=\"wall1\" />";
str = str + "<object yoffset=\"7.4\" xoffset=\"450\" object=\"wall1\" />";
str = str + "<object yoffset=\"7.4\" xoffset=\"500\" object=\"wall1\" />";
str = str + "<object yoffset=\"7.4\" xoffset=\"400\" object=\"wall1\" />";
str = str + "<object yoffset=\"8\" xoffset=\"450\" object=\"helipad\" />";
str = str + "<object yoffset=\"8\" xoffset=\"90\" object=\"helipad\" />";
str = str + "<object yoffset=\"8\" xoffset=\"450\" tank=\"abrams\" rotate=\"0\" mainObj=\"heli3_obj\" mratio=\"4\" endFrame=\"2\" wayCycle=\"1\" />";
str = str + "<object yoffset=\"8.5\" xoffset=\"90\" object=\"rls1_obj\" />";
str = str + "<object yoffset=\"8.5\" xoffset=\"450\" object=\"rls1_obj\" />";
str = str + "<object yoffset=\"8.9\" xoffset=\"140\" object=\"oiltanker1\" />";
str = str + "<object yoffset=\"8.9\" xoffset=\"460\" object=\"oiltanker1\" />";
str = str + "<object yoffset=\"9\" xoffset=\"0\" object=\"wall1\" />";
str = str + "<object yoffset=\"9\" xoffset=\"50\" object=\"wall1\" />";
str = str + "<object yoffset=\"9\" xoffset=\"100\" object=\"wall1\" />";
str = str + "<object yoffset=\"9\" xoffset=\"550\" object=\"wall1\" />";
str = str + "<object yoffset=\"9\" xoffset=\"500\" object=\"wall1\" />";
str = str + "<object yoffset=\"9\" xoffset=\"450\" object=\"wall1\" />";
str = str + "<object yoffset=\"2\" tank=\"abrams\" xoffset=\"275\" mainObj=\"soldier_obj\" endFrame=\"350\" />";
str = str + "<object yoffset=\"2.5\" tank=\"abrams\" xoffset=\"155\" mainObj=\"soldier_obj\" endFrame=\"350\" />";
str = str + "<object yoffset=\"2.4\" tank=\"abrams\" xoffset=\"405\" mainObj=\"soldier_obj\" endFrame=\"350\" />";
str = str + "<object yoffset=\"3.1\" tank=\"abrams\" xoffset=\"185\" mainObj=\"soldier_obj\" endFrame=\"350\" />";
str = str + "<object yoffset=\"3.2\" tank=\"abrams\" xoffset=\"375\" mainObj=\"soldier_obj\" endFrame=\"350\" />";
str = str + "<object yoffset=\"3.5\" tank=\"abrams\" xoffset=\"0\" rotate=\"45\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"3.7\" tank=\"abrams\" xoffset=\"550\" rotate=\"135\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"4.3\" tank=\"abrams\" xoffset=\"200\" mainObj=\"soldier_obj\" endFrame=\"300\" />";
str = str + "<object yoffset=\"4.5\" tank=\"abrams\" xoffset=\"275\" mainObj=\"soldier_obj\" endFrame=\"300\" />";
str = str + "<object yoffset=\"4.3\" tank=\"abrams\" xoffset=\"360\" mainObj=\"soldier_obj\" endFrame=\"300\" />";
str = str + "<object yoffset=\"4.7\" tank=\"abrams\" xoffset=\"50\" rotate=\"45\" mainObj=\"soldier_obj\" endFrame=\"280\"/>";
str = str + "<object yoffset=\"4.8\" tank=\"abrams\" xoffset=\"550\" rotate=\"135\" mainObj=\"soldier_obj\" endFrame=\"380\"/>";
str = str + "<object yoffset=\"5.6\" tank=\"abrams\" xoffset=\"140\" endFrame=\"250\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"5.7\" tank=\"abrams\" xoffset=\"390\" endFrame=\"250\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"5.9\" tank=\"abrams\" xoffset=\"275\" mainObj=\"soldier_obj\" endFrame=\"250\" />";
str = str + "<object yoffset=\"6.1\" mratio=\"6\" tank=\"abrams\" xoffset=\"550\" mainObj=\"truck_obj\" base=\"truck4\" rotate=\"170\" rotatedByWay=\"1\" endFrame=\"670\" />";
str = str + "<object yoffset=\"6.7\" tank=\"abrams\" xoffset=\"275\" endFrame=\"250\" mainObj=\"buggy_obj\" />";
str = str + "<object yoffset=\"6.8\" tank=\"abrams\" xoffset=\"450\" mainObj=\"soldier_obj\" movedWay=\"1\" movedWayOffset=\"150\" />";
str = str + "<object yoffset=\"6.8\" tank=\"abrams\" xoffset=\"140\" mainObj=\"soldier_obj\" movedWay=\"1\" movedWayOffset=\"150\"/>";
str = str + "<object yoffset=\"7.1\" tank=\"abrams\" xoffset=\"-30\" mainObj=\"truck_obj\" base=\"truck1\" rotate=\"-20\" endFrame=\"700\" />";
str = str + "<object yoffset=\"7.2\" tank=\"abrams\" xoffset=\"550\" mainObj=\"truck_obj\" base=\"truck1\" rotate=\"200\" endFrame=\"550\" />";
str = str + "<object yoffset=\"8.2\" tank=\"abrams\" xoffset=\"180\" mainObj=\"soldier_obj\" endFrame=\"350\" />";
str = str + "<object yoffset=\"8.3\" tank=\"abrams\" xoffset=\"275\" mainObj=\"soldier_obj\" endFrame=\"350\" />";
str = str + "<object yoffset=\"8.2\" tank=\"abrams\" xoffset=\"380\" mainObj=\"soldier_obj\" endFrame=\"350\" />";
str = str + "<object yoffset=\"8.9\" tank=\"abrams\" xoffset=\"240\" mainObj=\"soldier_obj\" endFrame=\"7\"/>";
str = str + "<object yoffset=\"8.9\" tank=\"abrams\" xoffset=\"275\" mainObj=\"soldier_obj\" endFrame=\"7\"/>";
str = str + "<object yoffset=\"8.9\" tank=\"abrams\" xoffset=\"310\" mainObj=\"soldier_obj\" endFrame=\"7\"/>";
str = str + "<object yoffset=\"9.1\" tank=\"abrams\" xoffset=\"320\" mainObj=\"buggy_obj\" base=\"truck4\" rotate=\"180\" endFrame=\"100\" />";
str = str + "<object yoffset=\"10\" tank=\"abrams\" xoffset=\"-30\" mainObj=\"buggy_obj\" rotate=\"0\" endFrame=\"500\" movedWay=\"1\" movedWayOffset=\"200\"/>";
str = str + "<object yoffset=\"10.1\" tank=\"abrams\" xoffset=\"550\" mainObj=\"buggy_obj\" rotate=\"180\" endFrame=\"400\" movedWay=\"1\" movedWayOffset=\"200\"/>";
str = str + "</array>";
str = str + "</object>";
str = str + "<object name=\"level_2\">";
str = str + "<var name=\"comment1\" > The messege recieved: \u00ABIt is I again, do not pay any notice. Simply keep on heading on your way, and maybe it will all end up differently this time\u00BB.</var>";
str = str + "<var name=\"screenSpeed\" value=\"3\" />";
str = str + "<var name=\"playerX\" value=\"275\" />";
str = str + "<var name=\"playerY\" value=\"100\" />";
str = str + "<var name=\"playerArmor\" value=\"50\" />";
str = str + "<var name=\"maxShield\" value=\"0\" />";
str = str + "<var name=\"wiewShield\" value=\"0\" />";
str = str + "<var name=\"playerAvailableWeapons\" value=\"7\" />";
str = str + "<var name=\"playerSelectorMode\" value=\"2\" />";
str = str + "<object name=\"childs\">";
str = str + "<object name=\"m1\" tank=\"abrams\" bossBar=\"1\" mainObj=\"mech_gunner_obj\" armor=\"400\" mratio=\"2\" movedWay=\"1\" movedWayOffset=\"10\" />";
str = str + "<object name=\"m2\" tank=\"abrams\" mainObj=\"mech_rocket_obj\"/>";
str = str + "<object name=\"m3\" tank=\"abrams\" mratio=\"2\" mainObj=\"soldier_obj\"/>";
str = str + "<object name=\"m4\" tank=\"abrams\" mainObj=\"mech_boss_obj\"/>";
str = str + "</object>";
str = str + "<array name=\"level\">";
str = str + "<object yoffset=\"3.2\" bonus=\"health\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"4\" bonus=\"health\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"4.8\" bonus=\"health\" xoffset=\"350\"/>";
str = str + "<object yoffset=\"5.3\" bonus=\"health\" xoffset=\"350\"/>";
str = str + "<object yoffset=\"6.4\" bonus=\"1updater\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"7.2\" bonus=\"health\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"8\" bonus=\"rocket\" xoffset=\"300\"/>";
str = str + "<object yoffset=\"9\" bonus=\"health\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"10\" bonus=\"health\" xoffset=\"400\"/>";
str = str + "<object yoffset=\"12.4\" bonus=\"shield\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"1.4\" xoffset=\"300\" object=\"rls1_obj\" />";
str = str + "<object yoffset=\"2.4\" xoffset=\"205\" object=\"wall2\" />";
str = str + "<object yoffset=\"2.4\" xoffset=\"296\" object=\"wall2\" />";
str = str + "<object yoffset=\"2.4\" xoffset=\"247\" object=\"wall2\" />";
str = str + "<object yoffset=\"2.5\" xoffset=\"20\" object=\"rls1_obj\" />";
str = str + "<object yoffset=\"3.6\" xoffset=\"30\" object=\"tower1\" />";
str = str + "<object yoffset=\"3.6\" xoffset=\"520\" object=\"tower1\" />";
str = str + "<object yoffset=\"4\" xoffset=\"50\" object=\"wall2\" />";
str = str + "<object yoffset=\"4\" xoffset=\"100\" object=\"wall2\" />";
str = str + "<object yoffset=\"4\" xoffset=\"450\" object=\"wall2\" />";
str = str + "<object yoffset=\"4\" xoffset=\"400\" object=\"wall2\" />";
str = str + "<object yoffset=\"4.7\" xoffset=\"275\" object=\"tower1_obj\" />";
str = str + "<object yoffset=\"4.8\" xoffset=\"50\" object=\"wall2\" />";
str = str + "<object yoffset=\"4.8\" xoffset=\"100\" object=\"wall2\" />";
str = str + "<object yoffset=\"4.8\" xoffset=\"450\" object=\"wall2\" />";
str = str + "<object yoffset=\"4.8\" xoffset=\"400\" object=\"wall2\" />";
str = str + "<object yoffset=\"6\" xoffset=\"205\" object=\"wall2\" />";
str = str + "<object yoffset=\"6\" xoffset=\"296\" object=\"wall2\" />";
str = str + "<object yoffset=\"6\" xoffset=\"247\" object=\"wall2\" />";
str = str + "<object yoffset=\"6.5\" xoffset=\"190\" object=\"wall2\" />";
str = str + "<object yoffset=\"6.5\" xoffset=\"230\" object=\"wall2\" />";
str = str + "<object yoffset=\"6.5\" xoffset=\"270\" object=\"wall2\" />";
str = str + "<object yoffset=\"6.5\" xoffset=\"310\" object=\"wall2\" />";
str = str + "<object yoffset=\"6.8\" xoffset=\"275\" object=\"tower1\" />";
str = str + "<object yoffset=\"7\" xoffset=\"104\" object=\"helipad\" />";
str = str + "<object yoffset=\"7\" xoffset=\"467\" object=\"helipad\" />";
str = str + "<object yoffset=\"7.6\" xoffset=\"380\" object=\"hangar1\" />";
str = str + "<object yoffset=\"7.6\" xoffset=\"90\" object=\"hangar1\" />";
str = str + "<object yoffset=\"8.9\" xoffset=\"205\" object=\"wall2\" />";
str = str + "<object yoffset=\"8.9\" xoffset=\"296\" object=\"wall2\" />";
str = str + "<object yoffset=\"8.9\" xoffset=\"247\" object=\"wall2\" />";
str = str + "<object yoffset=\"9.3\" xoffset=\"77\" object=\"junk\" linkage=\"junk_1_1\" />";
str = str + "<object yoffset=\"9.3\" xoffset=\"176\" object=\"junk\" linkage=\"junk_1_4\" />";
str = str + "<object yoffset=\"9.3\" xoffset=\"500\" object=\"junk\" linkage=\"junk_1_3\" />";
str = str + "<object yoffset=\"9.8\" xoffset=\"140\" object=\"tower1\" />";
str = str + "<object yoffset=\"9.8\" xoffset=\"140\" tank=\"towergun_obj\" />";
str = str + "<object yoffset=\"9.8\" xoffset=\"400\" object=\"tower1\" />";
str = str + "<object yoffset=\"10.5\" xoffset=\"0\" object=\"building\" linkage=\"base03_l\" />";
str = str + "<object yoffset=\"12.3\" xoffset=\"145\" object=\"oiltanker1\" />";
str = str + "<object yoffset=\"12.3\" xoffset=\"455\" object=\"oiltanker1\" />";
str = str + "<object yoffset=\"12.3\" xoffset=\"295\" object=\"oiltanker1\" />";
str = str + "<object yoffset=\"12.5\" xoffset=\"520\" object=\"wall1\" />";
str = str + "<object yoffset=\"12.5\" xoffset=\"472\" object=\"wall1\" />";
str = str + "<object yoffset=\"12.5\" xoffset=\"423\" object=\"wall1\" />";
str = str + "<object yoffset=\"12.5\" xoffset=\"374\" object=\"wall1\" />";
str = str + "<object yoffset=\"12.5\" xoffset=\"325\" object=\"wall1\" />";
str = str + "<object yoffset=\"12.5\" xoffset=\"277\" object=\"wall1\" />";
str = str + "<object yoffset=\"12.5\" xoffset=\"228\" object=\"wall1\" />";
str = str + "<object yoffset=\"12.5\" xoffset=\"179\" object=\"wall1\" />";
str = str + "<object yoffset=\"12.5\" xoffset=\"137\" object=\"wall1\" />";
str = str + "<object yoffset=\"12.5\" xoffset=\"88\" object=\"wall1\" />";
str = str + "<object yoffset=\"12.5\" xoffset=\"39\" object=\"wall1\" />";
str = str + "<object yoffset=\"12.5\" xoffset=\"-10\" object=\"wall1\" />";
str = str + "<object yoffset=\"1.1\" xoffset=\"110\" tank=\"abrams\" mainObj=\"soldier_obj\" endFrame=\"500\" />";
str = str + "<object yoffset=\"1.1\" xoffset=\"190\" tank=\"abrams\" mainObj=\"soldier_obj\" endFrame=\"500\" />";
str = str + "<object yoffset=\"1.6\" xoffset=\"370\" tank=\"abrams\" mainObj=\"soldier_obj\" endFrame=\"500\" />";
str = str + "<object yoffset=\"1.6\" xoffset=\"450\" tank=\"abrams\" mainObj=\"soldier_obj\" endFrame=\"500\" />";
str = str + "<object yoffset=\"1.9\" xoffset=\"60\" tank=\"abrams\" mainObj=\"soldier_obj\" endFrame=\"500\" />";
str = str + "<object yoffset=\"1.9\" xoffset=\"150\" tank=\"abrams\" mainObj=\"soldier_obj\" endFrame=\"500\" />";
str = str + "<object yoffset=\"2.2\" xoffset=\"400\" tank=\"abrams\" mainObj=\"soldier_obj\" endFrame=\"500\" />";
str = str + "<object yoffset=\"2.2\" xoffset=\"480\" tank=\"abrams\" mainObj=\"soldier_obj\" endFrame=\"500\" />";
str = str + "<object yoffset=\"2.5\" tank=\"abrams\" xoffset=\"310\" mainObj=\"soldier_obj\" endFrame=\"7\" />";
str = str + "<object yoffset=\"2.5\" tank=\"abrams\" xoffset=\"240\" mainObj=\"soldier_obj\" endFrame=\"7\" />";
str = str + "<object yoffset=\"3\" xoffset=\"480\" tank=\"abrams\" rotate=\"90\" mainObj=\"buggy_obj\" />";
str = str + "<object yoffset=\"3.5\" xoffset=\"100\" tank=\"abrams\" rotate=\"65\" mainObj=\"buggy_obj\" base=\"truck2\" /> ";
str = str + "<object yoffset=\"4.1\" tank=\"abrams\" xoffset=\"83\" mainObj=\"soldier_obj\" endFrame=\"7\" />";
str = str + "<object yoffset=\"4.1\" tank=\"abrams\" xoffset=\"425\" mainObj=\"soldier_obj\" endFrame=\"7\" />";
str = str + "<object yoffset=\"5.3\" xoffset=\"275\" tank=\"abrams\" mainObj=\"hummer_obj\" mratio=\"4\" movedWay=\"1\" movedWayOffset=\"50\" />";
str = str + "<object yoffset=\"4.9\" tank=\"abrams\" xoffset=\"83\" mainObj=\"soldier_obj\" endFrame=\"7\" />";
str = str + "<object yoffset=\"4.9\" tank=\"abrams\" xoffset=\"425\" mainObj=\"soldier_obj\" endFrame=\"7\" />";
str = str + "<object yoffset=\"5.6\" tank=\"abrams\" xoffset=\"0\" mainObj=\"buggy_obj\" rotate=\"0\" endFrame=\"430\" />";
str = str + "<object yoffset=\"5.7\" tank=\"abrams\" xoffset=\"550\" mainObj=\"buggy_obj\" rotate=\"180\" endFrame=\"430\" />";
str = str + "<object yoffset=\"6.2\" tank=\"abrams\" xoffset=\"275\" mainObj=\"soldier_obj\" endFrame=\"7\" />";
str = str + "<object yoffset=\"6.6\" tank=\"abrams\" xoffset=\"230\" mainObj=\"soldier_obj\" endFrame=\"7\" />";
str = str + "<object yoffset=\"6.6\" tank=\"abrams\" xoffset=\"320\" mainObj=\"soldier_obj\" endFrame=\"7\" />";
str = str + "<object yoffset=\"7.6\" xoffset=\"50\" tank=\"abrams\" rotate=\"90\" mainObj=\"hummer_obj\" movedWay=\"1\" movedWayOffset=\"50\" endFrame=\"800\"/>";
str = str + "<object yoffset=\"7.3\" xoffset=\"500\" tank=\"abrams\" rotate=\"90\" mainObj=\"hummer_obj\" movedWay=\"1\" movedWayOffset=\"50\" endFrame=\"800\"/>";
str = str + "<object yoffset=\"8.5\" tank=\"abrams\" xoffset=\"0\" mainObj=\"buggy_obj\" rotate=\"0\" endFrame=\"150\" movedWay=\"1\" movedWayOffset=\"90\"/>";
str = str + "<object yoffset=\"8.6\" tank=\"abrams\" xoffset=\"550\" mainObj=\"buggy_obj\" rotate=\"180\" endFrame=\"150\" movedWay=\"1\" movedWayOffset=\"90\"/>";
str = str + "<object yoffset=\"8.4\" xoffset=\"275\" tank=\"abrams\" rotate=\"90\" mainObj=\"hummer_obj\" movedWay=\"1\" movedWayOffset=\"50\"/>";
str = str + "<object yoffset=\"9\" tank=\"abrams\" xoffset=\"230\" mainObj=\"soldier_obj\" endFrame=\"7\" />";
str = str + "<object yoffset=\"9\" tank=\"abrams\" xoffset=\"280\" mainObj=\"soldier_obj\" endFrame=\"7\" />";
str = str + "<object yoffset=\"10.9\" xoffset=\"130\" tank=\"abrams\" mainObj=\"hummer_obj\" mratio=\"4\" movedWay=\"1\" movedWayOffset=\"50\" endFrame=\"800\"/>";
str = str + "<object yoffset=\"10.7\" xoffset=\"450\" tank=\"abrams\" mainObj=\"hummer_obj\" mratio=\"4\" movedWay=\"1\" movedWayOffset=\"50\" endFrame=\"800\"/>";
str = str + "<object yoffset=\"11.7\" top=\"1\" mratio=\"7\" cannonTimeOffset=\"40000,40000, 40000,40000\" tank=\"abrams\" xoffset=\"500\" mainObj=\"heli2_obj\" rotate=\"180\" EC=\"m1\" ECCount=\"1\" ECTime=\"70\" ECXOffset=\"0\" ECYOffset=\"0\" ECTimeOffset=\"4\"/>";
str = str + "<object yoffset=\"11.8\" command=\"slideConstant\" factor=\"0.99\" limit=\"2\"/>";
str = str + "</array>";
str = str + "</object>";
str = str + "<object name=\"level_3\">";
str = str + "<var name=\"comment1\" > The messege recieved: \u00ABYou know, you really are no different from those who came here before you. Well, perhaps other than compared to them, you are not dead enough just yet.\u00BB</var>";
str = str + "<var name=\"screenSpeed\" value=\"3\" />";
str = str + "<var name=\"playerX\" value=\"275\" />";
str = str + "<var name=\"playerY\" value=\"100\" />";
str = str + "<var name=\"playerArmor\" value=\"50\" />";
str = str + "<var name=\"wiewShield\" value=\"1\" />";
str = str + "<var name=\"playerAvailableWeapons\" value=\"7\" />";
str = str + "<var name=\"playerSelectorMode\" value=\"2\" />";
str = str + "<object name=\"childs\">";
str = str + "<object name=\"m1\" tank=\"abrams\" mratio=\"2\" mainObj=\"mech_gunner_obj\" endFrame=\"100\" movedWay=\"1\" movedWayOffset=\"20\"/>";
str = str + "<object name=\"m2\" tank=\"abrams\" mainObj=\"mech_rocket_obj\" endFrame=\"100\" movedWay=\"1\" movedWayOffset=\"25\" />";
str = str + "<object name=\"m3\" object=\"exploder\" splashDamage=\"350\" />";
str = str + "</object>";
str = str + "<array name=\"level\">";
str = str + "<object yoffset=\"1.3\" bonus=\"shield\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"1.8\" bonus=\"health\" xoffset=\"300\"/>";
str = str + "<object yoffset=\"2.7\" bonus=\"health\" xoffset=\"250\"/>";
str = str + "<object yoffset=\"4.4\" bonus=\"1updater\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"5.8\" bonus=\"1updater\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"4.5\" bonus=\"health\" xoffset=\"250\"/>";
str = str + "<object yoffset=\"4.7\" bonus=\"lazer\" xoffset=\"300\"/>";
str = str + "<object yoffset=\"4.8\" xoffset=\"300\" bonus=\"lazer\"/>";
str = str + "<object yoffset=\"5.6\" bonus=\"health\" xoffset=\"320\"/>";
str = str + "<object yoffset=\"7\" bonus=\"health\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"8\" bonus=\"shield\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"8.1\" bonus=\"health\" xoffset=\"255\"/>";
str = str + "<object yoffset=\"8.8\" bonus=\"health\" xoffset=\"295\"/>";
str = str + "<object yoffset=\"9.4\" bonus=\"health\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"1\" xoffset=\"110\" object=\"junk\" linkage=\"junk_1_1\"/>";
str = str + "<object yoffset=\"1.2\" tank=\"abrams\" xoffset=\"20\" mainObj=\"buggy_obj\" base=\"truck2\" rotate=\"0\" endFrame=\"160\" />";
str = str + "<object yoffset=\"1.4\" xoffset=\"400\" object=\"junk\" linkage=\"junk_1_2\"/>";
str = str + "<object yoffset=\"1.6\" tank=\"abrams\" xoffset=\"530\" mainObj=\"buggy_obj\" base=\"truck2\" rotate=\"180\" endFrame=\"300\" child=\"exx\" />";
str = str + "<object yoffset=\"1.6\" xoffset=\"70\" object=\"rls1_obj\"/> ";
str = str + "<object yoffset=\"2\" xoffset=\"480\" object=\"tower1\"/> ";
str = str + "<object yoffset=\"2.7\" mratio=\"3\" tank=\"abrams\" xoffset=\"125\" mainObj=\"soldier_obj\" movedWayOffset=\"70\" endFrame=\"200\" endFrame=\"200\"/>";
str = str + "<object yoffset=\"2.6\" mratio=\"3\" tank=\"abrams\" xoffset=\"175\" mainObj=\"soldier_obj\" movedWay=\"1\" movedWayOffset=\"70\" endFrame=\"200\"/>";
str = str + "<object yoffset=\"2.6\" mratio=\"3\" tank=\"abrams\" xoffset=\"375\" mainObj=\"soldier_obj\" movedWay=\"1\" movedWayOffset=\"70\" endFrame=\"200\"/>";
str = str + "<object yoffset=\"2.7\" mratio=\"3\" tank=\"abrams\" xoffset=\"425\" mainObj=\"soldier_obj\" endFrame=\"200\"/>";
str = str + "<object yoffset=\"3.1\" xoffset=\"275\" tank=\"abrams\" mainObj=\"hummer_obj\" mratio=\"4\" movedWay=\"1\" movedWayOffset=\"50\" />";
str = str + "<object yoffset=\"3.5\" tank=\"abrams\" xoffset=\"-50\" mainObj=\"buggy_obj\" rotate=\"0\" endFrame=\"500\" />";
str = str + "<object yoffset=\"3.8\" tank=\"abrams\" xoffset=\"590\" mainObj=\"buggy_obj\" rotate=\"180\" endFrame=\"400\"/>";
str = str + "<object yoffset=\"4\" xoffset=\"50\" object=\"tower1\"/> ";
str = str + "<object yoffset=\"4.1\" xoffset=\"500\" object=\"rls1_obj\"/> ";
str = str + "<object yoffset=\"4.3\" tank=\"abrams\" xoffset=\"-50\" mainObj=\"buggy_obj\" rotate=\"0\" endFrame=\"500\" />";
str = str + "<object yoffset=\"4.4\" tank=\"abrams\" xoffset=\"590\" mainObj=\"buggy_obj\" rotate=\"180\" endFrame=\"400\"/>";
str = str + "<object yoffset=\"5.2\" tank=\"abrams\" xoffset=\"180\" mainObj=\"heli1_obj\" endFrame=\"170\" movedWay=\"1\" movedWayOffset=\"70\" />";
str = str + "<object yoffset=\"5.8\" command=\"slideConstant\" factor=\"0.98\" limit=\"2\"/>";
str = str + "<object yoffset=\"5.9\" command=\"slideConstant\" factor=\"0.98\" limit=\"1\"/>";
str = str + "<object yoffset=\"6.3\" command=\"slideConstant\" factor=\"0.97\" limit=\"2\"/>";
str = str + "<object yoffset=\"6.5\" command=\"slideConstant\" factor=\"0.98\" limit=\"3\"/>";
str = str + "<object yoffset=\"5.2\" xoffset=\"-50\" object=\"wall1\"/>";
str = str + "<object yoffset=\"5.2\" xoffset=\"0\" object=\"wall1\"/>";
str = str + "<object yoffset=\"5.2\" xoffset=\"50\" object=\"wall1\"/>";
str = str + "<object yoffset=\"5.2\" xoffset=\"100\" object=\"wall1\"/>";
str = str + "<object yoffset=\"5.2\" xoffset=\"150\" object=\"wall1\"/>";
str = str + "<object yoffset=\"5.2\" xoffset=\"350\" object=\"wall1\"/>";
str = str + "<object yoffset=\"5.2\" xoffset=\"400\" object=\"wall1\"/>";
str = str + "<object yoffset=\"5.2\" xoffset=\"450\" object=\"wall1\"/>";
str = str + "<object yoffset=\"5.2\" xoffset=\"500\" object=\"wall1\"/>";
str = str + "<object yoffset=\"5.1\" xoffset=\"0\" object=\"junk\" linkage=\"junk_1_1\"/>";
str = str + "<object yoffset=\"5.1\" xoffset=\"550\" object=\"junk\" linkage=\"junk_1_1\"/>";
str = str + "<object yoffset=\"5.4\" xoffset=\"25\" object=\"tower1\"/>";
str = str + "<object yoffset=\"5.4\" xoffset=\"25\" tank=\"towergun_obj\" cannonTimeOffset=\"80\" />";
str = str + "<object yoffset=\"5.4\" xoffset=\"510\" object=\"tower1\"/>";
str = str + "<object yoffset=\"5.4\" xoffset=\"510\" cannonTimeOffset=\"40\" tank=\"towergun_obj\" />";
str = str + "<object yoffset=\"5.2\" mratio=\"10\" tank=\"abrams\" xoffset=\"500\" mainObj=\"truck_obj\" rotate=\"180\" endFrame=\"770\" base=\"truck4\"/>";
str = str + "<object yoffset=\"5.2\" mratio=\"10\" tank=\"abrams\" xoffset=\"630\" mainObj=\"truck_obj\" rotate=\"180\" endFrame=\"765\" base=\"truck3\"/>";
str = str + "<object yoffset=\"5.9\" tank=\"abrams\" xoffset=\"120\" endFrame= \"280\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"6.2\" tank=\"abrams\" xoffset=\"320\" endFrame= \"290\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"5.9\" tank=\"abrams\" xoffset=\"480\" endFrame= \"280\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"6.6\" mratio=\"8\" tank=\"abrams\" xoffset=\"50\" mainObj=\"buggy_obj\" rotate=\"45\" endFrame=\"310\" />";
str = str + "<object yoffset=\"6.7\" mratio=\"8\" tank=\"abrams\" xoffset=\"500\" mainObj=\"buggy_obj\" rotate=\"125\" endFrame=\"300\" />";
str = str + "<object yoffset=\"6.1\" xoffset=\"0\" object=\"oilpump_l\"/>";
str = str + "<object yoffset=\"6.1\" xoffset=\"550\" object=\"oilpump_r\"/>";
str = str + "<object yoffset=\"6.4\" xoffset=\"0\" object=\"oilpump_l\"/>";
str = str + "<object yoffset=\"6.4\" xoffset=\"550\" object=\"oilpump_r\"/>";
str = str + "<object yoffset=\"6.9\" top=\"1\" mratio=\"8\" cannonTimeOffset=\"40000,40000, 40000,40000\" tank=\"abrams\" xoffset=\"500\" mainObj=\"heli2_obj\" rotate=\"180\" EC=\"m1\" ECCount=\"1\" ECTime=\"70\" ECXOffset=\"0\" ECYOffset=\"0\" ECTimeOffset=\"4\"/>";
str = str + "<object yoffset=\"7\" xoffset=\"0\" object=\"oilpump_l\"/>";
str = str + "<object yoffset=\"7\" xoffset=\"550\" object=\"oilpump_r\" />";
str = str + "<object yoffset=\"7.4\" xoffset=\"160\" object=\"oiltanker1\"/>";
str = str + "<object yoffset=\"7.4\" xoffset=\"420\" object=\"oiltanker1\"/>";
str = str + "<object yoffset=\"7.8\" xoffset=\"40\" object=\"oilpump_l\"/>";
str = str + "<object yoffset=\"7.8\" xoffset=\"160\" object=\"oilpump_r\"/>";
str = str + "<object yoffset=\"7.9\" tank=\"abrams\" xoffset=\"150\" mainObj=\"heli1_obj\" endFrame=\"500\" endFrame=\"100\" movedWay=\"1\" movedWayOffset=\"50\" />";
str = str + "<object yoffset=\"8\" tank=\"abrams\" xoffset=\"400\" mainObj=\"heli1_obj\" endFrame=\"400\" endFrame=\"100\" movedWay=\"1\" movedWayOffset=\"40\"/>";
str = str + "<object yoffset=\"8.2\" xoffset=\"50\" object=\"oilpump_l\"/>";
str = str + "<object yoffset=\"8.2\" xoffset=\"500\" object=\"oilpump_r\" />";
str = str + "<object yoffset=\"8.4\" mratio=\"4\" tank=\"abrams\" xoffset=\"0\" mainObj=\"hummer_obj\" rotate=\"0\" endFrame=\"310\" />";
str = str + "<object yoffset=\"8.6\" xoffset=\"50\" object=\"oilpump_l\"/>";
str = str + "<object yoffset=\"8.6\" xoffset=\"500\" object=\"oilpump_r\" />";
str = str + "<object yoffset=\"8.8\" mratio=\"5\" tank=\"abrams\" xoffset=\"500\" mainObj=\"hummer_obj\" rotate=\"180\" endFrame=\"380\" />";
str = str + "<object yoffset=\"9\" xoffset=\"50\" object=\"oilpump_l\" />";
str = str + "<object yoffset=\"9\" xoffset=\"500\" object=\"oilpump_r\" />";
str = str + "<object yoffset=\"9.2\" mratio=\"4\" tank=\"abrams\" xoffset=\"0\" mainObj=\"hummer_obj\" rotate=\"0\" endFrame=\"510\" />";
str = str + "<object yoffset=\"9.3\" mratio=\"4\" tank=\"abrams\" xoffset=\"500\" mainObj=\"hummer_obj\" rotate=\"180\" endFrame=\"600\" />";
str = str + "<object yoffset=\"9.5\" xoffset=\"50\" object=\"junk\" linkage=\"junk_1_1\"/>";
str = str + "<object yoffset=\"9.5\" xoffset=\"490\" object=\"junk\" linkage=\"junk_1_1\"/>";
str = str + "<object yoffset=\"9.5\" top=\"1\" mratio=\"8\" cannonTimeOffset=\"40000,40000, 40000,40000\" tank=\"abrams\" xoffset=\"500\" mainObj=\"heli2_obj\" rotate=\"180\" EC=\"m1\" ECCount=\"1\" ECTime=\"70\" ECXOffset=\"0\" ECYOffset=\"0\" ECTimeOffset=\"4\"/>";
str = str + "<object yoffset=\"10.3\" tank=\"abrams\" cannonTimeOffset=\"40\" xoffset=\"110\" mainObj=\"heli1_obj\" endFrame=\"500\" endFrame=\"100\" movedWay=\"1\" movedWayOffset=\"50\" />";
str = str + "<object yoffset=\"10.7\" tank=\"abrams\" cannonTimeOffset=\"40\" xoffset=\"440\" mainObj=\"heli1_obj\" endFrame=\"400\" endFrame=\"100\" movedWay=\"1\" movedWayOffset=\"40\"/>";
str = str + "<object yoffset=\"11\" xoffset=\"100\" object=\"tower1\"/>";
str = str + "<object yoffset=\"11\" xoffset=\"100\" cannonTimeOffset=\"120\" tank=\"towergun_obj\" />";
str = str + "<object yoffset=\"11\" xoffset=\"450\" object=\"tower1\"/>";
str = str + "<object yoffset=\"11\" xoffset=\"450\" cannonTimeOffset=\"50\" tank=\"towergun_obj\" />";
str = str + "<object yoffset=\"11.2\" mratio=\"4\" tank=\"abrams\" xoffset=\"140\" mainObj=\"truck_obj\" rotate=\"0\" endFrame=\"300\" base=\"truck4\" /> ";
str = str + "<object yoffset=\"11.1\" xoffset=\"-50\" object=\"wall1\"/>";
str = str + "<object yoffset=\"11.1\" xoffset=\"0\" object=\"wall1\"/>";
str = str + "<object yoffset=\"11.1\" xoffset=\"50\" object=\"wall1\"/>";
str = str + "<object yoffset=\"11.1\" xoffset=\"100\" object=\"wall1\"/>";
str = str + "<object yoffset=\"11.1\" xoffset=\"150\" object=\"wall1\"/>";
str = str + "<object yoffset=\"11.1\" xoffset=\"350\" object=\"wall1\"/>";
str = str + "<object yoffset=\"11.1\" xoffset=\"400\" object=\"wall1\"/>";
str = str + "<object yoffset=\"11.1\" xoffset=\"450\" object=\"wall1\"/>";
str = str + "<object yoffset=\"11.1\" xoffset=\"500\" object=\"wall1\"/>";
str = str + "<object yoffset=\"12\" mratio=\"8\" tank=\"abrams\" xoffset=\"50\" mainObj=\"buggy_obj\" rotate=\"45\" endFrame=\"310\" />";
str = str + "<object yoffset=\"12.4\" mratio=\"8\" tank=\"abrams\" xoffset=\"500\" mainObj=\"buggy_obj\" rotate=\"125\" endFrame=\"300\" />";
str = str + "<object yoffset=\"12\" object=\"building\" linkage=\"base03_l\"/>";
str = str + "<object yoffset=\"12.1\" command=\"textBar2\" text=\"Stop... Enough... Leave your rusty friend and walk the hell away.\" color=\"ffffff\" interval=\"4700\" alphaDelta=\"50\" />";
str = str + "<object yoffset=\"12.7\" command=\"slideConstant\" factor=\"0.99\" limit=\"0\"/>";
str = str + "<object yoffset=\"12.4\" xoffset=\"230\" object=\"junk\" linkage=\"junk_1_1\"/>";
str = str + "<object yoffset=\"12.4\" xoffset=\"275\" object=\"junk\" linkage=\"junk_1_2\"/>";
str = str + "<object yoffset=\"12.4\" xoffset=\"330\" object=\"junk\" linkage=\"junk_1_1\"/>";
str = str + "<object yoffset=\"12.4\" xoffset=\"390\" object=\"junk\" linkage=\"junk_1_2\"/>";
str = str + "<object yoffset=\"12.4\" xoffset=\"440\" object=\"junk\" linkage=\"junk_1_2\"/>";
str = str + "<object yoffset=\"12.5\" xoffset=\"170\" object=\"junk\" linkage=\"junk_1_1\"/>";
str = str + "<object yoffset=\"12.5\" xoffset=\"230\" object=\"junk\" linkage=\"junk_1_2\"/>";
str = str + "<object yoffset=\"12.5\" xoffset=\"275\" object=\"junk\" linkage=\"junk_1_1\"/>";
str = str + "<object yoffset=\"12.5\" xoffset=\"330\" object=\"junk\" linkage=\"junk_1_2\"/>";
str = str + "<object yoffset=\"12.5\" xoffset=\"390\" object=\"junk\" linkage=\"junk_1_1\"/>";
str = str + "<object yoffset=\"12.5\" xoffset=\"450\" object=\"junk\" linkage=\"junk_1_2\"/>";
str = str + "<object yoffset=\"12.5\" xoffset=\"520\" object=\"junk\" linkage=\"junk_1_4\"/>";
str = str + "<object yoffset=\"12.6\" xoffset=\"110\" object=\"junk\" linkage=\"junk_1_2\"/>";
str = str + "<object yoffset=\"12.6\" xoffset=\"170\" object=\"junk\" linkage=\"junk_1_2\"/>";
str = str + "<object yoffset=\"12.6\" xoffset=\"230\" object=\"junk\" linkage=\"junk_1_2\"/>";
str = str + "<object yoffset=\"12.6\" xoffset=\"275\" object=\"junk\" linkage=\"junk_1_3\"/>";
str = str + "<object yoffset=\"12.6\" xoffset=\"330\" object=\"junk\" linkage=\"junk_1_3\"/>";
str = str + "<object yoffset=\"12.6\" xoffset=\"390\" object=\"junk\" linkage=\"junk_1_1\"/>";
str = str + "<object yoffset=\"12.6\" xoffset=\"450\" object=\"junk\" linkage=\"junk_1_2\"/>";
str = str + "<object yoffset=\"12.6\" xoffset=\"550\" object=\"junk\" linkage=\"junk_1_2\"/>";
str = str + "<object yoffset=\"12.7\" xoffset=\"110\" object=\"junk\" linkage=\"junk_1_3\"/>";
str = str + "<object yoffset=\"12.7\" xoffset=\"170\" object=\"junk\" linkage=\"junk_1_1\"/>";
str = str + "<object yoffset=\"12.7\" xoffset=\"230\" object=\"junk\" linkage=\"junk_1_2\"/>";
str = str + "<object yoffset=\"12.7\" xoffset=\"275\" object=\"junk\" linkage=\"junk_1_2\"/>";
str = str + "<object yoffset=\"12.7\" xoffset=\"330\" object=\"junk\" linkage=\"junk_1_3\"/>";
str = str + "<object yoffset=\"12.7\" xoffset=\"390\" object=\"junk\" linkage=\"junk_1_2\"/>";
str = str + "<object yoffset=\"12.7\" xoffset=\"450\" object=\"junk\" linkage=\"junk_1_1\"/>";
str = str + "<object yoffset=\"12.7\" xoffset=\"500\" object=\"junk\" linkage=\"junk_1_1\"/>";
str = str + "<object yoffset=\"12.7\" xoffset=\"550\" object=\"junk\" linkage=\"junk_1_1\"/>";
str = str + "<object yoffset=\"12.8\" xoffset=\"110\" object=\"junk\" linkage=\"junk_1_3\"/>";
str = str + "<object yoffset=\"12.8\" xoffset=\"170\" object=\"junk\" linkage=\"junk_1_1\"/>";
str = str + "<object yoffset=\"12.8\" xoffset=\"230\" object=\"junk\" linkage=\"junk_1_2\"/>";
str = str + "<object yoffset=\"12.8\" xoffset=\"275\" object=\"junk\" linkage=\"junk_1_2\"/>";
str = str + "<object yoffset=\"12.8\" xoffset=\"330\" object=\"junk\" linkage=\"junk_1_3\"/>";
str = str + "<object yoffset=\"12.8\" xoffset=\"390\" object=\"junk\" linkage=\"junk_1_2\"/>";
str = str + "<object yoffset=\"12.8\" xoffset=\"450\" object=\"junk\" linkage=\"junk_1_1\"/>";
str = str + "<object yoffset=\"12.8\" xoffset=\"500\" object=\"junk\" linkage=\"junk_1_1\"/>";
str = str + "<object yoffset=\"12.8\" xoffset=\"550\" object=\"junk\" linkage=\"junk_1_1\"/>";
str = str + "</array>";
str = str + "</object>";
str = str + "<object name=\"level_4\">";
str = str + "<var name=\"comment1\" > The messege recieved: \u00ABWell, how do you like that? Bam, and you are a normal pedestrian again \u2013 like magic! But you are still going to plow on ahead, right?\u00BB</var>";
str = str + "<var name=\"screenSpeed\" value=\"3\" />";
str = str + "<var name=\"playerX\" value=\"275\" />";
str = str + "<var name=\"playerY\" value=\"30\" />";
str = str + "<var name=\"playerArmor\" value=\"100\" />";
str = str + "<var name=\"wiewShield\" value=\"0\" />";
str = str + "<var name=\"maxShield\" value=\"0\" />";
str = str + "<var name=\"playerAvailableWeapons\" value=\"7\" />";
str = str + "<var name=\"playerSelectorMode\" value=\"1\" />";
str = str + "<object name=\"childs\">";
str = str + "<object name=\"m1\" tank=\"abrams\" mainObj=\"mech_gunner_obj\"/>";
str = str + "<object name=\"m2\" tank=\"abrams\" mainObj=\"mech_rocket_obj\" bossBar=\"1\" armor=\"3000\" endFrame=\"100\" movedWay=\"1\" movedWayOffset=\"10\"/>";
str = str + "<object name=\"m3\" object=\"exploder\" />";
str = str + "<object name=\"m4\" tank=\"abrams\" mainObj=\"mech_boss_obj\"/>";
str = str + "</object>";
str = str + "<array name=\"level\">";
str = str + "<object yoffset=\"1.4\" command=\"textBar2\" text=\"You will die soon you piece of flesh!!!\" color=\"ffffff\" interval=\"2900\" alphaDelta=\"50\"/>";
str = str + "<object yoffset=\"2.8\" bonus=\"lazer\" xoffset=\"170\"/>";
str = str + "<object yoffset=\"4.2\" bonus=\"health\" xoffset=\"400\"/>";
str = str + "<object yoffset=\"4.8\" bonus=\"health\" xoffset=\"400\"/>";
str = str + "<object yoffset=\"4.7\" bonus=\"lazer\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"5\" bonus=\"health\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"5.7\" bonus=\"shield\" xoffset=\"400\"/>";
str = str + "<object yoffset=\"5.9\" bonus=\"health\" xoffset=\"400\"/>";
str = str + "<object yoffset=\"9.4\" bonus=\"health\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"0\" object=\"building\" linkage=\"base03_l\"/>";
str = str + "<object yoffset=\"0\" object=\"building\" linkage=\"base03_r\"/>";
str = str + "<object yoffset=\"0.5\" object=\"building\" linkage=\"base03_l\"/>";
str = str + "<object yoffset=\"0.5\" object=\"building\" linkage=\"base03_r\"/>";
str = str + "<object yoffset=\"1\" xoffset=\"105\" object=\"wall2\" />";
str = str + "<object yoffset=\"1\" xoffset=\"400\" object=\"wall2\" />";
str = str + "<object yoffset=\"1.2\" xoffset=\"150\" object=\"oiltanker1\" armor=\"40\"/>";
str = str + "<object yoffset=\"1.2\" xoffset=\"425\" object=\"oiltanker1\" armor=\"40\"/>";
str = str + "<object yoffset=\"1.6\" object=\"building\" linkage=\"base03_l\"/>";
str = str + "<object yoffset=\"1.6\" object=\"building\" linkage=\"base01_r\"/>";
str = str + "<object yoffset=\"1.7\" xoffset=\"154\" object=\"wall2\" />";
str = str + "<object yoffset=\"1.7\" xoffset=\"106\" object=\"wall2\" />";
str = str + "<object yoffset=\"2.5\" xoffset=\"414\" object=\"wall2\" />";
str = str + "<object yoffset=\"2.5\" xoffset=\"366\" object=\"wall2\" />";
str = str + "<object yoffset=\"2.7\" object=\"building\" linkage=\"base04_l\"/>";
str = str + "<object yoffset=\"2.7\" object=\"building\" linkage=\"base01_r\"/>";
str = str + "<object yoffset=\"5.8\" xoffset=\"170\" object=\"wall2\" />";
str = str + "<object yoffset=\"5.8\" xoffset=\"220\" object=\"wall2\" />";
str = str + "<object yoffset=\"3\" xoffset=\"90\" object=\"wall2\" />";
str = str + "<object yoffset=\"3\" xoffset=\"140\" object=\"wall2\" />";
str = str + "<object yoffset=\"3.8\" object=\"building\" linkage=\"base_01_l\"/>";
str = str + "<object yoffset=\"3.8\" object=\"building\" linkage=\"base_04_r\"/>";
str = str + "<object yoffset=\"3.8\" xoffset=\"100\" object=\"building\" linkage=\"base02_l\"/>";
str = str + "<object yoffset=\"3.8\" xoffset=\"450\" object=\"building\" linkage=\"base02_r\"/>";
str = str + "<object yoffset=\"4\" object=\"building\" linkage=\"base02_l\"/>";
str = str + "<object yoffset=\"5.2\" xoffset=\"350\" object=\"building\" linkage=\"base03_r\"/>";
str = str + "<object yoffset=\"5.1\" object=\"building\" linkage=\"base04_l\"/>";
str = str + "<object yoffset=\"5\" xoffset=\"100\" object=\"building\" linkage=\"base02_l\"/>";
str = str + "<object yoffset=\"5.4\" object=\"building\" linkage=\"base01_l\"/>";
str = str + "<object yoffset=\"8\" xoffset=\"480\" object=\"junk\" linkage=\"junk_1_2\"/>";
str = str + "<object yoffset=\"8\" xoffset=\"60\" object=\"junk\" linkage=\"junk_1_2\"/>";
str = str + "<object yoffset=\"8\" xoffset=\"9\" object=\"base03_l\" />";
str = str + "<object yoffset=\"8\" xoffset=\"10\" object=\"base03_r\" />";
str = str + "<object yoffset=\"1.9\" tank=\"abrams\" xoffset=\"135\" endFrame=\"10\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"2.7\" tank=\"abrams\" xoffset=\"410\" endFrame=\"10\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"2.9\" tank=\"abrams\" xoffset=\"200\" mainObj=\"hummer_obj\" movedWay=\"1\" movedWayOffset=\"30\"/>";
str = str + "<object yoffset=\"3.5\" tank=\"abrams\" xoffset=\"490\" endFrame=\"10\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"3.8\" tank=\"abrams\" xoffset=\"40\" endFrame=\"10\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"4.2\" tank=\"abrams\" xoffset=\"40\" endFrame=\"10\" mainObj=\"soldier_obj\" /> ";
str = str + "<object yoffset=\"4.5\" tank=\"abrams\" xoffset=\"490\" endFrame=\"10\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"4.9\" tank=\"abrams\" xoffset=\"50\" endFrame=\"7\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"5.3\" tanwk=\"abrams\" xoffset=\"135\" endFrame=\"7\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"6.3\" tank=\"abrams\" xoffset=\"40\" endFrame=\"7\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"6.3\" tank=\"abrams\" xoffset=\"210\" mainObj=\"hummer_obj\" movedWay=\"1\" movedWayOffset=\"30\" />";
str = str + "<object yoffset=\"6.6\" tank=\"abrams\" xoffset=\"480\" mainObj=\"hummer_obj\" movedWay=\"1\" movedWayOffset=\"30\"/>";
str = str + "<object yoffset=\"7.3\" tank=\"abrams\" xoffset=\"40\" endFrame=\"7\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"5.4\" tank=\"abrams\" xoffset=\"150\" endFrame=\"7\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"5.7\" tank=\"abrams\" xoffset=\"140\" endFrame=\"7\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"5.5\" tank=\"abrams\" xoffset=\"50\" endFrame=\"7\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"4.9\" tank=\"abrams\" xoffset=\"50\" endFrame=\"7\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"6.6\" tank=\"abrams\" xoffset=\"50\" endFrame=\"7\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"6.6\" tank=\"abrams\" xoffset=\"140\" endFrame=\"7\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"6.9\" tank=\"abrams\" xoffset=\"150\" endFrame=\"7\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"7.5\" xoffset=\"0\" top=\"1\" mratio=\"8\" cannonTimeOffset=\"40000,40000, 40000,40000\" tank=\"abrams\" xoffset=\"500\" mainObj=\"heli2_obj\" rotate=\"0\" EC=\"m2\" ECCount=\"1\" ECTime=\"75\" ECXOffset=\"0\" ECYOffset=\"0\" ECTimeOffset=\"4\"/>";
str = str + "<object yoffset=\"8.7\" tank=\"abrams\" xoffset=\"275\" mainObj=\"truck_obj\" armor=\"250\" base=\"truck1\" child=\"m3\" movedWay=\"1\" endFrame=\"300\" movedWayOffset=\"50\"/>";
str = str + "<object yoffset=\"9.7\" tank=\"abrams\" xoffset=\"180\" mainObj=\"truck_obj\" armor=\"250\" base=\"truck1\" child=\"m3\" movedWay=\"1\" endFrame=\"300\" movedWayOffset=\"50\"/>";
str = str + "</array>";
str = str + "</object>";
str = str + "<object name=\"level_5\">";
str = str + "<var name=\"comment1\" > The messege recieved: \u00ABWhat, are you feeling homesick for your lawnmower? Well then, go ahead and try to get it back\u00BB.</var>";
str = str + "<var name=\"screenSpeed\" value=\"3\" />";
str = str + "<var name=\"playerX\" value=\"275\" />";
str = str + "<var name=\"playerY\" value=\"100\" />";
str = str + "<var name=\"playerArmor\" value=\"150\" />";
str = str + "<var name=\"maxShield\" value=\"0\" />";
str = str + "<var name=\"wiewShield\" value=\"0\" />";
str = str + "<var name=\"playerAvailableWeapons\" value=\"7\" />";
str = str + "<var name=\"playerSelectorMode\" value=\"1\" />";
str = str + "<object name=\"childs\">";
str = str + "<object yoffset=\"0.9\" xoffset=\"275\" tank=\"robogear\" armor=\"600\"/>";
str = str + "<object name=\"m1\" tank=\"abrams\" mratio=\"2\" mainObj=\"mech_gunner_obj\" cannonTimeOffset=\"20\" />";
str = str + "<object name=\"m2\" tank=\"abrams\" mainObj=\"mech_rocket_obj\"/>";
str = str + "<object name=\"m3\" tank=\"abrams\" mratio=\"2\" mainObj=\"soldier_obj\"/>";
str = str + "<object name=\"m4\" tank=\"abrams\" mratio=\"2\" rotate=\"180\" armor=\"800\" endFrame=\"4\"/>";
str = str + "</object>";
str = str + "<array name=\"level\">";
str = str + "<object yoffset=\"1\" bonus=\"lazer\" xoffset=\"400\"/>";
str = str + "<object yoffset=\"3\" bonus=\"health\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"3.2\" bonus=\"lazer\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"4.5\" bonus=\"health\" xoffset=\"315\"/>";
str = str + "<object yoffset=\"5.6\" bonus=\"health\" xoffset=\"440\"/>";
str = str + "<object yoffset=\"6\" bonus=\"lazer\" xoffset=\"250\"/>";
str = str + "<object yoffset=\"7\" bonus=\"health\" xoffset=\"275\"/> ";
str = str + "<object yoffset=\"8\" bonus=\"health\" xoffset=\"160\"/> ";
str = str + "<object yoffset=\"8.5\" bonus=\"health\" xoffset=\"360\"/> ";
str = str + "<object yoffset=\"9.1\" bonus=\"health\" xoffset=\"315\"/>";
str = str + "<object yoffset=\"9.8\" bonus=\"health\" xoffset=\"350\"/>";
str = str + "<object yoffset=\"10.2\" bonus=\"health\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"11\" bonus=\"health\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"11.8\" bonus=\"health\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"12.5\" bonus=\"health\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"0.7\" xoffset=\"0\" object=\"building\" linkage=\"base04_l\"/>";
str = str + "<object yoffset=\"1\" xoffset=\"0\" object=\"wall1\" />";
str = str + "<object yoffset=\"1\" xoffset=\"50\" object=\"wall1\" />";
str = str + "<object yoffset=\"1\" xoffset=\"100\" object=\"wall1\" />";
str = str + "<object yoffset=\"1\" xoffset=\"150\" object=\"wall1\" />";
str = str + "<object yoffset=\"1\" xoffset=\"200\" object=\"wall1\" />";
str = str + "<object yoffset=\"1.3\" xoffset=\"470\" object=\"junk\" linkage=\"junk_1_1\"/>";
str = str + "<object yoffset=\"1.4\" xoffset=\"470\" object=\"junk\" linkage=\"junk_1_2\"/>";
str = str + "<object yoffset=\"1.5\" xoffset=\"350\" object=\"wall1\" />";
str = str + "<object yoffset=\"1.5\" xoffset=\"400\" object=\"wall1\" />";
str = str + "<object yoffset=\"1.5\" xoffset=\"450\" object=\"wall1\" />";
str = str + "<object yoffset=\"1.5\" xoffset=\"500\" object=\"wall1\" />";
str = str + "<object yoffset=\"1.6\" xoffset=\"460\" object=\"junk\" linkage=\"junk_1_4\"/>";
str = str + "<object yoffset=\"1.7\" xoffset=\"470\" object=\"junk\" linkage=\"junk_1_1\"/>";
str = str + "<object yoffset=\"1.8\" xoffset=\"470\" object=\"junk\" linkage=\"junk_1_2\"/>";
str = str + "<object yoffset=\"2\" xoffset=\"0\" object=\"wall1\" />";
str = str + "<object yoffset=\"2\" xoffset=\"50\" object=\"wall1\" />";
str = str + "<object yoffset=\"2\" xoffset=\"100\" object=\"wall1\" />";
str = str + "<object yoffset=\"2\" xoffset=\"150\" object=\"wall1\" />";
str = str + "<object yoffset=\"2\" xoffset=\"200\" object=\"wall1\" />";
str = str + "<object yoffset=\"2.5\" xoffset=\"350\" object=\"wall1\" />";
str = str + "<object yoffset=\"2.5\" xoffset=\"400\" object=\"wall1\" />";
str = str + "<object yoffset=\"2.5\" xoffset=\"450\" object=\"wall1\" />";
str = str + "<object yoffset=\"2.5\" xoffset=\"500\" object=\"wall1\" />";
str = str + "<object yoffset=\"3\" xoffset=\"0\" object=\"wall1\" />";
str = str + "<object yoffset=\"3\" xoffset=\"50\" object=\"wall1\" />";
str = str + "<object yoffset=\"3\" xoffset=\"100\" object=\"wall1\" />";
str = str + "<object yoffset=\"3\" xoffset=\"450\" object=\"wall1\" />";
str = str + "<object yoffset=\"3\" xoffset=\"500\" object=\"wall1\" />";
str = str + "<object yoffset=\"3\" xoffset=\"550\" object=\"wall1\" />";
str = str + "<object yoffset=\"3.2\" xoffset=\"460\" object=\"junk\" linkage=\"junk_1_4\"/>";
str = str + "<object yoffset=\"3.3\" xoffset=\"470\" object=\"junk\" linkage=\"junk_1_1\"/>";
str = str + "<object yoffset=\"3.4\" xoffset=\"470\" object=\"junk\" linkage=\"junk_1_2\"/>";
str = str + "<object yoffset=\"3.2\" xoffset=\"130\" object=\"junk\" linkage=\"junk_1_4\"/>";
str = str + "<object yoffset=\"3.3\" xoffset=\"130\" object=\"junk\" linkage=\"junk_1_1\"/>";
str = str + "<object yoffset=\"3.4\" xoffset=\"130\" object=\"junk\" linkage=\"junk_1_2\"/>";
str = str + "<object yoffset=\"6.8\" xoffset=\"0\" object=\"wall1\" />";
str = str + "<object yoffset=\"6.8\" xoffset=\"50\" object=\"wall1\" />";
str = str + "<object yoffset=\"6.8\" xoffset=\"100\" object=\"wall1\" />";
str = str + "<object yoffset=\"6.8\" xoffset=\"400\" object=\"wall1\" />";
str = str + "<object yoffset=\"6.8\" xoffset=\"450\" object=\"wall1\" />";
str = str + "<object yoffset=\"6.8\" xoffset=\"500\" object=\"wall1\" />";
str = str + "<object yoffset=\"6.8\" xoffset=\"550\" object=\"wall1\" /> ";
str = str + "<object yoffset=\"7\" xoffset=\"50\" object=\"tower1\" />";
str = str + "<object yoffset=\"7\" xoffset=\"50\" tank=\"towergun_obj\" />";
str = str + "<object yoffset=\"7\" xoffset=\"500\" object=\"tower1\" />";
str = str + "<object yoffset=\"7\" xoffset=\"500\" tank=\"towergun_obj\" cannonTimeOffset=\"80\" />";
str = str + "<object yoffset=\"7.4\" xoffset=\"-50\" rotate=\"90\" object=\"hangar1\" />";
str = str + "<object yoffset=\"7.4\" xoffset=\"450\" rotate=\"90\" object=\"hangar1\" />";
str = str + "<object yoffset=\"7.7\" xoffset=\"-50\" rotate=\"90\" object=\"hangar1\" />";
str = str + "<object yoffset=\"7.7\" xoffset=\"450\" rotate=\"90\" object=\"hangar1\" />";
str = str + "<object yoffset=\"8\" xoffset=\"20\" object=\"oiltanker1\" armor=\"40\"/>";
str = str + "<object yoffset=\"8\" xoffset=\"530\" object=\"oiltanker1\" armor=\"40\"/>";
str = str + "<object yoffset=\"8.3\" xoffset=\"50\" object=\"tower1\" />";
str = str + "<object yoffset=\"8.3\" xoffset=\"50\" tank=\"towergun_obj\" cannonTimeOffset=\"50\" />";
str = str + "<object yoffset=\"8.3\" xoffset=\"500\" object=\"tower1\" />";
str = str + "<object yoffset=\"8.3\" xoffset=\"500\" tank=\"towergun_obj\" />";
str = str + "<object yoffset=\"8.7\" xoffset=\"-50\" rotate=\"90\" object=\"hangar1\" />";
str = str + "<object yoffset=\"8.7\" xoffset=\"450\" rotate=\"90\" object=\"hangar1\" />";
str = str + "<object yoffset=\"8.9\" xoffset=\"-50\" rotate=\"90\" object=\"hangar1\" />";
str = str + "<object yoffset=\"8.9\" xoffset=\"450\" rotate=\"90\" object=\"hangar1\" />";
str = str + "<object yoffset=\"9.4\" xoffset=\"0\" object=\"wall1\" />";
str = str + "<object yoffset=\"9.4\" xoffset=\"50\" object=\"wall1\" />";
str = str + "<object yoffset=\"9.4\" xoffset=\"100\" object=\"wall1\" /> ";
str = str + "<object yoffset=\"9.4\" xoffset=\"400\" object=\"wall1\" />";
str = str + "<object yoffset=\"9.4\" xoffset=\"450\" object=\"wall1\" />";
str = str + "<object yoffset=\"9.4\" xoffset=\"500\" object=\"wall1\" />";
str = str + "<object yoffset=\"9.3\" object=\"building\" linkage=\"base03_l\"/>";
str = str + "<object yoffset=\"9.3\" object=\"building\" linkage=\"base04_r\"/>";
str = str + "<object yoffset=\"1\" tank=\"abrams\" xoffset=\"430\" mainObj=\"hummer_obj\" movedWay=\"1\" movedWayOffset=\"50\"/>";
str = str + "<object yoffset=\"1.4\" tank=\"abrams\" xoffset=\"300\" mainObj=\"hummer_obj\" movedWay=\"1\" movedWayOffset=\"30\"/>";
str = str + "<object yoffset=\"1.5\" tank=\"abrams\" xoffset=\"20\" endFrame= \"20\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"1.9\" tank=\"abrams\" xoffset=\"40\" endFrame= \"20\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"2\" tank=\"abrams\" xoffset=\"50\" endFrame=\"20\" mainObj=\"soldier_obj\" /> ";
str = str + "<object yoffset=\"2.3\" tank=\"abrams\" xoffset=\"550\" rotate=\"180\" mainObj=\"hummer_obj\" endFrame=\"500\" />";
str = str + "<object yoffset=\"2.5\" tank=\"abrams\" xoffset=\"40\" endFrame=\"20\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"2.7\" tank=\"abrams\" xoffset=\"40\" endFrame=\"20\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"2.9\" tank=\"abrams\" xoffset=\"550\" rotate=\"180\" mainObj=\"hummer_obj\" endFrame=\"500\" />";
str = str + "<object yoffset=\"4.2\" tank=\"abrams\" xoffset=\"550\" mainObj=\"buggy_obj\" base=\"truck1\" way=\"player\" speed=\"5\" endFrame=\"100\" />";
str = str + "<object yoffset=\"4.5\" tank=\"abrams\" xoffset=\"0\" mainObj=\"buggy_obj\" base=\"truck1\" way=\"player\" speed=\"5\" endFrame=\"100\" />";
str = str + "<object yoffset=\"4.7\" tank=\"abrams\" xoffset=\"500\" mainObj=\"buggy_obj\" base=\"truck1\" way=\"player\" speed=\"5\" endFrame=\"100\" />";
str = str + "<object yoffset=\"4.9\" tank=\"abrams\" xoffset=\"0\" mainObj=\"buggy_obj\" base=\"truck1\" way=\"player\" speed=\"5\" endFrame=\"100\" />";
str = str + "<object yoffset=\"5.1\" tank=\"abrams\" xoffset=\"550\" mainObj=\"buggy_obj\" base=\"truck1\" way=\"player\" speed=\"5\" endFrame=\"100\" />";
str = str + "<object yoffset=\"5\" xoffset=\"50\" tank=\"abrams\" mainObj=\"hummer_obj\" endFrame=\"220\" />";
str = str + "<object yoffset=\"5\" tank=\"abrams\" xoffset=\"500\" mainObj=\"hummer_obj\" endFrame=\"220\"/>";
str = str + "<object yoffset=\"5.2\" xoffset=\"150\" tank=\"abrams\" mainObj=\"hummer_obj\" endFrame=\"220\" />";
str = str + "<object yoffset=\"5.2\" xoffset=\"400\" tank=\"abrams\" mainObj=\"hummer_obj\" endFrame=\"220\" />";
str = str + "<object yoffset=\"6\" xoffset=\"200\" tank=\"abrams\" mainObj=\"hummer_obj\" endFrame=\"220\" />";
str = str + "<object yoffset=\"6\" xoffset=\"350\" tank=\"abrams\" mainObj=\"hummer_obj\" endFrame=\"220\" />";
str = str + "<object yoffset=\"6.8\" xoffset=\"150\" tank=\"abrams\" mainObj=\"hummer_obj\" endFrame=\"220\" />";
str = str + "<object yoffset=\"6.8\" xoffset=\"400\" tank=\"abrams\" mainObj=\"hummer_obj\" endFrame=\"220\" />";
str = str + "<object yoffset=\"7.6\" xoffset=\"200\" tank=\"abrams\" mainObj=\"hummer_obj\" endFrame=\"220\" />";
str = str + "<object yoffset=\"7.6\" xoffset=\"350\" tank=\"abrams\" mainObj=\"hummer_obj\" endFrame=\"220\" />";
str = str + "<object yoffset=\"8\" mratio=\"3\" tank=\"abrams\" xoffset=\"275\" mainObj=\"mech_gunner_obj\" movedWay=\"1\" movedWayOffset=\"40\" />";
str = str + "<object yoffset=\"9\" tank=\"abrams\" mratio=\"4\" xoffset=\"80\" way=\"line_way\" movedWay=\"1\" movedWayOffset=\"20\" rotate=\"90\" mainObj=\"heli1_obj\" />";
str = str + "<object yoffset=\"9\" tank=\"abrams\" mratio=\"4\" xoffset=\"460\" way=\"line_way\" movedWay=\"1\" movedWayOffset=\"20\" rotate=\"90\" mainObj=\"heli1_obj\" />";
str = str + "<object yoffset=\"10.5\" bossBar=\"1\" xoffset=\"275\" tank=\"abrams\" rotate=\"90\" mainObj=\"dropship_obj\" armor=\"1700\" movedWayOffset=\"70\" movedWay=\"1\" rotatedByWay=\"0\" mratio=\"2\" endFrame=\"40\" EC=\"m1\" ECCount=\"10\" ECTime=\"160\" ECXOffset=\"0\" ECYOffset=\"0\" ECTimeOffset=\"1\" />";
str = str + "</array>";
str = str + "</object>";
str = str + "<object name=\"level_6\">";
str = str + "<var name=\"comment1\" > The messege recieved: \u00ABYou know, before biting your head off, I would like to share a little something with you. A crazy thing \u2013 I talked to one of the people from the Group of the Creators again... It seems that the Theorem has turned even more transparent. Well, this is exactly what you came here for, right, you little freak?!\u00BB</var>";
str = str + "<var name=\"screenSpeed\" value=\"4\" />";
str = str + "<var name=\"playerX\" value=\"275\" />";
str = str + "<var name=\"playerY\" value=\"100\" />";
str = str + "<var name=\"playerArmor\" value=\"100\" />";
str = str + "<var name=\"wiewShield\" value=\"1\" />";
str = str + "<var name=\"playerAvailableWeapons\" value=\"7\" />";
str = str + "<var name=\"playerSelectorMode\" value=\"2\" />";
str = str + "<object name=\"childs\">";
str = str + "<object name=\"m1\" tank=\"abrams\" mainObj=\"mech_gunner_obj\"/>";
str = str + "<object name=\"m2\" tank=\"abrams\" mainObj=\"mech_rocket_obj\" mratio=\"2\" movedWay=\"1\" movedWayOffset=\"5\" />";
str = str + "<object name=\"m3\" tank=\"abrams\" mratio=\"2\" mainObj=\"soldier_obj\"/>";
str = str + "<object name=\"m4\" tank=\"abrams\" mainObj=\"mech_boss_obj\"/>";
str = str + "<object name=\"m5\" tank=\"abrams\" mainObj=\"exploder\"/>";
str = str + "</object>";
str = str + "<array name=\"level\">";
str = str + "<object yoffset=\"0.6\" bonus=\"1updater\" xoffset=\"300\"/>";
str = str + "<object yoffset=\"0.7\" bonus=\"1updater\" xoffset=\"300\"/>";
str = str + "<object yoffset=\"2.2\" bonus=\"rocket\" xoffset=\"250\"/>";
str = str + "<object yoffset=\"2.3\" bonus=\"rocket\" xoffset=\"250\"/>";
str = str + "<object yoffset=\"2.4\" bonus=\"rocket\" xoffset=\"250\"/>";
str = str + "<object yoffset=\"1\" bonus=\"lazer\" xoffset=\"290\"/>";
str = str + "<object yoffset=\"1.1\" bonus=\"lazer\" xoffset=\"290\"/>";
str = str + "<object yoffset=\"1.2\" bonus=\"lazer\" xoffset=\"290\"/>";
str = str + "<object yoffset=\"1.3\" bonus=\"shield\" xoffset=\"300\"/>";
str = str + "<object yoffset=\"4.7\" bonus=\"health\" xoffset=\"240\"/>";
str = str + "<object yoffset=\"5\" bonus=\"health\" xoffset=\"250\"/>";
str = str + "<object yoffset=\"7.9\" bonus=\"rocket\" xoffset=\"370\"/>";
str = str + "<object yoffset=\"7.8\" bonus=\"lazer\" xoffset=\"270\"/>";
str = str + "<object yoffset=\"7.5\" bonus=\"health\" xoffset=\"270\"/>";
str = str + "<object yoffset=\"9.1\" bonus=\"health\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"9.7\" bonus=\"1updater\" xoffset=\"230\"/>";
str = str + "<object yoffset=\"10\" bonus=\"health\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"10.5\" bonus=\"health\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"11\" bonus=\"lazer\" xoffset=\"290\"/>";
str = str + "<object yoffset=\"11.5\" bonus=\"shield\" xoffset=\"275\"/> ";
str = str + "<object yoffset=\"12\" bonus=\"health\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"12.8\" bonus=\"health\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"1\" object=\"building\" linkage=\"base03_l\"/>";
str = str + "<object yoffset=\"1\" yoffset=\"580\" object=\"building\" linkage=\"base03_r\"/>";
str = str + "<object yoffset=\"1.5\" object=\"building\" linkage=\"base03_l\"/>";
str = str + "<object yoffset=\"1.5\" object=\"building\" linkage=\"base03_r\"/>";
str = str + "<object yoffset=\"2.6\" object=\"building\" linkage=\"base03_l\"/>";
str = str + "<object yoffset=\"2.6\" object=\"building\" linkage=\"base01_r\"/>";
str = str + "<object yoffset=\"3.6\" xoffset=\"110\" object=\"junk\" linkage=\"junk_1_1\"/>";
str = str + "<object yoffset=\"3.7\" object=\"building\" linkage=\"base04_l\"/>";
str = str + "<object yoffset=\"3.7\" object=\"building\" linkage=\"base01_r\"/>";
str = str + "<object yoffset=\"6.4\" object=\"building\" linkage=\"base02_l\"/>";
str = str + "<object yoffset=\"6.4\" object=\"building\" linkage=\"base02_r\"/>";
str = str + "<object yoffset=\"7.9\" xoffset=\"230\" object=\"wall2\" />";
str = str + "<object yoffset=\"7.9\" xoffset=\"270\" object=\"wall2\" />";
str = str + "<object yoffset=\"8.4\" xoffset=\"150\" object=\"oiltanker1\" armor=\"40\"/>";
str = str + "<object yoffset=\"8.4\" xoffset=\"425\" object=\"oiltanker1\" armor=\"40\"/>";
str = str + "<object yoffset=\"7\" xoffset=\"-50\" object=\"building\" linkage=\"base03_l\"/>";
str = str + "<object yoffset=\"7.6\" xoffset=\"50\" object=\"building\" linkage=\"base03_r\"/>";
str = str + "<object yoffset=\"9.4\" object=\"building\" linkage=\"base02_l\"/>";
str = str + "<object yoffset=\"9.4\" object=\"building\" linkage=\"base02_r\"/>";
str = str + "<object yoffset=\"13.5\" object=\"building\" linkage=\"base01_l\"/>";
str = str + "<object yoffset=\"13.5\" object=\"building\" linkage=\"base04_r\"/>";
str = str + "<object yoffset=\"1.5\" xoffset=\"0\" top=\"1\" mratio=\"8\" cannonTimeOffset=\"40000,40000, 40000,40000\" tank=\"abrams\" xoffset=\"500\" mainObj=\"heli2_obj\" rotate=\"0\" EC=\"m2\" ECCount=\"1\" ECTime=\"55\" ECXOffset=\"0\" ECYOffset=\"0\" ECTimeOffset=\"4\"/>";
str = str + "<object yoffset=\"3\" xoffset=\"550\" top=\"1\" mratio=\"8\" cannonTimeOffset=\"40000,40000, 40000,40000\" tank=\"abrams\" xoffset=\"500\" mainObj=\"heli2_obj\" rotate=\"180\" EC=\"m2\" ECCount=\"1\" ECTime=\"55\" ECXOffset=\"0\" ECYOffset=\"0\" ECTimeOffset=\"4\"/>";
str = str + "<object yoffset=\"2.3\" tank=\"abrams\" xoffset=\"50\" endFrame=\"300\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"2.5\" tank=\"abrams\" xoffset=\"530\" endFrame=\"7\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"3\" tank=\"abrams\" xoffset=\"500\" endFrame=\"10\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"3.6\" tank=\"abrams\" xoffset=\"50\" endFrame=\"10\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"3.6\" tank=\"abrams\" xoffset=\"500\" endFrame=\"10\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"4.1\" tank=\"abrams\" xoffset=\"40\" mainObj=\"soldier_obj\" endFrame=\"7\" />";
str = str + "<object yoffset=\"5.2\" xoffset=\"150\" tank=\"abrams\" mainObj=\"hummer_obj\" endFrame=\"220\" mratio=\"4\" movedWay=\"1\" movedWayOffset=\"35\" />";
str = str + "<object yoffset=\"5.2\" xoffset=\"420\" tank=\"abrams\" mainObj=\"hummer_obj\" endFrame=\"220\" mratio=\"4\" movedWay=\"1\" movedWayOffset=\"35\" />";
str = str + "<object yoffset=\"4.5\" tank=\"abrams\" xoffset=\"500\" endFrame=\"10\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"4.8\" tank=\"abrams\" xoffset=\"40\" mainObj=\"soldier_obj\" endFrame=\"7\"/>";
str = str + "<object yoffset=\"5.2\" tank=\"abrams\" xoffset=\"50\" endFrame=\"7\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"6.3\" xoffset=\"350\" tank=\"abrams\" mainObj=\"hummer_obj\" endFrame=\"220\" mratio=\"4\" movedWay=\"1\" movedWayOffset=\"35\"/>";
str = str + "<object yoffset=\"6.3\" xoffset=\"200\" tank=\"abrams\" mainObj=\"hummer_obj\" endFrame=\"220\" mratio=\"4\" movedWay=\"1\" movedWayOffset=\"35\"/>";
str = str + "<object yoffset=\"5.6\" tank=\"abrams\" xoffset=\"500\" endFrame=\"10\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"5.8\" tank=\"abrams\" xoffset=\"50\" endFrame=\"10\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"6.2\" tank=\"abrams\" mainObj=\"buggy_obj\" xoffset=\"550\" rotate=\"180\" mratio=\"5\"/>";
str = str + "<object yoffset=\"6.3\" tank=\"abrams\" mainObj=\"buggy_obj\" xoffset=\"-50\" rotate=\"0\" mratio=\"5\"/> ";
str = str + "<object yoffset=\"7.1\" tank=\"abrams\" xoffset=\"40\" endFrame=\"10\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"7.1\" tank=\"abrams\" xoffset=\"510\" endFrame=\"10\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"7.4\" tank=\"abrams\" mratio=\"3\" xoffset=\"150\" way=\"line_way\" movedWay=\"1\" movedWayOffset=\"50\" rotate=\"90\" mainObj=\"heli1_obj\" />";
str = str + "<object yoffset=\"7.7\" tank=\"abrams\" mratio=\"3\" xoffset=\"450\" way=\"line_way\" movedWay=\"1\" movedWayOffset=\"50\" rotate=\"90\" mainObj=\"heli1_obj\" />";
str = str + "<object yoffset=\"7.9\" tank=\"abrams\" xoffset=\"50\" endFrame=\"10\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"7.9\" tank=\"abrams\" xoffset=\"500\" endFrame=\"10\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"8.2\" xoffset=\"275\" object=\"tower1\" />";
str = str + "<object yoffset=\"8.2\" xoffset=\"275\" tank=\"towergun_obj\" cannonTimeOffset=\"50\" />";
str = str + "<object yoffset=\"9.3\" tank=\"abrams\" xoffset=\"150\" endFrame=\"400\" mainObj=\"mech_gunner_obj\" movedWay=\"1\" movedWayOffset=\"45\"/>";
str = str + "<object yoffset=\"9.9\" tank=\"abrams\" xoffset=\"400\" endFrame=\"300\" mainObj=\"mech_gunner_obj\" movedWay=\"1\" movedWayOffset=\"45\"/>";
str = str + "<object yoffset=\"10.1\" tank=\"abrams\" xoffset=\"40\" endFrame=\"10\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"10.1\" tank=\"abrams\" xoffset=\"510\" endFrame=\"10\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"10.9\" tank=\"abrams\" xoffset=\"50\" endFrame=\"10\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"10.9\" tank=\"abrams\" xoffset=\"500\" endFrame=\"10\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"11\" tank=\"abrams\" xoffset=\"60\" endFrame=\"10\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"11\" tank=\"abrams\" xoffset=\"510\" endFrame=\"10\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"11.3\" tank=\"abrams\" xoffset=\"50\" endFrame=\"10\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"11.3\" tank=\"abrams\" xoffset=\"500\" endFrame=\"10\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"11.4\" tank=\"abrams\" xoffset=\"40\" endFrame=\"10\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"11.4\" tank=\"abrams\" xoffset=\"490\" endFrame=\"10\" mainObj=\"soldier_obj\" />";
str = str + "<object yoffset=\"13.2\" armor=\"250\" mratio=\"14\" tank=\"abrams\" rotate=\"180\" xoffset=\"500\" mainObj=\"hummer_obj\" cannonTimeOffset=\"59\" endFrame=\"700\" base=\"truck4\"/>";
str = str + "<object yoffset=\"13.2\" armor=\"550\" mratio=\"14\" tank=\"abrams\" rotate=\"180\" xoffset=\"630\" mainObj=\"hummer_obj\" endFrame=\"700\" base=\"truck3\" />";
str = str + "<object yoffset=\"13.2\" tank=\"abrams\" xoffset=\"100\" movedWay=\"1\" movedWayOffset=\"50\" mainObj=\"heli2_obj\" endFrame=\"300\" />";
str = str + "<object yoffset=\"13.4\" tank=\"abrams\" xoffset=\"450\" movedWay=\"1\" movedWayOffset=\"50\" mainObj=\"heli2_obj\" endFrame=\"300\" />";
str = str + "<object yoffset=\"13.5\" command=\"slideConstant\" factor=\"0.98\" limit=\"0\"/>";
str = str + "</array>";
str = str + "</object>";
str = str + "<object name=\"level_7\">";
str = str + "<var name=\"comment1\" > The messege recieved: \u00ABSo tell me, what are you planning on doing now? After all, we both know the truth, right? Wait, what, are you still seriously planning on MAKING IT TO THE END???";
str = str + " Or is it that you are after my formulas, you little sonofabitch? What, are you really prepared to lose your life in this sorry-ass way?\u00BB</var>";
str = str + "<var name=\"screenSpeed\" value=\"5\" />";
str = str + "<var name=\"playerX\" value=\"275\" />";
str = str + "<var name=\"playerY\" value=\"100\" />";
str = str + "<var name=\"playerArmor\" value=\"100\" />";
str = str + "<var name=\"wiewShield\" value=\"1\" />";
str = str + "<var name=\"playerAvailableWeapons\" value=\"7\" />";
str = str + "<var name=\"playerSelectorMode\" value=\"2\" />";
str = str + "<object name=\"childs\">";
str = str + "<object name=\"m1\" tank=\"abrams\" mainObj=\"mech_gunner_obj\"/>";
str = str + "<object name=\"m2\" tank=\"abrams\" mainObj=\"mech_rocket_obj\"/>";
str = str + "<object name=\"m3\" tank=\"abrams\" mratio=\"2\" mainObj=\"soldier_obj\"/>";
str = str + "<object name=\"m4\" tank=\"abrams\" mratio=\"2\" rotate=\"180\" armor=\"800\" endFrame=\"4\"/>";
str = str + "</object>";
str = str + "<array name=\"level\">";
str = str + "<object yoffset=\"1\" bonus=\"1updater\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"1.1\" bonus=\"1updater\" xoffset=\"265\"/>";
str = str + "<object yoffset=\"1.3\" bonus=\"rocket\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"1.4\" bonus=\"rocket\" xoffset=\"265\"/>";
str = str + "<object yoffset=\"1.6\" bonus=\"lazer\" xoffset=\"275\"/>";
str = str + "<object yoffset=\"1.7\" bonus=\"lazer\" xoffset=\"265\"/>";
str = str + "<object yoffset=\"3.6\" bonus=\"shield\" xoffset=\"430\"/>";
str = str + "<object yoffset=\"4.7\" bonus=\"health\" xoffset=\"410\"/>";
str = str + "<object yoffset=\"5\" bonus=\"health\" xoffset=\"190\"/>";
str = str + "<object yoffset=\"7.8\" bonus=\"health\" xoffset=\"270\"/>";
str = str + "<object yoffset=\"8.5\" bonus=\"health\" xoffset=\"310\"/>";
str = str + "<object yoffset=\"9.3\" bonus=\"health\" xoffset=\"190\"/>";
str = str + "<object yoffset=\"10.1\" bonus=\"health\" xoffset=\"300\"/>";
str = str + "<object yoffset=\"10.9\" bonus=\"health\" xoffset=\"280\"/>";
str = str + "<object yoffset=\"11.5\" bonus=\"shield\" xoffset=\"275\"/> ";
str = str + "<object yoffset=\"12.3\" bonus=\"health\" xoffset=\"160\"/> ";
str = str + "<object yoffset=\"12.8\" bonus=\"health\" xoffset=\"360\"/> ";
str = str + "<object yoffset=\"13.2\" bonus=\"health\" xoffset=\"300\"/>";
str = str + "<object yoffset=\"14\" bonus=\"health\" xoffset=\"350\"/>";
str = str + "<object yoffset=\"4.9\" xoffset=\"300\" bossBar=\"1\" tank=\"abrams\" way=\"sin_way\" yratio=\"150\" xratio=\"130\" armor=\"4200\" rotate=\"0\" mainObj=\"mech_boss_obj\" mratio=\"1\" wayCycle=\"2\" movedWay=\"1\" movedWayOffset=\"50\" endFrame=\"300\"/>";
str = str + "<object yoffset=\"5.6\" mratio=\"1\" yratio=\"150\" tank=\"abrams\" armor=\"2000\" xoffset=\"150\" way=\"sin_way\" rotate=\"90\" reloadingTime=\"60000,60000,70,60000\" wayCycle=\"2\" rotatedByWay=\"0\" movedWay=\"1\" mainObj=\"heli2_obj\" movedWayOffset=\"60\" endFrame=\"150\" />";
str = str + "<object yoffset=\"5.6\" mratio=\"1\" yratio=\"150\" tank=\"abrams\" armor=\"2000\" xoffset=\"450\" way=\"sin_way\" rotate=\"90\" reloadingTime=\"60000,70,60000,60000\" wayCycle=\"2\" rotatedByWay=\"0\" movedWay=\"1\" mainObj=\"heli2_obj\" movedWayOffset=\"60\" endFrame=\"150\" />";
str = str + "<object yoffset=\"1.5\" tank=\"abrams\" xoffset=\"50\" mainObj=\"truck_obj\" base=\"truck2\" way=\"player\" speed=\"6\"/>";
str = str + "<object yoffset=\"2\" tank=\"abrams\" xoffset=\"430\" mainObj=\"truck_obj\" base=\"truck2\" way=\"player\" speed=\"6\"/>";
str = str + "<object yoffset=\"2\" tank=\"abrams\" xoffset=\"160\" endFrame=\"4\" mainObj=\"hummer_obj\" rotatedByWay=\"1\"/>";
str = str + "<object yoffset=\"2.7\" tank=\"abrams\" xoffset=\"400\" endFrame=\"400\" mainObj=\"mech_gunner_obj\" movedWay=\"1\" movedWayOffset=\"45\"/>";
str = str + "<object yoffset=\"3\" tank=\"abrams\" xoffset=\"150\" endFrame=\"400\" mainObj=\"mech_gunner_obj\" movedWay=\"1\" movedWayOffset=\"45\"/>";
str = str + "<object yoffset=\"9.9\" xoffset=\"-50\" tank=\"abrams\" rotate=\"45\" mainObj=\"hummer_obj\" mratio=\"8\" endFrame=\"500\" /> ";
str = str + "<object yoffset=\"10.2\" xoffset=\"550\" tank=\"abrams\" rotate=\"135\" mainObj=\"hummer_obj\" mratio=\"8\" endFrame=\"450\" />";
str = str + "<object yoffset=\"11.9\" tank=\"abrams\" xoffset=\"175\" mratio=\"3\" mainObj=\"mech_gunner_obj\" />";
str = str + "<object yoffset=\"13\" tank=\"abrams\" xoffset=\"400\" endFrame=\"500\" mainObj=\"mech_gunner_obj\" movedWay=\"1\" movedWayOffset=\"45\"/>";
str = str + "<object yoffset=\"17\" tank=\"abrams\" xoffset=\"275\" endFrame=\"200\" mainObj=\"soldier_obj\" armor=\"3000\" bulletType=\"lazer\" speed=\"20\" clip=\"15\" shotsTime=\"4\" bulletDamage=\"1\" cannonTimeOffset=\"150\" /> ";
str = str + "<object yoffset=\"17.5\" command=\"slideConstant\" factor=\"0.98\" limit=\"0\"/>";
str = str + "<object yoffset=\"17\" command=\"textBar2\" text=\"Nice to meet you. And good night...\" color=\"ffffff\" interval=\"4700\" alphaDelta=\"50\" />";
str = str + "<object yoffset=\"1\" xoffset=\"2\" object=\"building\" linkage=\"base01_r\" />";
str = str + "<object yoffset=\"1\" xoffset=\"-7\" object=\"building\" linkage=\"base01_l\" />";
str = str + "<object yoffset=\"3.3\" xoffset=\"3\" object=\"building\" linkage=\"base03_r\" />";
str = str + "<object yoffset=\"3.3\" xoffset=\"-6\" object=\"building\" linkage=\"base03_l\" />";
str = str + "<object yoffset=\"4.6\" xoffset=\"-7\" object=\"building\" linkage=\"base04_l\" />";
str = str + "<object yoffset=\"5\" xoffset=\"3\" object=\"building\" linkage=\"base03_2\" />";
str = str + "<object yoffset=\"7.8\" xoffset=\"519\" object=\"junk\" linkage=\"junk_1_3\" />";
str = str + "<object yoffset=\"7.8\" xoffset=\"145\" object=\"junk\" linkage=\"junk_1_3\" />";
str = str + "<object yoffset=\"7.8\" xoffset=\"62\" object=\"junk\" linkage=\"junk_1_1\" />";
str = str + "<object yoffset=\"7.9\" xoffset=\"541\" object=\"junk\" linkage=\"junk_1_3\" />";
str = str + "<object yoffset=\"7.9\" xoffset=\"455\" object=\"junk\" linkage=\"junk_1_3\" />";
str = str + "<object yoffset=\"8\" xoffset=\"51\" object=\"junk\" linkage=\"junk_1_2\" />";
str = str + "<object yoffset=\"8\" xoffset=\"66\" object=\"junk\" linkage=\"junk_1_2\" />";
str = str + "<object yoffset=\"8.1\" xoffset=\"478\" object=\"junk\" linkage=\"junk_1_1\" />";
str = str + "<object yoffset=\"8.4\" xoffset=\"410\" object=\"oiltanker1\" />";
str = str + "<object yoffset=\"8.4\" xoffset=\"531\" object=\"oiltanker1\" />";
str = str + "<object yoffset=\"8.4\" xoffset=\"61\" object=\"oiltanker1\" />";
str = str + "<object yoffset=\"8.4\" xoffset=\"181\" object=\"oiltanker1\" />";
str = str + "<object yoffset=\"8.7\" xoffset=\"411\" object=\"oiltanker1\" />";
str = str + "<object yoffset=\"8.7\" xoffset=\"530\" object=\"oiltanker1\" />";
str = str + "<object yoffset=\"8.7\" xoffset=\"61\" object=\"oiltanker1\" />";
str = str + "<object yoffset=\"8.7\" xoffset=\"180\" object=\"oiltanker1\" />";
str = str + "<object yoffset=\"8.9\" xoffset=\"498\" object=\"wall1\" />";
str = str + "<object yoffset=\"8.9\" xoffset=\"387\" object=\"wall1\" />";
str = str + "<object yoffset=\"8.9\" xoffset=\"485\" object=\"wall1\" />";
str = str + "<object yoffset=\"8.9\" xoffset=\"337\" object=\"wall1\" />";
str = str + "<object yoffset=\"8.9\" xoffset=\"436\" object=\"wall1\" />";
str = str + "<object yoffset=\"8.9\" xoffset=\"158\" object=\"wall1\" />";
str = str + "<object yoffset=\"8.9\" xoffset=\"47\" object=\"wall1\" />";
str = str + "<object yoffset=\"8.9\" xoffset=\"145\" object=\"wall1\" />";
str = str + "<object yoffset=\"8.9\" xoffset=\"-3\" object=\"wall1\" />";
str = str + "<object yoffset=\"8.9\" xoffset=\"96\" object=\"wall1\" />";
str = str + "<object yoffset=\"10\" xoffset=\"430\" object=\"oiltanker1\" />";
str = str + "<object yoffset=\"10\" xoffset=\"142\" object=\"oiltanker1\" />";
str = str + "<object yoffset=\"10.5\" xoffset=\"142\" object=\"oiltanker1\" />";
str = str + "<object yoffset=\"10.5\" xoffset=\"430\" object=\"oiltanker1\" />";
str = str + "<object yoffset=\"11.8\" xoffset=\"10\" object=\"building\" linkage=\"base03_r\" />";
str = str + "<object yoffset=\"11.8\" xoffset=\"0\" object=\"building\" linkage=\"base03_l\" />";
str = str + "</array>";
str = str + "</object>";
str = str + "</object>";
str = str + "</settings>";
debug("Loading main settings XML file...");
createXML();
Frame 7
stop();
_global.levelNum = 0;
Instance of Symbol 927 MovieClip "btn_sound" in Frame 7
onClipEvent (load) {
if (!sound.enable) {
gotoAndStop (2);
}
}
Frame 8
stop();
Frame 9
prebreefFunc();
Frame 10
stop();
if (_global.levels["level_" + levelNum] != undefined) {
_global.allowToStart = true;
globalStart();
}
Symbol 3 Button
on (press) {
openSite();
}
Symbol 19 MovieClip Frame 1
_visible = false;
Instance of Symbol 19 MovieClip "codeStopper" in Symbol 85 MovieClip Frame 1
onClipEvent (enterFrame) {
if (gameInProcess && (_parent.inMove)) {
_parent.play();
} else {
_parent.stop();
}
}
Symbol 86 MovieClip [player_base] Frame 1
stop();
Instance of Symbol 19 MovieClip "ex2" in Symbol 86 MovieClip [player_base] Frame 1
onClipEvent (load) {
delay = 20;
}
Symbol 86 MovieClip [player_base] Frame 2
stop();
makeDie(dd);
Symbol 88 MovieClip [player] Frame 1
#initclip 81
Object.registerClass("player", playerClass);
#endinitclip
Symbol 89 MovieClip [enemy] Frame 1
#initclip 16
Object.registerClass("enemy", enemyClass);
#endinitclip
Symbol 90 MovieClip [bullet] Frame 1
#initclip 17
Object.registerClass("bullet", bulletClass);
#endinitclip
Symbol 91 MovieClip [queue] Frame 1
#initclip 18
Object.registerClass("queue", queue);
#endinitclip
Instance of Symbol 87 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.stop();
pp = (Math.random() * 50) + 50;
step = 0;
}
onClipEvent (enterFrame) {
step++;
if (step >= pp) {
_parent._parent.play();
}
}
Symbol 99 MovieClip [bonus_health] Frame 1
#initclip 19
Object.registerClass("bonus_health", bonus);
#endinitclip
Symbol 106 MovieClip Frame 10
stop();
_parent.kill();
Symbol 107 MovieClip [userSplash] Frame 1
#initclip 20
Object.registerClass("userSplash", splashedObject);
#endinitclip
stop();
Symbol 107 MovieClip [userSplash] Frame 16
stop();
Symbol 112 MovieClip [playerShoot2] Frame 1
#initclip 21
Object.registerClass("playerShoot2", bulletClass);
#endinitclip
Instance of Symbol 19 MovieClip "codeStopper" in Symbol 112 MovieClip [playerShoot2] Frame 1
onClipEvent (enterFrame) {
if (gameInProcess) {
_parent.play();
} else {
_parent.stop();
}
}
Symbol 112 MovieClip [playerShoot2] Frame 10
stop();
Symbol 132 MovieClip Frame 1
if (_currentframe == 1) {
stop();
}
Symbol 132 MovieClip Frame 5
gotoAndStop (1);
Symbol 132 MovieClip Frame 15
gotoAndStop (1);
Symbol 132 MovieClip Frame 19
gotoAndStop (1);
Symbol 132 MovieClip Frame 33
gotoAndStop (1);
Symbol 132 MovieClip Frame 47
gotoAndStop (1);
Symbol 133 MovieClip [gun_jeep] Frame 1
#initclip 22
Object.registerClass("gun_jeep", cannon);
#endinitclip
Symbol 136 MovieClip [weapon2] Frame 1
#initclip 23
Object.registerClass("weapon2", bulletClass);
#endinitclip
Symbol 163 MovieClip [boul] Frame 15
stop();
this.removeMovieClip();
Symbol 167 MovieClip [weapon3] Frame 1
#initclip 24
Object.registerClass("weapon3", bulletClass);
#endinitclip
Instance of Symbol 19 MovieClip "codeStopper" in Symbol 167 MovieClip [weapon3] Frame 1
onClipEvent (enterFrame) {
if (gameInProcess) {
_parent.play();
} else {
_parent.stop();
}
}
Symbol 167 MovieClip [weapon3] Frame 15
stop();
Symbol 171 MovieClip [bonus_anim_health] Frame 36
this.removeMovieClip();
Symbol 178 MovieClip [player_gun] Frame 1
#initclip 25
Object.registerClass("player_gun", cannon);
#endinitclip
Symbol 228 MovieClip [explode] Frame 25
stop();
this.removeMovieClip();
Symbol 232 MovieClip [weapon1] Frame 1
#initclip 26
Object.registerClass("weapon1", bulletClass);
#endinitclip
Instance of Symbol 19 MovieClip "codeStopper" in Symbol 232 MovieClip [weapon1] Frame 1
onClipEvent (enterFrame) {
if (gameInProcess) {
_parent.play();
} else {
_parent.stop();
}
}
Symbol 232 MovieClip [weapon1] Frame 20
stop();
Instance of Symbol 19 MovieClip "ex2" in Symbol 237 MovieClip [abrams] Frame 1
onClipEvent (load) {
delay = 10;
}
Instance of Symbol 19 MovieClip "ex3" in Symbol 237 MovieClip [abrams] Frame 1
onClipEvent (load) {
delay = 20;
}
Symbol 241 MovieClip [lazer] Frame 1
#initclip 27
Object.registerClass("lazer", bulletClass);
#endinitclip
Symbol 241 MovieClip [lazer] Frame 10
this.kill();
Symbol 246 MovieClip [base01_l] Frame 1
#initclip 28
Object.registerClass("base01_l", splashedObject);
#endinitclip
Symbol 247 MovieClip [base01_r] Frame 1
#initclip 29
Object.registerClass("base01_r", splashedObject);
#endinitclip
Symbol 251 MovieClip [empty_base] Frame 1
stop();
Symbol 251 MovieClip [empty_base] Frame 2
stop();
Symbol 254 MovieClip [weapon0] Frame 1
#initclip 30
Object.registerClass("weapon0", bulletClass);
#endinitclip
Symbol 261 MovieClip [bonus_2updater] Frame 1
#initclip 31
Object.registerClass("bonus_2updater", bonus);
#endinitclip
Symbol 265 MovieClip [base02_l] Frame 1
#initclip 32
Object.registerClass("base02_l", splashedObject);
#endinitclip
Symbol 266 MovieClip [base02_r] Frame 1
#initclip 33
Object.registerClass("base02_r", splashedObject);
#endinitclip
Symbol 270 MovieClip [base03_l] Frame 1
#initclip 34
Object.registerClass("base03_l", splashedObject);
#endinitclip
Symbol 271 MovieClip [base03_r] Frame 1
#initclip 35
Object.registerClass("base03_r", splashedObject);
#endinitclip
Symbol 275 MovieClip [base04_l] Frame 1
#initclip 36
Object.registerClass("base04_l", splashedObject);
#endinitclip
Symbol 276 MovieClip [base04_r] Frame 1
#initclip 37
Object.registerClass("base04_r", splashedObject);
#endinitclip
Symbol 285 MovieClip [bunker1] Frame 1
#initclip 38
Object.registerClass("bunker1", splashedObject);
#endinitclip
stop();
Symbol 285 MovieClip [bunker1] Frame 9
stop();
Symbol 291 MovieClip [bunker2] Frame 1
#initclip 39
Object.registerClass("bunker2", splashedObject);
#endinitclip
stop();
Symbol 291 MovieClip [bunker2] Frame 9
stop();
Symbol 292 MovieClip [explode1] Frame 1
#initclip 40
Object.registerClass("explode1", splashedObject);
#endinitclip
Symbol 296 MovieClip [explode2] Frame 1
#initclip 41
Object.registerClass("explode2", splashedObject);
#endinitclip
Symbol 300 MovieClip [junk1] Frame 1
#initclip 42
Object.registerClass("junk1", splashedObject);
#endinitclip
Symbol 304 MovieClip [junk2] Frame 1
#initclip 43
Object.registerClass("junk2", splashedObject);
#endinitclip
Symbol 308 MovieClip [junk3] Frame 1
#initclip 44
Object.registerClass("junk3", splashedObject);
#endinitclip
Symbol 312 MovieClip [junk4] Frame 1
#initclip 45
Object.registerClass("junk4", splashedObject);
#endinitclip
Symbol 316 MovieClip [junk5] Frame 1
#initclip 46
Object.registerClass("junk5", splashedObject);
#endinitclip
Symbol 320 MovieClip [junk6] Frame 1
#initclip 47
Object.registerClass("junk6", splashedObject);
#endinitclip
Symbol 326 MovieClip [oiltanker1] Frame 1
#initclip 48
Object.registerClass("oiltanker1", splashedObject);
#endinitclip
stop();
Symbol 326 MovieClip [oiltanker1] Frame 9
stop();
Symbol 332 MovieClip [tower1] Frame 1
#initclip 49
Object.registerClass("tower1", splashedObject);
#endinitclip
stop();
Symbol 332 MovieClip [tower1] Frame 9
stop();
Symbol 337 MovieClip [wall1] Frame 1
#initclip 50
Object.registerClass("wall1", splashedObject);
#endinitclip
stop();
Symbol 337 MovieClip [wall1] Frame 9
stop();
Symbol 342 MovieClip [wall2] Frame 1
#initclip 51
Object.registerClass("wall2", splashedObject);
#endinitclip
stop();
Symbol 342 MovieClip [wall2] Frame 9
stop();
Symbol 343 MovieClip [gun_1] Frame 1
#initclip 52
Object.registerClass("gun_1", cannon);
#endinitclip
Symbol 347 MovieClip [gun_abrams] Frame 1
#initclip 53
Object.registerClass("gun_abrams", cannon);
#endinitclip
Symbol 351 MovieClip [gun_gunner2] Frame 1
#initclip 54
Object.registerClass("gun_gunner2", cannon);
#endinitclip
Instance of Symbol 19 MovieClip "ex2" in Symbol 357 MovieClip [buggy] Frame 1
onClipEvent (load) {
delay = 10;
}
Instance of Symbol 19 MovieClip "ex2" in Symbol 362 MovieClip [hummer] Frame 1
onClipEvent (load) {
delay = 10;
}
Instance of Symbol 19 MovieClip "ex2" in Symbol 367 MovieClip [truck1] Frame 1
onClipEvent (load) {
delay = 10;
}
Instance of Symbol 19 MovieClip "ex2" in Symbol 372 MovieClip [truck2] Frame 1
onClipEvent (load) {
delay = 10;
}
Instance of Symbol 19 MovieClip "ex2" in Symbol 377 MovieClip [truck3] Frame 1
onClipEvent (load) {
delay = 10;
}
Instance of Symbol 19 MovieClip "ex3" in Symbol 377 MovieClip [truck3] Frame 1
onClipEvent (load) {
delay = 20;
}
Instance of Symbol 19 MovieClip "ex2" in Symbol 382 MovieClip [truck4] Frame 1
onClipEvent (load) {
delay = 10;
}
Instance of Symbol 19 MovieClip "codeStopper" in Symbol 446 MovieClip Frame 1
onClipEvent (enterFrame) {
if (gameInProcess && (_parent.inMove)) {
_parent.play();
} else {
_parent.stop();
}
}
Symbol 447 MovieClip [mech_gunner] Frame 1
isMech = true;
Instance of Symbol 19 MovieClip "ex2" in Symbol 447 MovieClip [mech_gunner] Frame 1
onClipEvent (load) {
delay = 10;
}
Instance of Symbol 19 MovieClip "ex3" in Symbol 447 MovieClip [mech_gunner] Frame 1
onClipEvent (load) {
delay = 20;
}
Symbol 451 MovieClip [gun_mech_gunner_1] Frame 1
#initclip 55
Object.registerClass("gun_mech_gunner_1", cannon);
#endinitclip
Symbol 452 MovieClip [gun_mech_gunner_2] Frame 1
#initclip 56
Object.registerClass("gun_mech_gunner_2", cannon);
#endinitclip
Instance of Symbol 450 MovieClip in Symbol 452 MovieClip [gun_mech_gunner_2] Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 19 MovieClip "codeStopper" in Symbol 515 MovieClip Frame 1
onClipEvent (enterFrame) {
if (gameInProcess && (_parent.inMove)) {
_parent.play();
} else {
_parent.stop();
}
}
Symbol 516 MovieClip [mech_rocket] Frame 1
isMech = true;
Instance of Symbol 19 MovieClip "ex2" in Symbol 516 MovieClip [mech_rocket] Frame 1
onClipEvent (load) {
delay = 10;
}
Instance of Symbol 19 MovieClip "ex3" in Symbol 516 MovieClip [mech_rocket] Frame 1
onClipEvent (load) {
delay = 20;
}
Symbol 520 MovieClip [gun_mech_rocket_1] Frame 1
#initclip 57
Object.registerClass("gun_mech_rocket_1", cannon);
#endinitclip
Symbol 521 MovieClip [gun_mech_rocket_2] Frame 1
#initclip 58
Object.registerClass("gun_mech_rocket_2", cannon);
#endinitclip
Instance of Symbol 519 MovieClip in Symbol 521 MovieClip [gun_mech_rocket_2] Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 19 MovieClip "codeStopper" in Symbol 587 MovieClip Frame 1
onClipEvent (enterFrame) {
if (gameInProcess && (_parent.inMove)) {
_parent.play();
} else {
_parent.stop();
}
}
Symbol 588 MovieClip [mech_boss] Frame 1
isMech = true;
Instance of Symbol 19 MovieClip "ex2" in Symbol 588 MovieClip [mech_boss] Frame 1
onClipEvent (load) {
delay = 10;
}
Instance of Symbol 19 MovieClip "ex3" in Symbol 588 MovieClip [mech_boss] Frame 1
onClipEvent (load) {
delay = 12;
}
Instance of Symbol 19 MovieClip "ex4" in Symbol 588 MovieClip [mech_boss] Frame 1
onClipEvent (load) {
delay = 15;
}
Instance of Symbol 19 MovieClip "ex5" in Symbol 588 MovieClip [mech_boss] Frame 1
onClipEvent (load) {
delay = 20;
}
Symbol 592 MovieClip [gun_mech_boss_1] Frame 1
#initclip 59
Object.registerClass("gun_mech_boss_1", cannon);
#endinitclip
Symbol 593 MovieClip [gun_mech_boss_2] Frame 1
#initclip 60
Object.registerClass("gun_mech_boss_2", cannon);
#endinitclip
Instance of Symbol 591 MovieClip in Symbol 593 MovieClip [gun_mech_boss_2] Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 594 MovieClip [gun_mech_boss_3] Frame 1
#initclip 61
Object.registerClass("gun_mech_boss_3", cannon);
#endinitclip
Instance of Symbol 591 MovieClip in Symbol 594 MovieClip [gun_mech_boss_3] Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 19 MovieClip "codeStopper" in Symbol 616 MovieClip Frame 1
onClipEvent (enterFrame) {
if (gameInProcess) {
_parent.play();
} else {
_parent.stop();
}
}
Symbol 620 MovieClip [heli1] Frame 1
stop();
Instance of Symbol 19 MovieClip "ex2" in Symbol 620 MovieClip [heli1] Frame 1
onClipEvent (load) {
delay = 10;
}
Symbol 620 MovieClip [heli1] Frame 2
makeDie(dd);
Symbol 620 MovieClip [heli1] Frame 10
stop();
Symbol 639 MovieClip [dropship] Frame 1
stop();
Instance of Symbol 19 MovieClip "ex2" in Symbol 639 MovieClip [dropship] Frame 1
onClipEvent (load) {
delay = 10;
}
Instance of Symbol 19 MovieClip "ex4" in Symbol 639 MovieClip [dropship] Frame 1
onClipEvent (load) {
delay = 20;
}
Instance of Symbol 19 MovieClip "ex3" in Symbol 639 MovieClip [dropship] Frame 1
onClipEvent (load) {
delay = 15;
}
Symbol 639 MovieClip [dropship] Frame 2
makeDie(dd, true, true);
Symbol 639 MovieClip [dropship] Frame 10
stop();
Symbol 698 MovieClip [soldier] Frame 1
#initclip 62
Object.registerClass("soldier", cannon);
#endinitclip
isSoldier = true;
Instance of Symbol 19 MovieClip "codeStopper" in Symbol 698 MovieClip [soldier] Frame 1
onClipEvent (enterFrame) {
if (gameInProcess && (_parent.inMove)) {
_parent.play();
} else {
_parent.stop();
}
}
Symbol 698 MovieClip [soldier] Frame 17
gotoAndPlay (1);
Symbol 698 MovieClip [soldier] Frame 18
this.inMove = true;
Symbol 698 MovieClip [soldier] Frame 37
stop();
Instance of Symbol 87 MovieClip in Symbol 698 MovieClip [soldier] Frame 37
onClipEvent (load) {
_parent.stop();
ts = levelTime;
}
onClipEvent (enterFrame) {
if ((levelTime - ts) > 2000) {
_parent._parent._alpha = _parent._parent._alpha - 5;
if (_parent._parent._alpha <= 0) {
_parent._parent.removeMovieClip();
}
}
}
Symbol 704 MovieClip [rocket] Frame 1
#initclip 63
Object.registerClass("rocket", bulletClass);
#endinitclip
Instance of Symbol 19 MovieClip "codeStopper" in Symbol 704 MovieClip [rocket] Frame 1
onClipEvent (enterFrame) {
if (gameInProcess) {
_parent.play();
} else {
_parent.stop();
}
}
Symbol 710 MovieClip [bonus_1updater] Frame 1
#initclip 64
Object.registerClass("bonus_1updater", bonus);
#endinitclip
Symbol 713 MovieClip [bonus_anim_1updater] Frame 36
this.removeMovieClip();
Symbol 718 MovieClip [bonus_anim_2updater] Frame 36
this.removeMovieClip();
Symbol 723 MovieClip [bonus_shield] Frame 1
#initclip 65
Object.registerClass("bonus_shield", bonus);
#endinitclip
Symbol 726 MovieClip [bonus_anim_shield] Frame 36
this.removeMovieClip();
Symbol 737 MovieClip [explodef] Frame 2
_global.sound.play("eexplode", sx);
Symbol 737 MovieClip [explodef] Frame 7
_global.sound.play("eexplode", sx);
Symbol 737 MovieClip [explodef] Frame 22
stop();
this.removeMovieClip();
Symbol 739 MovieClip [junk_1_2] Frame 1
#initclip 66
Object.registerClass("junk_1_2", splashedObject);
#endinitclip
stop();
Symbol 739 MovieClip [junk_1_2] Frame 9
stop();
Symbol 741 MovieClip [junk_1_1] Frame 1
#initclip 67
Object.registerClass("junk_1_1", splashedObject);
#endinitclip
stop();
Symbol 741 MovieClip [junk_1_1] Frame 9
stop();
Symbol 743 MovieClip [junk_1_5] Frame 1
#initclip 68
Object.registerClass("junk_1_5", splashedObject);
#endinitclip
stop();
Symbol 743 MovieClip [junk_1_5] Frame 9
stop();
Symbol 745 MovieClip [junk_1_3] Frame 1
#initclip 69
Object.registerClass("junk_1_3", splashedObject);
#endinitclip
stop();
Symbol 745 MovieClip [junk_1_3] Frame 9
stop();
Symbol 747 MovieClip [junk_1_4] Frame 1
#initclip 70
Object.registerClass("junk_1_4", splashedObject);
#endinitclip
stop();
Symbol 747 MovieClip [junk_1_4] Frame 9
stop();
Symbol 749 MovieClip [junk_1_6] Frame 1
#initclip 71
Object.registerClass("junk_1_6", splashedObject);
#endinitclip
stop();
Symbol 749 MovieClip [junk_1_6] Frame 9
stop();
Symbol 754 MovieClip [helipad] Frame 1
#initclip 72
Object.registerClass("helipad", splashedObject);
#endinitclip
Symbol 795 MovieClip [rls1] Frame 1
#initclip 73
Object.registerClass("rls1", splashedObject);
#endinitclip
stop();
Symbol 795 MovieClip [rls1] Frame 16
stop();
Symbol 801 MovieClip [rls2] Frame 1
#initclip 74
Object.registerClass("rls2", splashedObject);
#endinitclip
stop();
Symbol 801 MovieClip [rls2] Frame 16
stop();
Symbol 805 MovieClip [oilpump_l] Frame 1
#initclip 75
Object.registerClass("oilpump_l", splashedObject);
#endinitclip
stop();
Symbol 805 MovieClip [oilpump_l] Frame 9
stop();
Symbol 808 MovieClip [oilpump_r] Frame 1
#initclip 76
Object.registerClass("oilpump_r", splashedObject);
#endinitclip
stop();
Symbol 808 MovieClip [oilpump_r] Frame 9
stop();
Symbol 814 MovieClip [hangar1] Frame 1
#initclip 77
Object.registerClass("hangar1", splashedObject);
#endinitclip
stop();
Symbol 814 MovieClip [hangar1] Frame 9
stop();
Symbol 819 MovieClip [oil1] Frame 1
#initclip 78
Object.registerClass("oil1", splashedObject);
#endinitclip
stop();
Symbol 819 MovieClip [oil1] Frame 9
stop();
Symbol 828 MovieClip [heli3] Frame 1
stop();
Instance of Symbol 19 MovieClip "ex2" in Symbol 828 MovieClip [heli3] Frame 1
onClipEvent (load) {
delay = 10;
}
Instance of Symbol 19 MovieClip "ex3" in Symbol 828 MovieClip [heli3] Frame 1
onClipEvent (load) {
delay = 20;
}
Symbol 828 MovieClip [heli3] Frame 2
Symbol 828 MovieClip [heli3] Frame 10
stop();
Symbol 829 MovieClip [heli2] Frame 1
stop();
Instance of Symbol 19 MovieClip "ex2" in Symbol 829 MovieClip [heli2] Frame 1
onClipEvent (load) {
delay = 10;
}
Instance of Symbol 19 MovieClip "ex3" in Symbol 829 MovieClip [heli2] Frame 1
onClipEvent (load) {
delay = 20;
}
Symbol 829 MovieClip [heli2] Frame 2
makeDie(dd);
Symbol 829 MovieClip [heli2] Frame 10
stop();
Symbol 842 MovieClip [bonus_anim_rocket] Frame 36
this.removeMovieClip();
Symbol 845 MovieClip [bonus_anim_lazer] Frame 36
this.removeMovieClip();
Symbol 899 MovieClip [gun_gunner] Frame 1
#initclip 79
Object.registerClass("gun_gunner", cannon);
#endinitclip
isSoldier = true;
Instance of Symbol 19 MovieClip "codeStopper" in Symbol 899 MovieClip [gun_gunner] Frame 1
onClipEvent (enterFrame) {
if (gameInProcess && (_parent.inMove)) {
_parent.play();
} else {
_parent.stop();
}
}
Symbol 899 MovieClip [gun_gunner] Frame 17
gotoAndPlay (1);
Symbol 899 MovieClip [gun_gunner] Frame 18
this.inMove = true;
Symbol 899 MovieClip [gun_gunner] Frame 37
stop();
Instance of Symbol 87 MovieClip in Symbol 899 MovieClip [gun_gunner] Frame 37
onClipEvent (load) {
_parent.stop();
ts = levelTime;
}
onClipEvent (enterFrame) {
if ((levelTime - ts) > 2000) {
_parent._parent._alpha = _parent._parent._alpha - 5;
if (_parent._parent._alpha <= 0) {
_parent._parent.removeMovieClip();
}
}
}
Symbol 900 MovieClip Frame 1
_visible = false;
Symbol 901 MovieClip [autoExplodePoint] Frame 1
#initclip 80
Object.registerClass("autoExplodePoint", autoExplode);
#endinitclip
stop();
Symbol 901 MovieClip [autoExplodePoint] Frame 15
stop();
Symbol 1268 MovieClip [__Packages.checkedObject] Frame 0
class checkedObject extends MovieClip
{
var _x, _y, ticket, removeMovieClip, unloadMovie;
function checkedObject () {
super();
startClock = _global.clock;
offsetTop = _global.envS.allOffset.top;
offsetBottom = _global.envS.allOffset.bottom;
offsetLeft = _global.envS.allOffset.left;
offsetRight = _global.envS.allOffset.right;
x = Math.round(_x);
y = Math.round(_y);
}
function initOffset(bb) {
if (bb == 1) {
bigObject = true;
}
if (bigObject) {
offsetTop = _global.envS.bigTileOffset.top;
offsetBottom = _global.envS.bigTileOffset.bottom;
offsetLeft = _global.envS.bigTileOffset.left;
offsetRight = _global.envS.bigTileOffset.right;
}
}
function check() {
if (_global.noSet(x) || (_global.noSet(y))) {
kill();
}
if (y < ((-_root.bg.y) + offsetTop)) {
if (offReaction == "die") {
kill();
}
if (offReaction == "stand") {
y = (-_root.bg.y) + offsetTop;
}
}
if (y > (((-_root.bg.y) + 400) - offsetBottom)) {
if (offReaction == "die") {
kill();
}
if (offReaction == "stand") {
y = ((-_root.bg.y) + 400) - offsetBottom;
}
}
if (x < (0 + offsetLeft)) {
if (offReaction == "die") {
kill();
}
if (offReaction == "stand") {
x = 0 + offsetLeft;
}
}
if (x > (550 - offsetRight)) {
if (offReaction == "die") {
kill();
}
if (offReaction == "stand") {
x = 550 - offsetRight;
}
}
}
function inQueue(a) {
if (!init) {
if (_global.noSet(a)) {
a = 50;
}
ticket = _global.queue.addFunc(oEF, this, a);
init = true;
}
}
function outQueue() {
if (init) {
_global.queue.remove(ticket);
init = false;
}
}
function oEF() {
if (!init) {
return(undefined);
}
myClock++;
check();
}
function kill() {
outQueue();
if (!deathFromOutside) {
removeMovieClip();
unloadMovie();
}
}
var offsetTop = 0;
var offsetBottom = 0;
var offsetLeft = 0;
var offsetRight = 0;
var offReaction = "die";
var x = 0;
var y = 0;
var init = false;
var deathFromOutside = false;
var dieImmediatly = false;
var startClock = 0;
var myClock = 0;
var bigObject = false;
}
Symbol 1269 MovieClip [__Packages.movingObject] Frame 0
class movingObject extends checkedObject
{
var AADistance, wayLinkage, y, x, _parent, AARatio, way, attachMovie, line, createEmptyMovieClip, check, _x, _y;
function movingObject () {
super();
AADistance = _global.envS.unitAutoAimDistance;
if (_global.noSet(AADistance)) {
AADistance = 50;
}
}
function setEnemyToEnemyCollisionFlag(enable, dont_smash) {
if (enable != undefined) {
enable_enemy_to_enemy_collision = enable;
}
if (dont_smash != undefined) {
dont_smash_me_ally = dont_smash;
}
}
function setMotion(a, b, xr, yr, r, f, sf, ef, mwas, wc, rbw, otp) {
if (typeof(a) == "string") {
if (a == "player") {
wayMode = false;
wayLinkage = "";
var _local11 = {x:x, y:y};
_parent.localToGlobal(_local11);
var _local10 = {x:_root.bg.player.x, y:_root.bg.player.y};
_root.bg.localToGlobal(_local10);
var _local20 = _local10.x - _local11.x;
var _local18 = _local10.y - _local11.y;
var _local15 = Math.atan2(_local18, _local20);
speedXY = parseFloat(b);
if (_global.noSet(speedXY)) {
speedXY = 1;
}
speedX = speedXY * Math.cos(_local15);
speedY = speedXY * Math.sin(_local15);
xr = parseInt(xr);
if (xr == 1) {
followPlayer = true;
}
if (!_global.noSet(yr)) {
AADistance = yr;
}
if (!_global.noSet(r)) {
AARatio = r;
}
} else {
if (_global.noSet(a)) {
return(undefined);
}
wayLinkage = a;
if (!_global.noSet(b)) {
wayRatio = b;
}
if (!_global.noSet(xr)) {
xratio = xr;
}
if (!_global.noSet(yr)) {
yratio = yr;
}
if (!_global.noSet(r)) {
rotate = r / _global.PI2;
}
if (!_global.noSet(f)) {
factor = f;
}
if (!_global.noSet(sf)) {
startFrame = sf;
}
if (!_global.noSet(ef)) {
endFrame = ef;
}
if (!_global.noSet(wc)) {
wayCycle = wc;
}
if (!_global.noSet(rbw)) {
rotatedByWay = ((rbw == 1) ? true : false);
}
if (!_global.noSet(mwas)) {
moveWayAtStart = ((mwas == 1) ? true : false);
}
if (!_global.noSet(otp)) {
orientToPath = otp;
}
way = attachMovie(wayLinkage, "way", 100);
line = createEmptyMovieClip("line", 101);
line.createEmptyMovieClip("l", 1);
line._visible = false;
line.l.lineStyle(0, 16711680);
line.l.moveTo(0, 0);
line.l.lineTo(100, 0);
firstStep = startFrame;
if (!_global.noSet(way)) {
var _local4 = way.klop._x;
_local4 = _local4 * factor;
var _local5 = way.klop._y;
if (xratio != 100) {
_local4 = _local4 * (xratio / 100);
}
if (yratio != 100) {
_local5 = _local5 * (yratio / 100);
}
if (rotate != 0) {
var _local12 = Math.sqrt((_local4 * _local4) + (_local5 * _local5));
var _local14 = Math.atan2(_local5, _local4);
var _local17 = _local12 * Math.cos(rotate + _local14);
var _local16 = _local12 * Math.sin(rotate + _local14);
} else {
var _local17 = _local4;
var _local16 = _local5;
}
way.x = _local17;
way._x = way.x;
way.y = _local16;
way._y = way.y;
}
if (endFrame == -1) {
endFrame = way._totalframes;
}
if (endFrame < startFrame) {
var _local19 = startFrame;
startFrame = endFrame;
endFrame = _local19;
wayDir = -1;
}
way._xscale = (line._xscale = factor * xratio);
way._yscale = (line._yscale = yratio);
way._rotation = (line._rotation = r);
if (!((_global.envS.debug == 1) && (_global.envS.wayDebug == 1))) {
way._visible = false;
}
wayMode = true;
}
} else {
if (!_global.noSet(a)) {
speedX = a;
}
if (!_global.noSet(b)) {
speedY = b;
}
wayMode = false;
}
initMove = true;
if (wayMode) {
oEF();
}
oEF();
}
function initWayMotion(mwo, sx, sy) {
movedWay = true;
movedWayOffset = mwo;
movedWayCount = 0;
movedWayXSpeed = sx;
movedWayYSpeed = sy;
}
function oEF() {
if (initMove) {
if (wayMode) {
if ((firstStep != 0) && (moveWayAtStart)) {
way.gotoAndStop(firstStep);
firstStep = 0;
var _local6 = way.klop._x;
var _local15 = way.klop._y;
_local6 = _local6 * factor;
if (xratio != 100) {
_local6 = _local6 * (xratio / 100);
}
if (yratio != 100) {
_local15 = _local15 * (yratio / 100);
}
if (rotate != 0) {
var _local14 = Math.sqrt((_local6 * _local6) + (_local15 * _local15));
var _local16 = Math.atan2(_local15, _local6);
_local6 = _local14 * Math.cos(rotate + _local16);
_local15 = _local14 * Math.sin(rotate + _local16);
}
way.x = way.x + (-_local6);
way._x = way.x;
way.y = way.y + (-_local15);
way._y = way.y;
var _local20 = way.klop._x;
var _local19 = way.klop._y;
}
var _local5 = way._currentframe + (wayDir * wayRatio);
if ((wayDir > 0) && (_local5 > endFrame)) {
wayPassed = true;
if (wayCycle == 1) {
_local5 = endFrame;
}
if (wayCycle == 2) {
wayDir = wayDir * -1;
_local5 = _local5 + (_local5 - endFrame);
}
if (wayCycle == 3) {
_local5 = (startFrame + (_local5 - endFrame)) - 1;
}
}
if ((wayDir < 0) && (_local5 < startFrame)) {
wayPassed = true;
if (wayCycle == 1) {
_local5 = startFrame;
}
if (wayCycle == 2) {
wayDir = wayDir * -1;
_local5 = startFrame + (startFrame - _local5);
}
if (wayCycle == 3) {
_local5 = endFrame - (startFrame - _local5);
}
}
if (firstStep != 0) {
_local5 = firstStep;
firstStep = 0;
}
var _local20 = way.klop._x;
var _local19 = way.klop._y;
way.gotoAndStop(_local5);
var _local6 = way.klop._x - _local20;
_local6 = _local6 * factor;
var _local15 = way.klop._y - _local19;
if (xratio != 100) {
_local6 = _local6 * (xratio / 100);
}
if (yratio != 100) {
_local15 = _local15 * (yratio / 100);
}
if (rotate != 0) {
var _local14 = Math.sqrt((_local6 * _local6) + (_local15 * _local15));
var _local16 = Math.atan2(_local15, _local6);
speedX = _local14 * Math.cos(rotate + _local16);
speedY = _local14 * Math.sin(rotate + _local16);
} else {
speedX = _local6;
speedY = _local15;
}
var _local18 = 0;
var _local17 = 0;
if (movedWay) {
if ((++movedWayCount) > movedWayOffset) {
speedX = speedX + movedWayXSpeed;
_local18 = -movedWayXSpeed;
if ((movedWayYSpeed == 0) || (_global.noSet(movedWayYSpeed))) {
_local15 = -_root.bg.speedY;
} else {
_local15 = -movedWayYSpeed;
}
speedY = speedY + _local15;
_local17 = -_local15;
}
}
if ((orientToPath == "way") || (orientToPath == "shoot")) {
line.l._rotation = way.klop._rotation;
var _local7 = line.getRect(this);
baseRotateCount = Math.atan2(_local7.yMax + _local7.yMin, _local7.xMax + _local7.xMin) * _global.PI2;
if (wayDir == -1) {
baseRotateCount = baseRotateCount + 180;
}
} else if (orientToPath == "move") {
baseRotateCount = Math.atan2(speedY, speedX) * _global.PI2;
}
} else if (followPlayer) {
var _local11 = {x:x, y:y};
_parent.localToGlobal(_local11);
var _local10 = {x:_root.bg.player.x, y:_root.bg.player.y};
_root.bg.localToGlobal(_local10);
var _local13 = _local10.x - _local11.x;
var _local12 = _local10.y - _local11.y;
var _local22 = Math.sqrt((_local13 * _local13) + (_local12 * _local12));
var _local8 = Math.atan2(_local12, _local13);
if (!_global.noSet(AARatio)) {
var _local9 = Math.atan2(speedY, speedX) * _global.PI2;
_local9 = _local9 + _global.getAngleDelta(_local9, _local8 * _global.PI2, AARatio);
_local8 = _local9 / _global.PI2;
}
var _local21 = AADistance;
if (_local22 > _local21) {
speedX = speedXY * Math.cos(_local8);
speedY = speedXY * Math.sin(_local8);
baseRotateCount = Math.atan2(speedY, speedX) * _global.PI2;
} else {
followPlayer = false;
}
} else {
baseRotateCount = Math.atan2(speedY, speedX) * _global.PI2;
}
x = x + speedX;
y = y + speedY;
if (wayMode) {
way.x = way.x - (speedX + _local18);
way._x = way.x;
way.y = way.y - (speedY + _local17);
way._y = way.y;
}
}
super.oEF();
redraw();
}
function moveTo(a, b) {
if (_global.noSet(a)) {
a = 0;
}
if (_global.noSet(b)) {
b = 0;
}
x = a;
y = b;
check();
redraw();
}
function moveBy(a, b) {
x = x + a;
y = y + b;
check();
redraw();
}
function redraw() {
_x = Math.round(x);
_y = Math.round(y);
}
var initMove = false;
var speedX = 0;
var speedY = 0;
var speedXY = 0;
var wayMode = false;
var wayRatio = 1;
var rotatedByWay = true;
var followPlayer = false;
var xratio = 100;
var yratio = 100;
var rotate = 0;
var baseRotateCount = 0;
var factor = 1;
var startFrame = 1;
var endFrame = -1;
var moveWayAtStart = true;
var wayCycle = 1;
var wayDir = 1;
var firstStep = 1;
var movedWay = false;
var movedWayOffset = 0;
var movedWayCount = 0;
var movedWayXSpeed = 0;
var movedWayYSpeed = 0;
var wayPassed = false;
var orientToPath = "move";
var enable_enemy_to_enemy_collision = false;
var dont_smash_me_ally = false;
}
Symbol 1270 MovieClip [__Packages.damagableObject] Frame 0
class damagableObject extends movingObject
{
var blinkObject, loot, autoloot, lootXoffset, lootYoffset, bar, createEmptyMovieClip, bar1, bar2, childs, childDX, childDY, _x, _y, x, emitC, eCCount, eCTimeOffset, eCTime, myClock, eCXOffset, eCYOffset;
function damagableObject () {
super();
if (_global.envS.debug == 1) {
initBar();
}
blinkObject = this;
loot = new Array();
autoloot = new Array();
lootXoffset = new Array();
lootYoffset = new Array();
}
function initArmor(a) {
startArmor = (armor = a);
}
function initScore(sc) {
if (!_global.noSet(sc)) {
score = sc;
}
}
function initFlags(ih, is, id, im, nc) {
ignoreHit = ((ih == 1) ? true : false);
ignoreSplash = ((is == 1) ? true : false);
ignoreDirect = ((id == 1) ? true : false);
immortal = ((im == 1) ? true : false);
notCount = ((nc == 1) ? true : false);
}
function initBar() {
bar = createEmptyMovieClip("bar", 3);
bar1 = bar.createEmptyMovieClip("bar1", 2);
bar.beginFill(16711680);
_global.drawRect(bar, -15, -2, 15, 2);
bar.endFill();
bar1.lineStyle(0, 0);
_global.drawRect(bar1, -15, -2, 15, 2);
bar._y = -20;
bar2 = bar.createEmptyMovieClip("bar2", 1);
bar2.beginFill(65280);
_global.drawRect(bar2, 0, -2, 30, 2);
bar2.endFill();
bar2._x = -15;
}
function changeArmor(delta) {
if (!live) {
return(undefined);
}
if (immortal) {
return(undefined);
}
armor = armor + delta;
if (delta < 0) {
startBlink("hit");
}
if (armor > startArmor) {
armor = startArmor;
}
showArmor();
if (armor <= 0) {
armor = 0;
live = false;
showArmor();
destroy();
}
}
function showArmor() {
if (_global.envS.debug == 1) {
bar2._xscale = (100 * armor) / startArmor;
}
}
function destroy(flag) {
if (childs.length > 0) {
var _local4 = 0;
while (_local4 < childs.length) {
var _local8 = _global.makeGameObject.call(_root.bg, _global.currLevel.childs[childs[_local4]], 0);
trace("new child " + _local8);
if ((!_global.noSet(childDX)) || (!_global.noSet(childDY))) {
var _local7 = ((!_global.noSet(childDX[_local4])) ? (childDX[_local4]) : 0);
var _local6 = ((!_global.noSet(childDY[_local4])) ? (childDY[_local4]) : 0);
trace((_local7 + "\t\t") + _local6);
_local8.moveTo(_x + _local7, _y + _local6);
trace((((_x + _local7) + "\t\t") + _y) + _local6);
}
_local4++;
}
}
var _local4 = 0;
while (_local4 < loot.length) {
var _local9 = autoloot[_local4];
var _local10 = lootXoffset[_local4];
var _local11 = lootYoffset[_local4];
var _local5 = loot[_local4];
if (_local9) {
_global.makeBonusAnimation(_local5, _root.bg.player);
_root.bg.player.applyBonus(_local5);
} else {
var _local14 = _root.bg.bnz.getNextHighestDepth();
var _local12 = _root.bg.bnz.attachMovie("bonus_" + _local5, "b" + _local14, _local14);
_global.bonusObjects.push(_local12);
_local12._x = _x + _local10;
_local12._y = _y + _local11;
_local12.bonusType = _local5;
_local12.inQueue();
_local12._alpha = (_local12._xscale = (_local12._yscale = 2));
_local12.onEnterFrame = _global.getOn;
}
_local4++;
}
if (soundKills != "none") {
if (_global.noSet(soundKills)) {
_global.sound.play(_global.envS.soundKills, x, flag);
} else {
var _local13 = soundKills.split(",");
if (_local13.length == 0) {
_local13 = [soundKills];
}
var _local15 = Math.floor(Math.random() * _local13.length);
_global.sound.play(_global.trim(_local13[_local15]), x, flag);
}
}
if (score != 0) {
var _local14 = _root.bg.bnzFX.getNextHighestDepth();
var _local12 = _root.bg.bnzFX.attachMovie("score_ind", "b" + _local14, _local14);
_local12.ins.tf.text = score * _global.comboFactor;
_global.levelScore = _global.levelScore + (score * _global.comboFactor);
_root.gui.score.text = _global.levelScore;
_local12._alpha = 70;
_local12._x = _x;
_local12._y = _y;
}
stopBlink();
if (_global.envS.debug == 1) {
bar._visible = false;
}
live = false;
}
function oEF() {
if (blinkFlag) {
var _local12 = Math.floor(blinkCounter / blinkStep);
blinkCounter++;
var _local11 = Math.floor(blinkCounter / blinkStep);
if (_local12 != _local11) {
var _local10 = {ra:100, ga:100, ba:100, aa:100, rb:0, gb:0, bb:0, ab:0};
if ((_local11 % 2) == 1) {
_local10.ra = (_local10.ga = (_local10.ba = 100 - blinkAmount));
_local10.rb = Math.round((blinkColorR * blinkAmount) / 100);
_local10.gb = Math.round((blinkColorG * blinkAmount) / 100);
_local10.bb = Math.round((blinkColorB * blinkAmount) / 100);
}
new Color(blinkObject).setTransform(_local10);
}
if (blinkCounter > ((2 * blinkStep) * blinkTimes)) {
blinkFlag = false;
}
}
if (live) {
var _local5 = 0;
while (_local5 < emitC.length) {
if (eCCount[_local5] > 0) {
var _local6 = eCTimeOffset[_local5];
if (_global.noSet(_local6)) {
_local6 = 0;
}
if (((myClock + _local6) % eCTime[_local5]) == 0) {
var _local7 = _global.makeGameObject.call(_root.bg, _global.currLevel.childs[emitC[_local5]], 0);
eCCount[_local5]--;
if ((!_global.noSet(eCXOffset[_local5])) || (!_global.noSet(eCYOffset[_local5]))) {
var _local9 = ((!_global.noSet(eCXOffset[_local5])) ? (eCXOffset[_local5]) : 0);
var _local8 = ((!_global.noSet(eCYOffset[_local5])) ? (eCYOffset[_local5]) : 0);
_local7.moveTo(_x + _local9, _y + _local8);
}
}
}
_local5++;
}
}
super.oEF();
}
function startBlink(col) {
blinkColor = _global.envS.blinks[col].color;
blinkColorR = parseInt(blinkColor.substr(1, 2), 16);
blinkColorG = parseInt(blinkColor.substr(3, 2), 16);
blinkColorB = parseInt(blinkColor.substr(5, 2), 16);
blinkAmount = _global.envS.blinks[col].amount;
blinkTimes = _global.envS.blinks[col].times;
blinkStep = _global.envS.blinks[col].step;
blinkCounter = 0;
blinkFlag = true;
}
function stopBlink() {
if (blinkFlag) {
var _local2 = {ra:100, ga:100, ba:100, aa:100, rb:0, gb:0, bb:0, ab:0};
new Color(blinkObject).setTransform(_local2);
blinkFlag = false;
}
}
function initLoot(lo, lox, loy, al) {
if (!_global.noSet(lo)) {
loot = _global.prepareArrayString(lo);
}
if (!_global.noSet(lox)) {
lootXoffset = _global.prepareArrayNum(lox);
}
if (!_global.noSet(loy)) {
lootYoffset = _global.prepareArrayNum(loy);
}
if (!_global.noSet(al)) {
autoloot = _global.prepareArrayBool(al);
}
}
function initChilds(chi, dx, dy, ec, ecc, ect, ecto, ecxo, ecyo) {
if (!_global.noSet(chi)) {
childs = _global.prepareArrayString(chi);
}
if (!_global.noSet(dx)) {
childDX = _global.prepareArrayNum(dx);
}
if (!_global.noSet(dy)) {
childDY = _global.prepareArrayNum(dy);
}
if (!_global.noSet(ec)) {
emitC = _global.prepareArrayString(ec);
}
if (!_global.noSet(ecc)) {
eCCount = _global.prepareArrayNum(ecc);
}
if (!_global.noSet(ect)) {
eCTime = _global.prepareArrayNum(ect);
}
if (!_global.noSet(ecto)) {
eCTimeOffset = _global.prepareArrayNum(ecto);
}
if (!_global.noSet(ecxo)) {
eCXOffset = _global.prepareArrayNum(ecxo);
}
if (!_global.noSet(ecyo)) {
eCYOffset = _global.prepareArrayNum(ecyo);
}
}
var live = true;
var armor = 0;
var startArmor = 0;
var blinkColor = "#000000";
var blinkColorR = 0;
var blinkColorG = 0;
var blinkColorB = 0;
var blinkAmount = 0;
var blinkTimes = 0;
var blinkCounter = 0;
var blinkFlag = false;
var blinkStep = 0;
var directDamage = 0;
var soundKills = "";
var ignoreHit = false;
var ignoreSplash = false;
var ignoreDirect = false;
var immortal = false;
var notCount = false;
var score = 0;
}
Symbol 1271 MovieClip [__Packages.tankClass] Frame 0
class tankClass extends damagableObject
{
var live, initScore, base, attachMovie, body, hitBody, _parent, gunHolder, _name, getDepth, _x, _y, cannons, blinkObject, target, shadow, initArmor, x, y, speedX, speedY, orientToPath, baseRotation, baseRotateCount, rotatedByWay, _ymouse, _xmouse, deathFromOutside, dieImmediatly, initMove, outQueue;
function tankClass () {
super();
}
function initTank(a, b, c, ar, wb, bb, tp, sha, norot, sc) {
if (!live) {
return(undefined);
}
if (bb === 1) {
bossBarFlag = true;
}
if (tp === 1) {
top = true;
}
initScore(sc);
if (bossBarFlag) {
_root.bossBar.bar._xscale = 100;
_root.bossBar._visible = true;
_root.bossBar._alpha = 0;
_root.bossBar.onEnterFrame = _global.alphaIn;
}
base = attachMovie(a, "base", 1);
mainLinkage = a;
body = base.body;
hitBody = base.hitBody;
if (_global.noSet(hitBody)) {
hitBody = base.body;
}
if (_global.envS.bodyDebug != 1) {
body._visible = false;
hitBody._visible = false;
}
var _local8 = (top ? (_parent._parent.topEnemyMC2) : (_parent._parent.enemyMC2));
if (_global.noSet(_local8)) {
gunHolder = this;
} else {
gunHolder = _local8.createEmptyMovieClip(_name + "_gun", getDepth());
}
norot = ((norot == 1) ? true : false);
if (!norot) {
base._rotation = _global.envS.defaultRotation;
}
gunHolder._x = _x;
gunHolder._y = _y;
cannons = new Array();
var _local5 = _global.prepareArrayString(b);
var _local4 = 0;
while (_local4 < _local5.length) {
cannons[_local4] = gunHolder.attachMovie(_local5[_local4], "gun" + _local4, _local4 + 2, {parent:this, myNum:_local4});
_local4++;
}
if (wb == 1) {
withoutBaseFlag = true;
}
if (withoutBaseFlag) {
blinkObject = gunHolder;
}
target = c;
if ((!_global.noSet(sha)) && (top)) {
shadowStr = sha;
_local8 = _parent._parent.shadows;
if (_global.noSet(_local8)) {
_local8 = _parent.shadows;
}
shadow = _local8.attachMovie(shadowStr, _name + "_sh", getDepth());
SolarX = _global.envS.SolarX;
SolarY = _global.envS.SolarY;
SolarXFactor = _global.envS.SolarXFactor;
SolarYFactor = _global.envS.SolarYFactor;
shadow._rotation = base._rotation;
shadow._xscale = (shadow._yscale = 70);
}
rotateGun();
rotateBase();
initArmor(ar);
}
function initGun(t, mt, c, bt, bs, dd, br, tl, am, fs, fm, fd, bd, mb, pa, pd, pts, pta, ptss, to, ca) {
if (!live) {
return(undefined);
}
var _local18 = _global.prepareArrayNum(t);
var _local5 = _global.prepareArrayNum(mt);
var _local13 = _global.prepareArrayNum(c);
var _local4 = _global.prepareArrayString(bt);
var _local20 = _global.prepareArrayNum(bs);
var _local14 = _global.prepareArrayString(dd);
var _local21 = _global.prepareArrayNum(br);
var _local6 = _global.prepareArrayNum(tl);
var _local15 = _global.prepareArrayNum(am);
var _local10 = _global.prepareArrayNum(fs);
var _local7 = _global.prepareArrayNum(fm);
var _local16 = _global.prepareArrayNum(fd);
var _local12 = _global.prepareArrayNum(bd);
var _local17 = _global.prepareArrayNum(mb);
var _local8 = _global.prepareArrayNum(pa);
var _local11 = _global.prepareArrayNum(pd);
var _local9 = _global.prepareArrayString(ca);
var _local19 = _global.prepareArrayNum(to);
var _local3 = 0;
while (_local3 < _local4.length) {
cannons[_local3].initGun();
cannons[_local3].addGun(_global.trim(_local18[_local3]), _global.trim(_local5[_local3]), _global.trim(_local13[_local3]), _global.trim(_local4[_local3]), _global.trim(_local20[_local3]), _global.trim(_local14[_local3]), _global.trim(_local21[_local3]), _global.trim(_local6[_local3]), _global.trim(_local15[_local3]), _global.trim(_local10[_local3]), _global.trim(_local7[_local3]), _global.trim(_local16[_local3]), _global.trim(_local12[_local3]), _global.trim(_local17[_local3]), _global.trim(_local8[_local3]), _global.trim(_local11[_local3]), pts, pta, ptss, _global.trim(_local9[_local3]), _global.trim(_local19[_local3]));
_local3++;
}
rotateGun();
}
function addGun(t, mt, c, bt, bs, dd, br, tl, am, fs, fm, fd, bd, mb, pa, pd, pts, pta, ptss, to, ca) {
if (!live) {
return(undefined);
}
var _local18 = _global.prepareArrayNum(t);
var _local5 = _global.prepareArrayNum(mt);
var _local13 = _global.prepareArrayNum(c);
var _local4 = _global.prepareArrayString(bt);
var _local20 = _global.prepareArrayNum(bs);
var _local14 = _global.prepareArrayString(dd);
var _local21 = _global.prepareArrayNum(br);
var _local6 = _global.prepareArrayNum(tl);
var _local15 = _global.prepareArrayNum(am);
var _local10 = _global.prepareArrayNum(fs);
var _local7 = _global.prepareArrayNum(fm);
var _local16 = _global.prepareArrayNum(fd);
var _local12 = _global.prepareArrayNum(bd);
var _local17 = _global.prepareArrayNum(mb);
var _local8 = _global.prepareArrayNum(pa);
var _local11 = _global.prepareArrayNum(pd);
var _local9 = _global.prepareArrayString(ca);
var _local19 = _global.prepareArrayNum(to);
var _local3 = 0;
while (_local3 < _local4.length) {
cannons[_local3].addGun(_global.trim(_local18[_local3]), _global.trim(_local5[_local3]), _global.trim(_local13[_local3]), _global.trim(_local4[_local3]), _global.trim(_local20[_local3]), _global.trim(_local14[_local3]), _global.trim(_local21[_local3]), _global.trim(_local6[_local3]), _global.trim(_local15[_local3]), _global.trim(_local10[_local3]), _global.trim(_local7[_local3]), _global.trim(_local16[_local3]), _global.trim(_local12[_local3]), _global.trim(_local17[_local3]), _global.trim(_local8[_local3]), _global.trim(_local11[_local3]), pts, pta, ptss, _global.trim(_local9[_local3]), _global.trim(_local19[_local3]));
_local3++;
}
}
function oEF() {
var _local4 = x;
var _local3 = y;
super.oEF();
if (base.isMech) {
if ((Math.abs(speedX) > 0.5) || (Math.abs(speedY) > 0.5)) {
base.vis.play();
base.vis.inMove = true;
} else {
base.vis.stop();
base.vis.inMove = false;
}
}
if (cannons[0].isSoldier) {
if ((Math.abs(speedX) > 0.5) || (Math.abs(speedY) > 0.5)) {
cannons[0].play();
cannons[0].inMove = true;
} else {
cannons[0].stop();
cannons[0].inMove = false;
}
}
gunHolder._x = _x;
gunHolder._y = _y;
rotateBase();
rotateGun();
moveShadow();
}
function moveShadow() {
if (!_global.noSet(shadow)) {
shadow._x = ((_x - SolarX) * SolarXFactor) + SolarX;
shadow._y = ((((_y - SolarY) + _root.bg._y) * SolarYFactor) - _root.bg._y) + SolarY;
shadow._rotation = base._rotation;
}
}
function rotateBase() {
if ((!_global.noSet(target)) && (orientToPath == "shoot")) {
var _local4 = {x:target._x, y:target._y};
target._parent.localToGlobal(_local4);
var _local3 = {x:x, y:y};
_parent.localToGlobal(_local3);
var _local5 = cannons[0].cannonAngleType;
switch (_local5) {
case "t" :
baseRotation = ((Math.atan2(_local4.y - _local3.y, _local4.x - _local3.x) * _global.PI2) + cannons[0].cannonAngle) + 90;
break;
case "w" :
baseRotation = (baseRotateCount + cannons[0].cannonAngle) + 90;
break;
case "h" :
baseRotation = cannons[0].cannonAngle + 180;
}
if (rotatedByWay) {
base._rotation = baseRotation;
}
gunHolder._rotation = base._rotation;
} else if (!((speedX == 0) && (speedY == 0))) {
baseRotation = baseRotateCount + 90;
if (rotatedByWay) {
base._rotation = baseRotation;
}
gunHolder._rotation = base._rotation;
}
}
function rotateGun() {
if (_global.noSet(target)) {
var _local3 = 0;
while (_local3 < cannons.length) {
cannons[_local3]._rotation = (Math.atan2(_ymouse - cannons[_local3]._y, _xmouse - cannons[_local3]._x) * _global.PI2) + 90;
_local3++;
}
} else {
var _local6 = {x:target._x, y:target._y};
target._parent.localToGlobal(_local6);
var _local3 = 0;
while (_local3 < cannons.length) {
var _local4 = {x:cannons[_local3]._x, y:cannons[_local3]._y};
gunHolder.localToGlobal(_local4);
var _local5 = cannons[_local3].cannonAngleType;
switch (_local5) {
case "t" :
cannons[_local3]._rotation = (((Math.atan2(_local6.y - _local4.y, _local6.x - _local4.x) * _global.PI2) - gunHolder._rotation) + cannons[_local3].cannonAngle) + 90;
break;
case "w" :
cannons[_local3]._rotation = ((baseRotateCount - gunHolder._rotation) + cannons[_local3].cannonAngle) + 90;
break;
case "h" :
cannons[_local3]._rotation = (cannons[_local3].cannonAngle - gunHolder._rotation) + 180;
}
_local3++;
}
}
}
function bang(obj) {
if (!live) {
return(false);
}
var _local4 = false;
var _local2 = 0;
while (_local2 < cannons.length) {
var _local3 = cannons[_local2].bang(obj);
_local4 = _local4 || (_local3);
_local2++;
}
return(_local4);
}
function destroy(flag) {
if (top) {
var _local10 = _root.bg.fxTop;
} else {
var _local10 = _root.bg.fx;
}
var _local7 = 1;
var _local8 = _local10.getNextHighestDepth();
var _local9 = base;
if (_global.noSet(_local9.ex1)) {
_local9 = cannons[0];
}
while (!_global.noSet(_local9["ex" + _local7])) {
var _local6 = _local9["ex" + _local7];
var _local5 = _local10.attachMovie("explode", "fx" + _local8, _local8);
_local5._rotation = ((_local6._rotation == 0) ? (Math.random() * 360) : (_local6._rotation));
_local5.target = this;
_local5.target_mc = _local6;
_local5._xscale = (_local5._yscale = _local6._xscale * 10);
if (_global.noSet(_local6.delay)) {
_local6.delay = 0;
}
_local5.gotoAndStop(1);
_local5.maxDelay = _local6.delay;
_local5.onEnterFrame = _global.explodePause;
_local8++;
_local7++;
}
_local5.destroyer = true;
_local5.destroyTarget = this;
deathFromOutside = true;
if (dieImmediatly) {
deathFromOutside = false;
}
super.destroy(flag);
if (!deathFromOutside) {
shadow.removeMovieClip();
}
kill();
}
function kill() {
shadow.removeMovieClip();
if (bossBarFlag) {
_root.bossBar.step = 0;
_root.bossBar.maxStep = 30;
_root.bossBar._alpha = 100;
_root.bossBar.onEnterFrame = _global.alphaOut;
}
if (gunHolder != this) {
var _local6 = cannons[0]._currentframe;
var _local5 = 0;
while (_local5 < cannons.length) {
cannons[_local5].gotoAndPlay("die");
_local5++;
}
if ((cannons[0]._currentframe == 1) || (cannons[0]._currentframe == _local6)) {
gunHolder.removeMovieClip();
}
super.kill();
} else {
initMove = false;
var _local5 = 0;
while (_local5 < cannons.length) {
cannons[_local5].gotoAndPlay("die");
_local5++;
}
}
base.gotoAndPlay("die");
outQueue();
}
function changeGun(newWeapon) {
cannons[0].changeGun(newWeapon);
}
function changeArmor(delta) {
super.changeArmor(delta);
if (bossBarFlag) {
_root.bossBar.bar._xscale = (100 * armor) / startArmor;
}
}
var mainLinkage = "";
var armor = 0;
var startArmor = 0;
var thereCanBeOnlyOne = 0;
var withoutBaseFlag = false;
var bossBarFlag = false;
var top = false;
var shadowStr = "";
var SolarX = 275;
var SolarY = 200;
var SolarXFactor = 1;
var SolarYFactor = 1;
}
Symbol 1272 MovieClip [__Packages.enemyClass] Frame 0
class enemyClass extends tankClass
{
var score, offsetTop, offsetBottom, offsetLeft, offsetRight, cannons, wayPassed, bang, armor;
function enemyClass () {
super();
score = _global.envS.defaultScore;
_global.enemyObjects.push(this);
offsetTop = _global.envS.enemyOffset.top;
offsetBottom = _global.envS.enemyOffset.bottom;
offsetLeft = _global.envS.enemyOffset.left;
offsetRight = _global.envS.enemyOffset.right;
}
function initGun(t, mt, c, bt, bs, dd, br, tl, am, fs, fm, fd, bd, ba, to, ai, sd, dr, del, mb, pa, pd) {
super.initGun(t, mt, c, bt, bs, dd, br, tl, am, fs, fm, fd, bd, mb, pa, pd, undefined, undefined, undefined, to, ba);
if (!_global.noSet(ai)) {
this.ai = ai;
}
if ((!_global.noSet(sd)) && (sd != 0)) {
var _local7 = _global.prepareArrayNum(sd);
var _local5 = _global.prepareArrayNum(dr);
var _local6 = _global.prepareArrayNum(del);
var _local4 = 0;
while (_local4 < cannons.length) {
cannons[_local4].initSplash(_local7[_local4], _local5[_local4], _local6[_local4]);
_local4++;
}
}
}
function initTank(a, b, c, ar, dir, wb, bb, tp, sha, norot, sc) {
if (!_global.noSet(dir)) {
directdamage = dir;
}
super.initTank(a, b, c, ar, wb, bb, tp, sha, norot, sc);
}
function oEF() {
super.oEF();
if (wayPassed) {
ai = 0;
}
if (ai == 0) {
bang(0);
}
}
function kill() {
if (armor <= 0) {
_global.rezults.killed++;
} else {
_global.rezults.survived++;
}
var _local4 = 0;
while (_local4 < _global.enemyObjects.length) {
if (_global.enemyObjects[_local4] == this) {
_global.enemyObjects.splice(_local4, 1);
break;
}
_local4++;
}
super.kill();
}
function destroy(flag) {
_global.countCombo(true);
super.destroy(flag);
}
var ai = 0;
var directdamage = -100;
}
Symbol 1273 MovieClip [__Packages.bulletClass] Frame 0
class bulletClass extends movingObject
{
var offsetTop, offsetBottom, offsetLeft, offsetRight, autoAimDistance, passageAbility, hited, y, x, myClock, speedX, _xscale, _yscale, gotoAndStop, speedY, startClock, target, _rotation, _x, _y, movedBullet, maxDistance;
function bulletClass () {
super();
_global.bulletObjects.push(this);
offsetTop = _global.envS.bulletOffset.top;
offsetBottom = _global.envS.bulletOffset.bottom;
offsetLeft = _global.envS.bulletOffset.left;
offsetRight = _global.envS.bulletOffset.right;
autoAimDistance = _global.envS.autoAimDistance;
if (_global.noSet(autoAimDistance)) {
autoAimDistance = 50;
}
passageAbility = 1;
hited = new Array();
}
function set damage(d) {
if (d >= 0) {
__damage = d;
}
//return(damage);
}
function get damage() {
return(__damage);
}
function check() {
super.check();
if (y < ((-_root.bg.y) + offsetTop)) {
kill();
}
if (y > (((-_root.bg.y) + 400) - offsetBottom)) {
kill();
}
if (x < (0 + offsetLeft)) {
kill();
}
if (x > (550 - offsetRight)) {
kill();
}
}
function removeFromArray() {
var _local3 = 0;
while (_local3 < _global.bulletObjects.length) {
if (_global.bulletObjects[_local3] == this) {
_global.bulletObjects.splice(_local3, 1);
break;
}
_local3++;
}
}
function kill(flag) {
if ((type == "torpedoe") && (flag)) {
var _local5 = _root.bg.fx;
var _local6 = _local5.getNextHighestDepth();
var _local4 = _local5.attachMovie("explode", "fx" + _local6, _local6);
_local4._x = x;
_local4._y = y;
}
removeFromArray();
super.kill();
}
function alreadyHited(mc) {
var _local2 = 0;
while (_local2 < hited.length) {
if (hited[_local2] == mc) {
return(true);
}
_local2++;
}
return(false);
}
function addEnemy(mc) {
passageAbility--;
var _local2 = 0;
while (_local2 < hited.length) {
if (hited[_local2] == mc) {
return(false);
}
_local2++;
}
hited.push(mc);
return(true);
}
function passageDone() {
if (passageAbility <= 0) {
return(true);
}
return(false);
}
function oEF() {
if (type == "torpedoe") {
if (myClock < _global.torpedoeSettings.fallTime) {
speedX = speedX * _global.torpedoeSettings.startXSpeedFactor;
_xscale = (_yscale = _yscale - ((100 - _global.torpedoeSettings.endOfFallSize) / _global.torpedoeSettings.fallTime));
} else if (myClock == _global.torpedoeSettings.fallTime) {
mode = true;
speedX = 0;
gotoAndStop(2);
_xscale = (_yscale = 100);
var _local9 = _root.bg.tiles.getNextHighestDepth();
var _local6 = _root.bg.tiles.attachMovie("boul", "b" + _local9, _local9);
_local6._x = x;
_local6._y = y;
_local6._xscale = (_local6._yscale = 10);
_local6._alpha = 25;
_global.sound.play("torpedoe_boul", x);
} else {
speedY = speedY + ((_global.torpedoeSettings.maxSpeed - speedY) / _global.torpedoeSettings.maxSpeedFactor);
}
}
if (flySteps != 0) {
var _local11 = (_global.clock - startClock) + 1;
var _local12 = (Math.PI / (flySteps - 1)) * (_local11 - 1);
_xscale = (_yscale = Math.round(10 * ((Math.sin(_local12) * (100 - flyMinScale)) + flyMinScale)) / 10);
} else if (bulletDir != "d") {
if (bulletDir == "a") {
tx = target._x;
ty = target._y;
}
var _local5 = _rotation;
var _local8 = tx - _x;
var _local7 = ty - _y;
var _local9 = Math.sqrt((_local8 * _local8) + (_local7 * _local7));
var _local13 = Math.atan2(_local7, _local8) * _global.PI2;
_local5 = _local5 + _global.getAngleDelta(_local5 + 90, _local13, bulletFactor);
_rotation = _local5;
_local5 = _local5 / _global.PI2;
speedX = (-bulletSpeed) * Math.sin(_local5);
speedY = bulletSpeed * Math.cos(_local5);
if ((_local9 < autoAimDistance) && (bulletDir == "s")) {
bulletDir = "d";
}
} else if (movedBullet) {
var _local10 = speedY;
speedY = speedY - _root.bg.speedY;
}
passedDistance = passedDistance + Math.sqrt((speedX * speedX) + (speedY * speedY));
if (_global.clock != startClock) {
super.oEF();
}
if (movedBullet) {
speedY = _local10;
}
if (!_global.noSet(maxDistance)) {
if (passedDistance >= maxDistance) {
kill();
}
}
}
var __damage = 0;
var flySteps = 0;
var flyMinScale = 0;
var bulletDir = "d";
var tx = 0;
var ty = 0;
var bulletSpeed = 0;
var bulletFactor = 5;
var type = "";
var mode = false;
var passedDistance = 0;
}
Symbol 1274 MovieClip [__Packages.queue] Frame 0
class queue extends MovieClip
{
function queue () {
super();
actions = new Array();
newActions = new Array();
_global.queue = this;
}
function addFunc(func, obj, priority) {
ticket++;
if (_global.noSet(priority)) {
priority = 50;
}
newActions.push({func:func, obj:obj, pr:priority, ticket:ticket});
sync = false;
return(ticket);
}
function remove(t) {
var _local2 = 0;
while (_local2 < actions.length) {
if (actions[_local2].ticket == t) {
actions.splice(_local2, 1);
return(true);
}
_local2++;
}
_local2 = 0;
while (_local2 < newActions.length) {
if (newActions[_local2].ticket == t) {
newActions.splice(_local2, 1);
return(true);
}
_local2++;
}
trace((("*****************NOT removed\t" + t) + "\t") + actions.length);
return(false);
}
function clear() {
delete actions;
delete newActions;
actions = new Array();
newActions = new Array();
ticket = 0;
sync = true;
}
function onEnterFrame() {
if (_global.gameInProcess) {
if (!sync) {
while (newActions.length > 0) {
actions.push(newActions.pop());
}
actions.sortOn("pr", Array.NUMERIC);
sync = true;
}
var _local3 = 0;
while (_local3 < actions.length) {
var _local4 = actions.length;
actions[_local3].func.call(actions[_local3].obj);
if (actions.length != _local4) {
_local3--;
}
_local3++;
}
}
}
var actions = new Array();
var newActions = new Array();
var ticket = 0;
var sync = true;
}
Symbol 1275 MovieClip [__Packages.bonus] Frame 0
class bonus extends checkedObject
{
var x, _x, y, _y;
function bonus () {
super();
}
function oEF() {
x = Math.round(_x);
y = Math.round(_y);
super.oEF();
}
function removeFromArray() {
var _local3 = 0;
while (_local3 < _global.bonusObjects.length) {
if (_global.bonusObjects[_local3] == this) {
_global.bonusObjects.splice(_local3, 1);
break;
}
_local3++;
}
}
function kill() {
removeFromArray();
super.kill();
}
var bonusType = "";
}
Symbol 1276 MovieClip [__Packages.splashedObject] Frame 0
class splashedObject extends damagableObject
{
var hitBody, body, spl, splashDamage, damageRadius, splashDelay, _xscale, _yscale, armor, notCount, gotoAndPlay, _y, _x, _parent;
function splashedObject () {
super();
_global.staticObjects.push(this);
if (_global.noSet(hitBody)) {
hitBody = body;
}
body._visible = false;
hitBody._visible = false;
if (_global.envS.debug != 1) {
spl._visible = false;
}
}
function initSplash(sd, dr, delay, flag) {
if (_global.noSet(flag)) {
flag = false;
}
splashDamage = sd;
damageRadius = dr;
splashDelay = delay;
if (!flag) {
spl._xscale = (spl._yscale = dr);
} else {
_xscale = (_yscale = dr);
}
}
function destroy() {
_global.debug(this + ": \u0411\u0410\u0428\u041D\u042F \u0413\u0418\u0411\u041D\u0415\u0422!");
if (armor <= 0) {
if (!notCount) {
_global.rezults.items++;
}
}
super.destroy();
gotoAndPlay("destroy");
var _local10 = 1;
var _local11 = _root.bg.fx;
while (!_global.noSet(this["p" + _local10])) {
var _local6 = this["p" + _local10];
var _local9 = _local11.getNextHighestDepth();
var _local5 = _local11.attachMovie("explode", "fx" + _local9, _local9);
_local5._rotation = _local6._rotation;
_local5._xscale = _local6._xscale;
_local5._yscale = _local6._yscale;
var _local7 = {x:_x, y:_y};
_parent.localToGlobal(_local7);
_local5._parent.globalToLocal(_local7);
_local5._x = _local7.x;
_local5._y = _local7.y;
_local5.target = this;
_local5.target_mc = _local6;
if (_global.noSet(_local6.delay)) {
_local6.delay = 0;
}
_local5.gotoAndStop(1);
_local5.maxDelay = _local6.delay;
_local5.onEnterFrame = _global.explodePause;
_local10++;
}
var _local8 = 0;
while (_local8 < _global.staticObjects.length) {
if (_global.staticObjects[_local8] == this) {
_global.staticObjects.splice(_local8, 1);
break;
}
_local8++;
}
}
function kill() {
var _local4 = 0;
while (_local4 < _global.staticObjects.length) {
if (_global.staticObjects[_local4] == this) {
_global.staticObjects.splice(_local4, 1);
break;
}
_local4++;
}
super.kill();
}
function oEF() {
super.oEF();
}
}
Symbol 1277 MovieClip [__Packages.cannon] Frame 0
class cannon extends MovieClip
{
var myNum, parent, _x, _y, fires, firesAssoc, gunZ, _rotation, localToGlobal;
function cannon () {
super();
var _local4 = myNum + 1;
var _local5 = parent.base["head" + _local4];
if (_global.noSet(_local5) && (_local4 == 1)) {
_local5 = parent.base.head;
}
if (_global.noSet(_local5)) {
_global.debug((("CANNOT FIND CANNON MOUNT POINT FOR TANK " + parent) + " CANNON N ") + _local4);
} else {
_x = _local5._x;
_y = _local5._y;
}
fires = new Array();
firesAssoc = new Object();
fireNum = 1;
_local4 = 0;
_local4++;
while (this["shoot" + _local4]) {
fires.push(this["shoot" + _local4]);
firesAssoc[this["shoot" + _local4]._name] = this["shoot" + _local4];
}
if (fires.length > 1) {
fireNum = 0;
}
}
function initGun() {
gunZ = new Array();
currentGun = 0;
}
function addGun(t, mt, c, bt, bs, dd, br, tl, am, fs, fm, fd, bd, mb, pa, pd, pts, pta, ptss, ca, to) {
gunZ.push(new weapon(this, gunZ.length));
gunZ[gunZ.length - 1].init(t, mt, c, bt, bs, dd, br, tl, am, fs, fm, fd, bd, mb, pa, pd, pts, pta, ptss, to);
if (_global.noSet(ca)) {
ca = "t";
}
cannonAngleType = ca.charAt(0);
if (((cannonAngleType != "t") && (cannonAngleType != "w")) && (cannonAngleType != "h")) {
cannonAngleType = "t";
}
cannonAngle = parseFloat(ca.substr(1, 100));
if (_global.noSet(cannonAngle)) {
cannonAngle = 0;
}
}
function bang(obj) {
return(gunZ[currentGun].bang(obj));
}
function makeBang(bt, bs, dm, bulletDir, bulletFactor, pd, passageAbility, obj, gunObj, angle, firePoint) {
if (_global.noSet(angle)) {
angle = 0;
}
var _local23 = fireNum;
if (fires.length > 1) {
fireNum++;
}
if (fireNum > fires.length) {
fireNum = 1;
}
var _local18 = fireNum;
if (obj == 1) {
if (!_global.noSet(firePoint)) {
var _local8 = firesAssoc[firePoint];
} else {
var _local8 = fires[_local18 - 1];
}
} else {
var _local8 = fires[_local18 - 1];
}
if (_local8._currentframe == 1) {
_local8.gotoAndPlay(bt);
}
if (gunObj.bulletTopLevel == 0) {
var _local15 = _root.bg.shots;
}
if (gunObj.bulletTopLevel == 1) {
var _local15 = _root.bg.shotsTop;
}
var _local21 = _local15.getNextHighestDepth();
var _local4 = _local15.attachMovie(bt, "f" + _local21, _local21);
_local4.movedBullet = gunObj.movedBullet;
var _local19 = ((_rotation - 90) + angle) + parent.gunHolder._rotation;
var _local6 = _local19 / _global.PI2;
_local4._rotation = _local19 - 90;
var _local7 = {x:_local8._x, y:_local8._y};
localToGlobal(_local7);
var _local10 = {x:_local7.x, y:_local7.y};
_local4._parent.globalToLocal(_local7);
_local4.moveTo(_local7.x, _local7.y);
_local4.flySteps = gunObj.flySteps;
_local4.flyMinScale = gunObj.flyMinScale;
_local4.inQueue(60);
if (gunObj.flySteps == 0) {
if (bt == "torpedoe") {
_local4.setMotion(gunObj.myObj._parent.speedX / _global.torpedoeSettings.startXSpeed, _global.torpedoeSettings.startYSpeed);
} else {
_local4.setMotion(bs * Math.cos(_local6), bs * Math.sin(_local6));
if ((cannonAngleType != "t") && (bulletDir != "d")) {
_local4.bulletDir = bulletDir;
if (!_global.noSet(bulletFactor)) {
_local4.bulletFactor = bulletFactor;
}
_local4.target = parent.target;
_local4.tx = parent.target._x;
_local4.ty = parent.target._y;
_local4.bulletSpeed = bs;
}
}
} else {
_local4._rotation = 0;
if (obj == 1) {
var _local12 = _root._xmouse - _local10.x;
var _local11 = _root._ymouse - _local10.y;
var _local20 = Math.sqrt((_local12 * _local12) + (_local11 * _local11));
_local6 = Math.atan2(_local11, _local12);
var _local22 = ((parent.base._xmouse > 0) ? 1 : -1);
_local6 = _local6 + ((_local22 * angle) / _global.PI2);
_local4.setMotion((_local20 * Math.cos(_local6)) / (gunObj.flySteps - 1), (_local20 * Math.sin(_local6)) / (gunObj.flySteps - 1));
}
if (obj == 0) {
if (cannonAngleType == "t") {
var _local13 = {x:parent.target._x, y:parent.target._y};
_local4._parent.localToGlobal(_local13);
_local4.setMotion((_local13.x - _local10.x) / (gunObj.flySteps - 1), (_local13.y - _local10.y) / (gunObj.flySteps - 1));
} else {
bs = gunObj.flyDistance / (gunObj.flySteps - 1);
_local4.setMotion(bs * Math.cos(_local6), bs * Math.sin(_local6));
}
}
}
_local4.damage = dm;
_local4.maxDistance = pd;
_local4.object = obj;
_local4.type = bt;
_local4.passageAbility = passageAbility;
_local4.fireAngle = _local6;
if ((gunObj.splashDamage != 0) && (!_global.noSet(gunObj.splashDamage))) {
_local4.splashDamage = gunObj.splashDamage * (gunObj.nuke ? 2 : 1);
_local4.damageRadius = gunObj.damageRadius * (gunObj.nuke ? 2 : 1);
_local4.splashDelay = gunObj.splashDelay;
}
return(_local4);
}
function changeGun(newWeapon) {
if (newWeapon == currentGun) {
return(true);
}
if (newWeapon >= gunZ.length) {
_global.debug(("Cannot change weapon to " + newWeapon) + ", not inited");
return(false);
}
_global.debug((("Changing weapon from " + currentGun) + " to ") + newWeapon);
currentGun = newWeapon;
return(true);
}
function initSplash(sd, dr, del) {
gunZ[gunZ.length - 1].initSplash(sd, dr, del);
}
var fireNum = 1;
var cannonAngleType = "t";
var cannonAngle = 0;
var currentGun = 0;
}
Symbol 1278 MovieClip [__Packages.weapon] Frame 0
class weapon
{
var myObj, bulletSpeed, pointsUsed, pointsAngles, pointsScale;
function weapon (target, nu) {
myObj = target;
myNum = nu;
empty = true;
multiple = 1;
}
function initSplash(sd, dr, del) {
splashDamage = sd;
damageRadius = dr;
splashDelay = del;
}
function init(t, mt, c, bt, bs, dd, br, tl, am, fs, fm, fd, bd, mb, pa, pd, pts, pta, ptss, to) {
if (_global.noSet(bt)) {
return(undefined);
}
if (_global.noSet(to)) {
to = 0;
}
flySteps = parseInt(fs);
if (_global.noSet(flySteps)) {
flySteps = 0;
}
flyMinScale = parseInt(fm);
if (_global.noSet(flyMinScale)) {
flyMinScale = 0;
}
flyDistance = parseInt(fd);
if (_global.noSet(flyDistance)) {
flyDistance = 100;
}
empty = false;
startReloadTime = (reloadTime = t);
startReloadMicroTime = (reloadMicroTime = mt);
clip = c;
if (!_global.noSet(bt)) {
bulletType = bt;
}
if (!_global.noSet(bs)) {
bulletSpeed = bs;
}
if (_global.noSet(am)) {
amount = -100;
} else {
amount = am;
}
if (!_global.noSet(tl)) {
bulletTopLevel = tl;
}
if ((bulletTopLevel != 0) && (bulletTopLevel != 1)) {
bulletTopLevel = 0;
}
if (_global.noSet(dd)) {
bulletDir = "d";
} else {
bulletDir = dd;
}
if (!_global.noSet(br)) {
bulletFactor = br;
}
if (!_global.noSet(mb)) {
movedBullet = ((mb == 1) ? true : false);
}
if (_global.noSet(pa)) {
bulletPassageAbility = 1;
} else {
bulletPassageAbility = pa;
}
if (_global.noSet(pd)) {
pointsDistance = 1000;
} else {
pointsDistance = pd;
}
damage = bd;
reload = true;
to = parseInt(to);
if (_global.noSet(to)) {
to = 0;
}
bangTime = _global.clock + to;
if (_global.noSet(pts)) {
pointsUsed = new Array();
var _local3 = 0;
while (_local3 < myObj.fires.length) {
pointsUsed.push(myObj.fires[_local3]._name);
_local3++;
}
} else {
pointsUsed = _global.prepareArrayString(pts);
}
pointsAngles = _global.prepareArrayNum(pta);
pointsScale = _global.prepareArrayNum(ptss);
}
function bang(obj) {
if (empty) {
return(false);
}
if ((reloadMicroTime == reloadTime) && (reloadTime == 0)) {
return(false);
}
if ((!reload) && ((_global.clock - bangTime) < reloadMicroTime)) {
return(false);
}
if (reload && ((_global.clock - bangTime) < reloadTime)) {
return(false);
}
if (amount == 0) {
return(false);
}
if (reload) {
reload = false;
shootCount = 0;
}
shootCount++;
var _local10 = "s_" + bulletType;
if (_local10 == "s_lazerBlink2") {
_local10 = "s_lazerBlink1";
}
if (((bulletType != "emptyShoot") && (bulletType != "anim_1")) && (bulletType != "anim_2")) {
_global.sound.play(_local10, myObj.parent._x);
}
if (bulletType == "anim_1") {
var _local6 = 0;
while (_local6 < _global.enemyObjects.length) {
var _local4 = _global.enemyObjects[_local6];
if ((_local4.mainLinkage == "boss_3_1l") || (_local4.mainLinkage == "boss_3_1r")) {
_local4.base.aa.imStopped = false;
_local4.base.aa.gotoAndPlay(20);
_local4.base.body.imStopped = false;
_local4.base.body.gotoAndPlay(20);
}
_local6++;
}
}
if (bulletType == "anim_2") {
var _local6 = 0;
while (_local6 < _global.enemyObjects.length) {
var _local4 = _global.enemyObjects[_local6];
if ((((_local4.mainLinkage == "boss_3_1l") || (_local4.mainLinkage == "boss_3_1r")) || (_local4.mainLinkage == "boss_3_2r")) || (_local4.mainLinkage == "boss_3_2l")) {
_local4.base.imStopped = false;
_local4.base.gotoAndPlay(20);
_local4.base.aa.imStopped = false;
_local4.base.aa.gotoAndPlay(20);
_local4.base.body.imStopped = false;
_local4.base.body.gotoAndPlay(20);
}
_local6++;
}
}
if (shootCount == clip) {
reload = true;
}
bangTime = _global.clock;
var _local9 = damage * (doubleDamage ? 1.5 : 1);
if (amount > 0) {
amount--;
}
if ((obj == 1) && (myNum == 1)) {
_root.gui.rockets.tf.text = amount;
}
if (obj != 1) {
myObj.makeBang(bulletType, bulletSpeed, _local9, bulletDir, bulletFactor, pointsDistance, bulletPassageAbility, obj, this);
} else {
var _local5 = 0;
while (_local5 < pointsUsed.length) {
var _local7 = myObj.makeBang(bulletType, bulletSpeed, _local9, bulletDir, bulletFactor, pointsDistance, bulletPassageAbility, obj, this, pointsAngles[_local5], pointsUsed[_local5]);
if (!_global.noSet(pointsScale[_local5])) {
_local7._xscale = (_local7._yscale = pointsScale[_local5] * 100);
}
_local5++;
}
}
return(true);
}
var empty = true;
var bulletType = "gunshot";
var flySteps = 0;
var flyMinScale = 0;
var flyDistance = 100;
var amount = -100;
var bulletDir = "d";
var bulletFactor = 5;
var bulletTopLevel = 0;
var bulletPassageAbility = 1;
var pointsDistance = 1000;
var reloadTime = 0;
var startReloadTime = 0;
var reloadMicroTime = 0;
var startReloadMicroTime = 0;
var clip = 0;
var reload = false;
var multiple = 1;
var doubleDamage = false;
var doubleSpeed = false;
var shootCount = 0;
var bangTime = 0;
var damage = 0;
var myNum = 0;
var splashDamage = 0;
var damageRadius = 0;
var splashDelay = 0;
var nuke = false;
var movedBullet = true;
}
Symbol 1279 MovieClip [__Packages.autoExplode] Frame 0
class autoExplode extends splashedObject
{
var explodeTimer, changeArmor, kill;
function autoExplode () {
super();
}
function oEF() {
super.oEF();
if (_global.noSet(explodeTimer)) {
return(undefined);
}
explodeTimer--;
if (explodeTimer <= 0) {
_global.checkSplash(this);
changeArmor(-100000);
kill();
}
}
}
Symbol 1280 MovieClip [__Packages.playerClass] Frame 0
class playerClass extends tankClass
{
var offsetTop, offsetBottom, offsetLeft, offsetRight, offReaction, speedX, speedY, base, cannons, bar, startArmor, playerBaseRotation, shadow, moveBy, bottomLineReached, gunHolder, rotateGun, init, initMove, y, armor, startBlink, live, x;
function playerClass () {
super();
offsetTop = _global.envS.playerOffset.top;
offsetBottom = _global.envS.playerOffset.bottom;
offsetLeft = _global.envS.playerOffset.left;
offsetRight = _global.envS.playerOffset.right;
offReaction = "stand";
oldTab = Key.isToggled(9);
XspeedFactor = _global.playerS.XspeedFactor;
YspeedFactor = _global.playerS.YspeedFactor;
rotationFactor = _global.playerS.rotationFactor;
if (_global.selectedPlane == "playerMan") {
_root.gui.weaponReady.gotoAndStop(2);
}
}
function setMotion(a, b) {
super.setMotion(0, 0);
startBaseSpeedX = (baseSpeedX = a);
startBaseSpeedY = (baseSpeedY = b);
speedX = (speedY = 0);
}
function initTank(a, b, c, ar, wb, sh, msh, mar, sha) {
shield = sh;
maxShield = msh;
super.initTank(a, b, c, ar, wb, false, 1, sha);
base.vis.stop();
var _local5 = 0;
while (_local5 < cannons.length) {
cannons[_local5]._y = cannons[_local5]._y * -1;
_local5++;
}
if (_global.envS.debug == 1) {
bar._y = 20;
}
startArmor = Math.max(mar, ar);
showArmor();
playerBaseRotation = (shadow._rotation = (realRotation = (base._rotation = 0)));
secondWeapon1 = 0;
secondWeapon2 = 0;
_root.gui.weaponReady.ico2.stop();
_root.gui.weaponReady.ico3.stop();
_root.gui.weaponReady.ico2.n = 100;
_root.gui.weaponReady.ico3.n = 100;
}
function oEF() {
playerDx = 0;
playerDy = 0;
if (_global.userControlled) {
if (Key.isDown(37) || (Key.isDown(65))) {
playerDx = -1;
}
if (Key.isDown(39) || (Key.isDown(68))) {
playerDx = 1;
}
if ((Key.isDown(37) || (Key.isDown(65))) && (Key.isDown(39) || (Key.isDown(68)))) {
playerDx = 0;
}
if (Key.isDown(38) || (Key.isDown(87))) {
playerDy = -1;
}
if (Key.isDown(40) || (Key.isDown(83))) {
playerDy = 1;
}
if ((Key.isDown(38) || (Key.isDown(87))) && (Key.isDown(40) || (Key.isDown(83)))) {
playerDy = 0;
}
var _local12 = 0;
var _local11 = 0;
if ((playerDx != 0) || 1) {
_local12 = playerDx * baseSpeedX;
}
if ((playerDy != 0) || 1) {
_local11 = playerDy * baseSpeedY;
}
speedX = speedX + ((_local12 - speedX) / XspeedFactor);
speedY = speedY + ((_local11 - speedY) / YspeedFactor);
} else {
speedX = speedX + ((-speedX) / (XspeedFactor * 2));
speedY = speedY + ((-speedY) / YspeedFactor);
}
if (Math.abs(speedX) < 0.5) {
speedX = 0;
}
if (Math.abs(speedY) < 0.5) {
speedY = 0;
}
if (recoilTimer < _global.playerS.recoilLength) {
recoilTimer++;
var _local14 = recoilAngle / _global.PI2;
var _local13 = _global.playerS.recoil * Math.cos((Math.PI * recoilTimer) / ((2 * _global.playerS.recoilLength) + 1));
moveBy((_local13 * Math.cos(_local14)) / recoilTimer, (_local13 * Math.sin(_local14)) / recoilTimer);
}
super.oEF();
var _local6 = 1;
if ((playerDx != 0) || (playerDy != 0)) {
if (playerDy == -1) {
if (playerDx == 1) {
playerBaseRotation = 45;
}
if (playerDx == -1) {
playerBaseRotation = -45;
}
if (playerDx == 0) {
playerBaseRotation = 0;
}
} else if (playerDy == 1) {
if (playerDx == 1) {
playerBaseRotation = -45;
_local6 = -1;
}
if (playerDx == -1) {
playerBaseRotation = 45;
_local6 = -1;
}
if (playerDx == 0) {
playerBaseRotation = 0;
_local6 = -1;
}
} else if (playerDy == 0) {
if (playerDx == 1) {
playerBaseRotation = 90;
}
if (playerDx == -1) {
playerBaseRotation = -90;
}
}
}
realRotation = realRotation + _global.getAngleDelta(realRotation, playerBaseRotation, rotationFactor);
base._rotation = realRotation;
if (((speedX != 0) || (speedY != 0)) || (bottomLineReached)) {
var _local5 = base.vis._currentframe;
if ((Math.abs(speedX) > (baseSpeedX / 2)) || (Math.abs(speedY) > (baseSpeedY / 2))) {
_local6 = _local6 * 2;
}
_local5 = _local5 + _local6;
if (_local5 <= 0) {
_local5 = _local5 + base.vis._totalframes;
}
if (_local5 > base.vis._totalframes) {
_local5 = _local5 - base.vis._totalframes;
}
base.vis.gotoAndStop(_local5);
cannons[0].play();
} else {
cannons[0].stop();
}
gunHolder._rotation = 0;
rotateGun();
var _local9 = cannons[0]._rotation;
if (!(init && (initMove))) {
return(undefined);
}
if (_global.userControlled) {
if (autoFire) {
if (bang(1)) {
viewWeapons();
recoilAngle = _local9 + 90;
recoilTimer = 0;
_global.rezults.shots++;
}
if (_global.selectedPlane == "playerMech") {
if (secondWeapon1 != 0) {
if (cannons[0].changeGun(secondWeapon1 + 2)) {
if (bang(1)) {
viewWeapons();
recoilAngle = _local9 + 90;
recoilTimer = 0;
_global.rezults.shots++;
}
}
}
if (secondWeapon2 != 0) {
if (cannons[0].changeGun(secondWeapon2 + 4)) {
if (bang(1)) {
viewWeapons();
recoilAngle = _local9 + 90;
recoilTimer = 0;
_global.rezults.shots++;
}
}
}
cannons[0].changeGun(primaryWeapon);
}
}
}
var _local7 = cannons[0].gunZ[primaryWeapon];
if (_local7.reload) {
var _local8 = 100 * ((_global.clock - _local7.bangTime) / _local7.reloadTime);
} else {
var _local8 = 100 * ((_global.clock - _local7.bangTime) / _local7.reloadMicroTime);
}
if (_local8 > 100) {
var _local8 = 100;
}
var _local10 = _root.gui.weaponReady.ico1;
if ((_local8 < 100) || (_local10._currentframe <= 50)) {
_local10.gotoAndPlay(Math.ceil(_local8 / 2));
}
if (secondWeapon1 != 0) {
_local7 = cannons[0].gunZ[secondWeapon1 + 2];
if (_local7.reload) {
var _local8 = 100 * ((_global.clock - _local7.bangTime) / _local7.reloadTime);
} else {
var _local8 = 100 * ((_global.clock - _local7.bangTime) / _local7.reloadMicroTime);
}
if (_local8 > 100) {
var _local8 = 100;
}
_local10 = _root.gui.weaponReady.ico2;
if ((_local8 < 100) || (_local10._currentframe <= 50)) {
_local10.gotoAndPlay(Math.ceil(_local8 / 2));
}
}
if (secondWeapon2 != 0) {
_local7 = cannons[0].gunZ[secondWeapon2 + 4];
if (_local7.reload) {
var _local8 = 100 * ((_global.clock - _local7.bangTime) / _local7.reloadTime);
} else {
var _local8 = 100 * ((_global.clock - _local7.bangTime) / _local7.reloadMicroTime);
}
if (_local8 > 100) {
var _local8 = 100;
}
_local10 = _root.gui.weaponReady.ico3;
if ((_local8 < 100) || (_local10._currentframe <= 50)) {
_local10.gotoAndPlay(Math.ceil(_local8 / 2));
}
}
showWeapon();
}
function viewWeapons() {
_root.gui.rockets.tf.text = cannons[0].gunZ[1].amount;
}
function check() {
super.check();
bottomLineReached = false;
if (y == (((-_root.bg.y) + 400) - offsetBottom)) {
if ((playerDx == 0) && (playerDy == 0)) {
playerBaseRotation = 0;
bottomLineReached = true;
}
}
}
function initGun(t, mt, c, bt, bs, tl, am, fs, fm, fd, bd, sd, dr, del, mb, pa, pd, pts, pta, ptss) {
super.initGun(t, mt, c, bt, bs, "d", undefined, tl, am, fs, fm, fd, bd, mb, pa, pd, pts, pta, ptss);
if ((!_global.noSet(sd)) && (sd != 0)) {
var _local7 = _global.prepareArrayNum(sd);
var _local5 = _global.prepareArrayNum(dr);
var _local6 = _global.prepareArrayNum(del);
var _local4 = 0;
while (_local4 < cannons.length) {
cannons[_local4].initSplash(_local7[_local4], _local5[_local4], _local6[_local4]);
_local4++;
}
}
showWeapon();
}
function addGun(t, mt, c, bt, bs, tl, am, fs, fm, fd, bd, sd, dr, del, mb, pa, pd, pts, pta, ptss) {
super.addGun(t, mt, c, bt, bs, "d", undefined, tl, am, fs, fm, fd, bd, mb, pa, pd, pts, pta, ptss);
if ((!_global.noSet(sd)) && (sd != 0)) {
var _local7 = _global.prepareArrayNum(sd);
var _local5 = _global.prepareArrayNum(dr);
var _local6 = _global.prepareArrayNum(del);
var _local4 = 0;
while (_local4 < cannons.length) {
cannons[_local4].initSplash(_local7[_local4], _local5[_local4], _local6[_local4]);
_local4++;
}
}
showWeapon();
}
function showWeapon() {
_root.gui.weaponReady.ico1.i_col.gotoAndStop(primaryWeapon + 1);
_root.gui.weaponReady.ico1.i_bl.gotoAndStop(primaryWeapon + 1);
_root.gui.weaponReady.ico2.i_col.gotoAndStop(secondWeapon1 + 1);
_root.gui.weaponReady.ico2.i_bl.gotoAndStop(secondWeapon1 + 1);
_root.gui.weaponReady.ico3.i_col.gotoAndStop(secondWeapon2 + 1);
_root.gui.weaponReady.ico3.i_bl.gotoAndStop(secondWeapon2 + 1);
}
function onMouseDown() {
if (_global.userControlled) {
autoFire = true;
}
}
function onMouseUp() {
if (_global.userControlled) {
autoFire = false;
}
}
function bang(obj) {
var _local3 = super.bang(obj);
if ((_local3 && (cannons[0].currentGun == 1)) && (cannons[0].gunZ[1].nuke)) {
cannons[0].gunZ[1].nuke = false;
cannons[0].gunZ[1].bulletType = "rocket";
showWeapon();
}
return(_local3);
}
function showArmor() {
super.showArmor();
_root.gui.health.bar.gotoAndStop((100 - Math.round((100 * armor) / startArmor)) + 1);
_root.gui.armor.bar.gotoAndStop((100 - Math.round((100 * shield) / maxShield)) + 1);
}
function changeShield(delta) {
shield = shield + delta;
if (shield > maxShield) {
shield = maxShield;
}
if (shield < 0) {
shield = 0;
}
if (delta > 0) {
startBlink("shield");
}
}
function changeArmor(delta) {
if (!live) {
return(undefined);
}
if (delta < 0) {
_global.comboNumber = 0;
_global.actualComboNumber = 0;
_global.comboTimer = -100000;
_global.comboFactor = 1;
_root.gui.multi.text = (((_global.actualComboNumber + 1) + " (") + _global.comboFactor) + ")";
var _local5 = delta;
if ((-_local5) > shield) {
_local5 = -shield;
}
var _local6 = delta - _local5;
changeShield(_local5);
} else {
var _local5 = 0;
var _local6 = delta;
}
super.changeArmor(_local6);
}
function destroy() {
_global.gameOver = true;
super.destroy(true);
}
function applyBonus(type) {
startBlink("takebonus");
switch (type) {
case "health" :
_global.sound.play("health", x);
changeArmor(10);
showArmor();
break;
case "shield" :
_global.sound.play("health", x);
changeShield(1);
showArmor();
break;
case "1updater" :
if (_global.selectedPlane == "playerMan") {
break;
}
_global.sound.play("upgrade", x);
var _local4 = primaryWeapon;
primaryWeapon++;
if (primaryWeapon > 2) {
primaryWeapon = 2;
}
if (primaryWeapon != _local4) {
_root.gui.weaponReady.ico1.n = 0;
}
cannons[0].changeGun(primaryWeapon);
showWeapon();
break;
case "rocket" :
if (_global.selectedPlane == "playerMan") {
} else {
_global.sound.play("upgrade", x);
_local4 = secondWeapon1;
secondWeapon1++;
if (secondWeapon1 > 2) {
secondWeapon1 = 2;
}
if (secondWeapon1 != _local4) {
_root.gui.weaponReady.ico2.n = 0;
}
showWeapon();
break;
if (_global.selectedPlane == "playerMech") {
_global.sound.play("upgrade", x);
_local4 = secondWeapon2;
secondWeapon2++;
if (secondWeapon2 > 2) {
secondWeapon2 = 2;
}
if (secondWeapon2 != _local4) {
_root.gui.weaponReady.ico3.n = 0;
}
} else {
_global.sound.play("upgrade", x);
_local4 = primaryWeapon;
primaryWeapon++;
if (primaryWeapon > 2) {
primaryWeapon = 2;
}
if (primaryWeapon != _local4) {
_root.gui.weaponReady.ico1.n = 0;
}
cannons[0].changeGun(primaryWeapon);
}
showWeapon();
}
case "lazer" :
if (_global.selectedPlane == "playerMech") {
_global.sound.play("upgrade", x);
_local4 = secondWeapon2;
secondWeapon2++;
if (secondWeapon2 > 2) {
secondWeapon2 = 2;
}
if (secondWeapon2 != _local4) {
_root.gui.weaponReady.ico3.n = 0;
}
} else {
_global.sound.play("upgrade", x);
_local4 = primaryWeapon;
primaryWeapon++;
if (primaryWeapon > 2) {
primaryWeapon = 2;
}
if (primaryWeapon != _local4) {
_root.gui.weaponReady.ico1.n = 0;
}
cannons[0].changeGun(primaryWeapon);
}
showWeapon();
}
}
var playerDx = 0;
var playerDy = 0;
var baseSpeedX = 0;
var baseSpeedY = 0;
var startBaseSpeedX = 0;
var startBaseSpeedY = 0;
var XspeedFactor = 0;
var YspeedFactor = 0;
var rotationFactor = 0;
var realRotation = 0;
var rotSign = 0;
var shield = 0;
var maxShield = 0;
var recoilTimer = 10;
var recoilAngle = 0;
var oldTab = false;
var autoFire = false;
var weaponNum = 0;
var weaponPowerup = 0;
var secondWeapon1 = 0;
var secondWeapon2 = 0;
var primaryWeapon = 0;
}
Symbol 1281 MovieClip [__Packages.soundCollector] Frame 0
class soundCollector extends MovieClip
{
var col, getNextHighestDepth, createEmptyMovieClip;
function soundCollector () {
super();
col = new Array();
var _local8 = 0;
while (_local8 < arrayLength) {
var _local5 = getNextHighestDepth();
var _local6 = createEmptyMovieClip("mc_" + _local5, _local5);
var _local4 = new Sound(_local6);
_local4.onSoundComplete = scomplete;
var _local7 = {mc:_local6, snd:_local4, free:true, cont:false, pri:false};
_local4.link = _local7;
col.push(_local7);
_local8++;
}
_global.sound = this;
}
function set width(w) {
if (w >= 0) {
__width = w;
}
//return(width);
}
function get width() {
return(__width);
}
function set volume(v) {
if (v >= 0) {
__volume = v;
}
//return(volume);
}
function get volume() {
return(__volume);
}
function set enable(e) {
__enable = e;
if (!__enable) {
var _local2 = 0;
while (_local2 < arrayLength) {
col[_local2].snd.stop();
_local2++;
}
}
//return(enable);
}
function get enable() {
return(__enable);
}
function play(linkage, xpos, priority, num, volume) {
if (!__enable) {
return(undefined);
}
if (_global.noSet(priority)) {
priority = false;
}
if (_global.noSet(num)) {
num = 1;
}
if (num == -1) {
num = 1000000000 /* 0x3B9ACA00 */;
}
var _local12 = false;
var _local6 = -1;
var _local5 = 0;
var _local7 = -1;
var _local3 = 0;
while (_local3 < arrayLength) {
if (col[_local3].free || (_global.noSet(col[_local3].snd.position))) {
col[_local3].free = true;
_local6 = _local3;
break;
}
if (!col[_local3].pri) {
var _local4 = col[_local3].snd.position / col[_local3].snd.duration;
if (_local4 > _local5) {
_local5 = _local4;
_local7 = _local3;
}
}
_local3++;
}
if (_local6 == -1) {
if (priority) {
if (_global.envS.debug && (_global.envS.soundDebug)) {
_global.debug(((((("Sound collector: all slots busy, using slot " + _local7) + " (") + col[_local7].linkage) + ": ") + (col[_local7].snd.position / col[_local7].snd.duration)) + ")");
}
_local6 = _local7;
col[_local6].snd.stop();
} else if (_global.envS.debug && (_global.envS.soundDebug)) {
_global.debug("Sound collector: all slots busy, this sound skipping because of their low priority");
}
}
if (_local6 != -1) {
var _local8 = col[_local6];
_local8.snd.attachSound(linkage);
_local8.snd.setVolume(this.volume);
_local8.target = undefined;
if (!_global.noSet(xpos)) {
if (typeof(xpos) == "number") {
_local8.snd.setPan(calcPan(xpos));
}
if (typeof(xpos) == "movieclip") {
_local8.target = xpos;
}
} else {
_local8.snd.setPan(0);
}
_local8.snd.start(0, num);
_local8.free = false;
_local8.linkage = linkage;
_local8.pri = priority;
}
}
function stop(linkage) {
var _local2 = 0;
while (_local2 < arrayLength) {
if (col[_local2].linkage == linkage) {
col[_local2].snd.stop();
col[_local2].free = true;
}
_local2++;
}
}
function scomplete() {
var _local2 = this;
_local2.link.free = true;
}
function oEF() {
var _local3 = 0;
while (_local3 < arrayLength) {
if (!_global.noSet(col[_local3].target)) {
col[_local3].snd.setPan(calcPan(col[_local3].target._x));
}
_local3++;
}
}
function calcPan(xpos) {
return((((100 * xpos) / __width) * 2) - 100);
}
var arrayLength = 8;
var __volume = 100;
var __width = 100;
var __enable = true;
}
Symbol 1282 MovieClip [__Packages.bgClass] Frame 0
class bgClass extends movingObject
{
var _y, bg1, bg2;
function bgClass () {
super();
}
function check() {
if ((bg1._y + _y) > 1200) {
bg1._y = bg1._y - 2400;
}
if ((bg2._y + _y) > 1200) {
bg2._y = bg2._y - 2400;
}
}
function oEF() {
super.oEF();
}
}
Symbol 911 Button
on (release, keyPress "<Space>") {
_root.noNewGame = false;
_global.sound.play("menu");
_root.gotoAndStop("help");
}
Symbol 916 Button
on (release) {
_root.noNewGame = true;
_global.sound.play("menu");
_root.gotoAndStop("help");
}
Symbol 921 Button
on (press) {
_global.sound.play("menu");
openSite();
}
Symbol 924 Button
on (press) {
this._parent.soundOff();
this.gotoAndStop(2);
}
Symbol 926 Button
on (press) {
this._parent.soundOn();
this.gotoAndStop(1);
}
Symbol 927 MovieClip Frame 1
this.stop();
_root.soundStarter.gotoAndPlay("start");
sound.enable = true;
Symbol 927 MovieClip Frame 2
this.stop();
_root.soundStarter.gotoAndPlay("stop");
sound.enable = false;
Symbol 929 MovieClip Frame 1
_visible = false;
Symbol 929 MovieClip Frame 3
if (!sound.enable) {
gotoAndStop (1);
}
Symbol 929 MovieClip Frame 7
gotoAndStop (1);
Symbol 929 MovieClip Frame 12
gotoAndStop (1);
Symbol 930 MovieClip [#soundz] Frame 1
#initclip 82
Object.registerClass("#soundz", soundCollector);
#endinitclip
Symbol 937 Button
on (release, keyPress "<Space>") {
_global.sound.play("menu");
_root.gotoAndStop("game");
}
Symbol 942 Button
on (release) {
_global.sound.play("menu");
gotoAndStop ("menu");
}
Symbol 949 Button
on (release, keyPress "<Space>") {
if (_parent.mode == 1) {
_global.sound.play("menu");
this._parent.f = makeBreef;
this._parent.f(true);
delete this._parent.f;
} else if (_parent.mode == 2) {
setPlayerSettings();
_global.sound.play("menu");
_root.gotoAndStop("level");
}
}
Symbol 950 MovieClip Frame 1
stop();
_global.selectedPlane = "playerMan";
Symbol 950 MovieClip Frame 2
stop();
_global.selectedPlane = "playerMech";
Symbol 951 MovieClip Frame 1
_x = 0;
_y = 0;
Symbol 1179 MovieClip [BGfull] Frame 1
#initclip 83
Object.registerClass("BGfull", bgClass);
#endinitclip
Symbol 1191 MovieClip Frame 1
stop();
Symbol 1200 MovieClip Frame 1
stop();
Symbol 1204 MovieClip Frame 1
stop();
Symbol 1207 MovieClip Frame 54
stop();
Symbol 1211 MovieClip Frame 1
stop();
Symbol 1215 MovieClip Frame 1
stop();
Symbol 1216 MovieClip Frame 54
stop();
Symbol 1220 MovieClip Frame 1
stop();
Symbol 1224 MovieClip Frame 1
stop();
Symbol 1225 MovieClip Frame 54
stop();
Symbol 1227 MovieClip Frame 1
stop();
Symbol 1230 MovieClip Frame 1
stop();
Symbol 1231 MovieClip Frame 54
stop();
Symbol 1232 MovieClip Frame 1
stop();
Instance of Symbol 1207 MovieClip "ico2" in Symbol 1232 MovieClip Frame 1
onClipEvent (load) {
if (n == undefined) {
n = 0;
}
nn = 8;
str1 = {ra:50, ga:50, ba:50, rb:128, gb:128, bb:128};
str2 = {ra:100, ga:100, ba:100, rb:0, gb:0, bb:0};
}
onClipEvent (enterFrame) {
n++;
if (n < (nn * 5)) {
if ((n % nn) <= (nn / 2)) {
st = str1;
} else {
st = str2;
}
new Color(this).setTransform(st);
}
}
Instance of Symbol 1216 MovieClip "ico3" in Symbol 1232 MovieClip Frame 1
onClipEvent (load) {
if (n == undefined) {
n = 0;
}
nn = 8;
str1 = {ra:50, ga:50, ba:50, rb:128, gb:128, bb:128};
str2 = {ra:100, ga:100, ba:100, rb:0, gb:0, bb:0};
}
onClipEvent (enterFrame) {
n++;
if (n < (nn * 5)) {
if ((n % nn) <= (nn / 2)) {
st = str1;
} else {
st = str2;
}
new Color(this).setTransform(st);
}
}
Instance of Symbol 1225 MovieClip "ico1" in Symbol 1232 MovieClip Frame 1
onClipEvent (load) {
if (n == undefined) {
n = 0;
}
nn = 8;
str1 = {ra:50, ga:50, ba:50, rb:128, gb:128, bb:128};
str2 = {ra:100, ga:100, ba:100, rb:0, gb:0, bb:0};
}
onClipEvent (enterFrame) {
n++;
if (n < (nn * 5)) {
if ((n % nn) <= (nn / 2)) {
st = str1;
} else {
st = str2;
}
new Color(this).setTransform(st);
}
}
Instance of Symbol 1231 MovieClip "ico1" in Symbol 1232 MovieClip Frame 2
onClipEvent (load) {
if (n == undefined) {
n = 0;
}
nn = 8;
str1 = {ra:50, ga:50, ba:50, rb:128, gb:128, bb:128};
str2 = {ra:100, ga:100, ba:100, rb:0, gb:0, bb:0};
}
onClipEvent (enterFrame) {
n++;
if (n < (nn * 5)) {
if ((n % nn) <= (nn / 2)) {
st = str1;
} else {
st = str2;
}
new Color(this).setTransform(st);
}
}
Symbol 1234 MovieClip Frame 1
stop();
Symbol 1244 Button
on (release) {
_global.sound.play("menu");
keyGetter.onKeyDown(true);
}
Symbol 1245 Button
on (release) {
stopAllEngines();
_root.gotoAndStop("menu");
_global.sound.play("menu");
}
Symbol 1248 MovieClip Frame 1
_x = 0;
_y = 0;
ttz = _global.envS["textZ_" + language_pre];
title.text = ttz.gamePausedTitle;
tf.htmlText = ttz.gamePausedString;
Symbol 1253 Button
on (release) {
_global.sound.play("menu");
if (_global.levels["level_" + (levelNum + 1)] != undefined) {
_root.gotoAndStop("game");
} else if (!flag) {
_root.endGameOutput();
} else {
gotoAndStop (2);
}
}
Symbol 1255 MovieClip Frame 1
stop();
Symbol 1260 Button
on (release) {
openSite();
_root.gotoAndStop("menu");
}
Symbol 1262 MovieClip Frame 1
_x = 0;
_y = 0;
stop();