STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
231901
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2628 · P5256

<div style="position:absolute;top:-99px;left:-99px;"><img src="https://tools.swfchan.com/stathit.asp?noj=FRM42169696-15DC&rnd=42169696" width="1" height="1"></div>

game-1256686846.swf

This is the info page for
Flash #262764

(Click the ID number above for more basic data on this flash file.)


ActionScript [AS1/AS2]
Combined Code
movieClip 19 { } movieClip 21 { frame 1 { _visible = false; } } movieClip 22 { } movieClip 23 player { #initclip Object.registerClass('player', playerClass); #endinitclip } // unknown tag 88 length 284 movieClip 247 { } movieClip 248 BGfull { #initclip Object.registerClass('BGfull', bgClass); #endinitclip } movieClip 249 #soundz { #initclip Object.registerClass('#soundz', soundCollector); #endinitclip } movieClip 250 { frame 1 { _visible = false; } } movieClip 252 { } movieClip 253 autoExplodePoint { #initclip Object.registerClass('autoExplodePoint', autoExplode); #endinitclip frame 1 { stop(); } frame 15 { stop(); } } movieClip 256 { } movieClip 272 { frame 1 { if (_currentframe == 1) { stop(); } } frame 5 { gotoAndStop(1); } frame 15 { gotoAndStop(1); } frame 19 { gotoAndStop(1); } frame 33 { gotoAndStop(1); } frame 47 { gotoAndStop(1); } } movieClip 326 gun_gunner { #initclip Object.registerClass('gun_gunner', cannon); #endinitclip frame 1 { isSoldier = true; } instance codeStopper of movieClip 21 { onClipEvent (enterFrame) { if (gameInProcess && _parent.inMove) { _parent.play(); } else { _parent.stop(); } } } frame 17 { gotoAndPlay(1); } frame 18 { this.inMove = true; } frame 37 { stop(); } instance of movieClip 22 { onClipEvent (load) { _parent.stop(); ts = levelTime; } onClipEvent (enterFrame) { if (levelTime - ts > 2000) { _parent._parent._alpha -= 5; if (_parent._parent._alpha <= 0) { _parent._parent.removeMovieClip(); } } } } } // unknown tag 88 length 287 movieClip 329 { } movieClip 330 bonus_anim_lazer { frame 36 { this.removeMovieClip(); } } movieClip 332 { } movieClip 333 bonus_anim_rocket { frame 36 { this.removeMovieClip(); } } movieClip 334 { instance of movieClip 22 { onClipEvent (load) { _parent._parent.stop(); pp = Math.random() * 50 + 50; step = 0; } onClipEvent (enterFrame) { ++step; if (step >= pp) { _parent._parent.play(); } } } } movieClip 339 bonus_lazer { } movieClip 343 bonus_rocket { } movieClip 345 { } movieClip 348 { } movieClip 365 { instance codeStopper of movieClip 21 { onClipEvent (enterFrame) { if (gameInProcess) { _parent.play(); } else { _parent.stop(); } } } } movieClip 368 { } movieClip 369 heli2 { frame 1 { stop(); } instance ex2 of movieClip 21 { onClipEvent (load) { delay = 10; } } instance ex3 of movieClip 21 { onClipEvent (load) { delay = 20; } } frame 2 { makeDie(dd); } frame 10 { stop(); } } movieClip 370 heli3 { frame 1 { stop(); } instance ex2 of movieClip 21 { onClipEvent (load) { delay = 10; } } instance ex3 of movieClip 21 { onClipEvent (load) { delay = 20; } } frame 10 { stop(); } } movieClip 372 { } movieClip 375 { } movieClip 376 { } movieClip 379 { } movieClip 382 { } movieClip 383 oil1 { #initclip Object.registerClass('oil1', splashedObject); #endinitclip frame 1 { stop(); } frame 9 { stop(); } } movieClip 385 { } movieClip 386 hangar1 { #initclip Object.registerClass('hangar1', splashedObject); #endinitclip frame 1 { stop(); } frame 9 { stop(); } } movieClip 388 { } movieClip 391 { } movieClip 392 oilpump_r { #initclip Object.registerClass('oilpump_r', splashedObject); #endinitclip frame 1 { stop(); } frame 9 { stop(); } } movieClip 394 { } movieClip 395 oilpump_l { #initclip Object.registerClass('oilpump_l', splashedObject); #endinitclip frame 1 { stop(); } frame 9 { stop(); } } movieClip 397 { } movieClip 400 { } movieClip 433 { } movieClip 436 rls2 { #initclip Object.registerClass('rls2', splashedObject); #endinitclip frame 1 { stop(); } frame 16 { stop(); } } movieClip 438 { } movieClip 441 { } movieClip 442 rls1 { #initclip Object.registerClass('rls1', splashedObject); #endinitclip frame 1 { stop(); } frame 16 { stop(); } } movieClip 444 { } movieClip 447 { } movieClip 448 helipad { #initclip Object.registerClass('helipad', splashedObject); #endinitclip } movieClip 450 { } movieClip 453 { } movieClip 456 { } movieClip 457 junk_1_6 { #initclip Object.registerClass('junk_1_6', splashedObject); #endinitclip frame 1 { stop(); } frame 9 { stop(); } } movieClip 460 { } movieClip 461 junk_1_4 { #initclip Object.registerClass('junk_1_4', splashedObject); #endinitclip frame 1 { stop(); } frame 9 { stop(); } } movieClip 464 { } movieClip 465 junk_1_3 { #initclip Object.registerClass('junk_1_3', splashedObject); #endinitclip frame 1 { stop(); } frame 9 { stop(); } } movieClip 468 { } movieClip 469 junk_1_5 { #initclip Object.registerClass('junk_1_5', splashedObject); #endinitclip frame 1 { stop(); } frame 9 { stop(); } } movieClip 472 { } movieClip 473 junk_1_1 { #initclip Object.registerClass('junk_1_1', splashedObject); #endinitclip frame 1 { stop(); } frame 9 { stop(); } } movieClip 476 { } movieClip 477 junk_1_2 { #initclip Object.registerClass('junk_1_2', splashedObject); #endinitclip frame 1 { stop(); } frame 9 { stop(); } } movieClip 489 explodef { frame 2 { _global.sound.play('eexplode', sx); } frame 7 { _global.sound.play('eexplode', sx); } frame 22 { stop(); this.removeMovieClip(); } } movieClip 491 { } movieClip 492 bonus_anim_shield { frame 36 { this.removeMovieClip(); } } movieClip 496 bonus_shield { #initclip Object.registerClass('bonus_shield', bonus); #endinitclip } movieClip 498 { } movieClip 500 { } movieClip 501 bonus_anim_2updater { frame 36 { this.removeMovieClip(); } } movieClip 503 { } movieClip 504 bonus_anim_1updater { frame 36 { this.removeMovieClip(); } } movieClip 508 bonus_1updater { #initclip Object.registerClass('bonus_1updater', bonus); #endinitclip } movieClip 509 { } movieClip 510 player_empty_base { } movieClip 513 { } movieClip 515 { } movieClip 516 rocket { #initclip Object.registerClass('rocket', bulletClass); #endinitclip instance codeStopper of movieClip 21 { onClipEvent (enterFrame) { if (gameInProcess) { _parent.play(); } else { _parent.stop(); } } } } movieClip 570 soldier { #initclip Object.registerClass('soldier', cannon); #endinitclip frame 1 { isSoldier = true; } instance codeStopper of movieClip 21 { onClipEvent (enterFrame) { if (gameInProcess && _parent.inMove) { _parent.play(); } else { _parent.stop(); } } } frame 17 { gotoAndPlay(1); } frame 18 { this.inMove = true; } frame 37 { stop(); } instance of movieClip 22 { onClipEvent (load) { _parent.stop(); ts = levelTime; } onClipEvent (enterFrame) { if (levelTime - ts > 2000) { _parent._parent._alpha -= 5; if (_parent._parent._alpha <= 0) { _parent._parent.removeMovieClip(); } } } } } movieClip 573 { } movieClip 574 dropship_shadow { } movieClip 576 { } movieClip 579 { } movieClip 582 { } movieClip 583 dropship { frame 1 { stop(); } instance ex2 of movieClip 21 { onClipEvent (load) { delay = 10; } } instance ex4 of movieClip 21 { onClipEvent (load) { delay = 20; } } instance ex3 of movieClip 21 { onClipEvent (load) { delay = 15; } } frame 2 { makeDie(dd, true, true); } frame 10 { stop(); } } movieClip 585 sin_way { } movieClip 588 { } movieClip 589 heli2_shadow { } movieClip 592 { } movieClip 593 heli1_shadow { } movieClip 595 { } movieClip 598 { } movieClip 601 { } movieClip 602 heli1 { frame 1 { stop(); } instance ex2 of movieClip 21 { onClipEvent (load) { delay = 10; } } frame 2 { makeDie(dd); } frame 10 { stop(); } } movieClip 605 { } movieClip 606 gun_mech_boss_3 { #initclip Object.registerClass('gun_mech_boss_3', cannon); #endinitclip instance of movieClip 605 { onClipEvent (load) { _visible = false; } } } movieClip 607 gun_mech_boss_2 { #initclip Object.registerClass('gun_mech_boss_2', cannon); #endinitclip instance of movieClip 605 { onClipEvent (load) { _visible = false; } } } movieClip 608 gun_mech_boss_1 { #initclip Object.registerClass('gun_mech_boss_1', cannon); #endinitclip } movieClip 609 { } movieClip 612 { } movieClip 675 { instance codeStopper of movieClip 21 { onClipEvent (enterFrame) { if (gameInProcess && _parent.inMove) { _parent.play(); } else { _parent.stop(); } } } } movieClip 676 mech_boss { frame 1 { isMech = true; } instance ex2 of movieClip 21 { onClipEvent (load) { delay = 10; } } instance ex3 of movieClip 21 { onClipEvent (load) { delay = 12; } } instance ex4 of movieClip 21 { onClipEvent (load) { delay = 15; } } instance ex5 of movieClip 21 { onClipEvent (load) { delay = 20; } } } movieClip 679 { } movieClip 680 gun_mech_rocket_2 { #initclip Object.registerClass('gun_mech_rocket_2', cannon); #endinitclip instance of movieClip 679 { onClipEvent (load) { _visible = false; } } } movieClip 681 gun_mech_rocket_1 { #initclip Object.registerClass('gun_mech_rocket_1', cannon); #endinitclip } movieClip 684 { } movieClip 747 { instance codeStopper of movieClip 21 { onClipEvent (enterFrame) { if (gameInProcess && _parent.inMove) { _parent.play(); } else { _parent.stop(); } } } } movieClip 748 mech_rocket { frame 1 { isMech = true; } instance ex2 of movieClip 21 { onClipEvent (load) { delay = 10; } } instance ex3 of movieClip 21 { onClipEvent (load) { delay = 20; } } } movieClip 751 { } movieClip 752 gun_mech_gunner_2 { #initclip Object.registerClass('gun_mech_gunner_2', cannon); #endinitclip instance of movieClip 751 { onClipEvent (load) { _visible = false; } } } movieClip 753 gun_mech_gunner_1 { #initclip Object.registerClass('gun_mech_gunner_1', cannon); #endinitclip } movieClip 816 { instance codeStopper of movieClip 21 { onClipEvent (enterFrame) { if (gameInProcess && _parent.inMove) { _parent.play(); } else { _parent.stop(); } } } } movieClip 817 mech_gunner { frame 1 { isMech = true; } instance ex2 of movieClip 21 { onClipEvent (load) { delay = 10; } } instance ex3 of movieClip 21 { onClipEvent (load) { delay = 20; } } } movieClip 818 { } movieClip 821 { } movieClip 822 truck4 { instance ex2 of movieClip 21 { onClipEvent (load) { delay = 10; } } } movieClip 823 { } movieClip 826 { } movieClip 827 truck3 { instance ex2 of movieClip 21 { onClipEvent (load) { delay = 10; } } instance ex3 of movieClip 21 { onClipEvent (load) { delay = 20; } } } movieClip 828 { } movieClip 831 { } movieClip 832 truck2 { instance ex2 of movieClip 21 { onClipEvent (load) { delay = 10; } } } movieClip 833 { } movieClip 836 { } movieClip 837 truck1 { instance ex2 of movieClip 21 { onClipEvent (load) { delay = 10; } } } movieClip 838 { } movieClip 841 { } movieClip 842 hummer { instance ex2 of movieClip 21 { onClipEvent (load) { delay = 10; } } } movieClip 844 { } movieClip 847 { } movieClip 848 buggy { instance ex2 of movieClip 21 { onClipEvent (load) { delay = 10; } } } movieClip 851 { } movieClip 852 gun_gunner2 { #initclip Object.registerClass('gun_gunner2', cannon); #endinitclip } movieClip 855 { } movieClip 856 gun_abrams { #initclip Object.registerClass('gun_abrams', cannon); #endinitclip } movieClip 857 gun_1 { #initclip Object.registerClass('gun_1', cannon); #endinitclip } movieClip 858 { } movieClip 861 { } movieClip 862 wall2 { #initclip Object.registerClass('wall2', splashedObject); #endinitclip frame 1 { stop(); } frame 9 { stop(); } } movieClip 863 { } movieClip 866 { } movieClip 867 wall1 { #initclip Object.registerClass('wall1', splashedObject); #endinitclip frame 1 { stop(); } frame 9 { stop(); } } movieClip 870 { } movieClip 871 tower1 { #initclip Object.registerClass('tower1', splashedObject); #endinitclip frame 1 { stop(); } frame 9 { stop(); } } movieClip 874 { } movieClip 875 oiltanker1 { #initclip Object.registerClass('oiltanker1', splashedObject); #endinitclip frame 1 { stop(); } frame 9 { stop(); } } movieClip 876 { } movieClip 877 junk6 { #initclip Object.registerClass('junk6', splashedObject); #endinitclip } movieClip 878 { } movieClip 879 junk5 { #initclip Object.registerClass('junk5', splashedObject); #endinitclip } movieClip 880 { } movieClip 881 junk4 { #initclip Object.registerClass('junk4', splashedObject); #endinitclip } movieClip 882 { } movieClip 883 junk3 { #initclip Object.registerClass('junk3', splashedObject); #endinitclip } movieClip 884 { } movieClip 885 junk2 { #initclip Object.registerClass('junk2', splashedObject); #endinitclip } movieClip 886 { } movieClip 887 junk1 { #initclip Object.registerClass('junk1', splashedObject); #endinitclip } movieClip 888 explode2 { #initclip Object.registerClass('explode2', splashedObject); #endinitclip } movieClip 889 explode1 { #initclip Object.registerClass('explode1', splashedObject); #endinitclip } movieClip 892 { } movieClip 894 { } movieClip 895 bunker2 { #initclip Object.registerClass('bunker2', splashedObject); #endinitclip frame 1 { stop(); } frame 9 { stop(); } } movieClip 896 { } movieClip 899 { } movieClip 900 bunker1 { #initclip Object.registerClass('bunker1', splashedObject); #endinitclip frame 1 { stop(); } frame 9 { stop(); } } movieClip 903 { } movieClip 904 { } movieClip 905 base04_r { #initclip Object.registerClass('base04_r', splashedObject); #endinitclip } movieClip 906 base04_l { #initclip Object.registerClass('base04_l', splashedObject); #endinitclip } movieClip 909 { } movieClip 910 base03_r { #initclip Object.registerClass('base03_r', splashedObject); #endinitclip } movieClip 911 base03_l { #initclip Object.registerClass('base03_l', splashedObject); #endinitclip } movieClip 914 { } movieClip 915 base02_r { #initclip Object.registerClass('base02_r', splashedObject); #endinitclip } movieClip 916 base02_l { #initclip Object.registerClass('base02_l', splashedObject); #endinitclip } movieClip 920 bonus_2updater { #initclip Object.registerClass('bonus_2updater', bonus); #endinitclip } movieClip 923 weapon0 { #initclip Object.registerClass('weapon0', bulletClass); #endinitclip } movieClip 926 empty_base { frame 1 { stop(); } frame 2 { stop(); } } movieClip 929 { } movieClip 930 base01_r { #initclip Object.registerClass('base01_r', splashedObject); #endinitclip } movieClip 931 base01_l { #initclip Object.registerClass('base01_l', splashedObject); #endinitclip } movieClip 935 lazer { #initclip Object.registerClass('lazer', bulletClass); #endinitclip frame 10 { this.kill(); } } movieClip 936 { } movieClip 939 { } movieClip 940 abrams { instance ex2 of movieClip 21 { onClipEvent (load) { delay = 10; } } instance ex3 of movieClip 21 { onClipEvent (load) { delay = 20; } } } movieClip 943 { } movieClip 944 weapon1 { #initclip Object.registerClass('weapon1', bulletClass); #endinitclip instance codeStopper of movieClip 21 { onClipEvent (enterFrame) { if (gameInProcess) { _parent.play(); } else { _parent.stop(); } } } frame 20 { stop(); } } movieClip 994 explode { frame 25 { stop(); this.removeMovieClip(); } } movieClip 998 { } movieClip 999 player_gun { #initclip Object.registerClass('player_gun', cannon); #endinitclip } movieClip 1001 povorot_way { } movieClip 1003 { } movieClip 1004 bonus_anim_health { frame 36 { this.removeMovieClip(); } } movieClip 1007 { } movieClip 1008 weapon3 { #initclip Object.registerClass('weapon3', bulletClass); #endinitclip instance codeStopper of movieClip 21 { onClipEvent (enterFrame) { if (gameInProcess) { _parent.play(); } else { _parent.stop(); } } } frame 15 { stop(); } } movieClip 1019 boul { frame 15 { stop(); this.removeMovieClip(); } } movieClip 1022 weapon2 { #initclip Object.registerClass('weapon2', bulletClass); #endinitclip } movieClip 1025 { } movieClip 1026 gun_jeep { #initclip Object.registerClass('gun_jeep', cannon); #endinitclip } movieClip 1029 playerShoot2 { #initclip Object.registerClass('playerShoot2', bulletClass); #endinitclip instance codeStopper of movieClip 21 { onClipEvent (enterFrame) { if (gameInProcess) { _parent.play(); } else { _parent.stop(); } } } frame 10 { stop(); } } movieClip 1031 tang_way { } movieClip 1035 { frame 10 { stop(); _parent.kill(); } } movieClip 1036 userSplash { #initclip Object.registerClass('userSplash', splashedObject); #endinitclip frame 1 { stop(); } frame 16 { stop(); } } movieClip 1040 bonus_health { #initclip Object.registerClass('bonus_health', bonus); #endinitclip } movieClip 1042 line_way { } movieClip 1043 queue { #initclip Object.registerClass('queue', queue); #endinitclip } movieClip 1044 bullet { #initclip Object.registerClass('bullet', bulletClass); #endinitclip } movieClip 1045 enemy { #initclip Object.registerClass('enemy', enemyClass); #endinitclip } movieClip 1046 { } movieClip 1109 { instance codeStopper of movieClip 21 { onClipEvent (enterFrame) { if (gameInProcess && _parent.inMove) { _parent.play(); } else { _parent.stop(); } } } } movieClip 1110 player_base { frame 1 { stop(); } instance ex2 of movieClip 21 { onClipEvent (load) { delay = 20; } } frame 2 { stop(); makeDie(dd); } } 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; } movieClip 1266 __Packages.checkedObject { #initclip if (!_global.checkedObject) { var v1 = function () { super(); this.startClock = _global.clock; this.offsetTop = _global.envS.allOffset.top; this.offsetBottom = _global.envS.allOffset.bottom; this.offsetLeft = _global.envS.allOffset.left; this.offsetRight = _global.envS.allOffset.right; this.x = Math.round(this._x); this.y = Math.round(this._y); }; _global.checkedObject = v1; _global.checkedObject extends MovieClip; var v2 = v1.prototype; v2.initOffset = function (bb) { if (bb == 1) { this.bigObject = true; } if (this.bigObject) { this.offsetTop = _global.envS.bigTileOffset.top; this.offsetBottom = _global.envS.bigTileOffset.bottom; this.offsetLeft = _global.envS.bigTileOffset.left; this.offsetRight = _global.envS.bigTileOffset.right; } }; v2.check = function () { if (_global.noSet(this.x) || _global.noSet(this.y)) { this.kill(); } if (this.y < -_root.bg.y + this.offsetTop) { if (this.offReaction == 'die') { this.kill(); } if (this.offReaction == 'stand') { this.y = -_root.bg.y + this.offsetTop; } } if (this.y > -_root.bg.y + 400 - this.offsetBottom) { if (this.offReaction == 'die') { this.kill(); } if (this.offReaction == 'stand') { this.y = -_root.bg.y + 400 - this.offsetBottom; } } if (this.x < +this.offsetLeft) { if (this.offReaction == 'die') { this.kill(); } if (this.offReaction == 'stand') { this.x = +this.offsetLeft; } } if (this.x > 550 - this.offsetRight) { if (this.offReaction == 'die') { this.kill(); } if (this.offReaction == 'stand') { this.x = 550 - this.offsetRight; } } }; v2.inQueue = function (a) { if (!this.init) { if (_global.noSet(a)) { a = 50; } this.ticket = _global.queue.addFunc(this.oEF, this, a); this.init = true; } }; v2.outQueue = function () { if (this.init) { _global.queue.remove(this.ticket); this.init = false; } }; v2.oEF = function () { if (!this.init) { return undefined; } this.myClock += 1; this.check(); }; v2.kill = function () { this.outQueue(); if (!this.deathFromOutside) { this.removeMovieClip(); this.unloadMovie(); } }; v2.offsetTop = 0; v2.offsetBottom = 0; v2.offsetLeft = 0; v2.offsetRight = 0; v2.offReaction = 'die'; v2.x = 0; v2.y = 0; v2.init = false; v2.deathFromOutside = false; v2.dieImmediatly = false; v2.startClock = 0; v2.myClock = 0; v2.bigObject = false; ASSetPropFlags(_global.checkedObject.prototype, null, 1); } #endinitclip } movieClip 1267 __Packages.movingObject { #initclip if (!_global.movingObject) { var v1 = function () { super(); this.AADistance = _global.envS.unitAutoAimDistance; if (_global.noSet(this.AADistance)) { this.AADistance = 50; } }; _global.movingObject = v1; _global.movingObject extends checkedObject; var v2 = v1.prototype; v2.setEnemyToEnemyCollisionFlag = function (enable, dont_smash) { if (enable != undefined) { this.enable_enemy_to_enemy_collision = enable; } if (dont_smash != undefined) { this.dont_smash_me_ally = dont_smash; } }; v2.setMotion = function (a, b, xr, yr, r, f, sf, ef, mwas, wc, rbw, otp) { if (typeof a == 'string') { if (a == 'player') { this.wayMode = false; this.wayLinkage = ''; var v7 = {'x': this.x, 'y': this.y}; this._parent.localToGlobal(v7); var v8 = {'x': _root.bg.player.x, 'y': _root.bg.player.y}; _root.bg.localToGlobal(v8); var v18 = v8.x - v7.x; var v20 = v8.y - v7.y; var v14 = Math.atan2(v20, v18); this.speedXY = parseFloat(b); if (_global.noSet(this.speedXY)) { this.speedXY = 1; } this.speedX = this.speedXY * Math.cos(v14); this.speedY = this.speedXY * Math.sin(v14); xr = parseInt(xr); if (xr == 1) { this.followPlayer = true; } if (!_global.noSet(yr)) { this.AADistance = yr; } if (!_global.noSet(r)) { this.AARatio = r; } } else { if (_global.noSet(a)) { return undefined; } this.wayLinkage = a; if (!_global.noSet(b)) { this.wayRatio = b; } if (!_global.noSet(xr)) { this.xratio = xr; } if (!_global.noSet(yr)) { this.yratio = yr; } if (!_global.noSet(r)) { this.rotate = r / _global.PI2; } if (!_global.noSet(f)) { this.factor = f; } if (!_global.noSet(sf)) { this.startFrame = sf; } if (!_global.noSet(ef)) { this.endFrame = ef; } if (!_global.noSet(wc)) { this.wayCycle = wc; } if (!_global.noSet(rbw)) { this.rotatedByWay = (rbw != 1) ? false : true; } if (!_global.noSet(mwas)) { this.moveWayAtStart = (mwas != 1) ? false : true; } if (!_global.noSet(otp)) { this.orientToPath = otp; } this.way = this.attachMovie(this.wayLinkage, 'way', 100); this.line = this.createEmptyMovieClip('line', 101); this.line.createEmptyMovieClip('l', 1); this.line._visible = false; this.line.l.lineStyle(0, 16711680); this.line.l.moveTo(0, 0); this.line.l.lineTo(100, 0); this.firstStep = this.startFrame; if (!_global.noSet(this.way)) { var v4 = this.way.klop._x; v4 *= this.factor; var v5 = this.way.klop._y; if (this.xratio != 100) { v4 *= this.xratio / 100; } if (this.yratio != 100) { v5 *= this.yratio / 100; } if (this.rotate != 0) { var v12 = Math.sqrt(v4 * v4 + v5 * v5); var v15 = Math.atan2(v5, v4); var v16 = v12 * Math.cos(this.rotate + v15); var v17 = v12 * Math.sin(this.rotate + v15); } else { var v16 = v4; var v17 = v5; } this.way.x = v16; this.way._x = this.way.x; this.way.y = v17; this.way._y = this.way.y; } if (this.endFrame == -1) { this.endFrame = this.way._totalframes; } if (this.endFrame < this.startFrame) { var v19 = this.startFrame; this.startFrame = this.endFrame; this.endFrame = v19; this.wayDir = -1; } this.line._xscale = this.factor * this.xratio; this.way._xscale = this.line._xscale; this.line._yscale = this.yratio; this.way._yscale = this.line._yscale; this.line._rotation = r; this.way._rotation = this.line._rotation; if (!(_global.envS.debug == 1 && _global.envS.wayDebug == 1)) { this.way._visible = false; } this.wayMode = true; } } else { if (!_global.noSet(a)) { this.speedX = a; } if (!_global.noSet(b)) { this.speedY = b; } this.wayMode = false; } this.initMove = true; if (this.wayMode) { this.oEF(); } this.oEF(); }; v2.initWayMotion = function (mwo, sx, sy) { this.movedWay = true; this.movedWayOffset = mwo; this.movedWayCount = 0; this.movedWayXSpeed = sx; this.movedWayYSpeed = sy; }; v2.oEF = function () { if (this.initMove) { if (this.wayMode) { if (this.firstStep != 0 && this.moveWayAtStart) { this.way.gotoAndStop(this.firstStep); this.firstStep = 0; var v7 = this.way.klop._x; var v5 = this.way.klop._y; v7 *= this.factor; if (this.xratio != 100) { v7 *= this.xratio / 100; } if (this.yratio != 100) { v5 *= this.yratio / 100; } if (this.rotate != 0) { var v8 = Math.sqrt(v7 * v7 + v5 * v5); var v9 = Math.atan2(v5, v7); v7 = v8 * Math.cos(this.rotate + v9); v5 = v8 * Math.sin(this.rotate + v9); } this.way.x += -v7; this.way._x = this.way.x; this.way.y += -v5; this.way._y = this.way.y; var v17 = this.way.klop._x; var v18 = this.way.klop._y; } var v6 = this.way._currentframe + this.wayDir * this.wayRatio; if (this.wayDir > 0 && v6 > this.endFrame) { this.wayPassed = true; if (this.wayCycle == 1) { v6 = this.endFrame; } if (this.wayCycle == 2) { this.wayDir *= -1; v6 += v6 - this.endFrame; } if (this.wayCycle == 3) { v6 = this.startFrame + (v6 - this.endFrame) - 1; } } if (this.wayDir < 0 && v6 < this.startFrame) { this.wayPassed = true; if (this.wayCycle == 1) { v6 = this.startFrame; } if (this.wayCycle == 2) { this.wayDir *= -1; v6 = this.startFrame + (this.startFrame - v6); } if (this.wayCycle == 3) { v6 = this.endFrame - (this.startFrame - v6); } } if (this.firstStep != 0) { v6 = this.firstStep; this.firstStep = 0; } v17 = this.way.klop._x; v18 = this.way.klop._y; this.way.gotoAndStop(v6); v7 = this.way.klop._x - v17; v7 *= this.factor; v5 = this.way.klop._y - v18; if (this.xratio != 100) { v7 *= this.xratio / 100; } if (this.yratio != 100) { v5 *= this.yratio / 100; } if (this.rotate != 0) { v8 = Math.sqrt(v7 * v7 + v5 * v5); v9 = Math.atan2(v5, v7); this.speedX = v8 * Math.cos(this.rotate + v9); this.speedY = v8 * Math.sin(this.rotate + v9); } else { this.speedX = v7; this.speedY = v5; } var v19 = 0; var v20 = 0; if (this.movedWay) { if (++this.movedWayCount > this.movedWayOffset) { this.speedX += this.movedWayXSpeed; v19 = -this.movedWayXSpeed; if (this.movedWayYSpeed == 0 || _global.noSet(this.movedWayYSpeed)) { v5 = -_root.bg.speedY; } else { v5 = -this.movedWayYSpeed; } this.speedY += v5; v20 = -v5; } } if (this.orientToPath == 'way' || this.orientToPath == 'shoot') { this.line.l._rotation = this.way.klop._rotation; var v11 = this.line.getRect(this); this.baseRotateCount = Math.atan2(v11.yMax + v11.yMin, v11.xMax + v11.xMin) * _global.PI2; if (this.wayDir == -1) { this.baseRotateCount += 180; } } else { if (this.orientToPath == 'move') { this.baseRotateCount = Math.atan2(this.speedY, this.speedX) * _global.PI2; } } } else { if (this.followPlayer) { var v12 = {'x': this.x, 'y': this.y}; this._parent.localToGlobal(v12); var v13 = {'x': _root.bg.player.x, 'y': _root.bg.player.y}; _root.bg.localToGlobal(v13); var v14 = v13.x - v12.x; var v15 = v13.y - v12.y; var v22 = Math.sqrt(v14 * v14 + v15 * v15); var v10 = Math.atan2(v15, v14); if (!_global.noSet(this.AARatio)) { var v16 = Math.atan2(this.speedY, this.speedX) * _global.PI2; v16 += _global.getAngleDelta(v16, v10 * _global.PI2, this.AARatio); v10 = v16 / _global.PI2; } var v21 = this.AADistance; if (v22 > v21) { this.speedX = this.speedXY * Math.cos(v10); this.speedY = this.speedXY * Math.sin(v10); this.baseRotateCount = Math.atan2(this.speedY, this.speedX) * _global.PI2; } else { this.followPlayer = false; } } else { this.baseRotateCount = Math.atan2(this.speedY, this.speedX) * _global.PI2; } } this.x += this.speedX; this.y += this.speedY; if (this.wayMode) { this.way.x -= this.speedX + storedv19; this.way._x = this.way.x; this.way.y -= this.speedY + storedv20; this.way._y = this.way.y; } } super.oEF(); this.redraw(); }; v2.moveTo = function (a, b) { if (_global.noSet(a)) { a = 0; } if (_global.noSet(b)) { b = 0; } this.x = a; this.y = b; this.check(); this.redraw(); }; v2.moveBy = function (a, b) { this.x += a; this.y += b; this.check(); this.redraw(); }; v2.redraw = function () { this._x = Math.round(this.x); this._y = Math.round(this.y); }; v2.initMove = false; v2.speedX = 0; v2.speedY = 0; v2.speedXY = 0; v2.wayMode = false; v2.wayRatio = 1; v2.rotatedByWay = true; v2.followPlayer = false; v2.xratio = 100; v2.yratio = 100; v2.rotate = 0; v2.baseRotateCount = 0; v2.factor = 1; v2.startFrame = 1; v2.endFrame = -1; v2.moveWayAtStart = true; v2.wayCycle = 1; v2.wayDir = 1; v2.firstStep = 1; v2.movedWay = false; v2.movedWayOffset = 0; v2.movedWayCount = 0; v2.movedWayXSpeed = 0; v2.movedWayYSpeed = 0; v2.wayPassed = false; v2.orientToPath = 'move'; v2.enable_enemy_to_enemy_collision = false; v2.dont_smash_me_ally = false; ASSetPropFlags(_global.movingObject.prototype, null, 1); } #endinitclip } movieClip 1268 __Packages.bgClass { #initclip if (!_global.bgClass) { var v1 = function () { super(); }; _global.bgClass = v1; _global.bgClass extends movingObject; var v2 = v1.prototype; v2.check = function () { if (this.bg1._y + this._y > 1200) { this.bg1._y -= 2400; } if (this.bg2._y + this._y > 1200) { this.bg2._y -= 2400; } }; v2.oEF = function () { super.oEF(); }; ASSetPropFlags(_global.bgClass.prototype, null, 1); } #endinitclip } movieClip 1269 __Packages.soundCollector { #initclip if (!_global.soundCollector) { var v1 = function () { super(); this.col = new Array(); var v8 = 0; while (v8 < this.arrayLength) { var v5 = this.getNextHighestDepth(); var v7 = this.createEmptyMovieClip('mc_' + v5, v5); var v4 = new Sound(v7); v4.onSoundComplete = this.scomplete; var v6 = {'mc': v7, 'snd': v4, 'free': true, 'cont': false, 'pri': false}; v4.link = v6; this.col.push(v6); v8 += 1; } _global.sound = this; }; _global.soundCollector = v1; _global.soundCollector extends MovieClip; var v2 = v1.prototype; v2.__set__width = function (w) { if (w >= 0) { this.__width = w; } return this.__get__width(); }; v2.__get__width = function () { return this.__width; }; v2.__set__volume = function (v) { if (v >= 0) { this.__volume = v; } return this.__get__volume(); }; v2.__get__volume = function () { return this.__volume; }; v2.__set__enable = function (e) { this.__enable = e; if (!this.__enable) { var v2 = 0; while (v2 < this.arrayLength) { this.col[v2].snd.stop(); v2 += 1; } } return this.__get__enable(); }; v2.__get__enable = function () { return this.__enable; }; v2.play = function (linkage, xpos, priority, num, volume) { if (!this.__enable) { return undefined; } if (_global.noSet(priority)) { priority = false; } if (_global.noSet(num)) { num = 1; } if (num == -1) { num = 1000000000; } var v12 = false; var v7 = -1; var v5 = 0; var v6 = -1; var v3 = 0; while (v3 < this.arrayLength) { if (this.col[v3].free || _global.noSet(this.col[v3].snd.position)) { this.col[v3].free = true; v7 = v3; break; } if (!this.col[v3].pri) { var v4 = this.col[v3].snd.position / this.col[v3].snd.duration; if (v4 > v5) { v5 = v4; v6 = v3; } } v3 += 1; } if (v7 == -1) { if (priority) { if (_global.envS.debug && _global.envS.soundDebug) { _global.debug('Sound collector: all slots busy, using slot ' + v6 + ' (' + this.col[v6].linkage + ': ' + this.col[v6].snd.position / this.col[v6].snd.duration + ')'); } v7 = v6; this.col[v7].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 (v7 != -1) { var v8 = this.col[v7]; v8.snd.attachSound(linkage); v8.snd.setVolume(this.__get__volume()); v8.target = undefined; if (!_global.noSet(xpos)) { if (typeof xpos == 'number') { v8.snd.setPan(this.calcPan(xpos)); } if (typeof xpos == 'movieclip') { v8.target = xpos; } } else { v8.snd.setPan(0); } v8.snd.start(0, num); v8.free = false; v8.linkage = linkage; v8.pri = priority; } }; v2.stop = function (linkage) { var v2 = 0; while (v2 < this.arrayLength) { if (this.col[v2].linkage == linkage) { this.col[v2].snd.stop(); this.col[v2].free = true; } v2 += 1; } }; v2.scomplete = function () { var v2 = this; v2.link.free = true; }; v2.oEF = function () { var v3 = 0; while (v3 < this.arrayLength) { if (!_global.noSet(this.col[v3].target)) { this.col[v3].snd.setPan(this.calcPan(this.col[v3].target._x)); } v3 += 1; } }; v2.calcPan = function (xpos) { return (100 * xpos / this.__width) * 2 - 100; }; v2.arrayLength = 8; v2.__volume = 100; v2.__width = 100; v2.__enable = true; v2.addProperty('enable', v2.__get__enable, v2.__set__enable); v2.addProperty('volume', v2.__get__volume, v2.__set__volume); v2.addProperty('width', v2.__get__width, v2.__set__width); ASSetPropFlags(_global.soundCollector.prototype, null, 1); } #endinitclip } movieClip 1270 __Packages.damagableObject { #initclip if (!_global.damagableObject) { var v1 = function () { super(); if (_global.envS.debug == 1) { this.initBar(); } this.blinkObject = this; this.loot = new Array(); this.autoloot = new Array(); this.lootXoffset = new Array(); this.lootYoffset = new Array(); }; _global.damagableObject = v1; _global.damagableObject extends movingObject; var v2 = v1.prototype; v2.initArmor = function (a) { this.armor = a; this.startArmor = this.armor; }; v2.initScore = function (sc) { if (!_global.noSet(sc)) { this.score = sc; } }; v2.initFlags = function (ih, is, id, im, nc) { this.ignoreHit = (ih != 1) ? false : true; this.ignoreSplash = (is != 1) ? false : true; this.ignoreDirect = (id != 1) ? false : true; this.immortal = (im != 1) ? false : true; this.notCount = (nc != 1) ? false : true; }; v2.initBar = function () { this.bar = this.createEmptyMovieClip('bar', 3); this.bar1 = this.bar.createEmptyMovieClip('bar1', 2); this.bar.beginFill(16711680); _global.drawRect(this.bar, -15, -2, 15, 2); this.bar.endFill(); this.bar1.lineStyle(0, 0); _global.drawRect(this.bar1, -15, -2, 15, 2); this.bar._y = -20; this.bar2 = this.bar.createEmptyMovieClip('bar2', 1); this.bar2.beginFill(65280); _global.drawRect(this.bar2, 0, -2, 30, 2); this.bar2.endFill(); this.bar2._x = -15; }; v2.changeArmor = function (delta) { if (!this.live) { return undefined; } if (this.immortal) { return undefined; } this.armor += delta; if (delta < 0) { this.startBlink('hit'); } if (this.armor > this.startArmor) { this.armor = this.startArmor; } this.showArmor(); if (this.armor <= 0) { this.armor = 0; this.live = false; this.showArmor(); this.destroy(); } }; v2.showArmor = function () { if (_global.envS.debug == 1) { this.bar2._xscale = 100 * this.armor / this.startArmor; } }; v2.destroy = function (flag) { if (this.childs.length > 0) { var v4 = 0; while (v4 < this.childs.length) { var v10 = _global.makeGameObject.call(_root.bg, _global.currLevel.childs[this.childs[v4]], 0); trace('new child ' + v10); if (!_global.noSet(this.childDX) || !_global.noSet(this.childDY)) { var v7 = _global.noSet(this.childDX[v4]) ? 0 : this.childDX[v4]; var v8 = _global.noSet(this.childDY[v4]) ? 0 : this.childDY[v4]; trace(v7 + '\t\t' + v8); v10.moveTo(this._x + v7, this._y + v8); trace(this._x + v7 + '\t\t' + this._y + v8); } v4 += 1; } } v4 = 0; while (v4 < this.loot.length) { var v13 = this.autoloot[v4]; var v12 = this.lootXoffset[v4]; var v11 = this.lootYoffset[v4]; var v6 = this.loot[v4]; if (v13) { _global.makeBonusAnimation(v6, _root.bg.player); _root.bg.player.applyBonus(v6); } else { var v9 = _root.bg.bnz.getNextHighestDepth(); var v5 = _root.bg.bnz.attachMovie('bonus_' + v6, 'b' + v9, v9); _global.bonusObjects.push(v5); v5._x = this._x + v12; v5._y = this._y + v11; v5.bonusType = v6; v5.inQueue(); v5._yscale = 2; v5._xscale = 2; v5._alpha = 2; v5.onEnterFrame = _global.getOn; } v4 += 1; } if (this.soundKills != 'none') { if (_global.noSet(this.soundKills)) { _global.sound.play(_global.envS.soundKills, this.x, flag); } else { var v14 = this.soundKills.split(','); if (v14.length == 0) { v14 = [this.soundKills]; } var v15 = Math.floor(Math.random() * v14.length); _global.sound.play(_global.trim(v14[v15]), this.x, flag); } } if (this.score != 0) { v9 = _root.bg.bnzFX.getNextHighestDepth(); v5 = _root.bg.bnzFX.attachMovie('score_ind', 'b' + v9, v9); v5.ins.tf.text = this.score * _global.comboFactor; _global.levelScore += this.score * _global.comboFactor; _root.gui.score.text = _global.levelScore; v5._alpha = 70; v5._x = this._x; v5._y = this._y; } this.stopBlink(); if (_global.envS.debug == 1) { this.bar._visible = false; } this.live = false; }; v2.oEF = function () { if (this.blinkFlag) { var v12 = Math.floor(this.blinkCounter / this.blinkStep); this.blinkCounter += 1; var v11 = Math.floor(this.blinkCounter / this.blinkStep); if (v12 != v11) { var v10 = {'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}; if (v11 % 2 == 1) { v10.ba = 100 - this.blinkAmount; v10.ga = v10.ba; v10.ra = v10.ba; v10.rb = Math.round(this.blinkColorR * this.blinkAmount / 100); v10.gb = Math.round(this.blinkColorG * this.blinkAmount / 100); v10.bb = Math.round(this.blinkColorB * this.blinkAmount / 100); } (new Color(this.blinkObject)).setTransform(v10); } if (this.blinkCounter > 2 * this.blinkStep * this.blinkTimes) { this.blinkFlag = false; } } if (this.live) { var v5 = 0; while (v5 < this.emitC.length) { if (this.eCCount[v5] > 0) { var v6 = this.eCTimeOffset[v5]; if (_global.noSet(v6)) { v6 = 0; } if ((this.myClock + v6) % this.eCTime[v5] == 0) { var v8 = _global.makeGameObject.call(_root.bg, _global.currLevel.childs[this.emitC[v5]], 0); --this.eCCount[v5]; if (!_global.noSet(this.eCXOffset[v5]) || !_global.noSet(this.eCYOffset[v5])) { var v9 = _global.noSet(this.eCXOffset[v5]) ? 0 : this.eCXOffset[v5]; var v7 = _global.noSet(this.eCYOffset[v5]) ? 0 : this.eCYOffset[v5]; v8.moveTo(this._x + v9, this._y + v7); } } } v5 += 1; } } super.oEF(); }; v2.startBlink = function (col) { this.blinkColor = _global.envS.blinks[col].color; this.blinkColorR = parseInt(this.blinkColor.substr(1, 2), 16); this.blinkColorG = parseInt(this.blinkColor.substr(3, 2), 16); this.blinkColorB = parseInt(this.blinkColor.substr(5, 2), 16); this.blinkAmount = _global.envS.blinks[col].amount; this.blinkTimes = _global.envS.blinks[col].times; this.blinkStep = _global.envS.blinks[col].step; this.blinkCounter = 0; this.blinkFlag = true; }; v2.stopBlink = function () { if (this.blinkFlag) { var v2 = {'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}; (new Color(this.blinkObject)).setTransform(v2); this.blinkFlag = false; } }; v2.initLoot = function (lo, lox, loy, al) { if (!_global.noSet(lo)) { this.loot = _global.prepareArrayString(lo); } if (!_global.noSet(lox)) { this.lootXoffset = _global.prepareArrayNum(lox); } if (!_global.noSet(loy)) { this.lootYoffset = _global.prepareArrayNum(loy); } if (!_global.noSet(al)) { this.autoloot = _global.prepareArrayBool(al); } }; v2.initChilds = function (chi, dx, dy, ec, ecc, ect, ecto, ecxo, ecyo) { if (!_global.noSet(chi)) { this.childs = _global.prepareArrayString(chi); } if (!_global.noSet(dx)) { this.childDX = _global.prepareArrayNum(dx); } if (!_global.noSet(dy)) { this.childDY = _global.prepareArrayNum(dy); } if (!_global.noSet(ec)) { this.emitC = _global.prepareArrayString(ec); } if (!_global.noSet(ecc)) { this.eCCount = _global.prepareArrayNum(ecc); } if (!_global.noSet(ect)) { this.eCTime = _global.prepareArrayNum(ect); } if (!_global.noSet(ecto)) { this.eCTimeOffset = _global.prepareArrayNum(ecto); } if (!_global.noSet(ecxo)) { this.eCXOffset = _global.prepareArrayNum(ecxo); } if (!_global.noSet(ecyo)) { this.eCYOffset = _global.prepareArrayNum(ecyo); } }; v2.live = true; v2.armor = 0; v2.startArmor = 0; v2.blinkColor = '#000000'; v2.blinkColorR = 0; v2.blinkColorG = 0; v2.blinkColorB = 0; v2.blinkAmount = 0; v2.blinkTimes = 0; v2.blinkCounter = 0; v2.blinkFlag = false; v2.blinkStep = 0; v2.directDamage = 0; v2.soundKills = ''; v2.ignoreHit = false; v2.ignoreSplash = false; v2.ignoreDirect = false; v2.immortal = false; v2.notCount = false; v2.score = 0; ASSetPropFlags(_global.damagableObject.prototype, null, 1); } #endinitclip } movieClip 1271 __Packages.splashedObject { #initclip if (!_global.splashedObject) { var v1 = function () { super(); _global.staticObjects.push(this); if (_global.noSet(this.hitBody)) { this.hitBody = this.body; } this.body._visible = false; this.hitBody._visible = false; if (_global.envS.debug != 1) { this.spl._visible = false; } }; _global.splashedObject = v1; _global.splashedObject extends damagableObject; var v2 = v1.prototype; v2.initSplash = function (sd, dr, delay, flag) { if (_global.noSet(flag)) { flag = false; } this.splashDamage = sd; this.damageRadius = dr; this.splashDelay = delay; if (!flag) { this.spl._yscale = dr; this.spl._xscale = this.spl._yscale; } else { this._yscale = dr; this._xscale = this._yscale; } }; v2.destroy = function () { _global.debug(this + ': БАШНЯ ГИБНЕТ!'); if (this.armor <= 0) { if (!this.notCount) { _global.rezults.items += 1; } } super.destroy(); this.gotoAndPlay('destroy'); var v9 = 1; var v11 = _root.bg.fx; while (!_global.noSet(this['p' + v9])) { var v6 = this['p' + v9]; var v10 = v11.getNextHighestDepth(); var v5 = v11.attachMovie('explode', 'fx' + v10, v10); v5._rotation = v6._rotation; v5._xscale = v6._xscale; v5._yscale = v6._yscale; var v7 = {'x': this._x, 'y': this._y}; this._parent.localToGlobal(v7); v5._parent.globalToLocal(v7); v5._x = v7.x; v5._y = v7.y; v5.target = this; v5.target_mc = v6; if (_global.noSet(v6.delay)) { v6.delay = 0; } v5.gotoAndStop(1); v5.maxDelay = v6.delay; v5.onEnterFrame = _global.explodePause; v9 += 1; } var v8 = 0; while (v8 < _global.staticObjects.length) { if (_global.staticObjects[v8] == this) { _global.staticObjects.splice(v8, 1); break; } v8 += 1; } }; v2.kill = function () { var v4 = 0; while (v4 < _global.staticObjects.length) { if (_global.staticObjects[v4] == this) { _global.staticObjects.splice(v4, 1); break; } v4 += 1; } super.kill(); }; v2.oEF = function () { super.oEF(); }; ASSetPropFlags(_global.splashedObject.prototype, null, 1); } #endinitclip } movieClip 1272 __Packages.autoExplode { #initclip if (!_global.autoExplode) { var v1 = function () { super(); }; _global.autoExplode = v1; _global.autoExplode extends splashedObject; var v2 = v1.prototype; v2.oEF = function () { super.oEF(); if (_global.noSet(this.explodeTimer)) { return undefined; } this.explodeTimer -= 1; if (this.explodeTimer <= 0) { _global.checkSplash(this); this.changeArmor(-100000); this.kill(); } }; ASSetPropFlags(_global.autoExplode.prototype, null, 1); } #endinitclip } movieClip 1273 __Packages.cannon { #initclip if (!_global.cannon) { var v1 = function () { super(); var v4 = this.myNum + 1; var v5 = this.parent.base['head' + v4]; if (_global.noSet(v5) && v4 == 1) { v5 = this.parent.base.head; } if (_global.noSet(v5)) { _global.debug('CANNOT FIND CANNON MOUNT POINT FOR TANK ' + this.parent + ' CANNON N ' + v4); } else { this._x = v5._x; this._y = v5._y; } this.fires = new Array(); this.firesAssoc = new Object(); this.fireNum = 1; v4 = 0; v4 += 1; while (this['shoot' + v4]) { this.fires.push(this['shoot' + v4]); this.firesAssoc[this['shoot' + v4]._name] = this['shoot' + v4]; } if (this.fires.length > 1) { this.fireNum = 0; } }; _global.cannon = v1; _global.cannon extends MovieClip; var v2 = v1.prototype; v2.initGun = function () { this.gunZ = new Array(); this.currentGun = 0; }; v2.addGun = function (t, mt, c, bt, bs, dd, br, tl, am, fs, fm, fd, bd, mb, pa, pd, pts, pta, ptss, ca, to) { this.gunZ.push(new weapon(this, this.gunZ.length)); this.gunZ[this.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'; } this.cannonAngleType = ca.charAt(0); if (this.cannonAngleType != 't' && this.cannonAngleType != 'w' && this.cannonAngleType != 'h') { this.cannonAngleType = 't'; } this.cannonAngle = parseFloat(ca.substr(1, 100)); if (_global.noSet(this.cannonAngle)) { this.cannonAngle = 0; } }; v2.bang = function (obj) { return this.gunZ[this.currentGun].bang(obj); }; v2.makeBang = function (bt, bs, dm, bulletDir, bulletFactor, pd, passageAbility, obj, gunObj, angle, firePoint) { if (_global.noSet(angle)) { angle = 0; } var v23 = this.fireNum; if (this.fires.length > 1) { this.fireNum += 1; } if (this.fireNum > this.fires.length) { this.fireNum = 1; } var v19 = this.fireNum; if (obj == 1) { if (!_global.noSet(firePoint)) { var v7 = this.firesAssoc[firePoint]; } else { var v7 = this.fires[v19 - 1]; } } else { var v7 = this.fires[v19 - 1]; } if (v7._currentframe == 1) { v7.gotoAndPlay(bt); } if (gunObj.bulletTopLevel == 0) { var v14 = _root.bg.shots; } if (gunObj.bulletTopLevel == 1) { v14 = _root.bg.shotsTop; } var v15 = v14.getNextHighestDepth(); var v4 = v14.attachMovie(bt, 'f' + v15, v15); v4.movedBullet = gunObj.movedBullet; var v18 = this._rotation - 90 + angle + this.parent.gunHolder._rotation; var v6 = v18 / _global.PI2; v4._rotation = v18 - 90; var v8 = {'x': v7._x, 'y': v7._y}; this.localToGlobal(v8); var v9 = {'x': v8.x, 'y': v8.y}; v4._parent.globalToLocal(v8); v4.moveTo(v8.x, v8.y); v4.flySteps = gunObj.flySteps; v4.flyMinScale = gunObj.flyMinScale; v4.inQueue(60); if (gunObj.flySteps == 0) { if (bt == 'torpedoe') { v4.setMotion(gunObj.myObj._parent.speedX / _global.torpedoeSettings.startXSpeed, _global.torpedoeSettings.startYSpeed); } else { v4.setMotion(bs * Math.cos(v6), bs * Math.sin(v6)); if (this.cannonAngleType != 't' && bulletDir != 'd') { v4.bulletDir = bulletDir; if (!_global.noSet(bulletFactor)) { v4.bulletFactor = bulletFactor; } v4.target = this.parent.target; v4.tx = this.parent.target._x; v4.ty = this.parent.target._y; v4.bulletSpeed = bs; } } } else { v4._rotation = 0; if (obj == 1) { var v13 = _root._xmouse - v9.x; var v11 = _root._ymouse - v9.y; var v16 = Math.sqrt(v13 * v13 + v11 * v11); v6 = Math.atan2(v11, v13); var v22 = this.parent.base._xmouse <= 0 ? -1 : 1; v6 += v22 * angle / _global.PI2; v4.setMotion(v16 * Math.cos(v6) / (gunObj.flySteps - 1), v16 * Math.sin(v6) / (gunObj.flySteps - 1)); } if (obj == 0) { if (this.cannonAngleType == 't') { var v12 = {'x': this.parent.target._x, 'y': this.parent.target._y}; v4._parent.localToGlobal(v12); v4.setMotion((v12.x - v9.x) / (gunObj.flySteps - 1), (v12.y - v9.y) / (gunObj.flySteps - 1)); } else { bs = gunObj.flyDistance / (gunObj.flySteps - 1); v4.setMotion(bs * Math.cos(v6), bs * Math.sin(v6)); } } } v4.damage = dm; v4.maxDistance = pd; v4.object = obj; v4.type = bt; v4.passageAbility = passageAbility; v4.fireAngle = v6; if (gunObj.splashDamage != 0 && !_global.noSet(gunObj.splashDamage)) { v4.splashDamage = gunObj.splashDamage * (!gunObj.nuke ? 1 : 2); v4.damageRadius = gunObj.damageRadius * (!gunObj.nuke ? 1 : 2); v4.splashDelay = gunObj.splashDelay; } return v4; }; v2.changeGun = function (newWeapon) { if (newWeapon == this.currentGun) { return true; } if (newWeapon >= this.gunZ.length) { _global.debug('Cannot change weapon to ' + newWeapon + ', not inited'); return false; } _global.debug('Changing weapon from ' + this.currentGun + ' to ' + newWeapon); this.currentGun = newWeapon; return true; }; v2.initSplash = function (sd, dr, del) { this.gunZ[this.gunZ.length - 1].initSplash(sd, dr, del); }; v2.fireNum = 1; v2.cannonAngleType = 't'; v2.cannonAngle = 0; v2.currentGun = 0; ASSetPropFlags(_global.cannon.prototype, null, 1); } #endinitclip } movieClip 1274 __Packages.weapon { #initclip if (!_global.weapon) { var v1 = function (target, nu) { this.myObj = target; this.myNum = nu; this.empty = true; this.multiple = 1; }; _global.weapon = v1; var v2 = v1.prototype; v2.initSplash = function (sd, dr, del) { this.splashDamage = sd; this.damageRadius = dr; this.splashDelay = del; }; v2.init = function (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; } this.flySteps = parseInt(fs); if (_global.noSet(this.flySteps)) { this.flySteps = 0; } this.flyMinScale = parseInt(fm); if (_global.noSet(this.flyMinScale)) { this.flyMinScale = 0; } this.flyDistance = parseInt(fd); if (_global.noSet(this.flyDistance)) { this.flyDistance = 100; } this.empty = false; this.reloadTime = t; this.startReloadTime = this.reloadTime; this.reloadMicroTime = mt; this.startReloadMicroTime = this.reloadMicroTime; this.clip = c; if (!_global.noSet(bt)) { this.bulletType = bt; } if (!_global.noSet(bs)) { this.bulletSpeed = bs; } if (_global.noSet(am)) { this.amount = -100; } else { this.amount = am; } if (!_global.noSet(tl)) { this.bulletTopLevel = tl; } if (this.bulletTopLevel != 0 && this.bulletTopLevel != 1) { this.bulletTopLevel = 0; } if (_global.noSet(dd)) { this.bulletDir = 'd'; } else { this.bulletDir = dd; } if (!_global.noSet(br)) { this.bulletFactor = br; } if (!_global.noSet(mb)) { this.movedBullet = (mb != 1) ? false : true; } if (_global.noSet(pa)) { this.bulletPassageAbility = 1; } else { this.bulletPassageAbility = pa; } if (_global.noSet(pd)) { this.pointsDistance = 1000; } else { this.pointsDistance = pd; } this.damage = bd; this.reload = true; to = parseInt(to); if (_global.noSet(to)) { to = 0; } this.bangTime = _global.clock + to; if (_global.noSet(pts)) { this.pointsUsed = new Array(); var v3 = 0; while (v3 < this.myObj.fires.length) { this.pointsUsed.push(this.myObj.fires[v3]._name); v3 += 1; } } else { this.pointsUsed = _global.prepareArrayString(pts); } this.pointsAngles = _global.prepareArrayNum(pta); this.pointsScale = _global.prepareArrayNum(ptss); }; v2.bang = function (obj) { if (this.empty) { return false; } if (this.reloadMicroTime == this.reloadTime && this.reloadTime == 0) { return false; } if (!this.reload && _global.clock - this.bangTime < this.reloadMicroTime) { return false; } if (this.reload && _global.clock - this.bangTime < this.reloadTime) { return false; } if (this.amount == 0) { return false; } if (this.reload) { this.reload = false; this.shootCount = 0; } this.shootCount += 1; var v10 = 's_' + this.bulletType; if (v10 == 's_lazerBlink2') { v10 = 's_lazerBlink1'; } if (this.bulletType != 'emptyShoot' && this.bulletType != 'anim_1' && this.bulletType != 'anim_2') { _global.sound.play(v10, this.myObj.parent._x); } if (this.bulletType == 'anim_1') { var v5 = 0; while (v5 < _global.enemyObjects.length) { var v4 = _global.enemyObjects[v5]; if (v4.mainLinkage == 'boss_3_1l' || v4.mainLinkage == 'boss_3_1r') { v4.base.aa.imStopped = false; v4.base.aa.gotoAndPlay(20); v4.base.body.imStopped = false; v4.base.body.gotoAndPlay(20); } v5 += 1; } } if (this.bulletType == 'anim_2') { v5 = 0; while (v5 < _global.enemyObjects.length) { v4 = _global.enemyObjects[v5]; if (v4.mainLinkage == 'boss_3_1l' || v4.mainLinkage == 'boss_3_1r' || v4.mainLinkage == 'boss_3_2r' || v4.mainLinkage == 'boss_3_2l') { v4.base.imStopped = false; v4.base.gotoAndPlay(20); v4.base.aa.imStopped = false; v4.base.aa.gotoAndPlay(20); v4.base.body.imStopped = false; v4.base.body.gotoAndPlay(20); } v5 += 1; } } if (this.shootCount == this.clip) { this.reload = true; } this.bangTime = _global.clock; var v9 = this.damage * (!this.doubleDamage ? 1 : 1.5); if (this.amount > 0) { this.amount -= 1; } if (obj == 1 && this.myNum == 1) { _root.gui.rockets.tf.text = this.amount; } if (obj != 1) { this.myObj.makeBang(this.bulletType, this.bulletSpeed, v9, this.bulletDir, this.bulletFactor, this.pointsDistance, this.bulletPassageAbility, obj, this); return true; } var v6 = 0; while (v6 < this.pointsUsed.length) { var v7 = this.myObj.makeBang(this.bulletType, this.bulletSpeed, v9, this.bulletDir, this.bulletFactor, this.pointsDistance, this.bulletPassageAbility, obj, this, this.pointsAngles[v6], this.pointsUsed[v6]); if (!_global.noSet(this.pointsScale[v6])) { v7._yscale = this.pointsScale[v6] * 100; v7._xscale = v7._yscale; } v6 += 1; } return true; }; v2.empty = true; v2.bulletType = 'gunshot'; v2.flySteps = 0; v2.flyMinScale = 0; v2.flyDistance = 100; v2.amount = -100; v2.bulletDir = 'd'; v2.bulletFactor = 5; v2.bulletTopLevel = 0; v2.bulletPassageAbility = 1; v2.pointsDistance = 1000; v2.reloadTime = 0; v2.startReloadTime = 0; v2.reloadMicroTime = 0; v2.startReloadMicroTime = 0; v2.clip = 0; v2.reload = false; v2.multiple = 1; v2.doubleDamage = false; v2.doubleSpeed = false; v2.shootCount = 0; v2.bangTime = 0; v2.damage = 0; v2.myNum = 0; v2.splashDamage = 0; v2.damageRadius = 0; v2.splashDelay = 0; v2.nuke = false; v2.movedBullet = true; ASSetPropFlags(_global.weapon.prototype, null, 1); } #endinitclip } movieClip 1275 __Packages.bonus { #initclip if (!_global.bonus) { var v1 = function () { super(); }; _global.bonus = v1; _global.bonus extends checkedObject; var v2 = v1.prototype; v2.oEF = function () { this.x = Math.round(this._x); this.y = Math.round(this._y); super.oEF(); }; v2.removeFromArray = function () { var v3 = 0; while (v3 < _global.bonusObjects.length) { if (_global.bonusObjects[v3] == this) { _global.bonusObjects.splice(v3, 1); break; } v3 += 1; } }; v2.kill = function () { this.removeFromArray(); super.kill(); }; v2.bonusType = ''; ASSetPropFlags(_global.bonus.prototype, null, 1); } #endinitclip } movieClip 1276 __Packages.bulletClass { #initclip if (!_global.bulletClass) { var v1 = function () { super(); _global.bulletObjects.push(this); this.offsetTop = _global.envS.bulletOffset.top; this.offsetBottom = _global.envS.bulletOffset.bottom; this.offsetLeft = _global.envS.bulletOffset.left; this.offsetRight = _global.envS.bulletOffset.right; this.autoAimDistance = _global.envS.autoAimDistance; if (_global.noSet(this.autoAimDistance)) { this.autoAimDistance = 50; } this.passageAbility = 1; this.hited = new Array(); }; _global.bulletClass = v1; _global.bulletClass extends movingObject; var v2 = v1.prototype; v2.__set__damage = function (d) { if (d >= 0) { this.__damage = d; } return this.__get__damage(); }; v2.__get__damage = function () { return this.__damage; }; v2.check = function () { super.check(); if (this.y < -_root.bg.y + this.offsetTop) { this.kill(); } if (this.y > -_root.bg.y + 400 - this.offsetBottom) { this.kill(); } if (this.x < +this.offsetLeft) { this.kill(); } if (this.x > 550 - this.offsetRight) { this.kill(); } }; v2.removeFromArray = function () { var v3 = 0; while (v3 < _global.bulletObjects.length) { if (_global.bulletObjects[v3] == this) { _global.bulletObjects.splice(v3, 1); break; } v3 += 1; } }; v2.kill = function (flag) { if (this.type == 'torpedoe' && flag) { var v4 = _root.bg.fx; var v6 = v4.getNextHighestDepth(); var v5 = v4.attachMovie('explode', 'fx' + v6, v6); v5._x = this.x; v5._y = this.y; } this.removeFromArray(); super.kill(); }; v2.alreadyHited = function (mc) { var v2 = 0; while (v2 < this.hited.length) { if (this.hited[v2] == mc) { return true; } v2 += 1; } return false; }; v2.addEnemy = function (mc) { this.passageAbility -= 1; var v2 = 0; while (v2 < this.hited.length) { if (this.hited[v2] == mc) { return false; } v2 += 1; } this.hited.push(mc); return true; }; v2.passageDone = function () { if (this.passageAbility <= 0) { return true; } return false; }; v2.oEF = function () { if (this.type == 'torpedoe') { if (this.myClock < _global.torpedoeSettings.fallTime) { this.speedX *= _global.torpedoeSettings.startXSpeedFactor; this._yscale -= (100 - _global.torpedoeSettings.endOfFallSize) / _global.torpedoeSettings.fallTime; this._xscale = this._yscale; } else { if (this.myClock == _global.torpedoeSettings.fallTime) { this.mode = true; this.speedX = 0; this.gotoAndStop(2); this._yscale = 100; this._xscale = 100; var v7 = _root.bg.tiles.getNextHighestDepth(); var v6 = _root.bg.tiles.attachMovie('boul', 'b' + v7, v7); v6._x = this.x; v6._y = this.y; v6._yscale = 10; v6._xscale = 10; v6._alpha = 25; _global.sound.play('torpedoe_boul', this.x); } else { this.speedY += (_global.torpedoeSettings.maxSpeed - this.speedY) / _global.torpedoeSettings.maxSpeedFactor; } } } if (this.flySteps != 0) { var v10 = _global.clock - this.startClock + 1; var v13 = (Math.PI / (this.flySteps - 1)) * (v10 - 1); this._yscale = Math.round(10 * (Math.sin(v13) * (100 - this.flyMinScale) + this.flyMinScale)) / 10; this._xscale = this._yscale; } else { if (this.bulletDir != 'd') { if (this.bulletDir == 'a') { this.tx = this.target._x; this.ty = this.target._y; } var v5 = this._rotation; var v8 = this.tx - this._x; var v9 = this.ty - this._y; var v7 = Math.sqrt(v8 * v8 + v9 * v9); var v12 = Math.atan2(v9, v8) * _global.PI2; v5 += _global.getAngleDelta(v5 + 90, v12, this.bulletFactor); this._rotation = v5; v5 /= _global.PI2; this.speedX = -this.bulletSpeed * Math.sin(v5); this.speedY = this.bulletSpeed * Math.cos(v5); if (v7 < this.autoAimDistance && this.bulletDir == 's') { this.bulletDir = 'd'; } } else { if (this.movedBullet) { var v11 = this.speedY; this.speedY -= _root.bg.speedY; } } } this.passedDistance += Math.sqrt(this.speedX * this.speedX + this.speedY * this.speedY); if (_global.clock != this.startClock) { super.oEF(); } if (this.movedBullet) { this.speedY = v11; } if (!_global.noSet(this.maxDistance)) { if (this.passedDistance >= this.maxDistance) { this.kill(); } } }; v2.__damage = 0; v2.flySteps = 0; v2.flyMinScale = 0; v2.bulletDir = 'd'; v2.tx = 0; v2.ty = 0; v2.bulletSpeed = 0; v2.bulletFactor = 5; v2.type = ''; v2.mode = false; v2.passedDistance = 0; v2.addProperty('damage', v2.__get__damage, v2.__set__damage); ASSetPropFlags(_global.bulletClass.prototype, null, 1); } #endinitclip } movieClip 1277 __Packages.queue { #initclip if (!_global.queue) { var v1 = function () { super(); this.actions = new Array(); this.newActions = new Array(); _global.queue = this; }; _global.queue = v1; _global.queue extends MovieClip; var v2 = v1.prototype; v2.addFunc = function (func, obj, priority) { this.ticket += 1; if (_global.noSet(priority)) { priority = 50; } this.newActions.push({'func': func, 'obj': obj, 'pr': priority, 'ticket': this.ticket}); this.sync = false; return this.ticket; }; v2.remove = function (t) { var v2 = 0; while (v2 < this.actions.length) { if (this.actions[v2].ticket == t) { this.actions.splice(v2, 1); return true; } v2 += 1; } v2 = 0; while (v2 < this.newActions.length) { if (this.newActions[v2].ticket == t) { this.newActions.splice(v2, 1); return true; } v2 += 1; } trace('*****************NOT removed\t' + t + '\t' + this.actions.length); return false; }; v2.clear = function () { delete this.actions; delete this.newActions; this.actions = new Array(); this.newActions = new Array(); this.ticket = 0; this.sync = true; }; v2.onEnterFrame = function () { if (_global.gameInProcess) { if (!this.sync) { while (this.newActions.length > 0) { this.actions.push(this.newActions.pop()); } this.actions.sortOn('pr', Array.NUMERIC); this.sync = true; } var v3 = 0; while (v3 < this.actions.length) { var v4 = this.actions.length; this.actions[v3].func.call(this.actions[v3].obj); if (this.actions.length != v4) { v3 -= 1; } v3 += 1; } } }; v2.actions = new Array(); v2.newActions = new Array(); v2.ticket = 0; v2.sync = true; ASSetPropFlags(_global.queue.prototype, null, 1); } #endinitclip } movieClip 1278 __Packages.tankClass { #initclip if (!_global.tankClass) { var v1 = function () { super(); }; _global.tankClass = v1; _global.tankClass extends damagableObject; var v2 = v1.prototype; v2.initTank = function (a, b, c, ar, wb, bb, tp, sha, norot, sc) { if (!this.live) { return undefined; } if (bb === 1) { this.bossBarFlag = true; } if (tp === 1) { this.top = true; } this.initScore(sc); if (this.bossBarFlag) { _root.bossBar.bar._xscale = 100; _root.bossBar._visible = true; _root.bossBar._alpha = 0; _root.bossBar.onEnterFrame = _global.alphaIn; } this.base = this.attachMovie(a, 'base', 1); this.mainLinkage = a; this.body = this.base.body; this.hitBody = this.base.hitBody; if (_global.noSet(this.hitBody)) { this.hitBody = this.base.body; } if (_global.envS.bodyDebug != 1) { this.body._visible = false; this.hitBody._visible = false; } var v8 = !this.top ? this._parent._parent.enemyMC2 : this._parent._parent.topEnemyMC2; if (_global.noSet(v8)) { this.gunHolder = this; } else { this.gunHolder = v8.createEmptyMovieClip(this._name + '_gun', this.getDepth()); } norot = (norot != 1) ? false : true; if (!norot) { this.base._rotation = _global.envS.defaultRotation; } this.gunHolder._x = this._x; this.gunHolder._y = this._y; this.cannons = new Array(); var v5 = _global.prepareArrayString(b); var v4 = 0; while (v4 < v5.length) { this.cannons[v4] = this.gunHolder.attachMovie(v5[v4], 'gun' + v4, v4 + 2, {'parent': this, 'myNum': v4}); v4 += 1; } if (wb == 1) { this.withoutBaseFlag = true; } if (this.withoutBaseFlag) { this.blinkObject = this.gunHolder; } this.target = c; if (!_global.noSet(sha) && this.top) { this.shadowStr = sha; v8 = this._parent._parent.shadows; if (_global.noSet(v8)) { v8 = this._parent.shadows; } this.shadow = v8.attachMovie(this.shadowStr, this._name + '_sh', this.getDepth()); this.SolarX = _global.envS.SolarX; this.SolarY = _global.envS.SolarY; this.SolarXFactor = _global.envS.SolarXFactor; this.SolarYFactor = _global.envS.SolarYFactor; this.shadow._rotation = this.base._rotation; this.shadow._yscale = 70; this.shadow._xscale = 70; } this.rotateGun(); this.rotateBase(); this.initArmor(ar); }; v2.initGun = function (t, mt, c, bt, bs, dd, br, tl, am, fs, fm, fd, bd, mb, pa, pd, pts, pta, ptss, to, ca) { if (!this.live) { return undefined; } var v16 = _global.prepareArrayNum(t); var v12 = _global.prepareArrayNum(mt); var v9 = _global.prepareArrayNum(c); var v4 = _global.prepareArrayString(bt); var v10 = _global.prepareArrayNum(bs); var v18 = _global.prepareArrayString(dd); var v7 = _global.prepareArrayNum(br); var v14 = _global.prepareArrayNum(tl); var v17 = _global.prepareArrayNum(am); var v8 = _global.prepareArrayNum(fs); var v13 = _global.prepareArrayNum(fm); var v20 = _global.prepareArrayNum(fd); var v11 = _global.prepareArrayNum(bd); var v19 = _global.prepareArrayNum(mb); var v5 = _global.prepareArrayNum(pa); var v6 = _global.prepareArrayNum(pd); var v21 = _global.prepareArrayString(ca); var v15 = _global.prepareArrayNum(to); var v3 = 0; while (v3 < v4.length) { this.cannons[v3].initGun(); this.cannons[v3].addGun(_global.trim(v16[v3]), _global.trim(v12[v3]), _global.trim(v9[v3]), _global.trim(v4[v3]), _global.trim(v10[v3]), _global.trim(v18[v3]), _global.trim(v7[v3]), _global.trim(v14[v3]), _global.trim(v17[v3]), _global.trim(v8[v3]), _global.trim(v13[v3]), _global.trim(v20[v3]), _global.trim(v11[v3]), _global.trim(v19[v3]), _global.trim(v5[v3]), _global.trim(v6[v3]), pts, pta, ptss, _global.trim(v21[v3]), _global.trim(v15[v3])); v3 += 1; } this.rotateGun(); }; v2.addGun = function (t, mt, c, bt, bs, dd, br, tl, am, fs, fm, fd, bd, mb, pa, pd, pts, pta, ptss, to, ca) { if (!this.live) { return undefined; } var v16 = _global.prepareArrayNum(t); var v12 = _global.prepareArrayNum(mt); var v9 = _global.prepareArrayNum(c); var v4 = _global.prepareArrayString(bt); var v10 = _global.prepareArrayNum(bs); var v18 = _global.prepareArrayString(dd); var v7 = _global.prepareArrayNum(br); var v14 = _global.prepareArrayNum(tl); var v17 = _global.prepareArrayNum(am); var v8 = _global.prepareArrayNum(fs); var v13 = _global.prepareArrayNum(fm); var v20 = _global.prepareArrayNum(fd); var v11 = _global.prepareArrayNum(bd); var v19 = _global.prepareArrayNum(mb); var v5 = _global.prepareArrayNum(pa); var v6 = _global.prepareArrayNum(pd); var v21 = _global.prepareArrayString(ca); var v15 = _global.prepareArrayNum(to); var v3 = 0; while (v3 < v4.length) { this.cannons[v3].addGun(_global.trim(v16[v3]), _global.trim(v12[v3]), _global.trim(v9[v3]), _global.trim(v4[v3]), _global.trim(v10[v3]), _global.trim(v18[v3]), _global.trim(v7[v3]), _global.trim(v14[v3]), _global.trim(v17[v3]), _global.trim(v8[v3]), _global.trim(v13[v3]), _global.trim(v20[v3]), _global.trim(v11[v3]), _global.trim(v19[v3]), _global.trim(v5[v3]), _global.trim(v6[v3]), pts, pta, ptss, _global.trim(v21[v3]), _global.trim(v15[v3])); v3 += 1; } }; v2.oEF = function () { var v3 = this.x; var v4 = this.y; super.oEF(); if (this.base.isMech) { if (Math.abs(this.speedX) > 0.5 || Math.abs(this.speedY) > 0.5) { this.base.vis.play(); this.base.vis.inMove = true; } else { this.base.vis.stop(); this.base.vis.inMove = false; } } if (this.cannons[0].isSoldier) { if (Math.abs(this.speedX) > 0.5 || Math.abs(this.speedY) > 0.5) { this.cannons[0].play(); this.cannons[0].inMove = true; } else { this.cannons[0].stop(); this.cannons[0].inMove = false; } } this.gunHolder._x = this._x; this.gunHolder._y = this._y; this.rotateBase(); this.rotateGun(); this.moveShadow(); }; v2.moveShadow = function () { if (!_global.noSet(this.shadow)) { this.shadow._x = (this._x - this.SolarX) * this.SolarXFactor + this.SolarX; this.shadow._y = (this._y - this.SolarY + _root.bg._y) * this.SolarYFactor - _root.bg._y + this.SolarY; this.shadow._rotation = this.base._rotation; } }; v2.rotateBase = function () { if (!_global.noSet(this.target) && this.orientToPath == 'shoot') { var v3 = {'x': this.target._x, 'y': this.target._y}; this.target._parent.localToGlobal(v3); var v4 = {'x': this.x, 'y': this.y}; this._parent.localToGlobal(v4); var v5 = this.cannons[0].cannonAngleType; switch (v5) { case 't': this.baseRotation = Math.atan2(v3.y - v4.y, v3.x - v4.x) * _global.PI2 + this.cannons[0].cannonAngle + 90; break; case 'w': this.baseRotation = this.baseRotateCount + this.cannons[0].cannonAngle + 90; break; case 'h': this.baseRotation = this.cannons[0].cannonAngle + 180; } if (this.rotatedByWay) { this.base._rotation = this.baseRotation; } this.gunHolder._rotation = this.base._rotation; } else { if (!(this.speedX == 0 && this.speedY == 0)) { this.baseRotation = this.baseRotateCount + 90; if (this.rotatedByWay) { this.base._rotation = this.baseRotation; } this.gunHolder._rotation = this.base._rotation; } } }; v2.rotateGun = function () { if (_global.noSet(this.target)) { var v3 = 0; while (v3 < this.cannons.length) { this.cannons[v3]._rotation = Math.atan2(this._ymouse - this.cannons[v3]._y, this._xmouse - this.cannons[v3]._x) * _global.PI2 + 90; v3 += 1; } } else { var v6 = {'x': this.target._x, 'y': this.target._y}; this.target._parent.localToGlobal(v6); var v3 = 0; while (v3 < this.cannons.length) { var v4 = {'x': this.cannons[v3]._x, 'y': this.cannons[v3]._y}; this.gunHolder.localToGlobal(v4); var v5 = this.cannons[v3].cannonAngleType; switch (v5) { case 't': this.cannons[v3]._rotation = Math.atan2(v6.y - v4.y, v6.x - v4.x) * _global.PI2 - this.gunHolder._rotation + this.cannons[v3].cannonAngle + 90; break; case 'w': this.cannons[v3]._rotation = this.baseRotateCount - this.gunHolder._rotation + this.cannons[v3].cannonAngle + 90; break; case 'h': this.cannons[v3]._rotation = this.cannons[v3].cannonAngle - this.gunHolder._rotation + 180; } v3 += 1; } } }; v2.bang = function (obj) { if (!this.live) { return false; } var v4 = false; var v2 = 0; while (v2 < this.cannons.length) { var v3 = this.cannons[v2].bang(obj); v4 = v4 || v3; v2 += 1; } return v4; }; v2.destroy = function (flag) { if (this.top) { var v10 = _root.bg.fxTop; } else { var v10 = _root.bg.fx; } var v8 = 1; var v7 = v10.getNextHighestDepth(); var v9 = this.base; if (_global.noSet(v9.ex1)) { v9 = this.cannons[0]; } while (!_global.noSet(v9['ex' + v8])) { var v6 = v9['ex' + v8]; var v5 = v10.attachMovie('explode', 'fx' + v7, v7); v5._rotation = (v6._rotation != 0) ? v6._rotation : Math.random() * 360; v5.target = this; v5.target_mc = v6; v5._yscale = v6._xscale * 10; v5._xscale = v5._yscale; if (_global.noSet(v6.delay)) { v6.delay = 0; } v5.gotoAndStop(1); v5.maxDelay = v6.delay; v5.onEnterFrame = _global.explodePause; v7 += 1; v8 += 1; } v5.destroyer = true; v5.destroyTarget = this; this.deathFromOutside = true; if (this.dieImmediatly) { this.deathFromOutside = false; } super.destroy(flag); if (!this.deathFromOutside) { this.shadow.removeMovieClip(); } this.kill(); }; v2.kill = function () { this.shadow.removeMovieClip(); if (this.bossBarFlag) { _root.bossBar.step = 0; _root.bossBar.maxStep = 30; _root.bossBar._alpha = 100; _root.bossBar.onEnterFrame = _global.alphaOut; } if (this.gunHolder != this) { var v6 = this.cannons[0]._currentframe; var v5 = 0; while (v5 < this.cannons.length) { this.cannons[v5].gotoAndPlay('die'); v5 += 1; } if (this.cannons[0]._currentframe == 1 || this.cannons[0]._currentframe == v6) { this.gunHolder.removeMovieClip(); } super.kill(); } else { this.initMove = false; var v5 = 0; while (v5 < this.cannons.length) { this.cannons[v5].gotoAndPlay('die'); v5 += 1; } } this.base.gotoAndPlay('die'); this.outQueue(); }; v2.changeGun = function (newWeapon) { this.cannons[0].changeGun(newWeapon); }; v2.changeArmor = function (delta) { super.changeArmor(delta); if (this.bossBarFlag) { _root.bossBar.bar._xscale = 100 * this.armor / this.startArmor; } }; v2.mainLinkage = ''; v2.armor = 0; v2.startArmor = 0; v2.thereCanBeOnlyOne = 0; v2.withoutBaseFlag = false; v2.bossBarFlag = false; v2.top = false; v2.shadowStr = ''; v2.SolarX = 275; v2.SolarY = 200; v2.SolarXFactor = 1; v2.SolarYFactor = 1; ASSetPropFlags(_global.tankClass.prototype, null, 1); } #endinitclip } movieClip 1279 __Packages.enemyClass { #initclip if (!_global.enemyClass) { var v1 = function () { super(); this.score = _global.envS.defaultScore; _global.enemyObjects.push(this); this.offsetTop = _global.envS.enemyOffset.top; this.offsetBottom = _global.envS.enemyOffset.bottom; this.offsetLeft = _global.envS.enemyOffset.left; this.offsetRight = _global.envS.enemyOffset.right; }; _global.enemyClass = v1; _global.enemyClass extends tankClass; var v2 = v1.prototype; v2.initGun = function (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 v6 = _global.prepareArrayNum(sd); var v5 = _global.prepareArrayNum(dr); var v7 = _global.prepareArrayNum(del); var v4 = 0; while (v4 < this.cannons.length) { this.cannons[v4].initSplash(v6[v4], v5[v4], v7[v4]); v4 += 1; } } }; v2.initTank = function (a, b, c, ar, dir, wb, bb, tp, sha, norot, sc) { if (!_global.noSet(dir)) { this.directdamage = dir; } super.initTank(a, b, c, ar, wb, bb, tp, sha, norot, sc); }; v2.oEF = function () { super.oEF(); if (this.wayPassed) { this.ai = 0; } if (this.ai == 0) { this.bang(0); } }; v2.kill = function () { if (this.armor <= 0) { _global.rezults.killed += 1; } else { _global.rezults.survived += 1; } var v4 = 0; while (v4 < _global.enemyObjects.length) { if (_global.enemyObjects[v4] == this) { _global.enemyObjects.splice(v4, 1); break; } v4 += 1; } super.kill(); }; v2.destroy = function (flag) { _global.countCombo(true); super.destroy(flag); }; v2.ai = 0; v2.directdamage = -100; ASSetPropFlags(_global.enemyClass.prototype, null, 1); } #endinitclip } movieClip 1280 __Packages.playerClass { #initclip if (!_global.playerClass) { var v1 = function () { super(); this.offsetTop = _global.envS.playerOffset.top; this.offsetBottom = _global.envS.playerOffset.bottom; this.offsetLeft = _global.envS.playerOffset.left; this.offsetRight = _global.envS.playerOffset.right; this.offReaction = 'stand'; this.oldTab = Key.isToggled(9); this.XspeedFactor = _global.playerS.XspeedFactor; this.YspeedFactor = _global.playerS.YspeedFactor; this.rotationFactor = _global.playerS.rotationFactor; if (_global.selectedPlane == 'playerMan') { _root.gui.weaponReady.gotoAndStop(2); } }; _global.playerClass = v1; _global.playerClass extends tankClass; var v2 = v1.prototype; v2.setMotion = function (a, b) { super.setMotion(0, 0); this.baseSpeedX = a; this.startBaseSpeedX = this.baseSpeedX; this.baseSpeedY = b; this.startBaseSpeedY = this.baseSpeedY; this.speedY = 0; this.speedX = 0; }; v2.initTank = function (a, b, c, ar, wb, sh, msh, mar, sha) { this.shield = sh; this.maxShield = msh; super.initTank(a, b, c, ar, wb, false, 1, sha); this.base.vis.stop(); var v5 = 0; while (v5 < this.cannons.length) { this.cannons[v5]._y *= -1; v5 += 1; } if (_global.envS.debug == 1) { this.bar._y = 20; } this.startArmor = Math.max(mar, ar); this.showArmor(); this.base._rotation = 0; this.realRotation = 0; this.shadow._rotation = 0; this.playerBaseRotation = 0; this.secondWeapon1 = 0; this.secondWeapon2 = 0; _root.gui.weaponReady.ico2.stop(); _root.gui.weaponReady.ico3.stop(); _root.gui.weaponReady.ico2.n = 100; _root.gui.weaponReady.ico3.n = 100; }; v2.oEF = function () { this.playerDx = 0; this.playerDy = 0; if (_global.userControlled) { if (Key.isDown(37) || Key.isDown(65)) { this.playerDx = -1; } if (Key.isDown(39) || Key.isDown(68)) { this.playerDx = 1; } if ((Key.isDown(37) || Key.isDown(65)) && (Key.isDown(39) || Key.isDown(68))) { this.playerDx = 0; } if (Key.isDown(38) || Key.isDown(87)) { this.playerDy = -1; } if (Key.isDown(40) || Key.isDown(83)) { this.playerDy = 1; } if ((Key.isDown(38) || Key.isDown(87)) && (Key.isDown(40) || Key.isDown(83))) { this.playerDy = 0; } var v13 = 0; var v11 = 0; if (this.playerDx != 0 || 1) { v13 = this.playerDx * this.baseSpeedX; } if (this.playerDy != 0 || 1) { v11 = this.playerDy * this.baseSpeedY; } this.speedX += (v13 - this.speedX) / this.XspeedFactor; this.speedY += (v11 - this.speedY) / this.YspeedFactor; } else { this.speedX += -this.speedX / this.XspeedFactor * 2; this.speedY += -this.speedY / this.YspeedFactor; } if (Math.abs(this.speedX) < 0.5) { this.speedX = 0; } if (Math.abs(this.speedY) < 0.5) { this.speedY = 0; } if (this.recoilTimer < _global.playerS.recoilLength) { this.recoilTimer += 1; var v14 = this.recoilAngle / _global.PI2; var v12 = _global.playerS.recoil * Math.cos(Math.PI * this.recoilTimer / (2 * _global.playerS.recoilLength + 1)); this.moveBy(v12 * Math.cos(v14) / this.recoilTimer, v12 * Math.sin(v14) / this.recoilTimer); } super.oEF(); var v9 = 1; if (this.playerDx != 0 || this.playerDy != 0) { if (this.playerDy == -1) { if (this.playerDx == 1) { this.playerBaseRotation = 45; } if (this.playerDx == -1) { this.playerBaseRotation = -45; } if (this.playerDx == 0) { this.playerBaseRotation = 0; } } else { if (this.playerDy == 1) { if (this.playerDx == 1) { this.playerBaseRotation = -45; v9 = -1; } if (this.playerDx == -1) { this.playerBaseRotation = 45; v9 = -1; } if (this.playerDx == 0) { this.playerBaseRotation = 0; v9 = -1; } } else { if (this.playerDy == 0) { if (this.playerDx == 1) { this.playerBaseRotation = 90; } if (this.playerDx == -1) { this.playerBaseRotation = -90; } } } } } this.realRotation += _global.getAngleDelta(this.realRotation, this.playerBaseRotation, this.rotationFactor); this.base._rotation = this.realRotation; if (this.speedX != 0 || this.speedY != 0 || this.bottomLineReached) { var v8 = this.base.vis._currentframe; if (Math.abs(this.speedX) > this.baseSpeedX / 2 || Math.abs(this.speedY) > this.baseSpeedY / 2) { v9 *= 2; } v8 += v9; if (v8 <= 0) { v8 += this.base.vis._totalframes; } if (v8 > this.base.vis._totalframes) { v8 -= this.base.vis._totalframes; } this.base.vis.gotoAndStop(v8); this.cannons[0].play(); } else { this.cannons[0].stop(); } this.gunHolder._rotation = 0; this.rotateGun(); var v10 = this.cannons[0]._rotation; if (!(this.init && this.initMove)) { return undefined; } if (_global.userControlled) { if (this.autoFire) { if (this.bang(1)) { this.viewWeapons(); this.recoilAngle = v10 + 90; this.recoilTimer = 0; _global.rezults.shots += 1; } if (_global.selectedPlane == 'playerMech') { if (this.secondWeapon1 != 0) { if (this.cannons[0].changeGun(this.secondWeapon1 + 2)) { if (this.bang(1)) { this.viewWeapons(); this.recoilAngle = v10 + 90; this.recoilTimer = 0; _global.rezults.shots += 1; } } } if (this.secondWeapon2 != 0) { if (this.cannons[0].changeGun(this.secondWeapon2 + 4)) { if (this.bang(1)) { this.viewWeapons(); this.recoilAngle = v10 + 90; this.recoilTimer = 0; _global.rezults.shots += 1; } } } this.cannons[0].changeGun(this.primaryWeapon); } } } var v6 = this.cannons[0].gunZ[this.primaryWeapon]; if (v6.reload) { var v5 = 100 * ((_global.clock - v6.bangTime) / v6.reloadTime); } else { var v5 = 100 * ((_global.clock - v6.bangTime) / v6.reloadMicroTime); } if (v5 > 100) { v5 = 100; } var v7 = _root.gui.weaponReady.ico1; if (v5 < 100 || v7._currentframe <= 50) { v7.gotoAndPlay(Math.ceil(v5 / 2)); } if (this.secondWeapon1 != 0) { v6 = this.cannons[0].gunZ[this.secondWeapon1 + 2]; if (v6.reload) { v5 = 100 * ((_global.clock - v6.bangTime) / v6.reloadTime); } else { v5 = 100 * ((_global.clock - v6.bangTime) / v6.reloadMicroTime); } if (v5 > 100) { v5 = 100; } v7 = _root.gui.weaponReady.ico2; if (v5 < 100 || v7._currentframe <= 50) { v7.gotoAndPlay(Math.ceil(v5 / 2)); } } if (this.secondWeapon2 != 0) { v6 = this.cannons[0].gunZ[this.secondWeapon2 + 4]; if (v6.reload) { v5 = 100 * ((_global.clock - v6.bangTime) / v6.reloadTime); } else { v5 = 100 * ((_global.clock - v6.bangTime) / v6.reloadMicroTime); } if (v5 > 100) { v5 = 100; } v7 = _root.gui.weaponReady.ico3; if (v5 < 100 || v7._currentframe <= 50) { v7.gotoAndPlay(Math.ceil(v5 / 2)); } } this.showWeapon(); }; v2.viewWeapons = function () { _root.gui.rockets.tf.text = this.cannons[0].gunZ[1].amount; }; v2.check = function () { super.check(); this.bottomLineReached = false; if (this.y == -_root.bg.y + 400 - this.offsetBottom) { if (this.playerDx == 0 && this.playerDy == 0) { this.playerBaseRotation = 0; this.bottomLineReached = true; } } }; v2.initGun = function (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 v6 = _global.prepareArrayNum(sd); var v5 = _global.prepareArrayNum(dr); var v7 = _global.prepareArrayNum(del); var v4 = 0; while (v4 < this.cannons.length) { this.cannons[v4].initSplash(v6[v4], v5[v4], v7[v4]); v4 += 1; } } this.showWeapon(); }; v2.addGun = function (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 v6 = _global.prepareArrayNum(sd); var v5 = _global.prepareArrayNum(dr); var v7 = _global.prepareArrayNum(del); var v4 = 0; while (v4 < this.cannons.length) { this.cannons[v4].initSplash(v6[v4], v5[v4], v7[v4]); v4 += 1; } } this.showWeapon(); }; v2.showWeapon = function () { _root.gui.weaponReady.ico1.i_col.gotoAndStop(this.primaryWeapon + 1); _root.gui.weaponReady.ico1.i_bl.gotoAndStop(this.primaryWeapon + 1); _root.gui.weaponReady.ico2.i_col.gotoAndStop(this.secondWeapon1 + 1); _root.gui.weaponReady.ico2.i_bl.gotoAndStop(this.secondWeapon1 + 1); _root.gui.weaponReady.ico3.i_col.gotoAndStop(this.secondWeapon2 + 1); _root.gui.weaponReady.ico3.i_bl.gotoAndStop(this.secondWeapon2 + 1); }; v2.onMouseDown = function () { if (_global.userControlled) { this.autoFire = true; } }; v2.onMouseUp = function () { if (_global.userControlled) { this.autoFire = false; } }; v2.bang = function (obj) { var v3 = super.bang(obj); if (v3 && this.cannons[0].currentGun == 1 && this.cannons[0].gunZ[1].nuke) { this.cannons[0].gunZ[1].nuke = false; this.cannons[0].gunZ[1].bulletType = 'rocket'; this.showWeapon(); } return v3; }; v2.showArmor = function () { super.showArmor(); _root.gui.health.bar.gotoAndStop(100 - Math.round(100 * this.armor / this.startArmor) + 1); _root.gui.armor.bar.gotoAndStop(100 - Math.round(100 * this.shield / this.maxShield) + 1); }; v2.changeShield = function (delta) { this.shield += delta; if (this.shield > this.maxShield) { this.shield = this.maxShield; } if (this.shield < 0) { this.shield = 0; } if (delta > 0) { this.startBlink('shield'); } }; v2.changeArmor = function (delta) { if (!this.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 v5 = delta; if (-v5 > this.shield) { v5 = -this.shield; } var v6 = delta - v5; this.changeShield(v5); } else { var v5 = 0; var v6 = delta; } super.changeArmor(v6); }; v2.destroy = function () { _global.gameOver = true; super.destroy(true); }; v2.applyBonus = function (type) { this.startBlink('takebonus'); switch (type) { case 'health': _global.sound.play('health', this.x); this.changeArmor(10); this.showArmor(); break; case 'shield': _global.sound.play('health', this.x); this.changeShield(1); this.showArmor(); break; case '1updater': if (_global.selectedPlane == 'playerMan') { } else { _global.sound.play('upgrade', this.x); var v4 = this.primaryWeapon; this.primaryWeapon += 1; if (this.primaryWeapon > 2) { this.primaryWeapon = 2; } if (this.primaryWeapon != v4) { _root.gui.weaponReady.ico1.n = 0; } this.cannons[0].changeGun(this.primaryWeapon); this.showWeapon(); break; case 'rocket': if (_global.selectedPlane == 'playerMan') { } else { _global.sound.play('upgrade', this.x); var v4 = this.secondWeapon1; this.secondWeapon1 += 1; if (this.secondWeapon1 > 2) { this.secondWeapon1 = 2; } if (this.secondWeapon1 != v4) { _root.gui.weaponReady.ico2.n = 0; } this.showWeapon(); break; case 'lazer': if (_global.selectedPlane == 'playerMech') { _global.sound.play('upgrade', this.x); var v4 = this.secondWeapon2; this.secondWeapon2 += 1; if (this.secondWeapon2 > 2) { this.secondWeapon2 = 2; } if (this.secondWeapon2 != v4) { _root.gui.weaponReady.ico3.n = 0; } } else { _global.sound.play('upgrade', this.x); var v4 = this.primaryWeapon; this.primaryWeapon += 1; if (this.primaryWeapon > 2) { this.primaryWeapon = 2; } if (this.primaryWeapon != v4) { _root.gui.weaponReady.ico1.n = 0; } this.cannons[0].changeGun(this.primaryWeapon); } this.showWeapon(); } } } }; v2.playerDx = 0; v2.playerDy = 0; v2.baseSpeedX = 0; v2.baseSpeedY = 0; v2.startBaseSpeedX = 0; v2.startBaseSpeedY = 0; v2.XspeedFactor = 0; v2.YspeedFactor = 0; v2.rotationFactor = 0; v2.realRotation = 0; v2.rotSign = 0; v2.shield = 0; v2.maxShield = 0; v2.recoilTimer = 10; v2.recoilAngle = 0; v2.oldTab = false; v2.autoFire = false; v2.weaponNum = 0; v2.weaponPowerup = 0; v2.secondWeapon1 = 0; v2.secondWeapon2 = 0; v2.primaryWeapon = 0; ASSetPropFlags(_global.playerClass.prototype, null, 1); } #endinitclip } button 1112 { on (press) { openSite(); } } // unknown tag 88 length 299 movieClip 1118 { } movieClip 1119 { } instance of movieClip 1119 { 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 += '.0'; } 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(); } movieClip 1124 { } instance of movieClip 1124 { 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 -= _root.loaderAnimDelta; if (_alpha < 0) { _root.gotoAndPlay('init'); } } } } } movieClip 1125 { } // unknown tag 88 length 282 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 v9 = !_global.noSet(currLevel.playerArmor) ? currLevel.playerArmor : playerS.maxArmor; var v8 = !_global.noSet(currLevel.playerShield) ? currLevel.playerShield : playerS.maxShield; _root.bg.player.initTank(playerS.base, playerS.gun, undefined, v9, playerS.withoutBase, v8, 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 v5 = _global.currLevel.level[i].timeOffset.charAt(0); var v4 = _global.currLevel.level[i].timeOffset.substr(1, 100); v4 = parseInt(v4); if (v5 == 's') { currLevelByTime.push({'obj': _global.currLevel.level[i], 't': v4}); } if (v5 == 'f') { currLevelByFrame.push({'obj': _global.currLevel.level[i], 't': v4}); } } 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('Максимальный объект ' + _global.maxLevelItem, true); setProgressBar(0, _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.error._visible = false; _root.tfTimerF._visible = _root.error._visible; _root.tfTimer._visible = _root.error._visible; _root.bg.lineGrid._visible = _root.error._visible; _root.bottomRuler._visible = _root.error._visible; } _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) ? true : false; _root.gui.progress.bar._visible = _global.usingBar; _root.slowZone._visible = false; _root.fastZone._visible = _root.slowZone._visible; if (!_global.noSet(_global.currLevel.playerX) && !_global.noSet(_global.currLevel.playerY)) { trace('по уровню'); _root.bg.player.moveTo(_global.currLevel.playerX, -_global.currLevel.playerY); } else { trace('по дефолту'); _root.bg.player.moveTo(playerS.startX, -playerS.startY); } _root.gui._visible = true; _global.levelTime = 0; _global.levelTimeF = 0; _global.levelTimeS = getTimer(); _root.textBar3._visible = false; _root.textBar2._visible = _root.textBar3._visible; _root.textBar1._visible = _root.textBar3._visible; _root.textBar3.setBarAction = _global.setBarAction; _root.textBar2.setBarAction = _root.textBar3.setBarAction; _root.textBar1.setBarAction = _root.textBar3.setBarAction; if (typeof _global.envS.comboFactorz == 'string') { var v3 = _global.envS.comboFactorz.split(','); var i = 0; while (i < v3.length) { v3[i] = Math.floor(parseFloat(v3[i]) * 100) / 100; ++i; } _global.envS.comboFactorz = v3; } if (typeof _global.envS.comboLinkagez == 'string') { v3 = _global.envS.comboLinkagez.split(','); var i = 0; while (i < v3.length) { v3[i] = trim(v3[i]); ++i; } _global.envS.comboLinkagez = v3; } if (typeof _global.envS.comboDeltaz == 'string') { v3 = _global.envS.comboDeltaz.split(','); var i = 0; while (i < v3.length) { v3[i] = Math.floor(parseFloat(v3[i]) * 100) / 100; ++i; } _global.envS.comboDeltaz = v3; } _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 v2 = false; for (var v3 in arr) { if (arr[v3] == item) { v2 = v3; break; } } return v2; }; _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 += str + '\n'; } }; _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 v2 = -1; do { v2 += 1; var a = str.charAt(v2); } while (a == ' ' || a == '\n' || a == '\r' || a == '\t'); var v3 = str.length; do { v3 -= 1; var a = str.charAt(v3); } while (a == ' ' || a == '\n' || a == '\r' || a == '\t'); str = str.substring(v2, v3 + 1); if (String(parseFloat(str)) == str) { str = parseFloat(str); } return str; }; _global.alphaIn = function () { this._alpha += 5; if (this._alpha > 100) { this._alpha = 100; delete this.onEnterFrame; } }; _global.alphaOut = function () { this.step += 1; if (this.step > this.maxStep) { 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 v3 = inv.split(','); if (_global.noSet(v3)) { v3 = new Array(); v3.push(inv); } var v2 = 0; while (v2 < v3.length) { v3[v2] = _global.trim(v3[v2]); v2 += 1; } return v3; }; _global.prepareArrayNum = function (inv) { var v3 = inv.split(','); if (_global.noSet(v3)) { v3 = new Array(); v3.push(inv); } var v2 = 0; while (v2 < v3.length) { v3[v2] = parseFloat(v3[v2]); v2 += 1; } return v3; }; _global.prepareArrayBool = function (inv) { var v3 = inv.split(','); if (_global.noSet(v3)) { v3 = new Array(); v3.push(inv); } var v2 = 0; while (v2 < v3.length) { v3[v2] = (parseFloat(v3[v2]) != 1) ? false : true; v2 += 1; } return v3; }; _global.isChild = function (arr, item) { var v2 = false; for (var v3 in arr) { if (arr[v3] == item) { v2 = v3; break; } } return v2; }; _global.isArrChild = function (arr, name, item) { var v3 = false; var v1 = 0; while (v1 < arr.length) { if (arr[v1][name] == item) { v3 = arr[v1]; break; } v1 += 1; } return v3; }; _global.parsingOn = function () { this._alpha += _root.parsingAnimDelta; if (this._alpha > 100 + _root.parsingAnimDelta) { _root.gotoAndStop('parse'); delete this.onEnterFrame; } }; _global.parsingOff = function () { 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 += getTimer() - _global.levelTimeS; _global.levelTimeF += 1; _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; while (i < bulletObjects.length) { 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) { } } else { if (killFlag) { makeSplash(foo, weaponPoints[0], foo.object == 1, foo.object != 1); } if (foo.object == 1) { } else { if (foo.type == 'torpedoe' && !foo.mode) { 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 < +foo.offsetTop) { flag = false; } if (pointObj.y > 400 - foo.offsetBottom) { flag = false; } if (pointObj.x < +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 += 1; 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 += 1; } 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')) { if (!foo.alreadyHited(staticObjects[j])) { 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 += 1; 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) { if (!(foo.type == 'torpedoe' && enemyObjects[j].top)) { if (!foo.alreadyHited(enemyObjects[j])) { 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 += 1; 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 < +foo.offsetTop) { flag = false; } if (pointObj.y > 400 - foo.offsetBottom) { flag = false; } if (pointObj.x < +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('ИГРОК ПОВРЕЖДЕН ЛАЗЕРОМ! урон ' + foo.damage); _root.bg.player.changeArmor(foo.damage); flag = false; } } foo.removeFromArray(); foo.outQueue(); --i; } else { if (foo.alreadyHited(_root.bg.player)) { } else { 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('ИГРОК ПОВРЕЖДЕН! урон ' + 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; } } } } } } } ++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) { name = staticObjects[i]; if (_root.bg.player.hitBody.hitTest(name.hitBody)) { var hit = false; var j = 0; while (j < ppointz.length) { hit |= name.hitBody.hitTest(ppointz[j].x, ppointz[j].y, true); if (hit) { break; } ++j; } if (hit) { if (staticObjects[i].immortal) { debug('ИГРОК СОУДАРИЛСЯ С БЕССМЕРТНЫМ ОБЪЕКТОМ!'); _root.bg.player.changeArmor(10000000); } else { debug('ИГРОК СОУДАРИЛСЯ С БОЧКОЙ! урон ' + ((name.directDamage != 0) ? -name.directDamage : -name.armor)); _root.bg.player.changeArmor(10000000); name.changeArmor(-10000000); checkSplash(name, false); } } } } ++i; } var i = 0; while (i < enemyObjects.length) { if (enemyObjects[i].enable_enemy_to_enemy_collision) { if (enemyObjects[i].armor > 0) { var j = 0; while (j < enemyObjects.length) { if (i != j) { if (enemyObjects[j].enable_enemy_to_enemy_collision) { if (enemyObjects[j].armor > 0) { 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) { 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 |= 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); debug('ИГРОК СОУДАРИЛСЯ С ВРАГОМ! урон ' + 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.rezults.killed; _global.fullRezults.survived += _global.rezults.survived; _global.fullRezults.items += _global.rezults.items; _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 ? 0 : -(vary - 1) * 400) + (mainSegment - vary) * 400 + mainSegmentDelta); } ++i; } } } }; _global.clock = 0; clockAdder = function () { _global.clock += 1; }; changeBGSpeed = function () { if (_global.scrollBG_debugFlag === true) { return undefined; } if (!_global.slidingBg) { _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 v6 = _root.bg.player._x; var v5 = _root.bg.player._y + _root.bg._y; var v7 = _root.fastZone.hitTest(v6, v5, 1); var v8 = _root.slowZone.hitTest(v6, v5, 1); var v3 = _global.envS.screenSpeed; if (v7) { v3 = _global.envS.screenFastSpeed; } if (v8) { v3 = _global.envS.screenSlowSpeed; } if (v3 != _root.bg.speedY) { if (v3 > _root.bg.speedY) { var v4 = _root.bg.speedY * _global.envS.screenSpeedFactorUp; if (v4 > v3) { v4 = v3; } } if (v3 < _root.bg.speedY) { v4 = _root.bg.speedY * _global.envS.screenSpeedFactorDown; if (v4 < v3) { v4 = v3; } } if (v3 == 0 && v4 < 0.1) { v4 = 0; } if (v3 > 0 && v4 < 0.1) { v4 = 0.1; } _root.bg.speedY = v4; } } } }; _global.checkSplash = function (obj, flag, flag2) { var v8 = splashedObjects.length; if (_global.noSet(obj)) { return undefined; } if (_global.noSet(flag)) { flag = true; } if (_global.noSet(flag2)) { flag2 = true; } if (flag2) { var v3 = 0; while (v3 < staticObjects.length) { if (!staticObjects[v3].ignoreSplash) { if (checkSplashOne(obj, staticObjects[v3])) { splashedObjects.push({'obj': staticObjects[v3], 'from': obj._name, 'dmg': obj.splashDamage, 'delay': obj.splashDelay, 'spl': true}); } } v3 += 1; } v3 = 0; while (v3 < enemyObjects.length) { if (!enemyObjects[v3].ignoreSplash) { if (checkSplashOne(obj, enemyObjects[v3])) { splashedObjects.push({'obj': enemyObjects[v3], 'from': obj._name, 'dmg': obj.splashDamage, 'delay': obj.splashDelay, 'spl': false}); } } v3 += 1; } } 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 v4 = ''; v3 = 0; while (v3 < splashedObjects.length) { v4 += v3 + ': obj=' + splashedObjects[v3].obj + ', damage=' + splashedObjects[v3].dmg + ', from=' + splashedObjects[v3].from + ((v3 != splashedObjects.length - 1) ? '\n' : ''); v3 += 1; } }; checkSplashOne = function (a, b) { if (a == b) { return undefined; } if (!a.spl.hitTest(b.body)) { return undefined; } var v7 = _global.envS.splashTests; var v5 = {'x': a.spl._x, 'y': a.spl._y}; a.localToGlobal(v5); var v8 = {'x': b.body._x, 'y': b.body._y}; b.localToGlobal(v8); dx = v5.x - v8.x; dy = v5.y - v8.y; d = Math.sqrt(dx * dx + dy * dy); al = Math.atan2(dy, dx); al -= (5 / PI2) * (v7 - 1) / 2; if (d < a.damageRadius / 2) { return true; } i = 0; while (i < v7) { var v4 = v5.x - Math.cos(al) * a.damageRadius / 2; var v3 = v5.y - Math.sin(al) * a.damageRadius / 2; al += 5 / PI2; if (b.body.hitTest(v4, v3, true)) { return true; } ++i; } return false; }; _global.setProgressBar = function (now, all) { if (!usingBar) { return undefined; } now -= 1; all -= 1; var v2 = 100 * now / all; if (v2 > 100) { v2 = 100; } if (v2 < 1) { v2 = 1; } _root.gui.progress.bar._xscale = v2; }; _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 v3 = _root.bg.player.cannons[0].currentGun + dir; if (v3 >= _root.bg.player.cannons[0].gunZ.length) { v3 = 0; } if (v3 < 0) { v3 = _root.bg.player.cannons[0].gunZ.length - 1; } if (_root.bg.player.cannons[0].changeGun(v3)) { _root.lbar.weaponSelector.gotoAndStop(v3 + 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 v3 = {'x': this.target_mc._x, 'y': this.target_mc._y}; this.target_mc._parent.localToGlobal(v3); this._parent.globalToLocal(v3); this._x = v3.x; this._y = v3.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 += (-2 - this._yscale) / 3; this._xscale = this._yscale; if (this._yscale <= 0) { delete this.onEnterFrame; this.removeMovieClip(); } }; _global.getOn = function () { this._yscale += (100 - this._yscale) / 6; this._xscale = this._yscale; this._alpha = this._xscale; if (this._yscale >= 98) { this._yscale = 100; this._xscale = 100; this._alpha = 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 v6 = _root.bg.splashez; var v7 = v6.depth++; var v3 = v6.attachMovie('userSplash', 'sf' + v7, 1000000 - v7); v3.initArmor(1); v3.setMotion(0, 0); var v5 = {'x': point.x, 'y': point.y}; v6.globalToLocal(v5); v3.moveTo(v5.x, v5.y); v3.initSplash(shot.splashDamage, shot.damageRadius, shot.splashDelay, true); checkSplash(v3, playerFlag, enemyFlag); if (_global.envS.debug != 1) { v3.spl._visible = false; } }; _global.makeBreef = function (done) { if (done == true) { if (this.mode == 1) { while (this.currText < 3) { if (this.currText == 1) { var v4 = this.breefText1; var v5 = _root.wnd.intro1; } if (this.currText == 2) { v4 = this.breefText2; v5 = _root.wnd.intro2; } while (this.step < v4.length) { v5.text += v4.charAt(++this.step); } this.currText += 1; this.step = -1; this.step2 = 0; } this.mode = 2; } } else { if (this.mode == 1) { if (this.currText == 1) { var v4 = this.breefText1; var v5 = _root.wnd.intro1; } if (this.currText == 2) { v4 = this.breefText2; v5 = _root.wnd.intro2; } if (_global.noSet(this.step)) { this.step = -1; } if (_global.noSet(this.step2)) { this.step2 = 0; } this.step2 += 1; if (this.step2 >= this.delay) { this.step2 = 0; v5.text += v4.charAt(++this.step); v5.text += v4.charAt(++this.step); if (Math.random() < 0.5) { _global.sound.play('type'); } } if (this.step >= v4.length) { if (this.currText == 1) { this.currText = 2; this.step = -1; this.step2 = 0; } else { this.mode = 2; } } } } }; _root.prebreefFunc = function () { stop(); _global.levelNum += 1; _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 v3 = _global.levels['level_' + levelNum].typerDelay; if (_global.noSet(v3)) { v3 = 0; } _root.wnd.delay = v3; _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 *= 0.5; } if (Math.random() < 0.5) { 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.k; this._parent._parent.speedY *= this.k; } else { this._parent._parent.speedX += -this._parent._parent.speedX / 50; this._parent._parent.speedY += -this._parent._parent.speedY / 50; } this._parent._parent._x += this._parent._parent.speedX; this._parent._parent._y += this._parent._parent.speedY; this._parent._parent._yscale -= (105 - this._parent._parent._yscale) / 20; this._parent._parent._xscale = this._parent._parent._yscale; this._parent._rotation += this.r; this._parent._parent.SolarXFactor += (1 - this._parent._parent.SolarXFactor) / this.k2; 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 -= 360; } while (a < -180) { a += 360; } var v6 = b - 360; var v5 = b; var v8 = b + 360; var v10 = v6 - a; var v12 = v5 - a; var v13 = v8 - a; var v7 = Math.abs(v10); var v4 = Math.abs(v12); var v9 = Math.abs(v13); var v2 = Math.min(v7, v4); v2 = Math.min(v2, v9); if (v2 == v7) { var v3 = v6; } if (v2 == v4) { v3 = v5; } if (v2 == v9) { v3 = v8; } return (v3 - a) / c; }; _global.setBarAction = function (text, col, length, ad) { var v3 = this.tf.getTextFormat(); if (!_global.noSet(col)) { v3.color = parseInt('0x' + col, 16); this.tf.setNewTextFormat(v3); } 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.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.alphaDelta; if (this._alpha <= 0) { this._visible = false; delete this.s; delete this.onEnterFrame; } } } } }; _global.prepareText = function (inText) { var v4 = ''; var v1 = 0; while (v1 < inText.length) { var v2 = inText.charAt(v1); if (v2 != '\r') { v4 += v2; } v1 += 1; } return v4; }; _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 v4 = new Object(); for (var v5 in foo) { v4[v5] = foo[v5]; } var v9 = movingUnits[v4.tank]; for (v5 in v9) { if (_global.noSet(v4[v5])) { v4[v5] = v9[v5]; } } var v11 = mainUnits[v4.mainObj]; for (v5 in v11) { if (_global.noSet(v4[v5])) { v4[v5] = v11[v5]; } } var v13 = (v4.top != 1) ? this.enemyMC : this.topEnemyMC; var v12 = v13.depth++; var v8 = v13.attachMovie('enemy', 'e' + v12, 1000000 - v12); v8.initOffset(v4.bigObject); v8.moveTo((v4.factor != -1) ? v4.xoffset : 550 - v4.xoffset, -this._y + ((v4.bigObject != 1) ? _global.envS.newObjectYOffset : _global.envS.newBigObjectYOffset) + delta); if (v4.way != '' && v4.way != 0) { if (v4.way == 'player') { v8.setMotion(v4.way, v4.speed, v4.followPlayer, v4.UAADistance, v4.UAARotationFactor); } else { v8.setMotion(v4.way, v4.mratio, v4.xratio, v4.yratio, v4.rotate, v4.factor, v4.startFrame, v4.endFrame, v4.moveWayAtStart, v4.wayCycle, v4.rotatedByWay, v4.orientToPath); } } else { v8.setMotion(!_global.noSet(v4.xspeed) ? v4.xspeed : 0, !_global.noSet(v4.yspeed) ? v4.yspeed : 0); } v8.setEnemyToEnemyCollisionFlag(foo.enable_enemy_to_enemy_collision, foo.dont_smash_me_ally); v8.initTank(v4.base, v4.gun, this.player, v4.armor, v4.directdamage, v4.withoutBase, v4.bossBar, v4.top, v4.shadow, v4.noInitRotate, v4.score); v8.initLoot(v4.loot, v4.lootXoffset, v4.lootYoffset, v4.autoloot); v8.initChilds(v4.child, v4.childXOffset, v4.childYOffset, v4.EC, v4.ECCount, v4.ECTime, v4.ECTimeOffset, v4.ECXOffset, v4.ECYOffset); v8.initGun(v4.reloadingTime, v4.shotsTime, v4.clip, v4.bulletType, v4.bulletSpeed, v4.bulletDir, v4.bulletFactor, v4.bulletTopLevel, v4.amount, v4.flySteps, v4.flyMinScale, v4.flyDistance, v4.bulletDamage, v4.cannonAngle, v4.cannonTimeOffset, v4.ai, v4.splashDamage, v4.damageRadius, v4.splashDelay, v4.movedBullet, v4.passageAbility, v4.bulletFlyDistance); v8.initFlags(v4.ignoreHit, v4.ignoreSplash, v4.ignoreDirect, v4.immortal, v4.notCount); if (v4.movedWay == 1) { v8.initWayMotion(v4.movedWayOffset, v4.movedWayXSpeed, v4.movedWayYSpeed); } if (!_global.noSet(v4.thereCanBeOnlyOne)) { v8.thereCanBeOnlyOne = v4.thereCanBeOnlyOne; } if (!_global.noSet(v4.dieImmediatly)) { if (v4.dieImmediatly == 0) { v8.dieImmediatly = false; } if (v4.dieImmediatly == 1) { v8.dieImmediatly = true; } } if (!_global.noSet(v4.soundKills)) { v8.soundKills = v4.soundKills; } v8.inQueue(); return v8; } if (!_global.noSet(foo.object)) { var v6 = new Object(); for (v5 in foo) { v6[v5] = foo[v5]; } var v10 = standingUnits[v6.object]; for (v5 in v10) { if (_global.noSet(v6[v5])) { v6[v5] = v10[v5]; } } v13 = this.env; if (v6.top == 1) { v13 = this.envTop; } if (v6.top == 2) { v13 = this.envTop2; } v12 = v13.depth++; v8 = v13.attachMovie(v6.linkage, 'o' + v12, 1000000 - v12); v8.initOffset(v6.bigObject); v8.initArmor(v6.armor); v8.initScore(v6.score); v8.initLoot(v6.loot, v6.lootXoffset, v6.lootYoffset, v6.autoloot); v8.initChilds(v6.child, v6.childXOffset, v6.childYOffset, v6.EC, v6.ECCount, v6.ECTime, v6.ECTimeOffset, v6.ECXOffset, v6.ECYOffset); v8.setMotion(0, 0); if (v6.rotate != undefined) { v8._rotation = v6.rotate; } v8.moveTo(v6.xoffset, -this._y + ((v6.bigObject != 1) ? _global.envS.newObjectYOffset : _global.envS.newBigObjectYOffset) + delta); v8.initSplash(v6.splashDamage, v6.damageRadius, v6.splashDelay); v8.initFlags(v6.ignoreHit, v6.ignoreSplash, v6.ignoreDirect, v6.immortal, v6.notCount); v8.inQueue(); v8.link = v6.linkage; for (v5 in v6) { if (_global.noSet(v8[v5])) { v8[v5] = v6[v5]; } } return v8; } if (!_global.noSet(foo.bonus)) { v12 = this.bnz.getNextHighestDepth(); v8 = this.bnz.attachMovie('bonus_' + foo.bonus, 'b' + v12, v12); v8.initOffset(foo.bigObject); bonusObjects.push(v8); v8._x = foo.xoffset; v8._y = -this._y + ((foo.bigObject != 1) ? _global.envS.newObjectYOffset : _global.envS.newBigObjectYOffset) + delta; v8.bonusType = foo.bonus; v8.inQueue(); return v8; } 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 v4 = _root.bg.bnzFX.getNextHighestDepth(); var v3 = _root.bg.bnzFX.attachMovie('bonus_anim_' + bonusType, 'b' + v4, v4); if (!_global.noSet(v3)) { v3._alpha = 70; v3._x = obj._x; v3._y = obj._y; } }; _global.countCombo = function (flag) { if (_global.noSet(flag)) { flag = false; } var v4 = _global.levelTime - _global.comboTimer; if (v4 > _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 += 1; } } if (flag) { _global.comboTimer = _global.levelTime; } _root.gui.multi.text = _global.actualComboNumber + 1 + ' (' + _global.comboFactor + ')'; }; } movieClip 1130 { } frame 6 { stop(); XML.prototype.ignoreWhite = true; _global.settingsLoaded = false; fscommand('trapallkeys', true); _focusrect = false; fscommand('showmenu', false); createXML = function () { var v4 = new XML(str); if (v4.status == 0) { _global.settingsLoaded = true; debug('Settings loaded; parsing...'); var v3 = 0; while (v3 < v4.firstChild.childNodes.length) { foo = v4.firstChild.childNodes[v3]; parseXMLtoVars(foo, _global); v3 += 1; } _root.parsingDataMC.onEnterFrame = parsingOff; } else { var v5 = 'XML parsing error (№' + v4.status + '). ' + xmlErrors[-v4.status - 2]; _root.error.text = v5; debug(v5); } }; _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 v5 = xml.attributes.value; if (_global.noSet(v5) && xml.nodeValue == null) { v5 = xml.childNodes.join(''); } if (String(parseFloat(v5)) == v5) { v5 = parseFloat(v5); } if (xml.attributes.name == null) { return v5; } target[xml.attributes.name] = v5; } else { if (xml.nodeName == 'array') { target[xml.attributes.name] = new Array(); var v4 = target[xml.attributes.name]; var v2 = 0; while (v2 < xml.childNodes.length) { v4.push(parseXMLtoVars(xml.childNodes[v2])); v2 += 1; } } else { if (xml.nodeName == 'object') { var v4 = new Object(); for (var v2 in xml.attributes) { if (v2 != 'name') { parseXMLtoVars((new XML('<var name="' + v2 + '"\tvalue="' + xml.attributes[v2] + '" />')).firstChild, v4); } } v2 = 0; while (v2 < xml.childNodes.length) { parseXMLtoVars(xml.childNodes[v2], v4); v2 += 1; } if (xml.attributes.name != null) { target[xml.attributes.name] = v4; } else { return v4; } } } } }; str = ''; str += '<?xml version="1.0" encoding="windows-1251"?>'; str += '<settings>'; str += '<object name="envS">'; str += '<object name="playerOffset">'; str += '<var name="top" value="10" />'; str += '<var name="bottom" value="50" />'; str += '<var name="left" value="10" />'; str += '<var name="right" value="10" />'; str += '</object>'; str += '<object name="enemyOffset">'; str += '<var name="top" value="-250" />'; str += '<var name="bottom" value="-150" />'; str += '<var name="left" value="-150" />'; str += '<var name="right" value="-150" />'; str += '</object>'; str += '<object name="bulletOffset">'; str += '<var name="top" value="-20" />'; str += '<var name="bottom" value="-20" />'; str += '<var name="left" value="-10" />'; str += '<var name="right" value="-10" />'; str += '</object>'; str += '<object name="allOffset">'; str += '<var name="top" value="-500" />'; str += '<var name="bottom" value="-100" />'; str += '<var name="left" value="-300" />'; str += '<var name="right" value="-300" />'; str += '</object>'; str += '<object name="bigTileOffset">'; str += '<var name="top" value="-1100" />'; str += '<var name="bottom" value="-1100" />'; str += '<var name="left" value="-100" />'; str += '<var name="right" value="-100" />'; str += '</object>'; str += '<object name="blinks">'; str += '<object name="hit" color="#FFBC22" amount="40" times="5" step="2"/>'; str += '<object name="shield" color="#0066cc" amount="40" times="3" step="2"/>'; str += '<object name="takebonus" color="#FFFFFF" amount="40" times="5" step="3"/>'; str += '</object> '; str += '<object name="textZ">'; str += '<var name="intro" ></var>'; str += '<var name="completeString1" >Enemies destroyed :</var>'; str += '<var name="completeString2" >Enemies survived :</var>'; str += '<var name="completeString3" > </var>'; str += '<var name="completeString4" >Level score :</var>'; str += '<var name="completeString5" >Total score :</var>'; str += '<var name="final_completeString1" >Enemies destroyed total:</var>'; str += '<var name="final_completeString2" >Enemies survived total:</var>'; str += '<var name="final_completeString3" > </var>'; str += '<var name="final_completeString4" >Total score :</var>'; str += '<var name="playerDiedTitle" > Rest In Peace </var>'; str += '<var name="levelCompleteTitle" > Level Complete! </var>'; str += '<var name="gameCompleteTitle" > Congratulations, Hero! </var>'; str += '<var name="gamePausedTitle" >Pause</var>'; str += '<var name="gamePausedString" ><br /><br /><br /><b>Return to the game?</b></var>'; str += '</object>'; str += '<var name="screenSpeed" value="3" />'; str += '<var name="screenFastSpeed" value="3" />'; str += '<var name="screenSlowSpeed" value="3" />'; str += '<var name="screenSpeedFactorUp" value="1.1" />'; str += '<var name="screenSpeedFactorDown" value="0.9" />'; str += '<var name="debug" value="0" />'; str += '<var name="debugTrace" value="0" />'; str += '<var name="lazerDebug" value="0" />'; str += '<var name="soundDebug" value="0" />'; str += '<var name="markerDebug" value="0" />'; str += '<var name="wayDebug" value="0" />'; str += '<var name="lazerInterval" value="15" />'; str += '<var name="multipleFireAngle" value="60" />'; str += '<var name="newObjectYOffset" value="-200" />'; str += '<var name="newBigObjectYOffset" value="-200" />'; str += '<var name="splashTests" value="20" />'; str += '<var name="levelCompleteDelay" value="50" />'; str += '<var name="defaultRotation" value="180" />'; str += '<var name="soundKills" value="eexplode" />'; str += '<var name="autoAimDistance" value="50" />'; str += '<var name="UAADistance" value="70" />'; str += '<var name="SolarX" value="275" />'; str += '<var name="SolarXFactor" value="0.85" />'; str += '<var name="SolarY" value="400" />'; str += '<var name="SolarYFactor" value="0.9" />'; str += '<var name="defaultScore" value="0" />'; str += '<var name="comboFactorz" value="0" />'; str += '<var name="comboLinkagez" value="" />'; str += '<var name="comboDeltaz" value="0" />'; str += '</object>'; str += '<object name="playerSettings">'; str += '<object name="playerMech">'; str += '<var name="speed" value="6" />'; str += '<var name="XspeedFactor" value="5" />'; str += '<var name="YspeedFactor" value="5" />'; str += '<var name="rotationFactor" value="4" />'; str += '<var name="base" value="player_base" />'; str += '<var name="gun" value="player_gun" />'; str += '<var name="maxArmor" value="50" />'; str += '<var name="maxShield" value="3" />'; str += '<var name="recoil" value="3" />'; str += '<var name="recoilLength" value="1" />'; str += '<var name="startX" value="275" />'; str += '<var name="startY" value="50" />'; str += '<var name="withoutBase" value="1" />'; str += '<var name="soundKills" value="eexplode" />'; str += '<array name="weapons">'; str += '<object>'; str += '<var name="movedBullet" value="0" />'; str += '<var name="bulletType" value="weapon1" />'; str += '<var name="bulletSpeed" value="40" />'; str += '<var name="bulletDamage" value="10" />'; str += '<var name="shotsTime" value="5" />'; str += '<var name="splashDamage" value="0" />'; str += '<var name="damageRadius" value="0" />'; str += '<var name="splashDelay" value="0" />'; str += '<var name="flySteps" value="0" />'; str += '<var name="flyMinScale" value="0" />'; str += '<var name="amount" value="-100" />'; str += '<var name="bulletTopLevel" value="0" />'; str += '<var name="pointsUsed" value="shoot3" />'; str += '<var name="pointsAngles" value="0" />'; str += '</object>'; str += '<object>'; str += '<var name="movedBullet" value="0" />'; str += '<var name="bulletType" value="weapon1, weapon1" />'; str += '<var name="bulletSpeed" value="40" />'; str += '<var name="bulletDamage" value="10" />'; str += '<var name="shotsTime" value="5" />'; str += '<var name="splashDamage" value="0" />'; str += '<var name="damageRadius" value="0" />'; str += '<var name="splashDelay" value="0" />'; str += '<var name="flySteps" value="0" />'; str += '<var name="flyMinScale" value="0" />'; str += '<var name="amount" value="-100" />'; str += '<var name="bulletTopLevel" value="0" />'; str += '<var name="pointsUsed" value="shoot1,shoot2" />'; str += '<var name="pointsAngles" value="0,0" />'; str += '</object>'; str += '<object>'; str += '<var name="movedBullet" value="0" />'; str += '<var name="bulletType" value="weapon1, weapon1" />'; str += '<var name="bulletSpeed" value="50" />'; str += '<var name="bulletDamage" value="10" />'; str += '<var name="shotsTime" value="4" />'; str += '<var name="splashDamage" value="0" />'; str += '<var name="damageRadius" value="0" />'; str += '<var name="splashDelay" value="0" />'; str += '<var name="flySteps" value="0" />'; str += '<var name="flyMinScale" value="0" />'; str += '<var name="amount" value="-100" />'; str += '<var name="bulletTopLevel" value="0" />'; str += '<var name="pointsUsed" value="shoot1,shoot2" />'; str += '<var name="pointsAngles" value="0,0" />'; str += '</object>'; str += '<object>'; str += '<var name="movedBullet" value="0" />'; str += '<var name="bulletType" value="rocket" />'; str += '<var name="bulletSpeed" value="10" />'; str += '<var name="bulletDamage" value="25" />'; str += '<var name="shotsTime" value="50" />'; str += '<var name="splashDamage" value="100" />'; str += '<var name="damageRadius" value="100" />'; str += '<var name="splashDelay" value="0" />'; str += '<var name="flySteps" value="0" />'; str += '<var name="flyMinScale" value="0" />'; str += '<var name="amount" value="-100" />'; str += '<var name="bulletTopLevel" value="0" />'; str += '<var name="pointsUsed" value="shoot3" />'; str += '</object>'; str += '<object>'; str += '<var name="movedBullet" value="0" />'; str += '<var name="bulletType" value="rocket" />'; str += '<var name="bulletSpeed" value="10" />'; str += '<var name="bulletDamage" value="25" />'; str += '<var name="shotsTime" value="25" />'; str += '<var name="splashDamage" value="100" />'; str += '<var name="damageRadius" value="200" />'; str += '<var name="splashDelay" value="0" />'; str += '<var name="flySteps" value="0" />'; str += '<var name="flyMinScale" value="0" />'; str += '<var name="amount" value="-100" />'; str += '<var name="bulletTopLevel" value="0" />'; str += '<var name="pointsUsed" value="shoot3" />'; str += '</object>'; str += '<object>'; str += '<var name="movedBullet" value="0" />'; str += '<var name="bulletType" value="lazer" />'; str += '<var name="bulletSpeed" value="10" />'; str += '<var name="bulletDamage" value="50" />'; str += '<var name="shotsTime" value="50" />'; str += '<var name="splashDamage" value="0" />'; str += '<var name="damageRadius" value="0" />'; str += '<var name="splashDelay" value="0" />'; str += '<var name="flySteps" value="0" />'; str += '<var name="flyMinScale" value="0" />'; str += '<var name="amount" value="-100" />'; str += '<var name="bulletTopLevel" value="0" />'; str += '<var name="pointsUsed" value="shoot3" />'; str += '<var name="passageAbility" value="1" />'; str += '</object>'; str += '<object>'; str += '<var name="movedBullet" value="0" />'; str += '<var name="bulletType" value="lazer" />'; str += '<var name="bulletSpeed" value="10" />'; str += '<var name="bulletDamage" value="100" />'; str += '<var name="shotsTime" value="25" />'; str += '<var name="splashDamage" value="0" />'; str += '<var name="damageRadius" value="0" />'; str += '<var name="splashDelay" value="0" />'; str += '<var name="flySteps" value="0" />'; str += '<var name="flyMinScale" value="0" />'; str += '<var name="amount" value="-100" />'; str += '<var name="bulletTopLevel" value="0" />'; str += '<var name="pointsUsed" value="shoot3" />'; str += '<var name="passageAbility" value="100" />'; str += '</object>'; str += '</array>'; str += '</object>'; str += '<object name="playerMan">'; str += '<var name="speed" value="6" />'; str += '<var name="XspeedFactor" value="5" />'; str += '<var name="YspeedFactor" value="5" />'; str += '<var name="rotationFactor" value="4" />'; str += '<var name="base" value="player_empty_base" />'; str += '<var name="gun" value="soldier" />'; str += '<var name="maxArmor" value="50" />'; str += '<var name="maxShield" value="0" />'; str += '<var name="recoil" value="10" />'; str += '<var name="recoilLength" value="1" />'; str += '<var name="startX" value="275" />'; str += '<var name="startY" value="50" />'; str += '<var name="withoutBase" value="0" />'; str += '<var name="soundKills" value="eexplode" />'; str += '<array name="weapons">'; str += '<object>'; str += '<var name="movedBullet" value="0" />'; str += '<var name="bulletType" value="lazer" />'; str += '<var name="bulletSpeed" value="10" />'; str += '<var name="bulletDamage" value="10" />'; str += '<var name="shotsTime" value="12" />'; str += '<var name="splashDamage" value="0" />'; str += '<var name="damageRadius" value="0" />'; str += '<var name="splashDelay" value="0" />'; str += '<var name="flySteps" value="0" />'; str += '<var name="flyMinScale" value="0" />'; str += '<var name="amount" value="-100" />'; str += '<var name="bulletTopLevel" value="0" />'; str += '<var name="pointsUsed" value="shoot1" />'; str += '<var name="pointsAngles" value="0" />'; str += '<var name="passageAbility" value="1" />'; str += '</object>'; str += '<object>'; str += '<var name="movedBullet" value="0" />'; str += '<var name="bulletType" value="lazer" />'; str += '<var name="bulletSpeed" value="10" />'; str += '<var name="bulletDamage" value="10" />'; str += '<var name="shotsTime" value="10" />'; str += '<var name="splashDamage" value="0" />'; str += '<var name="damageRadius" value="0" />'; str += '<var name="splashDelay" value="0" />'; str += '<var name="flySteps" value="0" />'; str += '<var name="flyMinScale" value="0" />'; str += '<var name="amount" value="-100" />'; str += '<var name="bulletTopLevel" value="0" />'; str += '<var name="pointsUsed" value="shoot1" />'; str += '<var name="pointsAngles" value="0" />'; str += '<var name="passageAbility" value="100" />'; str += '</object>'; str += '<object>'; str += '<var name="movedBullet" value="0" />'; str += '<var name="bulletType" value="lazer" />'; str += '<var name="bulletSpeed" value="10" />'; str += '<var name="bulletDamage" value="50" />'; str += '<var name="shotsTime" value="10" />'; str += '<var name="splashDamage" value="0" />'; str += '<var name="damageRadius" value="0" />'; str += '<var name="splashDelay" value="0" />'; str += '<var name="flySteps" value="0" />'; str += '<var name="flyMinScale" value="0" />'; str += '<var name="amount" value="-100" />'; str += '<var name="bulletTopLevel" value="0" />'; str += '<var name="pointsUsed" value="shoot1" />'; str += '<var name="pointsAngles" value="0" />'; str += '<var name="passageAbility" value="100" />'; str += '</object>'; str += '</array>'; str += '</object>'; str += '</object>'; str += '<object name="mainUnits">'; str += '<object name="barrel1_obj">'; str += '<var name="linkage" value="barrel1" />'; str += '<var name="armor" value="10" />'; str += '<var name="splashDamage" value="50" />'; str += '<var name="damageRadius" value="100" />'; str += '<var name="splashDelay" value="1" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="immortal" value="0" />'; str += '<var name="bigObject" value="0" />'; str += '</object>'; str += '<object name="abrams_obj">'; str += '<var name="base" value="abrams" />'; str += '<var name="gun" value="gun_abrams" />'; str += '<var name="armor" value="300" />'; str += '<var name="bulletType" value="rocket" />'; str += '<var name="cannonTimeOffset" value="0" />'; str += '<var name="flySteps" value="0" />'; str += '<var name="flyMinScale" value="0" />'; str += '<var name="flyDistance" value="0" />'; str += '<var name="cannonAngle" value="t" />'; str += '<var name="splashDamage" value="0" />'; str += '<var name="damageRadius" value="0" />'; str += '<var name="bulletSpeed" value="20" />'; str += '<var name="bulletDamage" value="15" />'; str += '<var name="reloadingTime" value="30" />'; str += '<var name="clip" value="3" />'; str += '<var name="shotsTime" value="30" />'; str += '<var name="ai" value="0" />'; str += '<var name="withoutBase" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="orientToPath" value="way" />'; str += '<var name="top" value="0" />'; str += '<var name="directdamage" value="80" />'; str += '<var name="bulletDir" value="d" />'; str += '<var name="autoAimDistance" value="60" />'; str += '<var name="bulletFactor" value="13" />'; str += '</object>'; str += '<object name="towergun_obj">'; str += '<var name="base" value="empty_base" />'; str += '<var name="gun" value="gun_1" />'; str += '<var name="armor" value="45" />'; str += '<var name="bulletType" value="weapon2" />'; str += '<var name="cannonTimeOffset" value="30" />'; str += '<var name="flySteps" value="0" />'; str += '<var name="flyMinScale" value="0" />'; str += '<var name="flyDistance" value="0" />'; str += '<var name="cannonAngle" value="t" />'; str += '<var name="splashDamage" value="0" />'; str += '<var name="damageRadius" value="0" />'; str += '<var name="bulletSpeed" value="13" />'; str += '<var name="bulletDamage" value="3" />'; str += '<var name="reloadingTime" value="40" />'; str += '<var name="clip" value="3" />'; str += '<var name="shotsTime" value="5" />'; str += '<var name="ai" value="0" />'; str += '<var name="withoutBase" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="orientToPath" value="way" />'; str += '<var name="top" value="0" />'; str += '<var name="directdamage" value="80" />'; str += '<var name="bulletDir" value="d" />'; str += '<var name="autoAimDistance" value="60" />'; str += '<var name="bulletFactor" value="13" />'; str += '</object>'; str += '<object name="buggy_obj">'; str += '<var name="base" value="buggy" />'; str += '<var name="gun" value="gun_jeep" />'; str += '<var name="armor" value="20" />'; str += '<var name="bulletType" value="weapon2" />'; str += '<var name="cannonTimeOffset" value="15" />'; str += '<var name="flySteps" value="0" />'; str += '<var name="flyMinScale" value="0" />'; str += '<var name="flyDistance" value="0" />'; str += '<var name="cannonAngle" value="t" />'; str += '<var name="splashDamage" value="0" />'; str += '<var name="damageRadius" value="0" />'; str += '<var name="bulletSpeed" value="15" />'; str += '<var name="bulletDamage" value="3" />'; str += '<var name="reloadingTime" value="25" />'; str += '<var name="clip" value="2" />'; str += '<var name="shotsTime" value="3" />'; str += '<var name="ai" value="0" />'; str += '<var name="withoutBase" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="orientToPath" value="move" />'; str += '<var name="top" value="0" />'; str += '<var name="directdamage" value="80" />'; str += '<var name="bulletDir" value="d" />'; str += '<var name="autoAimDistance" value="60" />'; str += '<var name="bulletFactor" value="13" />'; str += '</object>'; str += '<object name="soldier_obj">'; str += '<var name="base" value="empty_base" />'; str += '<var name="gun" value="gun_gunner" />'; str += '<var name="armor" value="10" />'; str += '<var name="bulletType" value="weapon2" />'; str += '<var name="cannonTimeOffset" value="20" />'; str += '<var name="flySteps" value="0" />'; str += '<var name="flyMinScale" value="0" />'; str += '<var name="flyDistance" value="0" />'; str += '<var name="cannonAngle" value="t" />'; str += '<var name="splashDamage" value="0" />'; str += '<var name="damageRadius" value="0" />'; str += '<var name="bulletSpeed" value="12" />'; str += '<var name="bulletDamage" value="2" />'; str += '<var name="reloadingTime" value="50" />'; str += '<var name="clip" value="2" />'; str += '<var name="shotsTime" value="4" />'; str += '<var name="ai" value="0" />'; str += '<var name="withoutBase" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="orientToPath" value="way" />'; str += '<var name="top" value="0" />'; str += '<var name="directdamage" value="80" />'; str += '<var name="bulletDir" value="d" />'; str += '<var name="autoAimDistance" value="60" />'; str += '<var name="bulletFactor" value="13" />'; str += '</object>'; str += '<object name="soldier2_obj">'; str += '<var name="base" value="empty_base" />'; str += '<var name="gun" value="gun_gunner" />'; str += '<var name="armor" value="20" />'; str += '<var name="bulletType" value="rocket" />'; str += '<var name="cannonTimeOffset" value="7" />'; str += '<var name="flySteps" value="0" />'; str += '<var name="flyMinScale" value="0" />'; str += '<var name="flyDistance" value="0" />'; str += '<var name="cannonAngle" value="t" />'; str += '<var name="splashDamage" value="0" />'; str += '<var name="damageRadius" value="0" />'; str += '<var name="bulletSpeed" value="8" />'; str += '<var name="bulletDamage" value="20" />'; str += '<var name="reloadingTime" value="100" />'; str += '<var name="clip" value="1" />'; str += '<var name="shotsTime" value="0" />'; str += '<var name="ai" value="0" />'; str += '<var name="withoutBase" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="orientToPath" value="way" />'; str += '<var name="top" value="0" />'; str += '<var name="directdamage" value="80" />'; str += '<var name="bulletDir" value="d" />'; str += '<var name="autoAimDistance" value="60" />'; str += '<var name="bulletFactor" value="13" />'; str += '</object>'; str += '<object name="buggy_gun_obj">'; str += '<var name="base" value="buggy" />'; str += '<var name="gun" value="gun_gunner" />'; str += '<var name="armor" value="20" />'; str += '<var name="bulletType" value="weapon2" />'; str += '<var name="cannonTimeOffset" value="15" />'; str += '<var name="flySteps" value="0" />'; str += '<var name="flyMinScale" value="0" />'; str += '<var name="flyDistance" value="0" />'; str += '<var name="cannonAngle" value="t" />'; str += '<var name="splashDamage" value="0" />'; str += '<var name="damageRadius" value="0" />'; str += '<var name="bulletSpeed" value="15" />'; str += '<var name="bulletDamage" value="3" />'; str += '<var name="reloadingTime" value="25" />'; str += '<var name="clip" value="2" />'; str += '<var name="shotsTime" value="3" />'; str += '<var name="ai" value="0" />'; str += '<var name="withoutBase" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="orientToPath" value="way" />'; str += '<var name="top" value="0" />'; str += '<var name="directdamage" value="80" />'; str += '<var name="bulletDir" value="d" />'; str += '<var name="autoAimDistance" value="60" />'; str += '<var name="bulletFactor" value="13" />'; str += '</object>'; str += '<object name="hummer_obj">'; str += '<var name="base" value="hummer" />'; str += '<var name="gun" value="gun_jeep" />'; str += '<var name="armor" value="40" />'; str += '<var name="bulletType" value="weapon2" />'; str += '<var name="cannonTimeOffset" value="20" />'; str += '<var name="flySteps" value="0" />'; str += '<var name="flyMinScale" value="0" />'; str += '<var name="flyDistance" value="0" />'; str += '<var name="cannonAngle" value="t" />'; str += '<var name="splashDamage" value="0" />'; str += '<var name="damageRadius" value="0" />'; str += '<var name="bulletSpeed" value="20" />'; str += '<var name="bulletDamage" value="3" />'; str += '<var name="reloadingTime" value="30" />'; str += '<var name="clip" value="3" />'; str += '<var name="shotsTime" value="2" />'; str += '<var name="ai" value="0" />'; str += '<var name="withoutBase" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="orientToPath" value="way" />'; str += '<var name="top" value="0" />'; str += '<var name="directdamage" value="80" />'; str += '<var name="bulletDir" value="d" />'; str += '<var name="autoAimDistance" value="60" />'; str += '<var name="bulletFactor" value="13" />'; str += '</object>'; str += '<object name="truck_obj">'; str += '<var name="base" value="truck1" />'; str += '<var name="gun" value="gun_1" />'; str += '<var name="armor" value="10" />'; str += '<var name="bulletType" value="weapon2" />'; str += '<var name="cannonTimeOffset" value="0" />'; str += '<var name="flySteps" value="0" />'; str += '<var name="flyMinScale" value="0" />'; str += '<var name="flyDistance" value="0" />'; str += '<var name="cannonAngle" value="t" />'; str += '<var name="splashDamage" value="50" />'; str += '<var name="damageRadius" value="10" />'; str += '<var name="bulletSpeed" value="10" />'; str += '<var name="bulletDamage" value="3" />'; str += '<var name="reloadingTime" value="1000000" />'; str += '<var name="clip" value="1" />'; str += '<var name="shotsTime" value="1000000" />'; str += '<var name="ai" value="0" />'; str += '<var name="withoutBase" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="orientToPath" value="way" />'; str += '<var name="top" value="0" />'; str += '<var name="directdamage" value="80" />'; str += '<var name="bulletDir" value="d" />'; str += '<var name="autoAimDistance" value="60" />'; str += '<var name="bulletFactor" value="13" />'; str += '</object>'; str += '<object name="truck_obj">'; str += '<var name="base" value="truck2" />'; str += '<var name="gun" value="gun_1" />'; str += '<var name="armor" value="40" />'; str += '<var name="bulletType" value="weapon2" />'; str += '<var name="cannonTimeOffset" value="0" />'; str += '<var name="flySteps" value="0" />'; str += '<var name="flyMinScale" value="0" />'; str += '<var name="flyDistance" value="0" />'; str += '<var name="cannonAngle" value="t" />'; str += '<var name="splashDamage" value="250" />'; str += '<var name="damageRadius" value="40" />'; str += '<var name="bulletSpeed" value="10" />'; str += '<var name="bulletDamage" value="1" />'; str += '<var name="reloadingTime" value="1000000" />'; str += '<var name="clip" value="1" />'; str += '<var name="shotsTime" value="1000000" />'; str += '<var name="ai" value="0" />'; str += '<var name="withoutBase" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="orientToPath" value="way" />'; str += '<var name="top" value="0" />'; str += '<var name="directdamage" value="80" />'; str += '<var name="bulletDir" value="d" />'; str += '<var name="autoAimDistance" value="60" />'; str += '<var name="bulletFactor" value="13" />'; str += '</object>'; str += '<object name="truck_obj">'; str += '<var name="base" value="truck3" />'; str += '<var name="gun" value="gun_1" />'; str += '<var name="armor" value="40" />'; str += '<var name="bulletType" value="weapon2" />'; str += '<var name="cannonTimeOffset" value="0" />'; str += '<var name="flySteps" value="0" />'; str += '<var name="flyMinScale" value="0" />'; str += '<var name="flyDistance" value="0" />'; str += '<var name="cannonAngle" value="t" />'; str += '<var name="splashDamage" value="1" />'; str += '<var name="damageRadius" value="100" />'; str += '<var name="bulletSpeed" value="10" />'; str += '<var name="bulletDamage" value="1" />'; str += '<var name="reloadingTime" value="1000000" />'; str += '<var name="clip" value="1" />'; str += '<var name="shotsTime" value="1000000" />'; str += '<var name="ai" value="0" />'; str += '<var name="withoutBase" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="orientToPath" value="way" />'; str += '<var name="top" value="0" />'; str += '<var name="directdamage" value="80" />'; str += '<var name="bulletDir" value="d" />'; str += '<var name="autoAimDistance" value="60" />'; str += '<var name="bulletFactor" value="13" />'; str += '</object>'; str += '<object name="truck_obj">'; str += '<var name="base" value="truck4" />'; str += '<var name="gun" value="gun_1" />'; str += '<var name="armor" value="40" />'; str += '<var name="bulletType" value="weapon2" />'; str += '<var name="cannonTimeOffset" value="0" />'; str += '<var name="flySteps" value="0" />'; str += '<var name="flyMinScale" value="0" />'; str += '<var name="flyDistance" value="0" />'; str += '<var name="cannonAngle" value="t" />'; str += '<var name="splashDamage" value="1" />'; str += '<var name="damageRadius" value="100" />'; str += '<var name="bulletSpeed" value="10" />'; str += '<var name="bulletDamage" value="1" />'; str += '<var name="reloadingTime" value="1000000" />'; str += '<var name="clip" value="1" />'; str += '<var name="shotsTime" value="1000000" />'; str += '<var name="ai" value="0" />'; str += '<var name="withoutBase" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="orientToPath" value="way" />'; str += '<var name="top" value="0" />'; str += '<var name="directdamage" value="80" />'; str += '<var name="bulletDir" value="d" />'; str += '<var name="autoAimDistance" value="60" />'; str += '<var name="bulletFactor" value="13" />'; str += '</object>'; str += '<object name="mech_gunner_obj">'; str += '<var name="base" value="mech_gunner" />'; str += '<var name="gun" value="gun_mech_gunner_1, gun_mech_gunner_2" />'; str += '<var name="armor" value="320" />'; str += '<var name="bulletType" value="weapon3, weapon3" />'; str += '<var name="cannonTimeOffset" value="15, 15" />'; str += '<var name="flySteps" value="0, 0" />'; str += '<var name="flyMinScale" value="0, 0" />'; str += '<var name="flyDistance" value="0, 0" />'; str += '<var name="cannonAngle" value="t, t" />'; str += '<var name="splashDamage" value="0, 0" />'; str += '<var name="damageRadius" value="0, 0" />'; str += '<var name="bulletSpeed" value="18, 18" />'; str += '<var name="bulletDamage" value="5, 5" />'; str += '<var name="reloadingTime" value="18, 18" />'; str += '<var name="clip" value="1, 1" />'; str += '<var name="shotsTime" value="0" />'; str += '<var name="ai" value="0" />'; str += '<var name="withoutBase" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="orientToPath" value="way" />'; str += '<var name="top" value="0" />'; str += '<var name="directdamage" value="80" />'; str += '<var name="bulletDir" value="d" />'; str += '<var name="autoAimDistance" value="60" />'; str += '<var name="bulletFactor" value="13" />'; str += '</object>'; str += '<object name="mech_rocket_obj">'; str += '<var name="base" value="mech_rocket" />'; str += '<var name="gun" value="gun_mech_rocket_1, gun_mech_rocket_2" />'; str += '<var name="armor" value="350" />'; str += '<var name="bulletType" value="rocket, rocket" />'; str += '<var name="cannonTimeOffset" value="15, 15" />'; str += '<var name="flySteps" value="0, 0" />'; str += '<var name="flyMinScale" value="0, 0" />'; str += '<var name="flyDistance" value="0, 0" />'; str += '<var name="cannonAngle" value="t, t" />'; str += '<var name="splashDamage" value="0, 0" />'; str += '<var name="damageRadius" value="0, 0" />'; str += '<var name="bulletSpeed" value="13, 13" />'; str += '<var name="bulletDamage" value="15, 15" />'; str += '<var name="reloadingTime" value="70, 70" />'; str += '<var name="clip" value="3, 3" />'; str += '<var name="shotsTime" value="10, 10" />'; str += '<var name="ai" value="0" />'; str += '<var name="withoutBase" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="orientToPath" value="way" />'; str += '<var name="top" value="0" />'; str += '<var name="directdamage" value="80" />'; str += '<var name="bulletDir" value="d" />'; str += '<var name="autoAimDistance" value="60" />'; str += '<var name="bulletFactor" value="13" />'; str += '</object>'; str += '<object name="mech_boss_obj">'; str += '<var name="base" value="mech_boss" />'; str += '<var name="gun" value="gun_mech_boss_1, gun_mech_boss_2, gun_mech_boss_3" />'; str += '<var name="armor" value="50" />'; str += '<var name="bulletType" value="lazer, weapon3, lazer" />'; str += '<var name="cannonTimeOffset" value="100, 200, 100" />'; str += '<var name="flySteps" value="0, 0, 0" />'; str += '<var name="flyMinScale" value="0, 0, 0" />'; str += '<var name="flyDistance" value="0, 0, 0" />'; str += '<var name="cannonAngle" value="h, h, h" />'; str += '<var name="splashDamage" value="0, 0, 0" />'; str += '<var name="damageRadius" value="0, 0, 0" />'; str += '<var name="bulletSpeed" value="15, 15, 15" />'; str += '<var name="bulletDamage" value="10, 14, 10" />'; str += '<var name="reloadingTime" value="80, 80, 80" />'; str += '<var name="clip" value="5, 3, 5" />'; str += '<var name="shotsTime" value="8, 5, 8" />'; str += '<var name="ai" value="0" />'; str += '<var name="withoutBase" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="orientToPath" value="move" />'; str += '<var name="top" value="0" />'; str += '<var name="directdamage" value="80" />'; str += '<var name="bulletDir" value="d" />'; str += '<var name="autoAimDistance" value="60" />'; str += '<var name="bulletFactor" value="13" />'; str += '</object>'; str += '<object name="heli1_obj">'; str += '<var name="base" value="heli1" />'; str += '<var name="gun" value="gun_1, gun_1" />'; str += '<var name="shadow" value="heli1_shadow" />'; str += '<var name="armor" value="200" />'; str += '<var name="bulletType" value="rocket" />'; str += '<var name="cannonTimeOffset" value="30,0" />'; str += '<var name="flySteps" value="0, 0" />'; str += '<var name="flyMinScale" value="0, 0" />'; str += '<var name="flyDistance" value="100, 0" />'; str += '<var name="cannonAngle" value="t, t" />'; str += '<var name="splashDamage" value="0, 0" />'; str += '<var name="damageRadius" value="0, 0" />'; str += '<var name="bulletSpeed" value="17, 0" />'; str += '<var name="bulletDamage" value="15, 0" />'; str += '<var name="reloadingTime" value="50, 0" />'; str += '<var name="clip" value="2, 0" />'; str += '<var name="shotsTime" value="8, 0" />'; str += '<var name="ai" value="0" />'; str += '<var name="withoutBase" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="orientToPath" value="shoot" />'; str += '<var name="top" value="1" />'; str += '<var name="directdamage" value="80" />'; str += '<var name="bulletDir" value="d" />'; str += '<var name="autoAimDistance" value="60" />'; str += '<var name="bulletFactor" value="13" />'; str += '</object>'; str += '<object name="heli2_obj">'; str += '<var name="base" value="heli2" />'; str += '<var name="gun" value="gun_1, gun_1, gun_1, gun_1" />'; str += '<var name="shadow" value="heli2_shadow" />'; str += '<var name="armor" value="1000" />'; str += '<var name="bulletType" value="lazer, rocket, rocket, lazer" />'; str += '<var name="cannonTimeOffset" value="0, 0, 0, 0" />'; str += '<var name="flySteps" value="0, 0, 0, 0" />'; str += '<var name="flyMinScale" value="0, 0, 0, 0" />'; str += '<var name="flyDistance" value="0, 0, 0, 0" />'; str += '<var name="cannonAngle" value="h, h, h, h" />'; str += '<var name="splashDamage" value="0, 0, 0, 0" />'; str += '<var name="damageRadius" value="0, 0, 0, 0" />'; str += '<var name="bulletSpeed" value="30, 10, 10, 30" />'; str += '<var name="bulletDamage" value="15, 15, 15, 15" />'; str += '<var name="reloadingTime" value="30, 60000, 60000, 30" />'; str += '<var name="clip" value="4, 5, 5, 4" />'; str += '<var name="shotsTime" value="2, 15, 15, 2" />'; str += '<var name="ai" value="0" />'; str += '<var name="withoutBase" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="orientToPath" value="way" />'; str += '<var name="top" value="1" />'; str += '<var name="directdamage" value="80" />'; str += '<var name="bulletDir" value="d" />'; str += '<var name="autoAimDistance" value="60" />'; str += '<var name="bulletFactor" value="13" />'; str += '</object>'; str += '<object name="heli3_obj">'; str += '<var name="base" value="heli3" />'; str += '<var name="gun" value="gun_1" />'; str += '<var name="armor" value="30" />'; str += '<var name="bulletType" value="emptyShoot" />'; str += '<var name="cannonTimeOffset" value="0" />'; str += '<var name="flySteps" value="0" />'; str += '<var name="flyMinScale" value="0" />'; str += '<var name="flyDistance" value="0" />'; str += '<var name="cannonAngle" value="w0, w0, w0, w0" />'; str += '<var name="splashDamage" value="0, 0, 0, 0" />'; str += '<var name="damageRadius" value="0, 0, 0, 0" />'; str += '<var name="bulletSpeed" value="15, 10, 10, 15" />'; str += '<var name="bulletDamage" value="0, 0, 0, 0" />'; str += '<var name="reloadingTime" value="30, 30, 30, 30" />'; str += '<var name="clip" value="2, 2, 2, 2" />'; str += '<var name="shotsTime" value="2, 2, 2, 2" />'; str += '<var name="ai" value="0" />'; str += '<var name="withoutBase" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="orientToPath" value="way" />'; str += '<var name="top" value="0" />'; str += '<var name="directdamage" value="80" />'; str += '<var name="bulletDir" value="d" />'; str += '<var name="autoAimDistance" value="60" />'; str += '<var name="bulletFactor" value="13" />'; str += '</object>'; str += '<object name="dropship_obj">'; str += '<var name="base" value="dropship" />'; str += '<var name="gun" value="gun_1, gun_1" />'; str += '<var name="shadow" value="dropship_shadow" />'; str += '<var name="armor" value="600" />'; str += '<var name="bulletType" value="weapon3, weapon3" />'; str += '<var name="cannonTimeOffset" value="0, 0" />'; str += '<var name="flySteps" value="0, 0" />'; str += '<var name="flyMinScale" value="0, 0" />'; str += '<var name="flyDistance" value="0, 0" />'; str += '<var name="cannonAngle" value="w-20, w20" />'; str += '<var name="splashDamage" value="0, 0" />'; str += '<var name="damageRadius" value="0, 0" />'; str += '<var name="bulletSpeed" value="10, 10" />'; str += '<var name="bulletDamage" value="20, 20" />'; str += '<var name="reloadingTime" value="100, 100" />'; str += '<var name="clip" value="5, 5" />'; str += '<var name="shotsTime" value="10, 10" />'; str += '<var name="ai" value="0" />'; str += '<var name="withoutBase" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="1" />'; str += '<var name="orientToPath" value="way" />'; str += '<var name="top" value="1" />'; str += '<var name="directdamage" value="80" />'; str += '<var name="bulletDir" value="d" />'; str += '<var name="autoAimDistance" value="60" />'; str += '<var name="bulletFactor" value="13" />'; str += '</object>'; str += '</object>'; str += '<object name="movingUnits"> '; str += '<object name="abrams">'; str += '<var name="mainObj" value="abrams_obj" />'; str += '<var name="way" value="line_way" />'; str += '<var name="xratio" value="100" />'; str += '<var name="yratio" value="100" />'; str += '<var name="mratio" value="5" />'; str += '<var name="rotate" value="90" />'; str += '<var name="factor" value="1" />'; str += '<var name="xoffset" value="0" />'; str += '<var name="startFrame" value="1" />'; str += '<var name="endFrame" value="-1" />'; str += '<var name="wayCycle" value="1" />'; str += '<var name="rotatedByWay" value="1" />'; str += '<var name="movedWay" value="0" />'; str += '<var name="movedWayOffset" value="0" />'; str += '<var name="movedWayXSpeed" value="0" />'; str += '<var name="movedWayYSpeed" value="0" />'; str += '<var name="thereCanBeOnlyOne" value="0" />'; str += '<var name="dieImmediatly" value="0" />'; str += '</object> '; str += '<object name="robogear">'; str += '<var name="mainObj" value="mech_rocket_obj" />'; str += '<var name="gun" value="gun_mech_gunner_1" />'; str += '<var name="bulletDamage" value="1, 1" />'; str += '<var name="way" value="line_way" />'; str += '<var name="xratio" value="100" />'; str += '<var name="yratio" value="100" />'; str += '<var name="mratio" value="2" />'; str += '<var name="rotate" value="90" />'; str += '<var name="factor" value="1" />'; str += '<var name="xoffset" value="275" />'; str += '<var name="startFrame" value="1" />'; str += '<var name="endFrame" value="150" />'; str += '<var name="wayCycle" value="1" />'; str += '<var name="rotatedByWay" value="1" />'; str += '<var name="movedWay" value="2" />'; str += '<var name="movedWayOffset" value="50" />'; str += '<var name="movedWayXSpeed" value="0" />'; str += '<var name="movedWayYSpeed" value="0" />'; str += '<var name="thereCanBeOnlyOne" value="0" />'; str += '<var name="dieImmediatly" value="0" />'; str += '</object> '; str += '<object name="towergun_obj">'; str += '<var name="mainObj" value="towergun_obj" />'; str += '<var name="way" value="line_way" />'; str += '<var name="xratio" value="100" />'; str += '<var name="yratio" value="100" />'; str += '<var name="mratio" value="1" />'; str += '<var name="rotate" value="90" />'; str += '<var name="factor" value="1" />'; str += '<var name="xoffset" value="275" />'; str += '<var name="startFrame" value="1" />'; str += '<var name="endFrame" value="3" />'; str += '<var name="wayCycle" value="1" />'; str += '<var name="rotatedByWay" value="1" />'; str += '<var name="movedWay" value="0" />'; str += '<var name="movedWayOffset" value="0" />'; str += '<var name="movedWayXSpeed" value="0" />'; str += '<var name="movedWayYSpeed" value="0" />'; str += '<var name="thereCanBeOnlyOne" value="0" />'; str += '<var name="dieImmediatly" value="0" />'; str += '</object> '; str += '</object>'; str += '<object name="standingUnits">'; str += '<object name="exploder">'; str += '<var name="linkage" value="autoExplodePoint" />'; str += '<var name="armor" value="20" />'; str += '<var name="splashDamage" value="1000" />'; str += '<var name="damageRadius" value="1000" />'; str += '<var name="splashDelay" value="3" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="1" />'; str += '<var name="ignoreSplash" value="1" />'; str += '<var name="ignoreDirect" value="1" />'; str += '<var name="explodeTimer" value="1" />'; str += '<var name="notCount" value="1" />'; str += '<var name="soundKills" value="none" />'; str += '</object>'; str += '<object name="building">'; str += '<var name="linkage" value="base01_l" />'; str += '<var name="armor" value="100" />'; str += '<var name="splashDamage" value="100" />'; str += '<var name="damageRadius" value="250" />'; str += '<var name="splashDelay" value="6" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="1" />'; str += '<var name="ignoreSplash" value="1" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="immortal" value="1" />'; str += '<var name="bigObject" value="1" />'; str += '<var name="xoffset" value="0" />'; str += '</object>'; str += '<object name="building">'; str += '<var name="linkage" value="base01_r" />'; str += '<var name="armor" value="100" />'; str += '<var name="splashDamage" value="100" />'; str += '<var name="damageRadius" value="250" />'; str += '<var name="splashDelay" value="6" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="1" />'; str += '<var name="ignoreSplash" value="1" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="immortal" value="1" />'; str += '<var name="bigObject" value="1" />'; str += '<var name="xoffset" value="0" />'; str += '</object>'; str += '<object name="building">'; str += '<var name="linkage" value="base02_r" />'; str += '<var name="armor" value="100" />'; str += '<var name="splashDamage" value="100" />'; str += '<var name="damageRadius" value="250" />'; str += '<var name="splashDelay" value="6" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="1" />'; str += '<var name="ignoreSplash" value="1" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="immortal" value="1" />'; str += '<var name="bigObject" value="1" />'; str += '<var name="xoffset" value="0" />'; str += '</object>'; str += '<object name="building">'; str += '<var name="linkage" value="base02_l" />'; str += '<var name="armor" value="100" />'; str += '<var name="splashDamage" value="100" />'; str += '<var name="damageRadius" value="250" />'; str += '<var name="splashDelay" value="6" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="1" />'; str += '<var name="ignoreSplash" value="1" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="immortal" value="1" />'; str += '<var name="bigObject" value="1" />'; str += '<var name="xoffset" value="0" />'; str += '</object>'; str += '<object name="building">'; str += '<var name="linkage" value="base03_r" />'; str += '<var name="armor" value="100" />'; str += '<var name="splashDamage" value="100" />'; str += '<var name="damageRadius" value="250" />'; str += '<var name="splashDelay" value="6" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="1" />'; str += '<var name="ignoreSplash" value="1" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="immortal" value="1" />'; str += '<var name="bigObject" value="1" />'; str += '<var name="xoffset" value="0" />'; str += '</object>'; str += '<object name="building">'; str += '<var name="linkage" value="base03_l" />'; str += '<var name="armor" value="100" />'; str += '<var name="splashDamage" value="100" />'; str += '<var name="damageRadius" value="250" />'; str += '<var name="splashDelay" value="6" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="1" />'; str += '<var name="ignoreSplash" value="1" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="immortal" value="1" />'; str += '<var name="bigObject" value="1" />'; str += '<var name="xoffset" value="0" />'; str += '</object>'; str += '<object name="building">'; str += '<var name="linkage" value="base04_r" />'; str += '<var name="armor" value="100" />'; str += '<var name="splashDamage" value="100" />'; str += '<var name="damageRadius" value="250" />'; str += '<var name="splashDelay" value="6" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="1" />'; str += '<var name="ignoreSplash" value="1" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="immortal" value="1" />'; str += '<var name="bigObject" value="1" />'; str += '<var name="xoffset" value="0" />'; str += '</object>'; str += '<object name="building">'; str += '<var name="linkage" value="base04_l" />'; str += '<var name="armor" value="100" />'; str += '<var name="splashDamage" value="100" />'; str += '<var name="damageRadius" value="250" />'; str += '<var name="splashDelay" value="6" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="1" />'; str += '<var name="ignoreSplash" value="1" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="immortal" value="1" />'; str += '<var name="bigObject" value="1" />'; str += '<var name="xoffset" value="0" />'; str += '</object>'; str += '<object name="helipad">'; str += '<var name="linkage" value="helipad" />'; str += '<var name="armor" value="50" />'; str += '<var name="splashDamage" value="100" />'; str += '<var name="damageRadius" value="250" />'; str += '<var name="splashDelay" value="6" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="1" />'; str += '<var name="ignoreSplash" value="1" />'; str += '<var name="ignoreDirect" value="1" />'; str += '<var name="immortal" value="1" />'; str += '<var name="xoffset" value="0" />'; str += '</object>'; str += '<object name="bunker1">'; str += '<var name="linkage" value="bunker1" />'; str += '<var name="armor" value="30" />'; str += '<var name="splashDamage" value="100" />'; str += '<var name="damageRadius" value="250" />'; str += '<var name="splashDelay" value="6" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="immortal" value="0" />'; str += '<var name="xoffset" value="0" />'; str += '</object>'; str += '<object name="bunker2">'; str += '<var name="linkage" value="bunker2" />'; str += '<var name="armor" value="30" />'; str += '<var name="splashDamage" value="100" />'; str += '<var name="damageRadius" value="250" />'; str += '<var name="splashDelay" value="6" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="immortal" value="0" />'; str += '<var name="xoffset" value="0" />'; str += '</object>'; str += '<object name="oiltanker1">'; str += '<var name="linkage" value="oiltanker1" />'; str += '<var name="armor" value="30" />'; str += '<var name="splashDamage" value="300" />'; str += '<var name="damageRadius" value="250" />'; str += '<var name="splashDelay" value="6" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="immortal" value="0" />'; str += '<var name="xoffset" value="0" />'; str += '</object>'; str += '<object name="tower1">'; str += '<var name="linkage" value="tower1" />'; str += '<var name="armor" value="45" />'; str += '<var name="splashDamage" value="100" />'; str += '<var name="damageRadius" value="150" />'; str += '<var name="splashDelay" value="6" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="immortal" value="0" />'; str += '<var name="xoffset" value="0" />'; str += '</object>'; str += '<object name="decals">'; str += '<var name="linkage" value="explode1" />'; str += '<var name="armor" value="200" />'; str += '<var name="splashDamage" value="100" />'; str += '<var name="damageRadius" value="250" />'; str += '<var name="splashDelay" value="6" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="1" />'; str += '<var name="ignoreSplash" value="1" />'; str += '<var name="ignoreDirect" value="1" />'; str += '<var name="immortal" value="1" />'; str += '<var name="xoffset" value="0" />'; str += '<var name="rotate" value="0" />'; str += '</object>'; str += '<object name="decals">'; str += '<var name="linkage" value="explode2" />'; str += '<var name="armor" value="200" />'; str += '<var name="splashDamage" value="100" />'; str += '<var name="damageRadius" value="250" />'; str += '<var name="splashDelay" value="6" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="1" />'; str += '<var name="ignoreSplash" value="1" />'; str += '<var name="ignoreDirect" value="1" />'; str += '<var name="immortal" value="1" />'; str += '<var name="xoffset" value="0" />'; str += '<var name="rotate" value="0" /> '; str += '</object>'; str += '<object name="junk">'; str += '<var name="linkage" value="junk_1_1" />'; str += '<var name="armor" value="40" />'; str += '<var name="splashDamage" value="0" />'; str += '<var name="damageRadius" value="0" />'; str += '<var name="splashDelay" value="1" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="immortal" value="0" />'; str += '<var name="xoffset" value="0" />'; str += '<var name="rotate" value="0" /> '; str += '</object>'; str += '<object name="junk">'; str += '<var name="linkage" value="junk_1_2" />'; str += '<var name="armor" value="40" />'; str += '<var name="splashDamage" value="0" />'; str += '<var name="damageRadius" value="0" />'; str += '<var name="splashDelay" value="1" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="immortal" value="0" />'; str += '<var name="xoffset" value="0" />'; str += '<var name="rotate" value="0" />'; str += '</object>'; str += '<object name="junk">'; str += '<var name="linkage" value="junk_1_3" />'; str += '<var name="armor" value="40" />'; str += '<var name="splashDamage" value="0" />'; str += '<var name="damageRadius" value="0" />'; str += '<var name="splashDelay" value="1" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="immortal" value="0" />'; str += '<var name="xoffset" value="0" />'; str += '<var name="rotate" value="0" />'; str += '</object>'; str += '<object name="junk">'; str += '<var name="linkage" value="junk_1_4" />'; str += '<var name="armor" value="40" />'; str += '<var name="splashDamage" value="0" />'; str += '<var name="damageRadius" value="0" />'; str += '<var name="splashDelay" value="1" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="immortal" value="0" />'; str += '<var name="xoffset" value="0" />'; str += '<var name="rotate" value="0" />'; str += '</object>'; str += '<object name="junk">'; str += '<var name="linkage" value="junk_1_5" />'; str += '<var name="armor" value="40" />'; str += '<var name="splashDamage" value="0" />'; str += '<var name="damageRadius" value="0" />'; str += '<var name="splashDelay" value="1" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="immortal" value="0" />'; str += '<var name="xoffset" value="0" />'; str += '<var name="rotate" value="0" />'; str += '</object>'; str += '<object name="junk">'; str += '<var name="linkage" value="junk_1_6" />'; str += '<var name="armor" value="40" />'; str += '<var name="splashDamage" value="0" />'; str += '<var name="damageRadius" value="0" />'; str += '<var name="splashDelay" value="1" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="immortal" value="0" />'; str += '<var name="xoffset" value="0" />'; str += '<var name="rotate" value="0" />'; str += '</object>'; str += '<object name="explode1">'; str += '<var name="linkage" value="explode1" />'; str += '<var name="armor" value="0" />'; str += '<var name="splashDamage" value="0" />'; str += '<var name="damageRadius" value="0" />'; str += '<var name="splashDelay" value="0" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="immortal" value="0" />'; str += '<var name="xoffset" value="0" />'; str += '<var name="rotate" value="0" />'; str += '</object>'; str += '<object name="explode2">'; str += '<var name="linkage" value="explode2" />'; str += '<var name="armor" value="0" />'; str += '<var name="splashDamage" value="0" />'; str += '<var name="damageRadius" value="0" />'; str += '<var name="splashDelay" value="0" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="immortal" value="0" />'; str += '<var name="xoffset" value="0" />'; str += '<var name="rotate" value="0" />'; str += '</object>'; str += '<object name="wall1">'; str += '<var name="linkage" value="wall1" />'; str += '<var name="armor" value="400" />'; str += '<var name="splashDamage" value="1" />'; str += '<var name="damageRadius" value="1" />'; str += '<var name="splashDelay" value="1" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="immortal" value="0" />'; str += '<var name="xoffset" value="0" />'; str += '<var name="rotate" value="0" />'; str += '</object>'; str += '<object name="wall2">'; str += '<var name="linkage" value="wall2" />'; str += '<var name="armor" value="10" />'; str += '<var name="splashDamage" value="1" />'; str += '<var name="damageRadius" value="1" />'; str += '<var name="splashDelay" value="1" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="immortal" value="0" />'; str += '<var name="xoffset" value="0" />'; str += '<var name="rotate" value="0" />'; str += '</object>'; str += '<object name="oilpump_r">'; str += '<var name="linkage" value="oilpump_r" />'; str += '<var name="armor" value="150" />'; str += '<var name="splashDamage" value="1" />'; str += '<var name="damageRadius" value="1" />'; str += '<var name="splashDelay" value="1" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="immortal" value="0" />'; str += '<var name="xoffset" value="0" />'; str += '<var name="rotate" value="0" />'; str += '</object>'; str += '<object name="oilpump_l">'; str += '<var name="linkage" value="oilpump_l" />'; str += '<var name="armor" value="150" />'; str += '<var name="splashDamage" value="1" />'; str += '<var name="damageRadius" value="1" />'; str += '<var name="splashDelay" value="1" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="immortal" value="0" />'; str += '<var name="xoffset" value="0" />'; str += '<var name="rotate" value="0" />'; str += '</object>'; str += '<object name="hangar1"> '; str += '<var name="linkage" value="hangar1" />'; str += '<var name="armor" value="100" />'; str += '<var name="splashDamage" value="1" />'; str += '<var name="damageRadius" value="1" />'; str += '<var name="splashDelay" value="1" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="immortal" value="0" />'; str += '<var name="xoffset" value="0" />'; str += '<var name="rotate" value="0" />'; str += '</object>'; str += '<object name="oil1"> '; str += '<var name="linkage" value="oil1" />'; str += '<var name="armor" value="50" />'; str += '<var name="splashDamage" value="1" />'; str += '<var name="damageRadius" value="1" />'; str += '<var name="splashDelay" value="1" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="immortal" value="0" />'; str += '<var name="xoffset" value="0" />'; str += '<var name="rotate" value="0" />'; str += '</object>'; str += '<object name="rls1_obj"> '; str += '<var name="linkage" value="rls1" />'; str += '<var name="armor" value="30" />'; str += '<var name="splashDamage" value="1" />'; str += '<var name="damageRadius" value="1" />'; str += '<var name="splashDelay" value="1" />'; str += '<var name="top" value="0" />'; str += '<var name="ignoreHit" value="0" />'; str += '<var name="ignoreSplash" value="0" />'; str += '<var name="ignoreDirect" value="0" />'; str += '<var name="immortal" value="0" />'; str += '<var name="xoffset" value="0" />'; str += '<var name="rotate" value="0" />'; str += '</object>'; str += '</object>'; str += '<object name="levels">'; str += '<object name="level_1">'; str += '<var name="comment1" > The messege recieved: «Do not wander far... You are being watched»... </var>'; str += '<var name="screenSpeed" value="3" />'; str += '<var name="playerX" value="275" />'; str += '<var name="playerY" value="100" />'; str += '<var name="maxShield" value="0" />'; str += '<var name="playerArmor" value="50" />'; str += '<var name="wiewShield" value="0" />'; str += '<var name="playerAvailableWeapons" value="7" />'; str += '<var name="playerSelectorMode" value="2" />'; str += '<object name="childs">'; str += '<object yoffset="0.9" xoffset="275" tank="robogear" armor="500"/>'; str += '<object name="m1" tank="abrams" mainObj="mech_gunner_obj"/>'; str += '<object name="m2" tank="abrams" mainObj="mech_rocket_obj"/>'; str += '<object name="m3" tank="abrams" mratio="2" mainObj="soldier_obj" />'; str += '</object>'; str += '<array name="level">'; str += '<object yoffset="5.3" bonus="health" xoffset="300"/>'; str += '<object yoffset="6.6" bonus="health" xoffset="280"/>'; str += '<object yoffset="7.4" bonus="health" xoffset="300"/>'; str += '<object yoffset="7.9" bonus="1updater" xoffset="275"/>'; str += '<object yoffset="8.5" bonus="health" xoffset="235"/>'; str += '<object yoffset="9.3" bonus="health" xoffset="325"/>'; str += '<object yoffset="1" xoffset="90" object="helipad" />'; str += '<object yoffset="1" xoffset="450" object="helipad" />'; str += '<object yoffset="1.4" xoffset="90" object="rls1_obj" />'; str += '<object yoffset="1.4" xoffset="450" object="rls1_obj" />'; str += '<object yoffset="1.8" xoffset="90" object="helipad" />'; str += '<object yoffset="1.8" xoffset="450" object="helipad" />'; str += '<object yoffset="1.8" xoffset="450" tank="abrams" rotate="0" mainObj="heli3_obj" mratio="4" endFrame="2" wayCycle="1" />'; str += '<object yoffset="2.5" xoffset="505" object="wall1" />'; str += '<object yoffset="2.5" xoffset="465" object="wall1" />'; str += '<object yoffset="2.5" xoffset="45" object="wall1" />'; str += '<object yoffset="2.5" xoffset="-5" object="wall1" />'; str += '<object yoffset="3" xoffset="90" object="helipad" />'; str += '<object yoffset="3" xoffset="450" object="helipad" />'; str += '<object yoffset="3.6" xoffset="90" object="helipad" />'; str += '<object yoffset="3.6" xoffset="450" object="helipad" />'; str += '<object yoffset="3.6" xoffset="90" tank="abrams" rotate="0" mainObj="heli3_obj" mratio="4" endFrame="2" wayCycle="1" />'; str += '<object yoffset="3.9" xoffset="459" object="wall1" />'; str += '<object yoffset="3.9" xoffset="44" object="wall1" />'; str += '<object yoffset="3.9" xoffset="-6" object="wall1" />'; str += '<object yoffset="3.9" xoffset="502" object="wall1" />'; str += '<object yoffset="4.5" xoffset="489" object="explode2" />'; str += '<object yoffset="4.5" xoffset="136" object="explode1" />'; str += '<object yoffset="4.7" xoffset="469" object="helipad" />'; str += '<object yoffset="4.7" xoffset="94" object="helipad" />'; str += '<object yoffset="4.7" xoffset="469" tank="abrams" rotate="0" mainObj="heli3_obj" mratio="4" endFrame="2" wayCycle="1" />'; str += '<object yoffset="4.7" xoffset="94" tank="abrams" rotate="0" mainObj="heli3_obj" mratio="4" endFrame="2" wayCycle="1" />'; str += '<object yoffset="4.7" xoffset="104" object="explode2" />'; str += '<object yoffset="4.7" xoffset="467" object="explode1" />'; str += '<object yoffset="5.1" xoffset="50" object="tower1" />'; str += '<object yoffset="5.1" xoffset="500" object="tower1" />'; str += '<object yoffset="6.7" xoffset="46" object="explode2" />'; str += '<object yoffset="6.6" xoffset="162" object="explode1" />'; str += '<object yoffset="7" xoffset="124" object="explode2" />'; str += '<object yoffset="7.1" xoffset="399" object="explode1" />'; str += '<object yoffset="6.7" xoffset="473" object="explode1" />'; str += '<object yoffset="6.5" xoffset="450" object="explode2" />'; str += '<object yoffset="5.5" xoffset="456" object="helipad" />'; str += '<object yoffset="5.5" xoffset="94" object="helipad" />'; str += '<object yoffset="5.7" xoffset="92" object="explode1" />'; str += '<object yoffset="5.9" xoffset="505" object="wall1" />'; str += '<object yoffset="5.9" xoffset="455" object="wall1" />'; str += '<object yoffset="5.9" xoffset="405" object="wall1" />'; str += '<object yoffset="5.9" xoffset="95" object="wall1" />'; str += '<object yoffset="5.9" xoffset="45" object="wall1" />'; str += '<object yoffset="5.9" xoffset="-5" object="wall1" />'; str += '<object yoffset="6.3" xoffset="490" object="hangar1" />'; str += '<object yoffset="6.3" xoffset="0" object="hangar1" />'; str += '<object yoffset="7.1" xoffset="490" object="helipad" />'; str += '<object yoffset="7.1" xoffset="50" object="helipad" />'; str += '<object yoffset="7.4" xoffset="0" object="wall1" />'; str += '<object yoffset="7.4" xoffset="50" object="wall1" />'; str += '<object yoffset="7.4" xoffset="100" object="wall1" />'; str += '<object yoffset="7.4" xoffset="450" object="wall1" />'; str += '<object yoffset="7.4" xoffset="500" object="wall1" />'; str += '<object yoffset="7.4" xoffset="400" object="wall1" />'; str += '<object yoffset="8" xoffset="450" object="helipad" />'; str += '<object yoffset="8" xoffset="90" object="helipad" />'; str += '<object yoffset="8" xoffset="450" tank="abrams" rotate="0" mainObj="heli3_obj" mratio="4" endFrame="2" wayCycle="1" />'; str += '<object yoffset="8.5" xoffset="90" object="rls1_obj" />'; str += '<object yoffset="8.5" xoffset="450" object="rls1_obj" />'; str += '<object yoffset="8.9" xoffset="140" object="oiltanker1" />'; str += '<object yoffset="8.9" xoffset="460" object="oiltanker1" />'; str += '<object yoffset="9" xoffset="0" object="wall1" />'; str += '<object yoffset="9" xoffset="50" object="wall1" />'; str += '<object yoffset="9" xoffset="100" object="wall1" />'; str += '<object yoffset="9" xoffset="550" object="wall1" />'; str += '<object yoffset="9" xoffset="500" object="wall1" />'; str += '<object yoffset="9" xoffset="450" object="wall1" />'; str += '<object yoffset="2" tank="abrams" xoffset="275" mainObj="soldier_obj" endFrame="350" />'; str += '<object yoffset="2.5" tank="abrams" xoffset="155" mainObj="soldier_obj" endFrame="350" />'; str += '<object yoffset="2.4" tank="abrams" xoffset="405" mainObj="soldier_obj" endFrame="350" />'; str += '<object yoffset="3.1" tank="abrams" xoffset="185" mainObj="soldier_obj" endFrame="350" />'; str += '<object yoffset="3.2" tank="abrams" xoffset="375" mainObj="soldier_obj" endFrame="350" />'; str += '<object yoffset="3.5" tank="abrams" xoffset="0" rotate="45" mainObj="soldier_obj" />'; str += '<object yoffset="3.7" tank="abrams" xoffset="550" rotate="135" mainObj="soldier_obj" />'; str += '<object yoffset="4.3" tank="abrams" xoffset="200" mainObj="soldier_obj" endFrame="300" />'; str += '<object yoffset="4.5" tank="abrams" xoffset="275" mainObj="soldier_obj" endFrame="300" />'; str += '<object yoffset="4.3" tank="abrams" xoffset="360" mainObj="soldier_obj" endFrame="300" />'; str += '<object yoffset="4.7" tank="abrams" xoffset="50" rotate="45" mainObj="soldier_obj" endFrame="280"/>'; str += '<object yoffset="4.8" tank="abrams" xoffset="550" rotate="135" mainObj="soldier_obj" endFrame="380"/>'; str += '<object yoffset="5.6" tank="abrams" xoffset="140" endFrame="250" mainObj="soldier_obj" />'; str += '<object yoffset="5.7" tank="abrams" xoffset="390" endFrame="250" mainObj="soldier_obj" />'; str += '<object yoffset="5.9" tank="abrams" xoffset="275" mainObj="soldier_obj" endFrame="250" />'; str += '<object yoffset="6.1" mratio="6" tank="abrams" xoffset="550" mainObj="truck_obj" base="truck4" rotate="170" rotatedByWay="1" endFrame="670" />'; str += '<object yoffset="6.7" tank="abrams" xoffset="275" endFrame="250" mainObj="buggy_obj" />'; str += '<object yoffset="6.8" tank="abrams" xoffset="450" mainObj="soldier_obj" movedWay="1" movedWayOffset="150" />'; str += '<object yoffset="6.8" tank="abrams" xoffset="140" mainObj="soldier_obj" movedWay="1" movedWayOffset="150"/>'; str += '<object yoffset="7.1" tank="abrams" xoffset="-30" mainObj="truck_obj" base="truck1" rotate="-20" endFrame="700" />'; str += '<object yoffset="7.2" tank="abrams" xoffset="550" mainObj="truck_obj" base="truck1" rotate="200" endFrame="550" />'; str += '<object yoffset="8.2" tank="abrams" xoffset="180" mainObj="soldier_obj" endFrame="350" />'; str += '<object yoffset="8.3" tank="abrams" xoffset="275" mainObj="soldier_obj" endFrame="350" />'; str += '<object yoffset="8.2" tank="abrams" xoffset="380" mainObj="soldier_obj" endFrame="350" />'; str += '<object yoffset="8.9" tank="abrams" xoffset="240" mainObj="soldier_obj" endFrame="7"/>'; str += '<object yoffset="8.9" tank="abrams" xoffset="275" mainObj="soldier_obj" endFrame="7"/>'; str += '<object yoffset="8.9" tank="abrams" xoffset="310" mainObj="soldier_obj" endFrame="7"/>'; str += '<object yoffset="9.1" tank="abrams" xoffset="320" mainObj="buggy_obj" base="truck4" rotate="180" endFrame="100" />'; str += '<object yoffset="10" tank="abrams" xoffset="-30" mainObj="buggy_obj" rotate="0" endFrame="500" movedWay="1" movedWayOffset="200"/>'; str += '<object yoffset="10.1" tank="abrams" xoffset="550" mainObj="buggy_obj" rotate="180" endFrame="400" movedWay="1" movedWayOffset="200"/>'; str += '</array>'; str += '</object>'; str += '<object name="level_2">'; str += '<var name="comment1" > The messege recieved: «It 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».</var>'; str += '<var name="screenSpeed" value="3" />'; str += '<var name="playerX" value="275" />'; str += '<var name="playerY" value="100" />'; str += '<var name="playerArmor" value="50" />'; str += '<var name="maxShield" value="0" />'; str += '<var name="wiewShield" value="0" />'; str += '<var name="playerAvailableWeapons" value="7" />'; str += '<var name="playerSelectorMode" value="2" />'; str += '<object name="childs">'; str += '<object name="m1" tank="abrams" bossBar="1" mainObj="mech_gunner_obj" armor="400" mratio="2" movedWay="1" movedWayOffset="10" />'; str += '<object name="m2" tank="abrams" mainObj="mech_rocket_obj"/>'; str += '<object name="m3" tank="abrams" mratio="2" mainObj="soldier_obj"/>'; str += '<object name="m4" tank="abrams" mainObj="mech_boss_obj"/>'; str += '</object>'; str += '<array name="level">'; str += '<object yoffset="3.2" bonus="health" xoffset="275"/>'; str += '<object yoffset="4" bonus="health" xoffset="275"/>'; str += '<object yoffset="4.8" bonus="health" xoffset="350"/>'; str += '<object yoffset="5.3" bonus="health" xoffset="350"/>'; str += '<object yoffset="6.4" bonus="1updater" xoffset="275"/>'; str += '<object yoffset="7.2" bonus="health" xoffset="275"/>'; str += '<object yoffset="8" bonus="rocket" xoffset="300"/>'; str += '<object yoffset="9" bonus="health" xoffset="275"/>'; str += '<object yoffset="10" bonus="health" xoffset="400"/>'; str += '<object yoffset="12.4" bonus="shield" xoffset="275"/>'; str += '<object yoffset="1.4" xoffset="300" object="rls1_obj" />'; str += '<object yoffset="2.4" xoffset="205" object="wall2" />'; str += '<object yoffset="2.4" xoffset="296" object="wall2" />'; str += '<object yoffset="2.4" xoffset="247" object="wall2" />'; str += '<object yoffset="2.5" xoffset="20" object="rls1_obj" />'; str += '<object yoffset="3.6" xoffset="30" object="tower1" />'; str += '<object yoffset="3.6" xoffset="520" object="tower1" />'; str += '<object yoffset="4" xoffset="50" object="wall2" />'; str += '<object yoffset="4" xoffset="100" object="wall2" />'; str += '<object yoffset="4" xoffset="450" object="wall2" />'; str += '<object yoffset="4" xoffset="400" object="wall2" />'; str += '<object yoffset="4.7" xoffset="275" object="tower1_obj" />'; str += '<object yoffset="4.8" xoffset="50" object="wall2" />'; str += '<object yoffset="4.8" xoffset="100" object="wall2" />'; str += '<object yoffset="4.8" xoffset="450" object="wall2" />'; str += '<object yoffset="4.8" xoffset="400" object="wall2" />'; str += '<object yoffset="6" xoffset="205" object="wall2" />'; str += '<object yoffset="6" xoffset="296" object="wall2" />'; str += '<object yoffset="6" xoffset="247" object="wall2" />'; str += '<object yoffset="6.5" xoffset="190" object="wall2" />'; str += '<object yoffset="6.5" xoffset="230" object="wall2" />'; str += '<object yoffset="6.5" xoffset="270" object="wall2" />'; str += '<object yoffset="6.5" xoffset="310" object="wall2" />'; str += '<object yoffset="6.8" xoffset="275" object="tower1" />'; str += '<object yoffset="7" xoffset="104" object="helipad" />'; str += '<object yoffset="7" xoffset="467" object="helipad" />'; str += '<object yoffset="7.6" xoffset="380" object="hangar1" />'; str += '<object yoffset="7.6" xoffset="90" object="hangar1" />'; str += '<object yoffset="8.9" xoffset="205" object="wall2" />'; str += '<object yoffset="8.9" xoffset="296" object="wall2" />'; str += '<object yoffset="8.9" xoffset="247" object="wall2" />'; str += '<object yoffset="9.3" xoffset="77" object="junk" linkage="junk_1_1" />'; str += '<object yoffset="9.3" xoffset="176" object="junk" linkage="junk_1_4" />'; str += '<object yoffset="9.3" xoffset="500" object="junk" linkage="junk_1_3" />'; str += '<object yoffset="9.8" xoffset="140" object="tower1" />'; str += '<object yoffset="9.8" xoffset="140" tank="towergun_obj" />'; str += '<object yoffset="9.8" xoffset="400" object="tower1" />'; str += '<object yoffset="10.5" xoffset="0" object="building" linkage="base03_l" />'; str += '<object yoffset="12.3" xoffset="145" object="oiltanker1" />'; str += '<object yoffset="12.3" xoffset="455" object="oiltanker1" />'; str += '<object yoffset="12.3" xoffset="295" object="oiltanker1" />'; str += '<object yoffset="12.5" xoffset="520" object="wall1" />'; str += '<object yoffset="12.5" xoffset="472" object="wall1" />'; str += '<object yoffset="12.5" xoffset="423" object="wall1" />'; str += '<object yoffset="12.5" xoffset="374" object="wall1" />'; str += '<object yoffset="12.5" xoffset="325" object="wall1" />'; str += '<object yoffset="12.5" xoffset="277" object="wall1" />'; str += '<object yoffset="12.5" xoffset="228" object="wall1" />'; str += '<object yoffset="12.5" xoffset="179" object="wall1" />'; str += '<object yoffset="12.5" xoffset="137" object="wall1" />'; str += '<object yoffset="12.5" xoffset="88" object="wall1" />'; str += '<object yoffset="12.5" xoffset="39" object="wall1" />'; str += '<object yoffset="12.5" xoffset="-10" object="wall1" />'; str += '<object yoffset="1.1" xoffset="110" tank="abrams" mainObj="soldier_obj" endFrame="500" />'; str += '<object yoffset="1.1" xoffset="190" tank="abrams" mainObj="soldier_obj" endFrame="500" />'; str += '<object yoffset="1.6" xoffset="370" tank="abrams" mainObj="soldier_obj" endFrame="500" />'; str += '<object yoffset="1.6" xoffset="450" tank="abrams" mainObj="soldier_obj" endFrame="500" />'; str += '<object yoffset="1.9" xoffset="60" tank="abrams" mainObj="soldier_obj" endFrame="500" />'; str += '<object yoffset="1.9" xoffset="150" tank="abrams" mainObj="soldier_obj" endFrame="500" />'; str += '<object yoffset="2.2" xoffset="400" tank="abrams" mainObj="soldier_obj" endFrame="500" />'; str += '<object yoffset="2.2" xoffset="480" tank="abrams" mainObj="soldier_obj" endFrame="500" />'; str += '<object yoffset="2.5" tank="abrams" xoffset="310" mainObj="soldier_obj" endFrame="7" />'; str += '<object yoffset="2.5" tank="abrams" xoffset="240" mainObj="soldier_obj" endFrame="7" />'; str += '<object yoffset="3" xoffset="480" tank="abrams" rotate="90" mainObj="buggy_obj" />'; str += '<object yoffset="3.5" xoffset="100" tank="abrams" rotate="65" mainObj="buggy_obj" base="truck2" /> '; str += '<object yoffset="4.1" tank="abrams" xoffset="83" mainObj="soldier_obj" endFrame="7" />'; str += '<object yoffset="4.1" tank="abrams" xoffset="425" mainObj="soldier_obj" endFrame="7" />'; str += '<object yoffset="5.3" xoffset="275" tank="abrams" mainObj="hummer_obj" mratio="4" movedWay="1" movedWayOffset="50" />'; str += '<object yoffset="4.9" tank="abrams" xoffset="83" mainObj="soldier_obj" endFrame="7" />'; str += '<object yoffset="4.9" tank="abrams" xoffset="425" mainObj="soldier_obj" endFrame="7" />'; str += '<object yoffset="5.6" tank="abrams" xoffset="0" mainObj="buggy_obj" rotate="0" endFrame="430" />'; str += '<object yoffset="5.7" tank="abrams" xoffset="550" mainObj="buggy_obj" rotate="180" endFrame="430" />'; str += '<object yoffset="6.2" tank="abrams" xoffset="275" mainObj="soldier_obj" endFrame="7" />'; str += '<object yoffset="6.6" tank="abrams" xoffset="230" mainObj="soldier_obj" endFrame="7" />'; str += '<object yoffset="6.6" tank="abrams" xoffset="320" mainObj="soldier_obj" endFrame="7" />'; str += '<object yoffset="7.6" xoffset="50" tank="abrams" rotate="90" mainObj="hummer_obj" movedWay="1" movedWayOffset="50" endFrame="800"/>'; str += '<object yoffset="7.3" xoffset="500" tank="abrams" rotate="90" mainObj="hummer_obj" movedWay="1" movedWayOffset="50" endFrame="800"/>'; str += '<object yoffset="8.5" tank="abrams" xoffset="0" mainObj="buggy_obj" rotate="0" endFrame="150" movedWay="1" movedWayOffset="90"/>'; str += '<object yoffset="8.6" tank="abrams" xoffset="550" mainObj="buggy_obj" rotate="180" endFrame="150" movedWay="1" movedWayOffset="90"/>'; str += '<object yoffset="8.4" xoffset="275" tank="abrams" rotate="90" mainObj="hummer_obj" movedWay="1" movedWayOffset="50"/>'; str += '<object yoffset="9" tank="abrams" xoffset="230" mainObj="soldier_obj" endFrame="7" />'; str += '<object yoffset="9" tank="abrams" xoffset="280" mainObj="soldier_obj" endFrame="7" />'; str += '<object yoffset="10.9" xoffset="130" tank="abrams" mainObj="hummer_obj" mratio="4" movedWay="1" movedWayOffset="50" endFrame="800"/>'; str += '<object yoffset="10.7" xoffset="450" tank="abrams" mainObj="hummer_obj" mratio="4" movedWay="1" movedWayOffset="50" endFrame="800"/>'; 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 += '<object yoffset="11.8" command="slideConstant" factor="0.99" limit="2"/>'; str += '</array>'; str += '</object>'; str += '<object name="level_3">'; str += '<var name="comment1" > The messege recieved: «You 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.»</var>'; str += '<var name="screenSpeed" value="3" />'; str += '<var name="playerX" value="275" />'; str += '<var name="playerY" value="100" />'; str += '<var name="playerArmor" value="50" />'; str += '<var name="wiewShield" value="1" />'; str += '<var name="playerAvailableWeapons" value="7" />'; str += '<var name="playerSelectorMode" value="2" />'; str += '<object name="childs">'; str += '<object name="m1" tank="abrams" mratio="2" mainObj="mech_gunner_obj" endFrame="100" movedWay="1" movedWayOffset="20"/>'; str += '<object name="m2" tank="abrams" mainObj="mech_rocket_obj" endFrame="100" movedWay="1" movedWayOffset="25" />'; str += '<object name="m3" object="exploder" splashDamage="350" />'; str += '</object>'; str += '<array name="level">'; str += '<object yoffset="1.3" bonus="shield" xoffset="275"/>'; str += '<object yoffset="1.8" bonus="health" xoffset="300"/>'; str += '<object yoffset="2.7" bonus="health" xoffset="250"/>'; str += '<object yoffset="4.4" bonus="1updater" xoffset="275"/>'; str += '<object yoffset="5.8" bonus="1updater" xoffset="275"/>'; str += '<object yoffset="4.5" bonus="health" xoffset="250"/>'; str += '<object yoffset="4.7" bonus="lazer" xoffset="300"/>'; str += '<object yoffset="4.8" xoffset="300" bonus="lazer"/>'; str += '<object yoffset="5.6" bonus="health" xoffset="320"/>'; str += '<object yoffset="7" bonus="health" xoffset="275"/>'; str += '<object yoffset="8" bonus="shield" xoffset="275"/>'; str += '<object yoffset="8.1" bonus="health" xoffset="255"/>'; str += '<object yoffset="8.8" bonus="health" xoffset="295"/>'; str += '<object yoffset="9.4" bonus="health" xoffset="275"/>'; str += '<object yoffset="1" xoffset="110" object="junk" linkage="junk_1_1"/>'; str += '<object yoffset="1.2" tank="abrams" xoffset="20" mainObj="buggy_obj" base="truck2" rotate="0" endFrame="160" />'; str += '<object yoffset="1.4" xoffset="400" object="junk" linkage="junk_1_2"/>'; str += '<object yoffset="1.6" tank="abrams" xoffset="530" mainObj="buggy_obj" base="truck2" rotate="180" endFrame="300" child="exx" />'; str += '<object yoffset="1.6" xoffset="70" object="rls1_obj"/> '; str += '<object yoffset="2" xoffset="480" object="tower1"/> '; str += '<object yoffset="2.7" mratio="3" tank="abrams" xoffset="125" mainObj="soldier_obj" movedWayOffset="70" endFrame="200" endFrame="200"/>'; str += '<object yoffset="2.6" mratio="3" tank="abrams" xoffset="175" mainObj="soldier_obj" movedWay="1" movedWayOffset="70" endFrame="200"/>'; str += '<object yoffset="2.6" mratio="3" tank="abrams" xoffset="375" mainObj="soldier_obj" movedWay="1" movedWayOffset="70" endFrame="200"/>'; str += '<object yoffset="2.7" mratio="3" tank="abrams" xoffset="425" mainObj="soldier_obj" endFrame="200"/>'; str += '<object yoffset="3.1" xoffset="275" tank="abrams" mainObj="hummer_obj" mratio="4" movedWay="1" movedWayOffset="50" />'; str += '<object yoffset="3.5" tank="abrams" xoffset="-50" mainObj="buggy_obj" rotate="0" endFrame="500" />'; str += '<object yoffset="3.8" tank="abrams" xoffset="590" mainObj="buggy_obj" rotate="180" endFrame="400"/>'; str += '<object yoffset="4" xoffset="50" object="tower1"/> '; str += '<object yoffset="4.1" xoffset="500" object="rls1_obj"/> '; str += '<object yoffset="4.3" tank="abrams" xoffset="-50" mainObj="buggy_obj" rotate="0" endFrame="500" />'; str += '<object yoffset="4.4" tank="abrams" xoffset="590" mainObj="buggy_obj" rotate="180" endFrame="400"/>'; str += '<object yoffset="5.2" tank="abrams" xoffset="180" mainObj="heli1_obj" endFrame="170" movedWay="1" movedWayOffset="70" />'; str += '<object yoffset="5.8" command="slideConstant" factor="0.98" limit="2"/>'; str += '<object yoffset="5.9" command="slideConstant" factor="0.98" limit="1"/>'; str += '<object yoffset="6.3" command="slideConstant" factor="0.97" limit="2"/>'; str += '<object yoffset="6.5" command="slideConstant" factor="0.98" limit="3"/>'; str += '<object yoffset="5.2" xoffset="-50" object="wall1"/>'; str += '<object yoffset="5.2" xoffset="0" object="wall1"/>'; str += '<object yoffset="5.2" xoffset="50" object="wall1"/>'; str += '<object yoffset="5.2" xoffset="100" object="wall1"/>'; str += '<object yoffset="5.2" xoffset="150" object="wall1"/>'; str += '<object yoffset="5.2" xoffset="350" object="wall1"/>'; str += '<object yoffset="5.2" xoffset="400" object="wall1"/>'; str += '<object yoffset="5.2" xoffset="450" object="wall1"/>'; str += '<object yoffset="5.2" xoffset="500" object="wall1"/>'; str += '<object yoffset="5.1" xoffset="0" object="junk" linkage="junk_1_1"/>'; str += '<object yoffset="5.1" xoffset="550" object="junk" linkage="junk_1_1"/>'; str += '<object yoffset="5.4" xoffset="25" object="tower1"/>'; str += '<object yoffset="5.4" xoffset="25" tank="towergun_obj" cannonTimeOffset="80" />'; str += '<object yoffset="5.4" xoffset="510" object="tower1"/>'; str += '<object yoffset="5.4" xoffset="510" cannonTimeOffset="40" tank="towergun_obj" />'; str += '<object yoffset="5.2" mratio="10" tank="abrams" xoffset="500" mainObj="truck_obj" rotate="180" endFrame="770" base="truck4"/>'; str += '<object yoffset="5.2" mratio="10" tank="abrams" xoffset="630" mainObj="truck_obj" rotate="180" endFrame="765" base="truck3"/>'; str += '<object yoffset="5.9" tank="abrams" xoffset="120" endFrame= "280" mainObj="soldier_obj" />'; str += '<object yoffset="6.2" tank="abrams" xoffset="320" endFrame= "290" mainObj="soldier_obj" />'; str += '<object yoffset="5.9" tank="abrams" xoffset="480" endFrame= "280" mainObj="soldier_obj" />'; str += '<object yoffset="6.6" mratio="8" tank="abrams" xoffset="50" mainObj="buggy_obj" rotate="45" endFrame="310" />'; str += '<object yoffset="6.7" mratio="8" tank="abrams" xoffset="500" mainObj="buggy_obj" rotate="125" endFrame="300" />'; str += '<object yoffset="6.1" xoffset="0" object="oilpump_l"/>'; str += '<object yoffset="6.1" xoffset="550" object="oilpump_r"/>'; str += '<object yoffset="6.4" xoffset="0" object="oilpump_l"/>'; str += '<object yoffset="6.4" xoffset="550" object="oilpump_r"/>'; 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 += '<object yoffset="7" xoffset="0" object="oilpump_l"/>'; str += '<object yoffset="7" xoffset="550" object="oilpump_r" />'; str += '<object yoffset="7.4" xoffset="160" object="oiltanker1"/>'; str += '<object yoffset="7.4" xoffset="420" object="oiltanker1"/>'; str += '<object yoffset="7.8" xoffset="40" object="oilpump_l"/>'; str += '<object yoffset="7.8" xoffset="160" object="oilpump_r"/>'; str += '<object yoffset="7.9" tank="abrams" xoffset="150" mainObj="heli1_obj" endFrame="500" endFrame="100" movedWay="1" movedWayOffset="50" />'; str += '<object yoffset="8" tank="abrams" xoffset="400" mainObj="heli1_obj" endFrame="400" endFrame="100" movedWay="1" movedWayOffset="40"/>'; str += '<object yoffset="8.2" xoffset="50" object="oilpump_l"/>'; str += '<object yoffset="8.2" xoffset="500" object="oilpump_r" />'; str += '<object yoffset="8.4" mratio="4" tank="abrams" xoffset="0" mainObj="hummer_obj" rotate="0" endFrame="310" />'; str += '<object yoffset="8.6" xoffset="50" object="oilpump_l"/>'; str += '<object yoffset="8.6" xoffset="500" object="oilpump_r" />'; str += '<object yoffset="8.8" mratio="5" tank="abrams" xoffset="500" mainObj="hummer_obj" rotate="180" endFrame="380" />'; str += '<object yoffset="9" xoffset="50" object="oilpump_l" />'; str += '<object yoffset="9" xoffset="500" object="oilpump_r" />'; str += '<object yoffset="9.2" mratio="4" tank="abrams" xoffset="0" mainObj="hummer_obj" rotate="0" endFrame="510" />'; str += '<object yoffset="9.3" mratio="4" tank="abrams" xoffset="500" mainObj="hummer_obj" rotate="180" endFrame="600" />'; str += '<object yoffset="9.5" xoffset="50" object="junk" linkage="junk_1_1"/>'; str += '<object yoffset="9.5" xoffset="490" object="junk" linkage="junk_1_1"/>'; 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 += '<object yoffset="10.3" tank="abrams" cannonTimeOffset="40" xoffset="110" mainObj="heli1_obj" endFrame="500" endFrame="100" movedWay="1" movedWayOffset="50" />'; str += '<object yoffset="10.7" tank="abrams" cannonTimeOffset="40" xoffset="440" mainObj="heli1_obj" endFrame="400" endFrame="100" movedWay="1" movedWayOffset="40"/>'; str += '<object yoffset="11" xoffset="100" object="tower1"/>'; str += '<object yoffset="11" xoffset="100" cannonTimeOffset="120" tank="towergun_obj" />'; str += '<object yoffset="11" xoffset="450" object="tower1"/>'; str += '<object yoffset="11" xoffset="450" cannonTimeOffset="50" tank="towergun_obj" />'; str += '<object yoffset="11.2" mratio="4" tank="abrams" xoffset="140" mainObj="truck_obj" rotate="0" endFrame="300" base="truck4" /> '; str += '<object yoffset="11.1" xoffset="-50" object="wall1"/>'; str += '<object yoffset="11.1" xoffset="0" object="wall1"/>'; str += '<object yoffset="11.1" xoffset="50" object="wall1"/>'; str += '<object yoffset="11.1" xoffset="100" object="wall1"/>'; str += '<object yoffset="11.1" xoffset="150" object="wall1"/>'; str += '<object yoffset="11.1" xoffset="350" object="wall1"/>'; str += '<object yoffset="11.1" xoffset="400" object="wall1"/>'; str += '<object yoffset="11.1" xoffset="450" object="wall1"/>'; str += '<object yoffset="11.1" xoffset="500" object="wall1"/>'; str += '<object yoffset="12" mratio="8" tank="abrams" xoffset="50" mainObj="buggy_obj" rotate="45" endFrame="310" />'; str += '<object yoffset="12.4" mratio="8" tank="abrams" xoffset="500" mainObj="buggy_obj" rotate="125" endFrame="300" />'; str += '<object yoffset="12" object="building" linkage="base03_l"/>'; 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 += '<object yoffset="12.7" command="slideConstant" factor="0.99" limit="0"/>'; str += '<object yoffset="12.4" xoffset="230" object="junk" linkage="junk_1_1"/>'; str += '<object yoffset="12.4" xoffset="275" object="junk" linkage="junk_1_2"/>'; str += '<object yoffset="12.4" xoffset="330" object="junk" linkage="junk_1_1"/>'; str += '<object yoffset="12.4" xoffset="390" object="junk" linkage="junk_1_2"/>'; str += '<object yoffset="12.4" xoffset="440" object="junk" linkage="junk_1_2"/>'; str += '<object yoffset="12.5" xoffset="170" object="junk" linkage="junk_1_1"/>'; str += '<object yoffset="12.5" xoffset="230" object="junk" linkage="junk_1_2"/>'; str += '<object yoffset="12.5" xoffset="275" object="junk" linkage="junk_1_1"/>'; str += '<object yoffset="12.5" xoffset="330" object="junk" linkage="junk_1_2"/>'; str += '<object yoffset="12.5" xoffset="390" object="junk" linkage="junk_1_1"/>'; str += '<object yoffset="12.5" xoffset="450" object="junk" linkage="junk_1_2"/>'; str += '<object yoffset="12.5" xoffset="520" object="junk" linkage="junk_1_4"/>'; str += '<object yoffset="12.6" xoffset="110" object="junk" linkage="junk_1_2"/>'; str += '<object yoffset="12.6" xoffset="170" object="junk" linkage="junk_1_2"/>'; str += '<object yoffset="12.6" xoffset="230" object="junk" linkage="junk_1_2"/>'; str += '<object yoffset="12.6" xoffset="275" object="junk" linkage="junk_1_3"/>'; str += '<object yoffset="12.6" xoffset="330" object="junk" linkage="junk_1_3"/>'; str += '<object yoffset="12.6" xoffset="390" object="junk" linkage="junk_1_1"/>'; str += '<object yoffset="12.6" xoffset="450" object="junk" linkage="junk_1_2"/>'; str += '<object yoffset="12.6" xoffset="550" object="junk" linkage="junk_1_2"/>'; str += '<object yoffset="12.7" xoffset="110" object="junk" linkage="junk_1_3"/>'; str += '<object yoffset="12.7" xoffset="170" object="junk" linkage="junk_1_1"/>'; str += '<object yoffset="12.7" xoffset="230" object="junk" linkage="junk_1_2"/>'; str += '<object yoffset="12.7" xoffset="275" object="junk" linkage="junk_1_2"/>'; str += '<object yoffset="12.7" xoffset="330" object="junk" linkage="junk_1_3"/>'; str += '<object yoffset="12.7" xoffset="390" object="junk" linkage="junk_1_2"/>'; str += '<object yoffset="12.7" xoffset="450" object="junk" linkage="junk_1_1"/>'; str += '<object yoffset="12.7" xoffset="500" object="junk" linkage="junk_1_1"/>'; str += '<object yoffset="12.7" xoffset="550" object="junk" linkage="junk_1_1"/>'; str += '<object yoffset="12.8" xoffset="110" object="junk" linkage="junk_1_3"/>'; str += '<object yoffset="12.8" xoffset="170" object="junk" linkage="junk_1_1"/>'; str += '<object yoffset="12.8" xoffset="230" object="junk" linkage="junk_1_2"/>'; str += '<object yoffset="12.8" xoffset="275" object="junk" linkage="junk_1_2"/>'; str += '<object yoffset="12.8" xoffset="330" object="junk" linkage="junk_1_3"/>'; str += '<object yoffset="12.8" xoffset="390" object="junk" linkage="junk_1_2"/>'; str += '<object yoffset="12.8" xoffset="450" object="junk" linkage="junk_1_1"/>'; str += '<object yoffset="12.8" xoffset="500" object="junk" linkage="junk_1_1"/>'; str += '<object yoffset="12.8" xoffset="550" object="junk" linkage="junk_1_1"/>'; str += '</array>'; str += '</object>'; str += '<object name="level_4">'; str += '<var name="comment1" > The messege recieved: «Well, how do you like that? Bam, and you are a normal pedestrian again – like magic! But you are still going to plow on ahead, right?»</var>'; str += '<var name="screenSpeed" value="3" />'; str += '<var name="playerX" value="275" />'; str += '<var name="playerY" value="30" />'; str += '<var name="playerArmor" value="100" />'; str += '<var name="wiewShield" value="0" />'; str += '<var name="maxShield" value="0" />'; str += '<var name="playerAvailableWeapons" value="7" />'; str += '<var name="playerSelectorMode" value="1" />'; str += '<object name="childs">'; str += '<object name="m1" tank="abrams" mainObj="mech_gunner_obj"/>'; str += '<object name="m2" tank="abrams" mainObj="mech_rocket_obj" bossBar="1" armor="3000" endFrame="100" movedWay="1" movedWayOffset="10"/>'; str += '<object name="m3" object="exploder" />'; str += '<object name="m4" tank="abrams" mainObj="mech_boss_obj"/>'; str += '</object>'; str += '<array name="level">'; str += '<object yoffset="1.4" command="textBar2" text="You will die soon you piece of flash!!!" color="ffffff" interval="2900" alphaDelta="50"/>'; str += '<object yoffset="2.8" bonus="lazer" xoffset="170"/>'; str += '<object yoffset="4.2" bonus="health" xoffset="400"/>'; str += '<object yoffset="4.8" bonus="health" xoffset="400"/>'; str += '<object yoffset="4.7" bonus="lazer" xoffset="275"/>'; str += '<object yoffset="5" bonus="health" xoffset="275"/>'; str += '<object yoffset="5.7" bonus="shield" xoffset="400"/>'; str += '<object yoffset="5.9" bonus="health" xoffset="400"/>'; str += '<object yoffset="9.4" bonus="health" xoffset="275"/>'; str += '<object yoffset="0" object="building" linkage="base03_l"/>'; str += '<object yoffset="0" object="building" linkage="base03_r"/>'; str += '<object yoffset="0.5" object="building" linkage="base03_l"/>'; str += '<object yoffset="0.5" object="building" linkage="base03_r"/>'; str += '<object yoffset="1" xoffset="105" object="wall2" />'; str += '<object yoffset="1" xoffset="400" object="wall2" />'; str += '<object yoffset="1.2" xoffset="150" object="oiltanker1" armor="40"/>'; str += '<object yoffset="1.2" xoffset="425" object="oiltanker1" armor="40"/>'; str += '<object yoffset="1.6" object="building" linkage="base03_l"/>'; str += '<object yoffset="1.6" object="building" linkage="base01_r"/>'; str += '<object yoffset="1.7" xoffset="154" object="wall2" />'; str += '<object yoffset="1.7" xoffset="106" object="wall2" />'; str += '<object yoffset="2.5" xoffset="414" object="wall2" />'; str += '<object yoffset="2.5" xoffset="366" object="wall2" />'; str += '<object yoffset="2.7" object="building" linkage="base04_l"/>'; str += '<object yoffset="2.7" object="building" linkage="base01_r"/>'; str += '<object yoffset="5.8" xoffset="170" object="wall2" />'; str += '<object yoffset="5.8" xoffset="220" object="wall2" />'; str += '<object yoffset="3" xoffset="90" object="wall2" />'; str += '<object yoffset="3" xoffset="140" object="wall2" />'; str += '<object yoffset="3.8" object="building" linkage="base_01_l"/>'; str += '<object yoffset="3.8" object="building" linkage="base_04_r"/>'; str += '<object yoffset="3.8" xoffset="100" object="building" linkage="base02_l"/>'; str += '<object yoffset="3.8" xoffset="450" object="building" linkage="base02_r"/>'; str += '<object yoffset="4" object="building" linkage="base02_l"/>'; str += '<object yoffset="5.2" xoffset="350" object="building" linkage="base03_r"/>'; str += '<object yoffset="5.1" object="building" linkage="base04_l"/>'; str += '<object yoffset="5" xoffset="100" object="building" linkage="base02_l"/>'; str += '<object yoffset="5.4" object="building" linkage="base01_l"/>'; str += '<object yoffset="8" xoffset="480" object="junk" linkage="junk_1_2"/>'; str += '<object yoffset="8" xoffset="60" object="junk" linkage="junk_1_2"/>'; str += '<object yoffset="8" xoffset="9" object="base03_l" />'; str += '<object yoffset="8" xoffset="10" object="base03_r" />'; str += '<object yoffset="1.9" tank="abrams" xoffset="135" endFrame="10" mainObj="soldier_obj" />'; str += '<object yoffset="2.7" tank="abrams" xoffset="410" endFrame="10" mainObj="soldier_obj" />'; str += '<object yoffset="2.9" tank="abrams" xoffset="200" mainObj="hummer_obj" movedWay="1" movedWayOffset="30"/>'; str += '<object yoffset="3.5" tank="abrams" xoffset="490" endFrame="10" mainObj="soldier_obj" />'; str += '<object yoffset="3.8" tank="abrams" xoffset="40" endFrame="10" mainObj="soldier_obj" />'; str += '<object yoffset="4.2" tank="abrams" xoffset="40" endFrame="10" mainObj="soldier_obj" /> '; str += '<object yoffset="4.5" tank="abrams" xoffset="490" endFrame="10" mainObj="soldier_obj" />'; str += '<object yoffset="4.9" tank="abrams" xoffset="50" endFrame="7" mainObj="soldier_obj" />'; str += '<object yoffset="5.3" tanwk="abrams" xoffset="135" endFrame="7" mainObj="soldier_obj" />'; str += '<object yoffset="6.3" tank="abrams" xoffset="40" endFrame="7" mainObj="soldier_obj" />'; str += '<object yoffset="6.3" tank="abrams" xoffset="210" mainObj="hummer_obj" movedWay="1" movedWayOffset="30" />'; str += '<object yoffset="6.6" tank="abrams" xoffset="480" mainObj="hummer_obj" movedWay="1" movedWayOffset="30"/>'; str += '<object yoffset="7.3" tank="abrams" xoffset="40" endFrame="7" mainObj="soldier_obj" />'; str += '<object yoffset="5.4" tank="abrams" xoffset="150" endFrame="7" mainObj="soldier_obj" />'; str += '<object yoffset="5.7" tank="abrams" xoffset="140" endFrame="7" mainObj="soldier_obj" />'; str += '<object yoffset="5.5" tank="abrams" xoffset="50" endFrame="7" mainObj="soldier_obj" />'; str += '<object yoffset="4.9" tank="abrams" xoffset="50" endFrame="7" mainObj="soldier_obj" />'; str += '<object yoffset="6.6" tank="abrams" xoffset="50" endFrame="7" mainObj="soldier_obj" />'; str += '<object yoffset="6.6" tank="abrams" xoffset="140" endFrame="7" mainObj="soldier_obj" />'; str += '<object yoffset="6.9" tank="abrams" xoffset="150" endFrame="7" mainObj="soldier_obj" />'; 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 += '<object yoffset="8.7" tank="abrams" xoffset="275" mainObj="truck_obj" armor="250" base="truck1" child="m3" movedWay="1" endFrame="300" movedWayOffset="50"/>'; 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 += '</array>'; str += '</object>'; str += '<object name="level_5">'; str += '<var name="comment1" > The messege recieved: «What, are you feeling homesick for your lawnmower? Well then, go ahead and try to get it back».</var>'; str += '<var name="screenSpeed" value="3" />'; str += '<var name="playerX" value="275" />'; str += '<var name="playerY" value="100" />'; str += '<var name="playerArmor" value="150" />'; str += '<var name="maxShield" value="0" />'; str += '<var name="wiewShield" value="0" />'; str += '<var name="playerAvailableWeapons" value="7" />'; str += '<var name="playerSelectorMode" value="1" />'; str += '<object name="childs">'; str += '<object yoffset="0.9" xoffset="275" tank="robogear" armor="600"/>'; str += '<object name="m1" tank="abrams" mratio="2" mainObj="mech_gunner_obj" cannonTimeOffset="20" />'; str += '<object name="m2" tank="abrams" mainObj="mech_rocket_obj"/>'; str += '<object name="m3" tank="abrams" mratio="2" mainObj="soldier_obj"/>'; str += '<object name="m4" tank="abrams" mratio="2" rotate="180" armor="800" endFrame="4"/>'; str += '</object>'; str += '<array name="level">'; str += '<object yoffset="1" bonus="lazer" xoffset="400"/>'; str += '<object yoffset="3" bonus="health" xoffset="275"/>'; str += '<object yoffset="3.2" bonus="lazer" xoffset="275"/>'; str += '<object yoffset="4.5" bonus="health" xoffset="315"/>'; str += '<object yoffset="5.6" bonus="health" xoffset="440"/>'; str += '<object yoffset="6" bonus="lazer" xoffset="250"/>'; str += '<object yoffset="7" bonus="health" xoffset="275"/> '; str += '<object yoffset="8" bonus="health" xoffset="160"/> '; str += '<object yoffset="8.5" bonus="health" xoffset="360"/> '; str += '<object yoffset="9.1" bonus="health" xoffset="315"/>'; str += '<object yoffset="9.8" bonus="health" xoffset="350"/>'; str += '<object yoffset="10.2" bonus="health" xoffset="275"/>'; str += '<object yoffset="11" bonus="health" xoffset="275"/>'; str += '<object yoffset="11.8" bonus="health" xoffset="275"/>'; str += '<object yoffset="12.5" bonus="health" xoffset="275"/>'; str += '<object yoffset="0.7" xoffset="0" object="building" linkage="base04_l"/>'; str += '<object yoffset="1" xoffset="0" object="wall1" />'; str += '<object yoffset="1" xoffset="50" object="wall1" />'; str += '<object yoffset="1" xoffset="100" object="wall1" />'; str += '<object yoffset="1" xoffset="150" object="wall1" />'; str += '<object yoffset="1" xoffset="200" object="wall1" />'; str += '<object yoffset="1.3" xoffset="470" object="junk" linkage="junk_1_1"/>'; str += '<object yoffset="1.4" xoffset="470" object="junk" linkage="junk_1_2"/>'; str += '<object yoffset="1.5" xoffset="350" object="wall1" />'; str += '<object yoffset="1.5" xoffset="400" object="wall1" />'; str += '<object yoffset="1.5" xoffset="450" object="wall1" />'; str += '<object yoffset="1.5" xoffset="500" object="wall1" />'; str += '<object yoffset="1.6" xoffset="460" object="junk" linkage="junk_1_4"/>'; str += '<object yoffset="1.7" xoffset="470" object="junk" linkage="junk_1_1"/>'; str += '<object yoffset="1.8" xoffset="470" object="junk" linkage="junk_1_2"/>'; str += '<object yoffset="2" xoffset="0" object="wall1" />'; str += '<object yoffset="2" xoffset="50" object="wall1" />'; str += '<object yoffset="2" xoffset="100" object="wall1" />'; str += '<object yoffset="2" xoffset="150" object="wall1" />'; str += '<object yoffset="2" xoffset="200" object="wall1" />'; str += '<object yoffset="2.5" xoffset="350" object="wall1" />'; str += '<object yoffset="2.5" xoffset="400" object="wall1" />'; str += '<object yoffset="2.5" xoffset="450" object="wall1" />'; str += '<object yoffset="2.5" xoffset="500" object="wall1" />'; str += '<object yoffset="3" xoffset="0" object="wall1" />'; str += '<object yoffset="3" xoffset="50" object="wall1" />'; str += '<object yoffset="3" xoffset="100" object="wall1" />'; str += '<object yoffset="3" xoffset="450" object="wall1" />'; str += '<object yoffset="3" xoffset="500" object="wall1" />'; str += '<object yoffset="3" xoffset="550" object="wall1" />'; str += '<object yoffset="3.2" xoffset="460" object="junk" linkage="junk_1_4"/>'; str += '<object yoffset="3.3" xoffset="470" object="junk" linkage="junk_1_1"/>'; str += '<object yoffset="3.4" xoffset="470" object="junk" linkage="junk_1_2"/>'; str += '<object yoffset="3.2" xoffset="130" object="junk" linkage="junk_1_4"/>'; str += '<object yoffset="3.3" xoffset="130" object="junk" linkage="junk_1_1"/>'; str += '<object yoffset="3.4" xoffset="130" object="junk" linkage="junk_1_2"/>'; str += '<object yoffset="6.8" xoffset="0" object="wall1" />'; str += '<object yoffset="6.8" xoffset="50" object="wall1" />'; str += '<object yoffset="6.8" xoffset="100" object="wall1" />'; str += '<object yoffset="6.8" xoffset="400" object="wall1" />'; str += '<object yoffset="6.8" xoffset="450" object="wall1" />'; str += '<object yoffset="6.8" xoffset="500" object="wall1" />'; str += '<object yoffset="6.8" xoffset="550" object="wall1" /> '; str += '<object yoffset="7" xoffset="50" object="tower1" />'; str += '<object yoffset="7" xoffset="50" tank="towergun_obj" />'; str += '<object yoffset="7" xoffset="500" object="tower1" />'; str += '<object yoffset="7" xoffset="500" tank="towergun_obj" cannonTimeOffset="80" />'; str += '<object yoffset="7.4" xoffset="-50" rotate="90" object="hangar1" />'; str += '<object yoffset="7.4" xoffset="450" rotate="90" object="hangar1" />'; str += '<object yoffset="7.7" xoffset="-50" rotate="90" object="hangar1" />'; str += '<object yoffset="7.7" xoffset="450" rotate="90" object="hangar1" />'; str += '<object yoffset="8" xoffset="20" object="oiltanker1" armor="40"/>'; str += '<object yoffset="8" xoffset="530" object="oiltanker1" armor="40"/>'; str += '<object yoffset="8.3" xoffset="50" object="tower1" />'; str += '<object yoffset="8.3" xoffset="50" tank="towergun_obj" cannonTimeOffset="50" />'; str += '<object yoffset="8.3" xoffset="500" object="tower1" />'; str += '<object yoffset="8.3" xoffset="500" tank="towergun_obj" />'; str += '<object yoffset="8.7" xoffset="-50" rotate="90" object="hangar1" />'; str += '<object yoffset="8.7" xoffset="450" rotate="90" object="hangar1" />'; str += '<object yoffset="8.9" xoffset="-50" rotate="90" object="hangar1" />'; str += '<object yoffset="8.9" xoffset="450" rotate="90" object="hangar1" />'; str += '<object yoffset="9.4" xoffset="0" object="wall1" />'; str += '<object yoffset="9.4" xoffset="50" object="wall1" />'; str += '<object yoffset="9.4" xoffset="100" object="wall1" /> '; str += '<object yoffset="9.4" xoffset="400" object="wall1" />'; str += '<object yoffset="9.4" xoffset="450" object="wall1" />'; str += '<object yoffset="9.4" xoffset="500" object="wall1" />'; str += '<object yoffset="9.3" object="building" linkage="base03_l"/>'; str += '<object yoffset="9.3" object="building" linkage="base04_r"/>'; str += '<object yoffset="1" tank="abrams" xoffset="430" mainObj="hummer_obj" movedWay="1" movedWayOffset="50"/>'; str += '<object yoffset="1.4" tank="abrams" xoffset="300" mainObj="hummer_obj" movedWay="1" movedWayOffset="30"/>'; str += '<object yoffset="1.5" tank="abrams" xoffset="20" endFrame= "20" mainObj="soldier_obj" />'; str += '<object yoffset="1.9" tank="abrams" xoffset="40" endFrame= "20" mainObj="soldier_obj" />'; str += '<object yoffset="2" tank="abrams" xoffset="50" endFrame="20" mainObj="soldier_obj" /> '; str += '<object yoffset="2.3" tank="abrams" xoffset="550" rotate="180" mainObj="hummer_obj" endFrame="500" />'; str += '<object yoffset="2.5" tank="abrams" xoffset="40" endFrame="20" mainObj="soldier_obj" />'; str += '<object yoffset="2.7" tank="abrams" xoffset="40" endFrame="20" mainObj="soldier_obj" />'; str += '<object yoffset="2.9" tank="abrams" xoffset="550" rotate="180" mainObj="hummer_obj" endFrame="500" />'; str += '<object yoffset="4.2" tank="abrams" xoffset="550" mainObj="buggy_obj" base="truck1" way="player" speed="5" endFrame="100" />'; str += '<object yoffset="4.5" tank="abrams" xoffset="0" mainObj="buggy_obj" base="truck1" way="player" speed="5" endFrame="100" />'; str += '<object yoffset="4.7" tank="abrams" xoffset="500" mainObj="buggy_obj" base="truck1" way="player" speed="5" endFrame="100" />'; str += '<object yoffset="4.9" tank="abrams" xoffset="0" mainObj="buggy_obj" base="truck1" way="player" speed="5" endFrame="100" />'; str += '<object yoffset="5.1" tank="abrams" xoffset="550" mainObj="buggy_obj" base="truck1" way="player" speed="5" endFrame="100" />'; str += '<object yoffset="5" xoffset="50" tank="abrams" mainObj="hummer_obj" endFrame="220" />'; str += '<object yoffset="5" tank="abrams" xoffset="500" mainObj="hummer_obj" endFrame="220"/>'; str += '<object yoffset="5.2" xoffset="150" tank="abrams" mainObj="hummer_obj" endFrame="220" />'; str += '<object yoffset="5.2" xoffset="400" tank="abrams" mainObj="hummer_obj" endFrame="220" />'; str += '<object yoffset="6" xoffset="200" tank="abrams" mainObj="hummer_obj" endFrame="220" />'; str += '<object yoffset="6" xoffset="350" tank="abrams" mainObj="hummer_obj" endFrame="220" />'; str += '<object yoffset="6.8" xoffset="150" tank="abrams" mainObj="hummer_obj" endFrame="220" />'; str += '<object yoffset="6.8" xoffset="400" tank="abrams" mainObj="hummer_obj" endFrame="220" />'; str += '<object yoffset="7.6" xoffset="200" tank="abrams" mainObj="hummer_obj" endFrame="220" />'; str += '<object yoffset="7.6" xoffset="350" tank="abrams" mainObj="hummer_obj" endFrame="220" />'; str += '<object yoffset="8" mratio="3" tank="abrams" xoffset="275" mainObj="mech_gunner_obj" movedWay="1" movedWayOffset="40" />'; str += '<object yoffset="9" tank="abrams" mratio="4" xoffset="80" way="line_way" movedWay="1" movedWayOffset="20" rotate="90" mainObj="heli1_obj" />'; str += '<object yoffset="9" tank="abrams" mratio="4" xoffset="460" way="line_way" movedWay="1" movedWayOffset="20" rotate="90" mainObj="heli1_obj" />'; 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 += '</array>'; str += '</object>'; str += '<object name="level_6">'; str += '<var name="comment1" > The messege recieved: «You know, before biting your head off, I would like to share a little something with you. A crazy thing – 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?!»</var>'; str += '<var name="screenSpeed" value="4" />'; str += '<var name="playerX" value="275" />'; str += '<var name="playerY" value="100" />'; str += '<var name="playerArmor" value="100" />'; str += '<var name="wiewShield" value="1" />'; str += '<var name="playerAvailableWeapons" value="7" />'; str += '<var name="playerSelectorMode" value="2" />'; str += '<object name="childs">'; str += '<object name="m1" tank="abrams" mainObj="mech_gunner_obj"/>'; str += '<object name="m2" tank="abrams" mainObj="mech_rocket_obj" mratio="2" movedWay="1" movedWayOffset="5" />'; str += '<object name="m3" tank="abrams" mratio="2" mainObj="soldier_obj"/>'; str += '<object name="m4" tank="abrams" mainObj="mech_boss_obj"/>'; str += '<object name="m5" tank="abrams" mainObj="exploder"/>'; str += '</object>'; str += '<array name="level">'; str += '<!-- тест оружия by Denis -->'; str += '<object yoffset="0.6" bonus="1updater" xoffset="300"/>'; str += '<object yoffset="0.7" bonus="1updater" xoffset="300"/>'; str += '<object yoffset="2.2" bonus="rocket" xoffset="250"/>'; str += '<object yoffset="2.3" bonus="rocket" xoffset="250"/>'; str += '<object yoffset="2.4" bonus="rocket" xoffset="250"/>'; str += '<object yoffset="1" bonus="lazer" xoffset="290"/>'; str += '<object yoffset="1.1" bonus="lazer" xoffset="290"/>'; str += '<object yoffset="1.2" bonus="lazer" xoffset="290"/>'; str += '<!-- конец теста оружия by Denis -->'; str += '<object yoffset="1.3" bonus="shield" xoffset="300"/>'; str += '<object yoffset="4.7" bonus="health" xoffset="240"/>'; str += '<object yoffset="5" bonus="health" xoffset="250"/>'; str += '<object yoffset="7.9" bonus="rocket" xoffset="370"/>'; str += '<object yoffset="7.8" bonus="lazer" xoffset="270"/>'; str += '<object yoffset="7.5" bonus="health" xoffset="270"/>'; str += '<object yoffset="9.1" bonus="health" xoffset="275"/>'; str += '<object yoffset="9.7" bonus="1updater" xoffset="230"/>'; str += '<object yoffset="10" bonus="health" xoffset="275"/>'; str += '<object yoffset="10.5" bonus="health" xoffset="275"/>'; str += '<object yoffset="11" bonus="lazer" xoffset="290"/>'; str += '<object yoffset="11.5" bonus="shield" xoffset="275"/> '; str += '<object yoffset="12" bonus="health" xoffset="275"/>'; str += '<object yoffset="12.8" bonus="health" xoffset="275"/>'; str += '<object yoffset="1" object="building" linkage="base03_l"/>'; str += '<object yoffset="1" yoffset="580" object="building" linkage="base03_r"/>'; str += '<object yoffset="1.5" object="building" linkage="base03_l"/>'; str += '<object yoffset="1.5" object="building" linkage="base03_r"/>'; str += '<object yoffset="2.6" object="building" linkage="base03_l"/>'; str += '<object yoffset="2.6" object="building" linkage="base01_r"/>'; str += '<object yoffset="3.6" xoffset="110" object="junk" linkage="junk_1_1"/>'; str += '<object yoffset="3.7" object="building" linkage="base04_l"/>'; str += '<object yoffset="3.7" object="building" linkage="base01_r"/>'; str += '<object yoffset="6.4" object="building" linkage="base02_l"/>'; str += '<object yoffset="6.4" object="building" linkage="base02_r"/>'; str += '<object yoffset="7.9" xoffset="230" object="wall2" />'; str += '<object yoffset="7.9" xoffset="270" object="wall2" />'; str += '<object yoffset="8.4" xoffset="150" object="oiltanker1" armor="40"/>'; str += '<object yoffset="8.4" xoffset="425" object="oiltanker1" armor="40"/>'; str += '<object yoffset="7" xoffset="-50" object="building" linkage="base03_l"/>'; str += '<object yoffset="7.6" xoffset="50" object="building" linkage="base03_r"/>'; str += '<object yoffset="9.4" object="building" linkage="base02_l"/>'; str += '<object yoffset="9.4" object="building" linkage="base02_r"/>'; str += '<object yoffset="13.5" object="building" linkage="base01_l"/>'; str += '<object yoffset="13.5" object="building" linkage="base04_r"/>'; 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 += '<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 += '<object yoffset="2.3" tank="abrams" xoffset="50" endFrame="300" mainObj="soldier_obj" />'; str += '<object yoffset="2.5" tank="abrams" xoffset="530" endFrame="7" mainObj="soldier_obj" />'; str += '<object yoffset="3" tank="abrams" xoffset="500" endFrame="10" mainObj="soldier_obj" />'; str += '<object yoffset="3.6" tank="abrams" xoffset="50" endFrame="10" mainObj="soldier_obj" />'; str += '<object yoffset="3.6" tank="abrams" xoffset="500" endFrame="10" mainObj="soldier_obj" />'; str += '<object yoffset="4.1" tank="abrams" xoffset="40" mainObj="soldier_obj" endFrame="7" />'; str += '<object yoffset="5.2" xoffset="150" tank="abrams" mainObj="hummer_obj" endFrame="220" mratio="4" movedWay="1" movedWayOffset="35" />'; str += '<object yoffset="5.2" xoffset="420" tank="abrams" mainObj="hummer_obj" endFrame="220" mratio="4" movedWay="1" movedWayOffset="35" />'; str += '<object yoffset="4.5" tank="abrams" xoffset="500" endFrame="10" mainObj="soldier_obj" />'; str += '<object yoffset="4.8" tank="abrams" xoffset="40" mainObj="soldier_obj" endFrame="7"/>'; str += '<object yoffset="5.2" tank="abrams" xoffset="50" endFrame="7" mainObj="soldier_obj" />'; str += '<object yoffset="6.3" xoffset="350" tank="abrams" mainObj="hummer_obj" endFrame="220" mratio="4" movedWay="1" movedWayOffset="35"/>'; str += '<object yoffset="6.3" xoffset="200" tank="abrams" mainObj="hummer_obj" endFrame="220" mratio="4" movedWay="1" movedWayOffset="35"/>'; str += '<object yoffset="5.6" tank="abrams" xoffset="500" endFrame="10" mainObj="soldier_obj" />'; str += '<object yoffset="5.8" tank="abrams" xoffset="50" endFrame="10" mainObj="soldier_obj" />'; str += '<object yoffset="6.2" tank="abrams" mainObj="buggy_obj" xoffset="550" rotate="180" mratio="5"/>'; str += '<object yoffset="6.3" tank="abrams" mainObj="buggy_obj" xoffset="-50" rotate="0" mratio="5"/> '; str += '<object yoffset="7.1" tank="abrams" xoffset="40" endFrame="10" mainObj="soldier_obj" />'; str += '<object yoffset="7.1" tank="abrams" xoffset="510" endFrame="10" mainObj="soldier_obj" />'; str += '<object yoffset="7.4" tank="abrams" mratio="3" xoffset="150" way="line_way" movedWay="1" movedWayOffset="50" rotate="90" mainObj="heli1_obj" />'; str += '<object yoffset="7.7" tank="abrams" mratio="3" xoffset="450" way="line_way" movedWay="1" movedWayOffset="50" rotate="90" mainObj="heli1_obj" />'; str += '<object yoffset="7.9" tank="abrams" xoffset="50" endFrame="10" mainObj="soldier_obj" />'; str += '<object yoffset="7.9" tank="abrams" xoffset="500" endFrame="10" mainObj="soldier_obj" />'; str += '<object yoffset="8.2" xoffset="275" object="tower1" />'; str += '<object yoffset="8.2" xoffset="275" tank="towergun_obj" cannonTimeOffset="50" />'; str += '<object yoffset="9.3" tank="abrams" xoffset="150" endFrame="400" mainObj="mech_gunner_obj" movedWay="1" movedWayOffset="45"/>'; str += '<object yoffset="9.9" tank="abrams" xoffset="400" endFrame="300" mainObj="mech_gunner_obj" movedWay="1" movedWayOffset="45"/>'; str += '<object yoffset="10.1" tank="abrams" xoffset="40" endFrame="10" mainObj="soldier_obj" />'; str += '<object yoffset="10.1" tank="abrams" xoffset="510" endFrame="10" mainObj="soldier_obj" />'; str += '<object yoffset="10.9" tank="abrams" xoffset="50" endFrame="10" mainObj="soldier_obj" />'; str += '<object yoffset="10.9" tank="abrams" xoffset="500" endFrame="10" mainObj="soldier_obj" />'; str += '<object yoffset="11" tank="abrams" xoffset="60" endFrame="10" mainObj="soldier_obj" />'; str += '<object yoffset="11" tank="abrams" xoffset="510" endFrame="10" mainObj="soldier_obj" />'; str += '<object yoffset="11.3" tank="abrams" xoffset="50" endFrame="10" mainObj="soldier_obj" />'; str += '<object yoffset="11.3" tank="abrams" xoffset="500" endFrame="10" mainObj="soldier_obj" />'; str += '<object yoffset="11.4" tank="abrams" xoffset="40" endFrame="10" mainObj="soldier_obj" />'; str += '<object yoffset="11.4" tank="abrams" xoffset="490" endFrame="10" mainObj="soldier_obj" />'; 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 += '<object yoffset="13.2" armor="550" mratio="14" tank="abrams" rotate="180" xoffset="630" mainObj="hummer_obj" endFrame="700" base="truck3" />'; str += '<object yoffset="13.2" tank="abrams" xoffset="100" movedWay="1" movedWayOffset="50" mainObj="heli2_obj" endFrame="300" />'; str += '<object yoffset="13.4" tank="abrams" xoffset="450" movedWay="1" movedWayOffset="50" mainObj="heli2_obj" endFrame="300" />'; str += '<object yoffset="13.5" command="slideConstant" factor="0.98" limit="0"/>'; str += '</array>'; str += '</object>'; str += '<object name="level_7">'; str += '<var name="comment1" > The messege recieved: «So 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 += ' 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?»</var>'; str += '<var name="screenSpeed" value="5" />'; str += '<var name="playerX" value="275" />'; str += '<var name="playerY" value="100" />'; str += '<var name="playerArmor" value="100" />'; str += '<var name="wiewShield" value="1" />'; str += '<var name="playerAvailableWeapons" value="7" />'; str += '<var name="playerSelectorMode" value="2" />'; str += '<object name="childs">'; str += '<object name="m1" tank="abrams" mainObj="mech_gunner_obj"/>'; str += '<object name="m2" tank="abrams" mainObj="mech_rocket_obj"/>'; str += '<object name="m3" tank="abrams" mratio="2" mainObj="soldier_obj"/>'; str += '<object name="m4" tank="abrams" mratio="2" rotate="180" armor="800" endFrame="4"/>'; str += '</object>'; str += '<array name="level">'; str += '<object yoffset="1" bonus="1updater" xoffset="275"/>'; str += '<object yoffset="1.1" bonus="1updater" xoffset="265"/>'; str += '<object yoffset="1.3" bonus="rocket" xoffset="275"/>'; str += '<object yoffset="1.4" bonus="rocket" xoffset="265"/>'; str += '<object yoffset="1.6" bonus="lazer" xoffset="275"/>'; str += '<object yoffset="1.7" bonus="lazer" xoffset="265"/>'; str += '<object yoffset="3.6" bonus="shield" xoffset="430"/>'; str += '<object yoffset="4.7" bonus="health" xoffset="410"/>'; str += '<object yoffset="5" bonus="health" xoffset="190"/>'; str += '<object yoffset="7.8" bonus="health" xoffset="270"/>'; str += '<object yoffset="8.5" bonus="health" xoffset="310"/>'; str += '<object yoffset="9.3" bonus="health" xoffset="190"/>'; str += '<object yoffset="10.1" bonus="health" xoffset="300"/>'; str += '<object yoffset="10.9" bonus="health" xoffset="280"/>'; str += '<object yoffset="11.5" bonus="shield" xoffset="275"/> '; str += '<object yoffset="12.3" bonus="health" xoffset="160"/> '; str += '<object yoffset="12.8" bonus="health" xoffset="360"/> '; str += '<object yoffset="13.2" bonus="health" xoffset="300"/>'; str += '<object yoffset="14" bonus="health" xoffset="350"/>'; 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 += '<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 += '<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 += '<object yoffset="1.5" tank="abrams" xoffset="50" mainObj="truck_obj" base="truck2" way="player" speed="6"/>'; str += '<object yoffset="2" tank="abrams" xoffset="430" mainObj="truck_obj" base="truck2" way="player" speed="6"/>'; str += '<object yoffset="2" tank="abrams" xoffset="160" endFrame="4" mainObj="hummer_obj" rotatedByWay="1"/>'; str += '<object yoffset="2.7" tank="abrams" xoffset="400" endFrame="400" mainObj="mech_gunner_obj" movedWay="1" movedWayOffset="45"/>'; str += '<object yoffset="3" tank="abrams" xoffset="150" endFrame="400" mainObj="mech_gunner_obj" movedWay="1" movedWayOffset="45"/>'; str += '<object yoffset="9.9" xoffset="-50" tank="abrams" rotate="45" mainObj="hummer_obj" mratio="8" endFrame="500" /> '; str += '<object yoffset="10.2" xoffset="550" tank="abrams" rotate="135" mainObj="hummer_obj" mratio="8" endFrame="450" />'; str += '<object yoffset="11.9" tank="abrams" xoffset="175" mratio="3" mainObj="mech_gunner_obj" />'; str += '<object yoffset="13" tank="abrams" xoffset="400" endFrame="500" mainObj="mech_gunner_obj" movedWay="1" movedWayOffset="45"/>'; 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 += '<object yoffset="17.5" command="slideConstant" factor="0.98" limit="0"/>'; str += '<object yoffset="17" command="textBar2" text="Nice to meet you. And good night..." color="ffffff" interval="4700" alphaDelta="50" />'; str += '<object yoffset="1" xoffset="2" object="building" linkage="base01_r" />'; str += '<object yoffset="1" xoffset="-7" object="building" linkage="base01_l" />'; str += '<object yoffset="3.3" xoffset="3" object="building" linkage="base03_r" />'; str += '<object yoffset="3.3" xoffset="-6" object="building" linkage="base03_l" />'; str += '<object yoffset="4.6" xoffset="-7" object="building" linkage="base04_l" />'; str += '<object yoffset="5" xoffset="3" object="building" linkage="base03_2" />'; str += '<object yoffset="7.8" xoffset="519" object="junk" linkage="junk_1_3" />'; str += '<object yoffset="7.8" xoffset="145" object="junk" linkage="junk_1_3" />'; str += '<object yoffset="7.8" xoffset="62" object="junk" linkage="junk_1_1" />'; str += '<object yoffset="7.9" xoffset="541" object="junk" linkage="junk_1_3" />'; str += '<object yoffset="7.9" xoffset="455" object="junk" linkage="junk_1_3" />'; str += '<object yoffset="8" xoffset="51" object="junk" linkage="junk_1_2" />'; str += '<object yoffset="8" xoffset="66" object="junk" linkage="junk_1_2" />'; str += '<object yoffset="8.1" xoffset="478" object="junk" linkage="junk_1_1" />'; str += '<object yoffset="8.4" xoffset="410" object="oiltanker1" />'; str += '<object yoffset="8.4" xoffset="531" object="oiltanker1" />'; str += '<object yoffset="8.4" xoffset="61" object="oiltanker1" />'; str += '<object yoffset="8.4" xoffset="181" object="oiltanker1" />'; str += '<object yoffset="8.7" xoffset="411" object="oiltanker1" />'; str += '<object yoffset="8.7" xoffset="530" object="oiltanker1" />'; str += '<object yoffset="8.7" xoffset="61" object="oiltanker1" />'; str += '<object yoffset="8.7" xoffset="180" object="oiltanker1" />'; str += '<object yoffset="8.9" xoffset="498" object="wall1" />'; str += '<object yoffset="8.9" xoffset="387" object="wall1" />'; str += '<object yoffset="8.9" xoffset="485" object="wall1" />'; str += '<object yoffset="8.9" xoffset="337" object="wall1" />'; str += '<object yoffset="8.9" xoffset="436" object="wall1" />'; str += '<object yoffset="8.9" xoffset="158" object="wall1" />'; str += '<object yoffset="8.9" xoffset="47" object="wall1" />'; str += '<object yoffset="8.9" xoffset="145" object="wall1" />'; str += '<object yoffset="8.9" xoffset="-3" object="wall1" />'; str += '<object yoffset="8.9" xoffset="96" object="wall1" />'; str += '<object yoffset="10" xoffset="430" object="oiltanker1" />'; str += '<object yoffset="10" xoffset="142" object="oiltanker1" />'; str += '<object yoffset="10.5" xoffset="142" object="oiltanker1" />'; str += '<object yoffset="10.5" xoffset="430" object="oiltanker1" />'; str += '<object yoffset="11.8" xoffset="10" object="building" linkage="base03_r" />'; str += '<object yoffset="11.8" xoffset="0" object="building" linkage="base03_l" />'; str += '</array>'; str += '</object>'; str += '</object>'; str += '</settings>'; debug('Loading main settings XML file...'); createXML(); } frame 7 { stop(); _global.levelNum = 0; } button 1137 { on (release, keyPress '<Space>') { _root.noNewGame = false; _global.sound.play('menu'); _root.gotoAndStop('help'); } } button 1142 { on (release) { _root.noNewGame = true; _global.sound.play('menu'); _root.gotoAndStop('help'); } } button 1147 { on (press) { _global.sound.play('menu'); openSite(); } } movieClip 1148 { } button 1150 { on (press) { this._parent.soundOff(); this.gotoAndStop(2); } } button 1152 { on (press) { this._parent.soundOn(); this.gotoAndStop(1); } } movieClip 1153 { frame 1 { this.stop(); _root.soundStarter.gotoAndPlay('start'); sound.enable = true; } frame 2 { this.stop(); _root.soundStarter.gotoAndPlay('stop'); sound.enable = false; } } instance btn_sound of movieClip 1153 { onClipEvent (load) { if (!sound.enable) { gotoAndStop(2); } } } movieClip 1155 { frame 1 { _visible = false; } frame 3 { if (!sound.enable) { gotoAndStop(1); } } frame 7 { gotoAndStop(1); } frame 12 { gotoAndStop(1); } } frame 8 { stop(); } button 1162 { on (release, keyPress '<Space>') { _global.sound.play('menu'); _root.gotoAndStop('game'); } } button 1167 { on (release) { _global.sound.play('menu'); gotoAndStop('menu'); } } frame 9 { prebreefFunc(); } // unknown tag 88 length 69 button 1174 { 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'); } } } } movieClip 1175 { frame 1 { stop(); _global.selectedPlane = 'playerMan'; } frame 2 { stop(); _global.selectedPlane = 'playerMech'; } } movieClip 1176 { frame 1 { _x = 0; _y = 0; } } frame 10 { stop(); if (_global.levels['level_' + levelNum] != undefined) { _global.allowToStart = true; globalStart(); } } movieClip 1178 { } movieClip 1179 { } movieClip 1182 { } movieClip 1188 { frame 1 { stop(); } } movieClip 1191 { } movieClip 1192 { } movieClip 1197 { frame 1 { stop(); } } movieClip 1201 { frame 1 { stop(); } } movieClip 1204 { } movieClip 1205 { frame 54 { stop(); } } movieClip 1209 { frame 1 { stop(); } } movieClip 1213 { frame 1 { stop(); } } movieClip 1214 { frame 54 { stop(); } } movieClip 1218 { frame 1 { stop(); } } movieClip 1222 { frame 1 { stop(); } } movieClip 1223 { frame 54 { stop(); } } movieClip 1225 { frame 1 { stop(); } } movieClip 1228 { frame 1 { stop(); } } movieClip 1229 { frame 54 { stop(); } } movieClip 1230 { frame 1 { stop(); } instance ico2 of movieClip 1205 { 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 ico3 of movieClip 1214 { 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 ico1 of movieClip 1223 { 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 ico1 of movieClip 1229 { 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); } } } } movieClip 1232 { frame 1 { stop(); } } movieClip 1235 { } movieClip 1236 { } movieClip 1237 { } movieClip 1240 { } movieClip 1241 { } button 1242 { on (release) { _global.sound.play('menu'); keyGetter.onKeyDown(true); } } button 1243 { on (release) { stopAllEngines(); _root.gotoAndStop('menu'); _global.sound.play('menu'); } } movieClip 1246 { frame 1 { _x = 0; _y = 0; ttz = _global.envS['textZ_' + language_pre]; title.text = ttz.gamePausedTitle; tf.htmlText = ttz.gamePausedString; } } button 1251 { on (release) { _global.sound.play('menu'); if (_global.levels['level_' + (levelNum + 1)] != undefined) { _root.gotoAndStop('game'); } else { if (!flag) { _root.endGameOutput(); } else { gotoAndStop(2); } } } } movieClip 1253 { frame 1 { stop(); } } button 1258 { on (release) { openSite(); _root.gotoAndStop('menu'); } } movieClip 1260 { frame 1 { _x = 0; _y = 0; stop(); } } movieClip 1263 { } movieClip 1265 { }




https://swfchan.com/53/262764/info.shtml
Created: 14/2 -2026 01:44:40 Last modified: 14/2 -2026 01:44:40 Server time: 15/02 -2026 02:04:24