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

swfchan turned sixteen years old yesterday! (5may2024)

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/97199398?noj=FRM97199398-6DC" width="1" height="1"></div>

Eridani.swf

This is the info page for
Flash #143853

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


Text
??

Power:

??

Ships:

??

Resources:

??

Team:

??

Tech Level:

Eridani is loading...

Continue Campaign

Continue Campaign

Continue Campaign

Sounds

Eridani

Ben Olding Games

REPAIR

Music

Command Centre

Paused

Press P to continue

Sound FX

Music

Quality

Explosion Detail

Sound

Performance

Building...

11

2

Tech

3

4

5

FIRE

Pause

Help

Controls

Quit

Skip

Sell

Ships

Build

Upgrade

<

Destroy

Deselect

?

Yes

No

Are you sure you want to do this?

Enemy Data

??

??

Ships:

Tech Level:

??

Resources:

??

Power:

Move your mouse to a vacant area on the planets surface and click to place the building.
To cancel, press SPACE

Click on the minimap or use arrow keys to scroll to an enemy planet and then click on the
building you wish to fire your IP missle at. If your missle hits a planet before your target,
you may need to build a new silo facing in another direction, or choose a different target
for the next missle. Press SPACE to cancel.

Click on the minimap or use arrow keys to scroll to a planet other than your own, and then
click on it to fire the planet destroyer. If your missle hits a planet before your target, you
will destroy that planet instead, so be careful! Press SPACE to cancel.

??

??

??

<p align="center"></p><p align="center"></p><p align="center"></p><p align="center"></p>

<p align="left"></p>

??

Low  Power

Low  Power

Battle Time:

0:00:00

Victory

Defeat

Select your mobile construction ship by clicking on it or
clicking and dragging a rectangle over it.

OK

OK

How to play

Scroll the screen by using the arrow keys or click on the
mini-map (top right). Find the planet nearest to your mobile
construction ship and click somewhere near it to order the
ship to fly there.

As the ship approaches the planet, make sure it is selected,
then click the 'Deploy Command Centre' button, it will then
approach the nearest planet and build a construction centre
on it. The construction centre will act as your main HQ in the
game.

Now that your command center is built, it might be a good
idea to build a laser turret near it, to defend it against
attackers. To do this, click the command centre, then click
'Build', then click on the 'Laser Turret' icon.

Use the mouse to find a space on the planets surface to
place your laser turret. When you have found a suitable
location, click the mouse to start the building process.

In order to keep building, create ships and upgrades you will
need resources. Your command centre will slowly mine
resources by itself, but to speed up the process you will
need 1 or more resource mines. To build one, click on the
command centre, click 'Build', then click 'Resource Mine'.
Resource mines will mine resources directly from the planet,
and you can also use them to create mining drones that will
harvest resources from nearby asteroids.

You are currently low on power. Your power is displayed
near the top of the screen, if it is 0 or lower, you will not be
able to build ships or upgrades. To fix this, click your
command centre and build a power station. Each building
(except power stations and command centres) will take 1
power, the more power you have, the faster you will be able
to build ships and upgrades.

Now that you have some power, it might be a good idea to
create some mining drones to gather resources from
asteroids, this is usually the fastest way to gain resources,
but sometimes it might be quicker just to build more
resource mines. This all depends on how far away the
asteroids are and how many of them there are. To build a
mining drone, click the resource mine, then click 'Ships',
then click 'Mining Drone'.

When you have gained some resources, its time to start
building your fleet. Click the command centre, then click
ships and click 'Attack Drone' as many times as your
resources will allow. Bear in mind that you are limited to 20
ships at any one time including mining ships.

When you have a few ships, select them by clicking dragging
a box over them (or press 'a' to select all combat ships),
then search the map and destroy all enemy ships to
complete this mission.

The enemy now has a command centre of its own and will
use it to create ships and attack you. If your buildings get
damaged, you can build some repair drones which will
automatically repair nearby buildings and ships. Destroy all
enemy buildings to win.

Destroying the enemies command centre can be quite tricky
as it can keep producing ships during the battle. So try
destroying the enemy's power stations first. That will slow
down or stop the enemies production of units making it
harder for them to defend. Destroying mining drones can
also help.

New Building: Research Centre
The research centre allows you to
upgrade certain things e.g. weapons
and also allows you to upgrade to tech
level 2 which will unlock new ships,
buildings and further upgrades. Build
one and use it to give your side an
edge in this battle.

Also when you upgrade to tech level 2, you will unlock the
Mobile Construction Ship, which will allow you to build a
second base on another planet (if there is one free)

Battle Centre - Allows you to build
more advanced ships, torpedo defence
turrets and (later on) interplanetary
missle silos.
Long Range Scanner - Will show all
enemy ships on you minimap allowing
you to keep track more easily of when
they are attacking etc.

Now that you have upgraded to tech level 2 you can now
build 2 new buildings:

Unlocked Building:
Interplanetary Missle Silo
Build this building from the battle centre, to allow you to
build and fire large missles from your planet at enemy
buildings.
Fire several to do a large amount of damage.
More powerful IP missles will be unlocked later in the game.

Unlocked: Tech Level 3
Which includes new ships: Artillery
Ships, Stealth Fighters (and Mine
Layers later in the game) also Level 2
IP Missles, and some more upgrades.

Unlocked: Mine Layer (Tech Level 3)
Build this ship to drop a cluster of
highly explosive mines which can do
large amounts of damage to even the
toughest ships.

Unlocked: Tech Level 4
Which includes new ships: Rapid Attack
Ships, Impact Blasters and Level 3 IP
Missles

To assist you when controlling your fleet there are some
helpful shortcuts you can use...
Pressing a will select all the combat ships in your fleet
Pressing m will select all the mining drones (for if you need
to move them away from an attack, or you want them to
mine somewhere specific)
Select some ships, then press Ctrl + # (a number from 1-0
at the top of your keyboard). This will group those units
allowing you to quickly access them by pressing the number
you chose.
Holding down shift and then clicking on one of your units will
select all the units of that type e.g. all artillery ships.

Unlocked: Tech Level 5
Which includes the new ship: Orbital Devastator and the
Planet Destroyer IP Missle (on the next level)

Destroy all enemy buildings to conquer the sector
Keyboard Shortcuts
Pressing a will select all the combat ships in your fleet
Pressing m will select all the mining drones (for if you need
to move them away from an attack, or you want them to
mine somewhere specific)
Select some ships, then press Ctrl + # (a number from 1-0
at the top of your keyboard). This will group those units
allowing you to quickly access them by pressing the
number you chose.
Holding down shift and then clicking on one of your units
will select all the units of that type e.g. all artillery ships.

Objective

Use the mouse to click and drag a selection box over ships,
and click to give them orders where to attack/move/repair.
Click on buildings to select them.
Use arrow keys or click on the minimap to scroll around the
game.
Keyboard Shortcuts
a - select all the combat ships in your fleet
m - select all the mining drones
Ctrl + (1 - 9) - group units
Shift + click - select all the units of that type

Controls

Click on a sector which you
would like to attempt to
conquer next.
Each sector will unlock a
different upgrade and
different sectors may prove
easier or harder depending
on the layout of the planets
and the asteroids available.
You cannot attack the central
sector (sector 0) until you
have conquered all the others
first.

Choose which sector to attack....

<p align="left"><font face="Verdana" size="12" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>Move the mouse over a sector to view information about it</b></font></p>

In the year 3012 a giant meteorite was deflected away from planet earth by ballistic
torpedos fired from the planets surface. The people of Earth had escaped extinction.
However, this solution proved to only be temporary. The gravity from the meteorite had
disturbed the planet's orbit and Earth was now gradually spiralling in towards the sun. It
was estimated that it would only be around 30 years before the planet was too hot to
sustain life.
After searching for ways to save earth for a few years, it was decided that global
evacuation was the only realistic course of action. Scientists developed new telescope
technology that allowed them to search the universe for a suitable new home.
After yet more years, time seemed to be running out, the temperature of Earth had
increased and sea levels had risen putting much of the planets land underwater. But then
finally, a possible new home had been found.
Near the star Epsilon Eridani, a planet was spotted which, not only had water and similar
atmospheric properties, but also seemed to look like earth. The land masses seemed
remarkably similar. The planet, from then on, was known as "New Earth".
Despite this strange coincidence, the planet remained as the best hope for humanity. So
humanity left Earth and headed for their new home.
As they approached, it became clear that New Earth, not only resembled Earth, but was
exactly the same, and there was someone living there...

Press Space to Continue

After many years of battling, your human race was finally able to capture New Earth
without destroying it
Controlling the galaxy became easy as all the other humanlike races gradually ran out of
resources. Some fled into space looking for other locations suitable to live. Others decided
to make peace with your kind and became dependant on you supplying them with
resources.
Over ther the years that followed it became apparent that there were other planets in the
universe that also mirrored earth, some were inhabited, but some were not, meaning that
there were more permanent, sustainable homes for the other human races. Gradually, one
by one, they left the planets surrounding New Earth.
Scientists have not managed to explain the existence of these other Earthlike planets on
the other human races. Some say it is to do with the overlapping of dimensions, others
claim it shows that the big bang had more of an order, more purpose to it than had
previously been thought. These theories, however, so far are just speculation. The
research continues.

Game
Over

<p align="center"><font face="Verdana" size="12" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>Eridani is currently exclusively being hosted by Yo! Arcade and is not yet <sbr />authorised for use on this website.</b></font></p><p align="center"></p><p align="center"><font face="Verdana" size="12" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>A distributable version will be released sometime in September 2009 and will <sbr />be available to download for use on your site from </b><font color="#ffff00"><a href="http://flashgamedistribution.com/profile/DJStatika"><b>here</b></a></font></font></p><p align="center"></p><p align="center"><font face="Verdana" size="12" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>If you wish to play Eridani, then please click the logo below</b></font></p>

Setup your Skirmish Game

Sector:

Colour:

Your Team

Max Tech Level:

Start Money:

Start Tech Level:

General Settings

Background Colour:

Enemy Team

Planet Destroyers:

<p align="left"><font face="Verdana" size="12" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>In skirmish mode you can <sbr />have a quick battle with <sbr />starting settings of your <sbr />choosing.</b></font></p>

Options

Ship Limit

Note: Increasing the ship limit is likely to slow the game down, please only do
this if your computer can handle it!

Credits

Design and Development

Game Graphics

Bogdan - Flash Game Art

Music

Future Motions

Support and Sales Assistance

Testing

Caesar, DidizZz, Connect, Nexam,
Darth_Sirov, Wurmish, Aether, grainsalt,
alexiastra, amoignem, ¿¦ÆŤâ•, Fruktfisk,
Evil-ish, Daniel Imber, Daikun, M5000, Teh
Werd, SwiftHawk, SilVer, The dark curse,
Confuzzledmaniac, nisroc, Moo12321,
blood18, Orb370, Copeland, IRevo, R_J_H,
amilir

ActionScript [AS1/AS2]

Frame 1
Level = 1; arrTutorial = []; _root.maxtech = 1; sk_sfx = true; sk_music = true; sk_quality = "MEDIUM"; sk_fragments = true; sk_shiplimit = 20; function CreateNebula(colour, seed) { bg.createEmptyMovieClip("a", 1); bg.createEmptyMovieClip("b", 2); var _local3 = new flash.display.BitmapData(640, 550, false, colour); var _local1 = new flash.display.BitmapData(640, 550, true, 13421772); var _local2 = 5; _local1.perlinNoise(250, 250, 18, seed, false, false, _local2, true, null); bg.a.attachBitmap(_local3, 2); bg.b.attachBitmap(_local1, 3); bg.b.blendMode = "multiply"; } function preload() { if ((_url.toLowerCase().indexOf("andkon.com") < 0) && (_url.toLowerCase().indexOf("file://") < 0)) { txtLoaded.text = "Not Authorised"; } else { loaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (bloaded >= 100) { play(); } else { if (bloaded < loaded) { bloaded++; } txtLoaded.text = bloaded + "%"; setTimeout(preload, 100); } } } stop(); Stage.showMenu = false; _root.bloaded = 0; _root.arrSectorsConquered = []; CreateNebula(26112, 1); txtLoaded.text = bloaded + "%"; preload();
Instance of Symbol 241 MovieClip "bg" in Frame 1
onClipEvent (enterFrame) { if (_y > 0) { setProperty(this, _y , _y - 1000); } if (_y < -1000) { setProperty(this, _y , _y + 1000); } if (_x > 0) { setProperty(this, _x , _x - 1000); } if (_x < -1000) { setProperty(this, _x , _x + 1000); } }
Instance of Symbol 244 MovieClip "bstars" in Frame 1
onClipEvent (enterFrame) { if (_y > 600) { setProperty(this, _y , _y - 600); } if (_y < 0) { setProperty(this, _y , _y + 600); } if (_x > 0) { setProperty(this, _x , _x - 800); } if (_x < -800) { setProperty(this, _x , _x + 800); } }
Instance of Symbol 247 MovieClip "stars" in Frame 1
onClipEvent (enterFrame) { if (_y > 600) { setProperty(this, _y , _y - 600); } if (_y < 0) { setProperty(this, _y , _y + 600); } if (_x > 0) { setProperty(this, _x , _x - 800); } if (_x < -800) { setProperty(this, _x , _x + 800); } }
Frame 2
levelnum = -1; arrMapLevel = []; levelnum++; arrMapLevel[levelnum] = []; arrMapLevel[levelnum][0] = []; arrMapLevel[levelnum][1] = []; arrMapLevel[levelnum][0][0] = [1827, 5199, 905, 7]; arrMapLevel[levelnum][0][1] = [5998, 4083, 607, 4]; arrMapLevel[levelnum][0][2] = [3500, 3500, 700, 8, 3]; arrMapLevel[levelnum][1][0] = [2300, 1834]; arrMapLevel[levelnum][1][1] = [1031, 1778]; arrMapLevel[levelnum][1][2] = [2394, 2762]; arrMapLevel[levelnum][1][3] = [3560, 1197]; arrMapLevel[levelnum][1][4] = [2744, 1370]; arrMapLevel[levelnum][1][5] = [2403, 2295]; arrMapLevel[levelnum][1][6] = [2757, 4133]; arrMapLevel[levelnum][1][7] = [2104, 2394]; arrMapLevel[levelnum][1][8] = [3842, 2071]; arrMapLevel[levelnum][1][9] = [2189, 2865]; arrMapLevel[levelnum][1][10] = [4736, 2893]; arrMapLevel[levelnum][1][11] = [1136, 1871]; arrMapLevel[levelnum][1][12] = [5927, 4755]; arrMapLevel[levelnum][2] = 5; levelnum++; arrMapLevel[levelnum] = []; arrMapLevel[levelnum][0] = []; arrMapLevel[levelnum][1] = []; arrMapLevel[levelnum][0][0] = [4912, 1502, 703, 4]; arrMapLevel[levelnum][0][1] = [5305, 5297, 995, 5, 2]; arrMapLevel[levelnum][0][2] = [5144, 3501, 796, 5]; arrMapLevel[levelnum][1][0] = [2223, 3669]; arrMapLevel[levelnum][1][1] = [3778, 2828]; arrMapLevel[levelnum][1][2] = [2168, 1330]; arrMapLevel[levelnum][1][3] = [2345, 1116]; arrMapLevel[levelnum][1][4] = [1863, 3950]; arrMapLevel[levelnum][1][5] = [2421, 3222]; arrMapLevel[levelnum][2] = 2; levelnum++; arrMapLevel[levelnum] = []; arrMapLevel[levelnum][0] = []; arrMapLevel[levelnum][1] = []; arrMapLevel[levelnum][0][0] = [1795, 4862, 1159, 1]; arrMapLevel[levelnum][0][1] = [4588, 1377, 832, 5, 1]; arrMapLevel[levelnum][0][2] = [4686, 2798, 928, 4]; arrMapLevel[levelnum][1][0] = [2617, 3220]; arrMapLevel[levelnum][1][1] = [1722, 1047]; arrMapLevel[levelnum][1][2] = [3400, 4725]; arrMapLevel[levelnum][1][3] = [1742, 1749]; arrMapLevel[levelnum][1][4] = [5095, 5647]; arrMapLevel[levelnum][1][5] = [5616, 5576]; arrMapLevel[levelnum][1][6] = [5515, 5512]; arrMapLevel[levelnum][1][7] = [1513, 2249]; arrMapLevel[levelnum][1][8] = [3722, 5700]; arrMapLevel[levelnum][1][9] = [5191, 5247]; arrMapLevel[levelnum][1][10] = [2316, 2165]; arrMapLevel[levelnum][1][11] = [4668, 5931]; arrMapLevel[levelnum][1][12] = [2654, 1983]; arrMapLevel[levelnum][1][13] = [2987, 2242]; arrMapLevel[levelnum][2] = 5; levelnum++; arrMapLevel[levelnum] = []; arrMapLevel[levelnum][0] = []; arrMapLevel[levelnum][1] = []; arrMapLevel[levelnum][0][0] = [5054, 2766, 962, 1, 2]; arrMapLevel[levelnum][0][1] = [2255, 5181, 712, 2]; arrMapLevel[levelnum][0][2] = [4755, 5894, 601, 5]; arrMapLevel[levelnum][0][3] = [3848, 4154, 782, 3]; arrMapLevel[levelnum][0][4] = [2538, 1544, 933, 4]; arrMapLevel[levelnum][1][0] = [1118, 3534]; arrMapLevel[levelnum][1][1] = [5827, 1584]; arrMapLevel[levelnum][1][2] = [1839, 3488]; arrMapLevel[levelnum][1][3] = [1181, 3399]; arrMapLevel[levelnum][1][4] = [5541, 4205]; arrMapLevel[levelnum][1][5] = [1531, 2971]; arrMapLevel[levelnum][1][6] = [5626, 4249]; arrMapLevel[levelnum][1][7] = [2243, 3173]; arrMapLevel[levelnum][1][8] = [5750, 4299]; arrMapLevel[levelnum][2] = 4; levelnum++; arrMapLevel[levelnum] = []; arrMapLevel[levelnum][0] = []; arrMapLevel[levelnum][1] = []; arrMapLevel[levelnum][0][0] = [5612, 5502, 876, 1, 1]; arrMapLevel[levelnum][0][1] = [2545, 2122, 1012, 1]; arrMapLevel[levelnum][1][0] = [1719, 5402]; arrMapLevel[levelnum][1][1] = [5070, 1423]; arrMapLevel[levelnum][1][2] = [5252, 1980]; arrMapLevel[levelnum][1][3] = [2297, 5207]; arrMapLevel[levelnum][1][4] = [3701, 4385]; arrMapLevel[levelnum][1][5] = [1104, 4079]; arrMapLevel[levelnum][1][6] = [3913, 5279]; arrMapLevel[levelnum][1][7] = [1866, 5597]; arrMapLevel[levelnum][1][8] = [3753, 5518]; arrMapLevel[levelnum][2] = 0; levelnum++; arrMapLevel[levelnum] = []; arrMapLevel[levelnum][0] = []; arrMapLevel[levelnum][1] = []; arrMapLevel[levelnum][0][0] = [5179, 2860, 948, 4]; arrMapLevel[levelnum][0][1] = [3675, 4285, 961, 7]; arrMapLevel[levelnum][0][2] = [1717, 1826, 1102, 7]; arrMapLevel[levelnum][0][3] = [5004, 1076, 1122, 5, 2]; arrMapLevel[levelnum][1][0] = [5403, 5644]; arrMapLevel[levelnum][1][1] = [5937, 5389]; arrMapLevel[levelnum][1][2] = [1823, 3390]; arrMapLevel[levelnum][1][3] = [3941, 2033]; arrMapLevel[levelnum][1][4] = [5173, 4186]; arrMapLevel[levelnum][1][5] = [3251, 2890]; arrMapLevel[levelnum][1][6] = [5337, 5748]; arrMapLevel[levelnum][1][7] = [3195, 2174]; arrMapLevel[levelnum][1][8] = [5626, 5030]; arrMapLevel[levelnum][2] = 7; levelnum++; arrMapLevel[levelnum] = []; arrMapLevel[levelnum][0] = []; arrMapLevel[levelnum][1] = []; arrMapLevel[levelnum][0][0] = [3995, 4579, 1099, 4]; arrMapLevel[levelnum][0][1] = [1111, 4316, 731, 5]; arrMapLevel[levelnum][0][2] = [4010, 1063, 1037, 7]; arrMapLevel[levelnum][0][3] = [1972, 1086, 897, 6, 1]; arrMapLevel[levelnum][0][4] = [5886, 3992, 963, 2]; arrMapLevel[levelnum][1][0] = [1923, 5676]; arrMapLevel[levelnum][1][1] = [2271, 5194]; arrMapLevel[levelnum][1][2] = [1790, 5566]; arrMapLevel[levelnum][1][3] = [1800, 3058]; arrMapLevel[levelnum][1][4] = [2308, 5495]; arrMapLevel[levelnum][1][5] = [3602, 2664]; arrMapLevel[levelnum][1][6] = [5729, 1610]; arrMapLevel[levelnum][1][7] = [5551, 5680]; arrMapLevel[levelnum][1][8] = [2699, 2464]; arrMapLevel[levelnum][2] = 3; levelnum++; arrMapLevel[levelnum] = []; arrMapLevel[levelnum][0] = []; arrMapLevel[levelnum][1] = []; arrMapLevel[levelnum][0][0] = [4011, 5085, 731, 2, 2]; arrMapLevel[levelnum][0][1] = [3888, 1167, 931, 6]; arrMapLevel[levelnum][1][0] = [5062, 2423]; arrMapLevel[levelnum][1][1] = [5927, 3169]; arrMapLevel[levelnum][1][2] = [3068, 3571]; arrMapLevel[levelnum][1][3] = [1523, 3230]; arrMapLevel[levelnum][1][4] = [2893, 5526]; arrMapLevel[levelnum][1][5] = [4589, 2513]; arrMapLevel[levelnum][1][6] = [5150, 3265]; arrMapLevel[levelnum][1][7] = [4935, 3946]; arrMapLevel[levelnum][1][8] = [1660, 5919]; arrMapLevel[levelnum][2] = 0; levelnum++; arrMapLevel[levelnum] = []; arrMapLevel[levelnum][0] = []; arrMapLevel[levelnum][1] = []; arrMapLevel[levelnum][0][0] = [3041, 5534, 1092, 3]; arrMapLevel[levelnum][0][1] = [1466, 4250, 858, 3, 1]; arrMapLevel[levelnum][1][0] = [2279, 1553]; arrMapLevel[levelnum][1][1] = [4537, 4290]; arrMapLevel[levelnum][1][2] = [2525, 2894]; arrMapLevel[levelnum][1][3] = [3676, 1135]; arrMapLevel[levelnum][1][4] = [5257, 5389]; arrMapLevel[levelnum][1][5] = [5506, 1846]; arrMapLevel[levelnum][1][6] = [3950, 3950]; arrMapLevel[levelnum][1][7] = [4402, 1265]; arrMapLevel[levelnum][1][8] = [2458, 2198]; arrMapLevel[levelnum][1][9] = [3374, 2156]; arrMapLevel[levelnum][1][10] = [5953, 2496]; arrMapLevel[levelnum][1][11] = [5992, 4965]; arrMapLevel[levelnum][1][12] = [5549, 1199]; arrMapLevel[levelnum][1][13] = [5107, 3490]; arrMapLevel[levelnum][1][14] = [3989, 3768]; arrMapLevel[levelnum][1][15] = [5882, 1730]; arrMapLevel[levelnum][1][16] = [5407, 3727]; arrMapLevel[levelnum][1][17] = [4631, 2075]; arrMapLevel[levelnum][1][18] = [3836, 1578]; arrMapLevel[levelnum][2] = 4; levelnum++; arrMapLevel[levelnum] = []; arrMapLevel[levelnum][0] = []; arrMapLevel[levelnum][1] = []; arrMapLevel[levelnum][0][0] = [2289, 2920, 626, 2]; arrMapLevel[levelnum][0][1] = [4129, 1499, 795, 3, 2]; arrMapLevel[levelnum][0][2] = [5561, 3980, 746, 2]; arrMapLevel[levelnum][0][3] = [3234, 5352, 1088, 3]; arrMapLevel[levelnum][0][4] = [3940, 3757, 1043, 7]; arrMapLevel[levelnum][1][0] = [1091, 4122]; arrMapLevel[levelnum][1][1] = [5582, 2249]; arrMapLevel[levelnum][1][2] = [5980, 5471]; arrMapLevel[levelnum][1][3] = [2177, 1358]; arrMapLevel[levelnum][1][4] = [5156, 5455]; arrMapLevel[levelnum][1][5] = [5843, 5544]; arrMapLevel[levelnum][1][6] = [1267, 5837]; arrMapLevel[levelnum][1][7] = [2734, 1465]; arrMapLevel[levelnum][1][8] = [1006, 5851]; arrMapLevel[levelnum][1][9] = [5868, 5825]; arrMapLevel[levelnum][1][10] = [1371, 1813]; arrMapLevel[levelnum][1][11] = [5845, 1309]; arrMapLevel[levelnum][1][12] = [5444, 5596]; arrMapLevel[levelnum][1][13] = [4980, 5222]; arrMapLevel[levelnum][1][14] = [1696, 1396]; arrMapLevel[levelnum][1][15] = [1745, 4668]; arrMapLevel[levelnum][1][16] = [5046, 5692]; arrMapLevel[levelnum][1][17] = [1156, 1618]; arrMapLevel[levelnum][2] = 2; levelnum++; arrMapLevel[levelnum] = []; arrMapLevel[levelnum][0] = []; arrMapLevel[levelnum][1] = []; arrMapLevel[levelnum][0][0] = [5022, 1568, 926, 1]; arrMapLevel[levelnum][0][1] = [3190, 4713, 918, 4]; arrMapLevel[levelnum][0][2] = [1389, 5876, 877, 5, 1]; arrMapLevel[levelnum][1][0] = [1275, 3983]; arrMapLevel[levelnum][1][1] = [2050, 3787]; arrMapLevel[levelnum][1][2] = [1848, 3115]; arrMapLevel[levelnum][1][3] = [2129, 2169]; arrMapLevel[levelnum][1][4] = [1026, 4040]; arrMapLevel[levelnum][1][5] = [5305, 3549]; arrMapLevel[levelnum][2] = 1; levelnum++; arrMapLevel[levelnum] = []; arrMapLevel[levelnum][0] = []; arrMapLevel[levelnum][1] = []; arrMapLevel[levelnum][0][0] = [4993, 2892, 1070, 6]; arrMapLevel[levelnum][0][1] = [1832, 2253, 872, 2, 2]; arrMapLevel[levelnum][0][2] = [3191, 4035, 1074, 4]; arrMapLevel[levelnum][0][3] = [5899, 4818, 1157, 4]; arrMapLevel[levelnum][1][0] = [4576, 1329]; arrMapLevel[levelnum][1][1] = [1408, 5984]; arrMapLevel[levelnum][1][2] = [1501, 5056]; arrMapLevel[levelnum][1][3] = [1107, 5984]; arrMapLevel[levelnum][1][4] = [3662, 1972]; arrMapLevel[levelnum][1][5] = [1036, 5829]; arrMapLevel[levelnum][1][6] = [3910, 5415]; arrMapLevel[levelnum][1][7] = [2224, 5447]; arrMapLevel[levelnum][2] = 3; levelnum++; arrMapLevel[levelnum] = []; arrMapLevel[levelnum][0] = []; arrMapLevel[levelnum][1] = []; arrMapLevel[levelnum][0][0] = [3073, 2487, 765, 5]; arrMapLevel[levelnum][0][1] = [4966, 5287, 1090, 5]; arrMapLevel[levelnum][0][2] = [2098, 3801, 662, 6]; arrMapLevel[levelnum][0][3] = [5364, 2404, 744, 5, 1]; arrMapLevel[levelnum][1][0] = [1831, 1332]; arrMapLevel[levelnum][1][1] = [2722, 5746]; arrMapLevel[levelnum][1][2] = [1457, 5221]; arrMapLevel[levelnum][1][3] = [2108, 5861]; arrMapLevel[levelnum][1][4] = [3771, 4090]; arrMapLevel[levelnum][1][5] = [2356, 5982]; arrMapLevel[levelnum][1][6] = [1271, 5953]; arrMapLevel[levelnum][1][7] = [1298, 5910]; arrMapLevel[levelnum][1][8] = [2969, 5196]; arrMapLevel[levelnum][2] = 4; function hasConstructionShip(team) { blnReturn = false; i = 0; while (i < _root.arrShips.length) { if ((arrShips[i].shipid == 6) || (Level == 1)) { if (arrShips[i].team == team) { blnReturn = true; } } i++; } return(blnReturn); } function DoShortcut(shortcuttype) { playsound(21); switch (shortcuttype) { case 0 : _root.DeselectAll(); _root.selectedbuilding = _root.HQ; _root.selectedplanet = _root.HQ.planet; _root.playbuildingsound(_root.HQ.type); _root.buildingmenu.gotoAndPlay("reset"); _root.camerafocus = _root.HQ; break; case 1 : _root.DeselectAll(); i = 0; while (i < _root.arrShips.length) { tocheck = _root.arrShips[i]; if (((!(((tocheck.shipid == 1) || (tocheck.shipid == 4)) || (tocheck.shipid == 6))) && (tocheck.team == team)) && (tocheck.ismissle != true)) { tocheck.selected = true; } else { tocheck.selected = false; } i++; } break; case 2 : _root.DeselectAll(); i = 0; while (i < _root.arrShips.length) { tocheck = _root.arrShips[i]; if ((tocheck.miningcapacity > 0) && (tocheck.team == team)) { tocheck.selected = true; } else { tocheck.selected = false; } i++; } break; case 3 : buildingmenu.action = "surrender"; buildingmenu.gotoAndStop("confirm"); break; case 4 : if ((_root.game.wincount >= 125) || (_root.game.losecount >= 125)) { _root.gamepaused = false; } else { _root.gamepaused = _root.gamepaused == false; trace("Game Paused: " + _root.gamepaused); if (_root.gamepaused == false) { musicplayer.playmusic(); } else { stopAllSounds(); } } break; case 5 : _root.ShowLastTutorial(); break; case 6 : tutorial.gotoAndStop("controls"); break; case 7 : buildingmenu.action = "quit"; buildingmenu.gotoAndStop("confirm"); break; case 8 : game.wincount = 125; break; default : trace("Shortcut action not done"); } } function playsound(soundnum, object) { if (_root.sk_sfx != false) { playing = false; i = 0; while (i <= arrSoundsPlaying.length) { if (arrSoundsPlaying[i] == soundnum) { playing = true; break; } i++; } if (playing == false) { arrSoundsPlaying.push(soundnum); if (arrSounds[soundnum][2] == true) { if (object == undefined) { trace("No object for sound: " + soundnum); } xdistancefromcentre = object._x - (game.view._x + (game.view._width / 2)); ydistancefromcentre = object._y - (game.view._y + (game.view._height / 2)); distancefromcentre = Math.sqrt((xdistancefromcentre * xdistancefromcentre) + (ydistancefromcentre * ydistancefromcentre)); thevolume = 5 - Math.ceil((distancefromcentre / 2000) * 5); if (thevolume > 0) { if (_root[(("s_" + soundnum) + "_") + thevolume] == undefined) { trace(((("s_" + soundnum) + "_") + thevolume) + " is undefined"); } _root[(("s_" + soundnum) + "_") + thevolume].theSound.start(); } } else { _root.sounds.gotoAndStop(arrSounds[soundnum][0]); } } } } function ShowLastTutorial() { if (TutorialPage == undefined) { tutorial.gotoAndStop("objective"); } else { arrTutorial[TutorialPage] = undefined; Tutorial(TutorialPage); } } function Tutorial(page) { if (_root.Level < 10) { if ((arrTutorial[page] == undefined) && (gamemode == 1)) { _root.TutorialPage = page; arrTutorial[page] = true; so.data.arrTutorial = arrTutorial; tutorial.page = page; tutorial.gotoAndStop(page + 1); } } } function TutorialPageDone(page) { } function WinRound() { if (gamemode == 1) { trace("Battle Won. Saving...."); _root.arrSectorsConquered[_root.sectornumber] = true; _root.so.data.arrSectorsConquered = _root.arrSectorsConquered; Level++; } } function AddPlanet(strName, x, y, size, style) { if (size == undefined) { size = 600; } _root.objnum++; theplanet = game.attachMovie("Planet", strName, _root.objnum); theplanet._x = x; theplanet._y = y; theplanet._width = size; theplanet._height = size; theplanet.style = style; theplanet.inner.gotoAndStop(style); theplanetblip = buildingmenu.map.inner.attachMovie("Map Planet", strName, _root.objnum); theplanetblip._x = x / minimapscale; theplanetblip._y = y / minimapscale; theplanetblip._width = theplanet._width / minimapscale; theplanetblip._height = theplanet._width / minimapscale; theplanet.blip = theplanetblip; _root.arrPlanets.push(theplanet); } function NotTouchingMenu() { return(!(_root.buildingmenu.hitTest(_root._xmouse, _root._ymouse, true) || (tutorial.hitTest(_root._xmouse, _root._ymouse, true)))); } function CancelLoadingWeapon(b) { type = b.weaponloading; if (type != undefined) { arrResources[b.team] = arrResources[b.team] + _root.arrInterplanetaryWeapons[type][1]; b.weaponloading = undefined; b.wtimer[type] = undefined; b.wtotaltime[type] = undefined; } } function StartLoadingWeapon(b, type) { if (((b.team == _root.team) || (Level >= arrInterplanetaryWeapons[7])) && (((gamemode == 1) || (sk_pdallowed == true)) || (type < 3))) { trace("Start loading: " + type); if (b.weaponloading == undefined) { if (_root.arrInterplanetaryWeapons[type][1] <= arrResources[b.team]) { if (b.weaponloaded == undefined) { arrResources[b.team] = arrResources[b.team] - _root.arrInterplanetaryWeapons[type][1]; b.weaponloading = type; b.wtimer[type] = _root.arrInterplanetaryWeapons[type][3] * 24; b.wtotaltime[type] = b.wtimer[type]; trace("Time till loaded: " + b.wtotaltime[type]); if ((b.team == _root.team) && (_root.mypower <= 0)) { _root.playsound(5); _root.GameMessage("Not enough power, build more power stations"); } } } else if (b.team == _root.team) { _root.playsound(5); _root.GameMessage("Not enough resources to purchase interplanetary missle: " + arrInterplanetaryWeapons[type][0]); } } else if (b.team == _root.team) { _root.playsound(5); _root.GameMessage("An Interplanetary Missle is already in production", b); } } } function AddMeteorite(x, y, rubblecolour) { _root.objnum++; if (rubblecolour != undefined) { theMeteorite = game.attachMovie("Meteorite2", "Meteorite" + _root.objnum, _root.objnum); theMeteorite.gotoAndStop(rubblecolour); } else { theMeteorite = game.attachMovie("Meteorite", "Meteorite" + _root.objnum, _root.objnum); } theMeteorite._width = random(100) + 100; theMeteorite._height = random(100) + 100; theMeteorite._x = x; theMeteorite._y = y; theMeteorite.resources = 3000 + random(3000); theblip = buildingmenu.map.inner.attachMovie("Map Planet", "Meteorite" + _root.objnum, _root.objnum); theblip._x = x / minimapscale; theblip._y = y / minimapscale; theblip._width = theMeteorite._width / minimapscale; theblip._height = theMeteorite._height / minimapscale; theMeteorite.blip = theblip; _root.arrMeterorites.push(theMeteorite); } function FireWeapon(obj, weaponnum) { obj.showonradar = 50; if (obj.target.stealth == true) { obj.target = undefined; } if ((obj.reload <= 0) && (obj.target != undefined)) { obj.stealth = false; obj.reload = arrWeaponData[weaponnum][2]; if (weaponnum == 3) { playsound(23, obj); } else if (weaponnum == 5) { playsound(25, obj); } else if (weaponnum == 6) { playsound(28, obj); } else if (weaponnum == 4) { playsound(26, obj); } _root.objnum++; missle = game.attachMovie(arrWeaponData[weaponnum][0], "weapon" + _root.objnum, _root.objnum); missle._x = obj._x; missle._y = obj._y; missle._rotation = obj.angle; missle.target = obj.target; missle.firer = obj; missle.colour = obj.colour; } } function guidedmovement(obj) { if (_root.gamepaused == false) { obj._rotation = GetAngle(obj, obj.target); obj.yspeed = obj.speed * Math.sin((obj._rotation - 90) / 57.2957795130823); obj.xspeed = obj.speed * Math.cos((obj._rotation - 90) / 57.2957795130823); obj._x = obj._x + obj.xspeed; obj._y = obj._y + obj.yspeed; if (obj.speed < obj.maxspeed) { obj.speed = obj.speed + obj.accelleration; if (obj.speed > obj.maxspeed) { obj.speed = obj.maxspeed; } } if (obj.target._x == undefined) { obj.removeMovieClip(); } if (GetDistance(obj, obj.target) < 30) { obj.gotoAndPlay("explode"); } } } function hasBuilding(building, team) { intReturn = 0; i = 0; while (i < arrBuildings.length) { if ((arrBuildings[i].team == team) && (building == arrBuildings[i].type)) { intReturn++; } i++; } return(intReturn); } function hasShip(shipid, team) { intReturn = 0; i = 0; while (i < arrShips.length) { if ((arrShips[i].team == team) && (arrShips[i].shipid == shipid)) { intReturn++; } i++; } return(intReturn); } function Surrender() { _root.losecount = 5000; } function UpgradeComplete(i, team) { if (HasUpgrade(i, team)) { _root.playsound(5); _root.GameMessage(((("Already have upgrade: " + _root.arrUpgrades[i][0]) + ", refunding ") + _root.arrUpgrades[i][3]) + " resources"); arrResources[team] = arrResources[team] + _root.arrUpgrades[i][3]; arrTeamUpgrades[team][i] = undefined; } else { if (team == _root.team) { _root.playsound(6); _root.GameMessage("Upgrade Complete: " + _root.arrUpgrades[i][0]); } else { trace(((("Upgraded: " + _root.arrUpgrades[i][0]) + " (") + _root.arrTeamData[team][0]) + ")"); } arrTeamUpgrades[team][i] = true; if (arrUpgrades[i][0].indexOf("Tech Level") > -1) { Tutorial(14); if (arrUpgrades[i][5] > arrTechLevel[team]) { arrTechLevel[team] = arrUpgrades[i][5]; if (team == _root.team) { _root.techlevel = arrTechLevel[team]; if (_root.techlevel > _root.maxtech) { _root.maxtech = _root.techlevel; } } } } } _root.CountBuildings(); } function HasUpgrade(i, team) { return(arrTeamUpgrades[team][i] == true); } function AddBuilding(team, type, planet, angle) { if ((_root.gamepaused == false) && (planet != undefined)) { planet.team = team; if (_root.arrBuildingData[type][6] <= arrResources[team]) { if (((Level < _root.arrBuildingData[type][11]) && (team != 0)) || (arrTechLevel[team] < _root.arrBuildingData[type][9])) { return(false); } arrResources[team] = arrResources[team] - _root.arrBuildingData[type][6]; _root.objnum++; thebuilding = game.attachMovie("Building", "building" + objnum, _root.objnum); thebuilding.setup = angle != -1; thebuilding.shield = 500; thebuilding.team = team; thebuilding.type = type; thebuilding.colour = arrTeamData[team][1]; if (angle != -1) { thebuilding._rotation = angle; } else { thebuilding._rotation = random(360); } thebuilding.planet = planet; trace((("Add Building: '" + arrBuildingData[type][0]) + "' to Planet: ") + planet._name); thebuilding.resourcerate = arrBuildingData[type][5]; thebuilding.LaserRange = arrBuildingData[type][3]; thebuilding.weapon = arrBuildingData[type][4]; thebuilding.sellvalue = arrBuildingData[type][6] / 2; thebuilding.shield = arrBuildingData[type][8]; thebuilding.maxshield = arrBuildingData[type][8]; thebuilding.buildtimermax = arrBuildingData[type][1]; thebuilding.buildtimer = thebuilding.buildtimermax; _root.arrBuildings.push(thebuilding); _root.CountBuildings(); return(true); } if (team == _root.team) { _root.playsound(5); _root.GameMessage("Not enough resources to purchase building: " + arrBuildingData[type][0]); } return(false); } return(false); } function playbuildingsound(type) { switch (type) { case 0 : playsound(8); break; case 1 : playsound(9); break; case 2 : playsound(11); break; case 3 : playsound(14); break; case 4 : playsound(10); break; case 5 : playsound(14); break; case 6 : playsound(13); break; case 7 : playsound(12); break; case 8 : playsound(15); } } function AICommand(command, team, target) { switch (command) { case "Attack Random" : case "Attack Target" : if (command == "Attack Random") { if (Math.random() > 0.5) { rndtype = random(3); switch (rndtype) { case 2 : attacktype = 1; break; case 1 : attacktype = 4; break; default : attacktype = -1; } arrToAttack = []; i = 0; while (i < _root.arrShips.length) { tocheck = _root.arrShips[i]; if (tocheck.team != team) { arrToAttack.push(tocheck); } i++; } thetarget = arrToAttack[random(arrToAttack.length)]; } else { rndtype = random(4); switch (rndtype) { case 3 : attacktype = 1; break; case 2 : attacktype = 4; break; case 1 : attacktype = 0; break; default : attacktype = -1; } arrToAttack = []; i = 0; while (i < _root.arrBuildings.length) { tocheck = _root.arrBuildings[i]; if ((tocheck.team != team) && ((tocheck.type == attacktype) || (attacktype == -1))) { arrToAttack.push(tocheck); } i++; } thetarget = arrToAttack[random(arrToAttack.length)]; } } else { thetarget = target; } if (thetarget != undefined) { eships = -1; shipnum = 0; i = 0; while (i < _root.arrShips.length) { tocheck = _root.arrShips[i]; if (((tocheck.team == team) && (tocheck.miningcapacity == 0)) && (tocheck.target._x == undefined)) { eships++; } i++; } i = 0; while (i < _root.arrShips.length) { tocheck = _root.arrShips[i]; if ((((tocheck.team == team) && (tocheck.miningcapacity == 0)) && (tocheck.shipid != 1)) && (tocheck.target._x == undefined)) { tocheck.target = thetarget; if (theFirstShip == undefined) { theFirstShip = tocheck; xoffset = 0; yoffset = 0; } else { rings = Math.ceil(eships / 10); distance = Math.ceil((shipnum + 1) / (eships / rings)) * 150; anglestep = rings * (360 / eships); angleoffset = 90 + _root.GetAngleToPoint(theFirstShip, thetarget._x, thetarget._y); yoffset = distance * Math.sin(((angleoffset + (anglestep * shipnum)) - 90) / 57.2957795130823); xoffset = distance * Math.cos(((angleoffset + (anglestep * shipnum)) - 90) / 57.2957795130823); } shipnum++; tocheck.destinationx = thetarget._x + xoffset; tocheck.destinationy = thetarget._y + yoffset; tocheck.originalx = tocheck.destinationx; tocheck.originaly = tocheck.destinationy; tocheck.onway = true; } i++; } } break; default : trace("Unknown AI Command: " + command); } } function FireInterplanetary(type, team, x, y, rot, target, by) { _root.objnum++; arrObjInfo = arrInterplanetaryWeapons[type]; trace(((arrObjInfo[0] + " fired (") + arrTeamData[team][0]) + ")"); newobj = game.attachMovie(arrObjInfo[0], "ipm" + objnum, _root.objnum); by.weaponloaded = undefined; newobj.firer = by; newobj.angle = rot; newobj._x = x; newobj._y = y; newobj.type = type; newobj.team = team; newobj.ismissle = true; newobj.colour = by.colour; newobj.weapon = -1; newobj.shield = 50; newobj.maxshield = newobj.shield; newobj.turning = 1; newobj.maxspeed = 10; newobj.acceleration = 1; newobj.secondary = -1; newobj.miningcapacity = 0; newobj.action = -1; newobj.target = target; newobj.destinationx = target._x; newobj.destinationy = target._y; _root.settingtarget = undefined; _root.arrShips.push(newobj); } function StartUpgrade(b, s) { upgradetype = s; if (upgradetype == undefined) { var _local3 = []; i = 0; while (i < _root.arrUpgrades.length) { if ((_root.arrUpgrades[i][1] == b.type) && (_root.arrTechLevel[b.team] >= _root.arrUpgrades[i][2])) { _local3.push(i); } i++; } if (_local3.length > 0) { upgradetype = _local3[random(_local3.length)]; } } if ((Level < _root.arrUpgrades[upgradetype][9]) && (b.team == 0)) { upgradetype = undefined; } if ((Level < _root.arrUpgrades[upgradetype][10]) && (b.team != 0)) { upgradetype = undefined; } if (((gamemode == 2) && (arrUpgrades[upgradetype][0].indexOf("Tech") > -1)) && (sk_maxtech < arrUpgrades[upgradetype][5])) { upgradetype = undefined; } if ((arrEnemyUpgrades[upgradetype] != true) && (b.team != 0)) { upgradetype = undefined; } if (upgradetype != undefined) { if (Level < _root.arrUpgrades[upgradetype][9]) { } else if (HasUpgrade(upgradetype, b.team)) { if (b.team == _root.team) { _root.playsound(5); _root.GameMessage("You already have the upgrade: " + _root.arrUpgrades[upgradetype][0]); } } else if ((_root.arrUpgrades[upgradetype][3] <= arrResources[b.team]) && (upgradetype != undefined)) { if (b.utimer[upgradetype] == undefined) { b.utimer[upgradetype] = -1; } if (b.utimer[upgradetype] > 0) { if (b.team == _root.team) { _root.playsound(5); _root.GameMessage(("Upgrade: " + _root.arrUpgrades[upgradetype][0]) + " already in process"); } } else { arrResources[b.team] = arrResources[b.team] - _root.arrUpgrades[upgradetype][3]; b.utimer[upgradetype] = 24 * _root.arrUpgrades[upgradetype][6]; b.utotaltime[upgradetype] = b.utimer[upgradetype]; if ((b.team == _root.team) && (_root.mypower <= 0)) { _root.playsound(5); _root.GameMessage("Not enough power, build more power stations"); } } } else if ((b.team == _root.team) && (upgradetype != undefined)) { _root.playsound(5); _root.GameMessage("Not enough resources to purchase upgrade: " + _root.arrUpgrades[upgradetype][0]); } } } function CancelShipBuild(b, s) { if (b.inqueue[s] > 0) { b.inqueue[s]--; arrResources[b.team] = arrResources[b.team] + _root.arrShipData[s][10]; if (b.inqueue[s] < 1) { b.timer[s] = -1; } } } function StartShipBuild(b, s) { shiptype = s; if (shiptype == undefined) { var _local3 = []; i = 0; while (i < _root.arrShipData.length) { if ((_root.arrShipData[i][3] == b.type) && (_root.arrTechLevel[b.team] >= _root.arrShipData[i][13])) { _local3.push(i); } i++; } if (_local3.length > 0) { shiptype = _local3[random(_local3.length)]; } if ((shiptype == 4) && (arrResources[b.team] > 5000)) { shiptype = undefined; } else if (shiptype == 6) { if ((Level < 5) && (gamemode == 1)) { shiptype = undefined; trace("Abandon Mobile Construction Ships to early a level"); } else if (Math.random() > 0.333333333333333) { shiptype = undefined; trace("Abandon Mobile Construction Ships 1/3 chance"); } else { blnAvailable = false; i = 0; while (i < _root.arrPlanets.length) { if (_root.arrPlanets[i].team == undefined) { blnAvailable = true; break; } i++; } if (blnAvailable == false) { shiptype = undefined; trace("Abandon Mobile Construction Ships no available planets"); } } } } if (((hasShip(shiptype, b.team) >= _root.arrShipData[shiptype][16]) && (b.team != 0)) || ((b.team != 0) && (Level < _root.arrShipData[shiptype][18]))) { shiptype = undefined; } if ((b.inqueue[shiptype] > 0) && (b.team != 0)) { shiptype = undefined; } if ((_root.arrShipData[shiptype][10] <= arrResources[b.team]) && (shiptype != undefined)) { arrResources[b.team] = arrResources[b.team] - _root.arrShipData[shiptype][10]; if (b.timer[shiptype] == undefined) { b.timer[shiptype] = -1; } if (b.timer[shiptype] > 0) { } else { b.timer[shiptype] = 24 * _root.arrShipData[shiptype][2]; b.totaltime[shiptype] = b.timer[shiptype]; } if (b.inqueue[shiptype] == undefined) { b.inqueue[shiptype] = 0; } b.inqueue[shiptype]++; if ((b.team == _root.team) && (_root.mypower <= 0)) { _root.playsound(5); _root.GameMessage("Not enough power, build more power stations"); } } else if ((b.team == _root.team) && (shiptype != undefined)) { _root.playsound(5); _root.GameMessage("Not enough resources to purchase ship: " + _root.arrShipData[shiptype][0], b); } } function SetColour(obj, row, col) { rb = 40 - ((row - 1) * (row / 4)); gb = 10 - (col * 4); bb = 40 - ((20 - (row - 1)) * ((20 - row) / 4)); myColorTransform = new Object(); myColorTransform = {rb:rb, gb:gb, bb:bb}; myColor = new Color(obj); myColor.setTransform(myColorTransform); } function CreateShip(shiptype, team, x, y, rot) { if ((_root.arrExistingShips[team] < ShipLimit) || (_root.arrExistingShips[team] == undefined)) { arrShipInfo = arrShipData[shiptype]; if (Level >= arrShipInfo[17]) { _root.objnum++; newship = game.attachMovie("Ship", "ship" + objnum, _root.objnum); newship.shipid = shiptype; newship.shiptype = arrShipInfo[1]; newship.showonradar = 0; if (team == 0) { if (shiptype == 4) { _root.Tutorial(9); } else if ((shiptype == 0) && (_root.Level == 2)) { _root.Tutorial(12); } } if (rot == undefined) { newship.angle = random(360); } else { newship.angle = rot; } newship.speed = random(10) + 25; newship.team = team; newship.weapon = arrShipInfo[4]; newship.shield = Number(arrShipInfo[5]); newship.maxshield = Number(arrShipInfo[5]); newship.turning = arrShipInfo[8]; newship.maxspeed = arrShipInfo[6]; newship.acceleration = arrShipInfo[7]; newship.secondary = arrShipInfo[12]; newship.miningcapacity = arrShipInfo[14]; newship.action = arrShipInfo[15]; newship.primaryrange = arrWeaponData[newship.weapon][1]; newship._x = x; newship._y = y; rdist = 250 + random(350); newship.destinationx = x + (rdist * Math.cos((newship.angle - 90) / 57.2957795130823)); newship.destinationy = y + (rdist * Math.sin((newship.angle - 90) / 57.2957795130823)); newship.originalx = newship.destinationx; newship.originaly = newship.destinationy; newship.rot = newship.angle; newship.stealth = 0; newship.colour = arrTeamData[team][1]; _root.arrShips.push(newship); return(true); } return(false); } arrResources[team] = arrResources[team] + arrShipData[shiptype][10]; if (team == _root.team) { GameMessage(("Ship limit reached, " + arrShipData[shiptype][10]) + " resources refunded"); } return(false); } function GameMessage(strMessage, object) { hudtext.gamemessage.timer = 150; hudtext.gamemessage.message = ("<B>" + strMessage) + "</B>"; if (strPrevMessage != strMessage) { strPrevMessage = strMessage; trace(strMessage); } _root.messageobject = object; } function CountBuildings() { _root.arrExistingBuildings = [0, 0, 0, 0]; _root.arrExistingPower = [0, 0, 0, 0]; _root.arrExistingRadar = [0, 0, 0, 0]; for (planet in arrPlanets) { arrPlanets[planet].team = undefined; SetShipColour(arrPlanets[planet].blip, "FFFFFF"); } i = 0; while (i <= 3) { if (_root.arrExistingBuildings[i] == undefined) { _root.arrExistingBuildings[i] = 0; } if (_root.arrExistingPower[i] == undefined) { _root.arrExistingPower[i] = 0; } if (_root.arrExistingRadar[i] == undefined) { _root.arrExistingRadar[i] = 0; } i++; } i = 0; while (i < _root.arrBuildings.length) { tocheck = _root.arrBuildings[i]; tocheck.planet.team = tocheck.team; if ((tocheck.planet.team == _root.team) || (_root.arrExistingRadar[_root.team] > 0)) { SetShipColour(tocheck.planet.blip, tocheck.colour); } if (tocheck.blnFinished == true) { if (tocheck._alpha >= 100) { _root.arrExistingBuildings[tocheck.team]++; if (tocheck.type == 1) { if (HasUpgrade(2, tocheck.team)) { _root.arrExistingPower[tocheck.team] = _root.arrExistingPower[tocheck.team] + 3; } else { _root.arrExistingPower[tocheck.team] = _root.arrExistingPower[tocheck.team] + 2; } } else if (tocheck.type == 0) { if (HasUpgrade(1, tocheck.team)) { _root.arrExistingPower[tocheck.team] = _root.arrExistingPower[tocheck.team] + 5; } else { _root.arrExistingPower[tocheck.team] = _root.arrExistingPower[tocheck.team] + 2; } } else { _root.arrExistingPower[tocheck.team]--; } if (tocheck.type == 6) { _root.arrExistingRadar[tocheck.team]++; } } } i++; } _root.mypower = _root.arrExistingPower[_root.team]; if (_root.mypower > 0) { _root.mypower = "+" + _root.mypower; } } function DeselectAll(except) { buildingmenu.action = undefined; _root.selectedbuilding = undefined; DeselectShips(except); } function DeselectShips(except) { i = 0; while (i < _root.arrShips.length) { tocheck = _root.arrShips[i]; if (tocheck == except) { tocheck.selected = true; } else { tocheck.selected = false; } i++; } } function SelectAllShips() { _root.selectedbuilding = undefined; i = 0; while (i < _root.arrShips.length) { tocheck = _root.arrShips[i]; if ((tocheck.team == _root.team) && (tocheck.ismissle != true)) { tocheck.selected = true; } i++; } } function SetShipColour(obj, colour) { if ((colour != "") && (colour != undefined)) { obj._parent.myShipColor = new Color(obj); obj._parent.myShipColor.setRGB("0x" + colour); } } function BuildingFire(obj) { _root.objnum++; thefire = obj._parent.attachMovie("Building Fire", "fire" + _root.objnum, _root.objnum); thefire._rotation = obj._rotation; spread = 30; thefire._x = (obj._x + random(spread)) - random(spread); thefire._y = (obj._y + random(spread)) - random(spread); } function InterplanetaryMovement(obj) { if (_root.gamepaused == false) { if (obj.timer == undefined) { obj.timer = 750; } if (GetDistance(obj, obj.target) < 50) { Damage(obj.target, obj.damage, obj.firer); Explode(obj); } else if (obj.timer <= 0) { Explode(obj); } else { obj.timer--; obj.destinationangle = GetAngleToPoint(obj, obj.destinationx, obj.destinationy); if (Math.abs(obj.angle - obj.destinationangle) < 180) { if (obj.angle < obj.destinationangle) { obj.angle = obj.angle + obj.turning; } if (obj.angle > obj.destinationangle) { obj.angle = obj.angle - obj.turning; } } else { if (obj.angle < obj.destinationangle) { obj.angle = obj.angle - obj.turning; } if (obj.angle > obj.destinationangle) { obj.angle = obj.angle + obj.turning; } } if (obj.angle < 0) { obj.angle = obj.angle + 360; } if (obj.angle > 350) { obj.angle = obj.angle - 360; } if (obj.invuntimer == undefined) { obj.invuntimer = 20; } if (obj.invuntimer > 0) { obj.invuntimer--; } else { hitPlanet = HitPlanet(obj, 0); if (hitPlanet != "") { if (obj.planetdestroyer == true) { ExplodePlanet(hitPlanet); pd.gotoAndPlay(2); } Explode(obj); } } if (obj.blip._x == undefined) { if ((obj.team == _root.team) || (_root.arrExistingRadar[_root.team] > 0)) { _root.objnum++; obj.blip = buildingmenu.map.inner.attachMovie("Map Planet", obj._name + "blip", _root.objnum); obj.blip._width = 3; obj.blip._height = 3; SetShipColour(obj.blip, "FF9900"); } } else if ((obj.team != _root.team) && (_root.arrExistingRadar[_root.team] <= 0)) { obj.blip.removeMovieClip(); } obj.blip._x = obj._x / minimapscale; obj.blip._y = obj._y / minimapscale; obj.yspeed = obj.speed * Math.sin((obj.angle - 90) / 57.2957795130823); obj.xspeed = obj.speed * Math.cos((obj.angle - 90) / 57.2957795130823); if (obj.xblast != undefined) { obj.xspeed = obj.xspeed + obj.xblast; obj.yspeed = obj.yspeed + obj.yblast; obj.xblast = obj.xblast / 1.1; obj.yblast = obj.yblast / 1.1; } else { obj.xblast = 0; obj.yblast = 0; } obj._x = obj._x + obj.xspeed; obj._y = obj._y + obj.yspeed; } obj._rotation = obj.angle; } } function ShipMovement(obj) { if (_root.gamepaused == false) { if (obj.reload == undefined) { obj.reload = 0; } if (obj.reload > 0) { obj.reload--; } if (((gamemode == 2) && (obj.shipid == 6)) && (obj.team != team)) { obj.doing = "deploycontrolcentre"; } if (obj.doing == "deploycontrolcentre") { if (obj.destplanet == undefined) { closest = undefined; closestdistance = undefined; obj.selected = false; trace("Planets to check:" + _root.arrPlanets.length); i = 0; while (i < _root.arrPlanets.length) { dist = GetDistance(obj, _root.arrPlanets[i]); if ((dist < closestdistance) || (closestdistance == undefined)) { if (_root.arrPlanets[i].team == undefined) { closest = _root.arrPlanets[i]; closestdistance = dist; } } i++; } obj.destplanet = closest; trace("Deploy control centre on planet: " + closest._name); } if (obj.destplanet == undefined) { obj.doing = undefined; _root.playsound(5); _root.GameMessage("Cannot find a free planet to deploy Control Centre.", obj); } else if (obj.destplanet.team != undefined) { obj.destplanet = undefined; obj.destinationx = undefined; obj.destinationy = undefined; obj.originalx = undefined; obj.originaly = undefined; } else { obj.destinationx = obj.destplanet._x; obj.destinationy = obj.destplanet._y; obj.originalx = obj.destinationx; obj.originaly = obj.destinationy; } } else { obj.destplanet = undefined; } if (obj.healthbar._x == undefined) { _root.objnum++; obj.healthbar = game.attachMovie("Health Bar", obj._name + "_healthbar", _root.objnum); obj.healthbar.ship = obj; if (obj.healthbar.getDepth() < obj.healthbar.ship.getDepth()) { obj.healthbar.swapDepths(obj.healthbar.ship); } } if (obj.blip._x == undefined) { if (((obj.team == _root.team) || (_root.arrExistingRadar[_root.team] > 0)) || (obj.showonradar > 0)) { _root.objnum++; obj.blip = buildingmenu.map.inner.attachMovie("Map Planet", obj._name + "blip", _root.objnum); obj.blip._width = 3; obj.blip._height = 3; SetShipColour(obj.blip, obj.colour); } } else if (((obj.team != _root.team) && (_root.arrExistingRadar[_root.team] <= 0)) && (obj.showonradar <= 0)) { obj.blip.removeMovieClip(); } obj.blip._x = obj._x / minimapscale; obj.blip._y = obj._y / minimapscale; if (obj.brakingdistance == undefined) { obj.brakingdistance = 150 + random(100); } if (obj.stoppingdistance == undefined) { obj.stoppingdistance = 50 + random(20); } if (obj.invuntimer == undefined) { obj.invuntimer = 20; } if (obj.invuntimer > 0) { obj.invuntimer--; } else if (HitPlanet(obj, 0)) { Explode(obj); } if (obj.destinationx != undefined) { obj.destinationangle = GetAngleToPoint(obj, obj.destinationx, obj.destinationy); anglediff = Math.abs(obj.angle - obj.destinationangle); if (anglediff <= obj.turning) { obj.angle = obj.destinationangle; } if (HasUpgrade(18, obj.team) == true) { max = obj.maxspeed + 1; } else { max = obj.maxspeed; } if (((anglediff < (obj.turning * 10)) || (obj.distanceremaining > 100)) && (obj.speed < obj.maxspeed)) { obj.speed = obj.speed + obj.acceleration; obj.accelerating = true; } else { obj.accelerating = false; } if ((anglediff > (obj.turning * 10)) && (obj.speed > 0)) { obj.speed = obj.speed / 1.15; } if (obj.speed < 0.5) { obj.speed = 0; } obj.distanceremaining = GetDistanceToPoint(obj, obj.destinationx, obj.destinationy); if ((obj.distanceremaining < obj.brakingdistance) && (obj.speed > 10)) { obj.onway = true; obj.tn = "Travelling"; } else if (obj.distanceremaining > obj.stoppingdistance) { obj.onway = true; obj.tn = "Travelling"; } else { obj.destinationx = undefined; obj.destinationy = undefined; obj.destinationangle = undefined; obj.onway = false; obj.tn = "Idle"; } if (obj.marker == undefined) { _root.objnum++; obj.marker = game.attachMovie("Marker", obj._name + "_collisiondetector", _root.objnum); } obj.marker._x = obj._x + (15 * obj.xspeed); obj.marker._y = obj._y + (15 * obj.yspeed); if (obj.angle < 0) { obj.angle = obj.angle + 360; } if (obj.angle > 350) { obj.angle = obj.angle - 360; } hitPlanet = HitPlanet(obj.marker); if (hitPlanet != "") { if ((obj.doing == "deploycontrolcentre") && (hitPlanet == obj.destplanet)) { _root.Test_HASADDED = true; AddBuilding(obj.team, 0, hitPlanet, GetAngle(hitPlanet, obj)); obj.blip.removeMovieClip(); obj.destmarker.removeMovieClip(); obj.removeMovieClip(); } theangle = GetAngle(obj, hitPlanet); if (Math.abs(theangle - obj.angle) < 180) { if (theangle > obj.angle) { obj.angle = obj.angle - (obj.turning * 2); } else { obj.angle = obj.angle + (obj.turning * 2); } } else if (theangle > obj.angle) { obj.angle = obj.angle + (obj.turning * 2); } else { obj.angle = obj.angle - (obj.turning * 2); } } else if (Math.abs(obj.angle - obj.destinationangle) < 180) { if (obj.angle < obj.destinationangle) { obj.angle = obj.angle + obj.turning; } if (obj.angle > obj.destinationangle) { obj.angle = obj.angle - obj.turning; } } else { if (obj.angle < obj.destinationangle) { obj.angle = obj.angle - obj.turning; } if (obj.angle > obj.destinationangle) { obj.angle = obj.angle + obj.turning; } } } if ((obj.miningcapacity > 0) && (HasUpgrade(15, obj.team))) { if (Math.random() > 0.98) { obj.stealth = true; } } targetingrange = obj.primaryrange; if (obj.target._x != undefined) { if (((obj.team != _root.team) && (Math.random() > 0.99)) && (obj.action > -1)) { DoAction(obj); } angletotarget = GetAngle(obj, obj.target); if (GetDistance(obj, obj.target) < targetingrange) { if ((obj.shipid == 7) && (obj.target != undefined)) { obj.originalx = obj._x; obj.originaly = obj._y; obj.destinationx = obj._x; obj.destinationy = obj._y; } obj.accelerating = false; if (obj.angle < angletotarget) { obj.angle = obj.angle + obj.turning; } if (obj.angle > angletotarget) { obj.angle = obj.angle - obj.turning; } } anglediff = Math.abs(obj.angle - angletotarget); if (anglediff <= obj.turning) { if (GetDistance(obj, obj.target) < targetingrange) { if (Math.random() > 0.8) { FireLaser(obj, obj.target); obj.destinationx = undefined; obj.destinationy = undefined; } obj.tn = "Attacking"; } else { obj.tn = "Chasing"; obj.destinationx = obj.target._x; obj.destinationy = obj.target._y; } } if ((Math.random() > 0.99) && (obj.secondary > -1)) { if ((GetDistance(obj, obj.target) < targetingrange) && (obj.target.team != obj.team)) { FireWeapon(obj, obj.secondary); } } } else { if (obj.originalx != undefined) { obj.tn = "Returning"; obj.destinationx = obj.originalx; obj.destinationy = obj.originaly; } if (obj.returning == true) { if (GetDistanceToPoint(obj, obj.destinationx, obj.destinationy) < 100) { if (obj.resources > 0) { if (obj.team == _root.team) { _root.playsound(19, obj); } arrResources[obj.team] = arrResources[obj.team] + obj.resources; obj.resources = 0; } } } if (((Math.random() > 0.95) && ((obj.stealth <= 0) || (obj.miningcapacity > 0))) && (obj.shipid != 7)) { if (obj.miningcapacity > 0) { if ((obj.resources < obj.miningcapacity) || (obj.resources == undefined)) { closest = undefined; closestdistance = undefined; i = 0; while (i < _root.arrMeterorites.length) { if (_root.arrMeterorites[i]._x != undefined) { dist = GetDistance(obj, _root.arrMeterorites[i]); if ((dist < closestdistance) || (closestdistance == undefined)) { closest = _root.arrMeterorites[i]; closestdistance = dist; } } i++; } obj.returning = false; obj.target = closest; obj.destinationx = closest._x; obj.destinationy = closest._y; } } else { totargetx = obj.destinationx; totargety = obj.destinationy; if (totargetx == undefined) { totargetx = obj._x; totargety = obj._y; } i = 0; while (i < _root.arrShips.length) { tocheck = _root.arrShips[i]; if (((tocheck.team != obj.team) && (obj.weapon != 0)) || (((tocheck.team == obj.team) && (obj.weapon == 0)) && (tocheck.shield < tocheck.maxshield))) { if (((GetDistanceToPoint(tocheck, totargetx, totargety) < targetingrange) || (GetDistanceToPoint(tocheck, obj._x, obj._y) < targetingrange)) && (tocheck.stealth <= 0)) { obj.target = tocheck; break; } } i++; } if (obj.target._x == undefined) { i = 0; while (i < _root.arrBuildings.length) { tocheck = _root.arrBuildings[i]; if (((tocheck.setup == true) && ((tocheck.team != obj.team) && (obj.weapon != 0))) || (((tocheck.team == obj.team) && (obj.weapon == 0)) && (tocheck.shield < tocheck.maxshield))) { if (GetDistance(obj, tocheck) < targetingrange) { obj.target = tocheck; break; } } i++; } } } } } obj.yspeed = obj.speed * Math.sin((obj.angle - 90) / 57.2957795130823); obj.xspeed = obj.speed * Math.cos((obj.angle - 90) / 57.2957795130823); hitPlanet = HitPlanet(obj); if (hitPlanet != "") { angletoplanet = GetAngle(obj, hitPlanet); obj.yspeed = obj.yspeed - (2 * Math.sin((angletoplanet - 90) / 57.2957795130823)); obj.xspeed = obj.xspeed - (2 * Math.cos((angletoplanet - 90) / 57.2957795130823)); } if (obj.xblast != undefined) { obj.xspeed = obj.xspeed + obj.xblast; obj.yspeed = obj.yspeed + obj.yblast; obj.xblast = obj.xblast / 1.1; obj.yblast = obj.yblast / 1.1; } else { obj.xblast = 0; obj.yblast = 0; } if ((obj.accelerating != true) || (obj.destinationx == undefined)) { obj.speed = obj.speed / 1.15; } obj._x = obj._x + obj.xspeed; obj._y = obj._y + obj.yspeed; } } function ZoomIn(amount) { } function Damage(obj, amount, by) { if (obj == undefined) { trace("Damaging Undefined Object"); } else { if (obj.shield == undefined) { obj.shield = 0; } if ((obj.objecttype == "building") && (HasUpgrade(13, obj.team))) { obj.shield = obj.shield - (amount / 2); } else { obj.shield = obj.shield - amount; } if (obj.shield <= 0) { s = 0; while (s < _root.arrShips.length) { if ((_root.arrShips[s].shipid == 7) && (_root.arrShips[s].target == obj)) { _root.arrShips[s].originalx = _root.arrShips[s]._x; _root.arrShips[s].originaly = _root.arrShips[s]._y; _root.arrShips[s].destinationx = _root.arrShips[s]._x; _root.arrShips[s].destinationy = _root.arrShips[s]._y; } s++; } Explode(obj); if (obj.objecttype == "ship") { s = 0; while (s < _root.arrShips.length) { trytarget = _root.arrShips[s]; distance = Math.sqrt(((trytarget._x - by._x) * (trytarget._x - by._x)) + ((trytarget._y - by._y) * (trytarget._y - by._y))); if (((distance < (by.primaryrange * 2)) && (by.team != trytarget.team)) && (Math.random() > 0.5)) { by.target = trytarget; break; } s++; } } } if (obj.team != _root.team) { _root.AICommand("Attack Target", obj.team, by); } } } function isonscreen(obj) { xdistancefromcentre = obj._x - (game.view._x + (game.view._width / 2)); ydistancefromcentre = obj._y - (game.view._y + (game.view._height / 2)); return((Math.abs(xdistancefromcentre) < 750) && (Math.abs(ydistancefromcentre) < 650)); } function FireLaser(from, to) { if (to.stealth == true) { from.target = undefined; } if ((Math.random() > 0.98) && (from.team != team)) { from.target = undefined; } if ((((from.team != to.team) && (from.weapon != 0)) && (to.stealth <= 0)) || ((from.team == to.team) && (from.weapon == 0))) { _root.objnum++; from.invisiblelaster = true; from.stealth = false; angletotarget = GetAngle(from, to); bothonscreen = isonscreen(from) || (isonscreen(to)); if (from.weapon != 0) { i = 0; while (i < _root.arrShips.length) { tocheck = _root.arrShips[i]; if (((tocheck.team == to.team) && (tocheck.stealth <= 0)) && ((tocheck.target == undefined) || ((tocheck.target.objecttype == "building") && (Math.random() > 0.8)))) { if (GetDistance(to, tocheck) < tocheck.LaserRange) { if (tocheck.target == undefined) { tocheck.target = tocheck; } } } i++; } } if (from.weapon == 5) { if (from.reload <= 0) { playsound(25, from); if (bothonscreen == true) { dist = GetDistance(from, to); _root.objnum++; beam = game.attachMovie("Uber Beam", "beam" + objnum, objnum); _root.objnum++; beam.blast = game.attachMovie("Uber Blast", "blast" + objnum, objnum); from.angle = GetAngle(from, to); beam._x = from._x; beam._y = from._y; beam._rotation = from.angle; beam._height = dist; beam.blast._y = to._y; beam.blast._x = to._x; beam.blast._rotation = from.angle; } Damage(to, random(1000) + 750, from); from.reload = arrWeaponData[from.weapon][2]; } } else if (from.weapon > 2) { FireWeapon(from, from.weapon); } else if (from.weapon == 2) { ldamage = 15; playsound(22, from); if (from.lastfired == 1) { from.inner.gun2.play(); from.lastfired = 2; } else { from.inner.gun1.play(); from.lastfired = 1; } to.xblast = to.xblast + (2 * Math.cos((angletotarget - 90) / 57.2957795130823)); to.yblast = to.yblast + (2 * Math.sin((angletotarget - 90) / 57.2957795130823)); } else if ((from.weapon == 1) || (from.weapon == 0)) { strName = "laser_" + _root.objnum; if (bothonscreen == true) { laser = game.createEmptyMovieClip(strName, _root.objnum); laser.swapDepths(from); } if (from.weapon == 1) { if (HasUpgrade(8, from.team)) { lcolour = "0xFFFFFF"; ldamage = 40; } else if (HasUpgrade(7, from.team)) { lcolour = "0x00FFFF"; ldamage = 35; } else if (HasUpgrade(6, from.team)) { lcolour = "0x00FF00"; ldamage = 30; } else if (HasUpgrade(5, from.team)) { lcolour = "0x33FF00"; ldamage = 25; } else if (HasUpgrade(4, from.team)) { lcolour = "0xFFFF00"; ldamage = 20; } else if (HasUpgrade(3, from.team)) { lcolour = "0xFF9900"; ldamage = 15; } else { lcolour = "0xFF0000"; ldamage = 10; } if ((Level <= 2) && (from.team != team)) { ldamage = 3; lcolour = "0x666666"; } if (bothonscreen == true) { if (from.miningcapacity > 0) { laser.lineStyle(8, "0xFF9900"); } else { from.showonradar = 50; laser.lineStyle(2, lcolour); } } } else if (bothonscreen == true) { laser.lineStyle(2, "0xFFFFFF"); } if (bothonscreen == true) { laser.moveTo(from._x, from._y); laser.lineTo(to._x, to._y); laser.onEnterFrame = function () { this._alpha = this._alpha - 20; if (this._alpha < 20) { this.removeMovieClip(); } }; } } if ((from.miningcapacity > 0) && (to.resources != undefined)) { if ((HasUpgrade(21, from.team) == true) && (from.capacityincreased != true)) { from.capacityincreased = true; from.miningcapacity = from.miningcapacity * 1.5; } amount = random(10); if (to.maxresources == undefined) { to.maxresources = to.resources; to.origwidth = to._width; to.origheight = to._height; } if (HasUpgrade(20, from.team)) { to.resources = to.resources - (amount / 2); } else { to.resources = to.resources - amount; } if (to.resources <= 0) { to.blip.removeMovieClip(); to.removeMovieClip(); } else { to._width = to.origwidth * (to.resources / to.maxresources); to._height = to.origheight * (to.resources / to.maxresources); } if (from.resources == undefined) { from.resources = 0; } from.resources = from.resources + amount; if (from.resources >= from.miningcapacity) { from.resources = from.miningcapacity; from.target = undefined; closest = undefined; closestdistance = undefined; i = 0; while (i < arrBuildings.length) { dist = GetDistance(from, arrBuildings[i]); if ((closestdistance == undefined) || (dist < closestdistance)) { if ((arrBuildings[i].team == from.team) && ((arrBuildings[i].type == 0) || (arrBuildings[i].type == 4))) { closest = arrBuildings[i]; closestdistance = dist; } } i++; } if (closest != undefined) { from.destinationx = closest._x; from.destinationy = closest._y; from.originalx = closest._x; from.originaly = closest._y; from.returning = true; } } } else { if (from.weapon == 0) { to.shield = to.shield + 10; if (to.shield >= to.maxshield) { to.shield = to.maxshield; from.target = undefined; } } else if (from.weapon == 1) { playsound(0, from); Damage(to, random(ldamage), from); } else if (from.weapon == 2) { Damage(to, random(ldamage), from); } if (to.shield < 0) { i = 0; while (i <= 25) { _root.objnum++; newname = "scrap" + objnum; _root.game.attachMovie("Scrap", newname, objnum); setProperty(game[newname], _x , to._x); setProperty(game[newname], _y , to._y); game[newname].xspeed = random(20) - random(20); game[newname].yspeed = random(20) - random(20); game[newname].spin = random(100) - random(100); i++; } Explode(to); } else if ((to.target == undefined) && (from.weapon != 0)) { to.target = from; } } } else { from.target = undefined; } } function Explode(obj) { if (isonscreen(obj) == true) { if ((obj.debris == true) && (sk_fragments != false)) { i = 0; while (i <= 25) { _root.objnum++; newname = "scrap" + objnum; _root.game.attachMovie("Scrap", newname, objnum); setProperty(game[newname], _x , obj._x); setProperty(game[newname], _y , obj._y); game[newname].xspeed = random(20) - random(20); game[newname].yspeed = random(20) - random(20); game[newname].spin = random(100) - random(100); i++; } } } _root.objnum++; newname = "bang" + objnum; _root.game.attachMovie("Explosion", newname, objnum); setProperty(game[newname], _x , obj._x); setProperty(game[newname], _y , obj._y); setProperty(game[newname], _height , (obj._height + obj._width) / 2); setProperty(game[newname], _width , (obj._height + obj._width) / 2); _root.playsound(20, game[newname]); obj.blip.removeMovieClip(); obj.destmarker.removeMovieClip(); obj.healthbar.removeMovieClip(); obj.removeMovieClip(); CountBuildings(); } function ExplodePlanet(planet) { var _local3; if (planet._x != undefined) { _local3 = 0; while (_local3 < _root.arrBuildings.length) { tocheck = _root.arrBuildings[_local3]; if (tocheck.planet == planet) { Explode(tocheck); } _local3++; } m = 3 + random(4); _local3 = 0; while (_local3 < m) { AddMeteorite((planet._x + random(planet._width / 2)) - random(planet._width / 2), (planet._y + random(planet._width / 2)) - random(planet._width / 2), planet.style); _local3++; } Explode(planet); } else { trace(planet + " does not exist"); } } function GroundTurretControl(obj) { if ((Math.random() > 0.9) && ((obj.type != 0) || (HasUpgrade(14, obj.team) == true))) { if (obj.target._x == undefined) { i = 0; while (i < _root.arrShips.length) { tocheck = _root.arrShips[i]; if ((tocheck.team != obj.team) && (tocheck.stealth <= 0)) { if (GetDistance(obj, tocheck) < obj.LaserRange) { obj.target = tocheck; } } i++; } } else { if (obj.target.stealth == true) { obj.target = undefined; } obj.targetdistance = GetDistance(obj, obj.target); if ((obj.targetdistance < obj.LaserRange) || (((obj.type == 3) && (obj.targetdistance < (obj.LaserRange * 1.5))) && (HasUpgrade(19, obj.team)))) { if (obj.weapon == 1) { FireLaser(obj, obj.target); } else { FireWeapon(obj, obj.weapon); } } else { obj.target = undefined; } } } } function HitPlanet(obj, dist) { vReturn = ""; if (dist == undefined) { dist = 50; } p = 0; while (p < arrPlanets.length) { theplanet = arrPlanets[p]; if (GetDistance(obj, theplanet) < ((theplanet._width / 2) + dist)) { vReturn = theplanet; } p++; } return(vReturn); } function GetAngle(obj1, obj2) { if (obj1._x > obj2._x) { return(((Math.atan((obj1._y - obj2._y) / (obj1._x - obj2._x)) * 57.2957795130823) + 90) + 180); } return((Math.atan((obj1._y - obj2._y) / (obj1._x - obj2._x)) * 57.2957795130823) + 90); } function GetAngleToPoint(obj1, x, y) { if (obj1._x > x) { return(((Math.atan((obj1._y - y) / (obj1._x - x)) * 57.2957795130823) + 90) + 180); } return((Math.atan((obj1._y - y) / (obj1._x - x)) * 57.2957795130823) + 90); } function GetDistance(obj1, obj2) { return(GetDistanceToPoint(obj1, obj2._x, obj2._y)); } function GetDistanceToPoint(obj1, x, y) { ydist = Math.abs(y - obj1._y); xdist = Math.abs(x - obj1._x); return(Math.round(Math.sqrt((xdist * xdist) + (ydist * ydist)))); } minimapscale = 70; arrLevelStartSettings = []; arrLevelStartSettings[1] = [1, 1, 1000, 1000]; arrLevelStartSettings[2] = [1, 1, 1000, 1000]; arrLevelStartSettings[3] = [1, 1, 1000, 1000]; arrLevelStartSettings[4] = [1, 1, 1000, 1000]; arrLevelStartSettings[5] = [2, 2, 2000, 1000]; arrLevelStartSettings[6] = [2, 2, 2000, 2000]; arrLevelStartSettings[7] = [2, 2, 2000, 2000]; arrLevelStartSettings[8] = [3, 2, 2000, 2000]; arrLevelStartSettings[9] = [3, 3, 2000, 2000]; arrLevelStartSettings[10] = [3, 3, 2500, 2500]; arrLevelStartSettings[11] = [4, 3, 2500, 2500]; arrLevelStartSettings[12] = [4, 4, 3000, 3000]; arrLevelStartSettings[13] = [4, 4, 3000, 3000]; Color.prototype.setTintOffset = function (r, g, b) { var _local2 = {rb:r, gb:g, bb:b}; this.setTransform(_local2); }; function ShipAction(action) { var _local2; _local2 = 0; while (_local2 < _root.arrShips.length) { if (_root.arrShips[_local2].selected == true) { if (_root.arrShips[_local2].action == action) { DoAction(_root.arrShips[_local2]); } } _local2++; } } function DoAction(ship) { trace(((("Ship Action: " + arrShipActions[ship.action][0]) + " (ship: ") + ship._name) + ")"); if (ship.team == _root.team) { playsound(4); } switch (ship.action) { case 0 : playsound(17, ship); DeployMines(5, ship); break; case 1 : trace("Doing: Deploying Control Centre"); ship.doing = "deploycontrolcentre"; TutorialPageDone(3); break; case 2 : trace("Doing: Stealth"); playsound(18, ship); ship.stealth = true; ship.target = undefined; } } function DeployMines(amount, obj) { if (obj.action != -1) { trace("Deploy mines from ship: " + obj._name); var _local3; _local3 = 0; while (_local3 < amount) { _root.objnum++; newmine = game.attachMovie("Mine", "mine" + objnum, objnum); newmine._x = obj._x; newmine._y = obj._y; newmine.team = obj.team; newmine.colour = obj.colour; _local3++; } obj.action = -1; } else { trace("No mines left in ship: " + obj._name); } } function SectorUpgrade(SectorNum) { intReturn = ""; i = 0; while (i < arrUpgrades.length) { if (arrUpgrades[i][11] == SectorNum) { intReturn = i; } i++; } return(intReturn); } trace("---------------------------------------------------------------------------------------"); trace("Setting Up...."); trace("---------------------------------------------------------------------------------------"); arrTeamData = []; arrTeamData.push(["Blue Team", "00CCFF"]); arrTeamData.push(["Red Team", "FF0000"]); arrTeamData.push(["Purple Team", "9900FF"]); arrTeamData.push(["New Earth Empire", "00FF00"]); arrShortcuts = []; arrShortcuts.push(["Jump to Command Centre", "Select and move camera to main your main command centre", "c"]); arrShortcuts.push(["Select combat ships", "Select all operational ships that are capable of fighting", "a"]); arrShortcuts.push(["Select mining drones", "Select all currently operational mining drones", "m"]); arrShortcuts.push(["Surrender", "Surrender this battle so that you may try again", "s", true]); arrShortcuts.push(["Pause", "Pause the action and access extra options", "p"]); arrShortcuts.push(["Help", "Display the last tutorial message again", "h"]); arrShortcuts.push(["Controls", "Display a list of controls and keyboard shortcuts", "w"]); arrShortcuts.push(["Quit", "Exit to main menu", "q"]); trace("Teams"); array = arrTeamData; i = 0; while (i < array.length) { trace(array[i][0]); i++; } trace(arrTeamData.length + " teams."); trace("---------------------------------------------------------------------------------------"); arrBuildingData = []; arrBuildingData.push(["Command Centre", 10, -1, 1500, 3, 2, 0, "Your main headquarters. Build standard buildings and drones.", 4000, 1, 1, 1]); arrBuildingData.push(["Power Station", 300, 0, -1, -1, 0, 200, "Increases power by +2. Increased power speeds up ship build time.", 500, 1, 1, 1]); arrBuildingData.push(["Battle Centre", 700, 0, -1, -1, 0, 400, "Allows you to build attack ships, defence turrets and interplanetary missle silos", 2000, 2, 1, 1]); arrBuildingData.push(["Laser Turret", 300, 0, 500, 1, 0, 250, "Basic ground based defence laser turret. Helps defend your planet.", 2000, 1, 1, 3]); arrBuildingData.push(["Resource Mine", 300, 0, -1, -1, 3, 300, "Increases your resource rate and allows you to build mining drones.", 2500, 1, 1, 2]); arrBuildingData.push(["Torpedo Turret", 300, 2, 1500, 3, 0, 600, "Long range, ground based defence torpedo turret. Helps defend your planet.", 2000, 2, 1, 1]); arrBuildingData.push(["Long Range Scanner", 600, 0, -1, -1, 0, 300, "Detects the locations of enemy ships and adds them to your minimap", 1500, 2, 1, 1]); arrBuildingData.push(["Research Centre", 500, 0, -1, -1, 0, 400, "Allows you to increase your tech level, upgrade ships and unlocks some buildings", 2000, 1, 3, 4]); arrBuildingData.push(["Interplanetary Missle Silo", 300, 2, -1, -1, 0, 250, "Allows construction of interplanetary missles", 1000, 2, 4, 5]); trace("Buildings"); array = arrBuildingData; i = 0; while (i < array.length) { trace(array[i][0]); i++; } trace(arrBuildingData.length + " buildings."); trace("---------------------------------------------------------------------------------------"); arrWeaponData = []; arrWeaponData.push(["Repair Laser", 450, 10]); arrWeaponData.push(["Laser", 450, 10]); arrWeaponData.push(["Projectile", 450, 10]); arrWeaponData.push(["Missle1", 550, 25]); arrWeaponData.push(["Artillery", 2000, 125]); arrWeaponData.push(["Uber Laser", 1000, 50]); arrWeaponData.push(["Blaster", 500, 15]); trace("Ship Weapons"); array = arrWeaponData; i = 0; while (i < array.length) { trace(array[i][0]); i++; } trace(arrWeaponData.length + " ship weapons."); trace("---------------------------------------------------------------------------------------"); arrShipData = []; arrShipData.push(["Attack Drone", 3, 5, 0, 1, 20, 6, 1, 5, 0, 50, "Basic attack drone. Weak, but good value for money.", -1, 1, 0, -1, 5, 1, 1]); arrShipData.push(["Repair Drone", 5, 6, 0, 0, 20, 6, 1, 5, 0, 70, "Drone that will automatically repair friendly ships if damaged. Can also repair buildings.", -1, 1, 0, -1, 1, 2, 2]); arrShipData.push(["Standard Fighter", 1, 15, 2, 2, 100, 10, 2, 6, 0, 150, "Standard attack ship. Fast moving and armed with projectile cannons and guided torpedos.", 3, 2, 0, -1, 10, 3, 1]); arrShipData.push(["Armoured Fighter", 6, 25, 2, 2, 300, 4, 1, 5, 1, 300, "Slow moving fighter with heavy armour. Armed with projectile cannons and guided torpedos.", 3, 2, 0, -1, 5, 3, 5]); arrShipData.push(["Mining Drone", 4, 7, 4, 1, 20, 6, 1, 5, 0, 50, "Drone used to gather resources from meteorites.", -1, 1, 100, -1, 5, 1, 3]); arrShipData.push(["Mine Layer", 9, 25, 2, 1, 120, 5, 1, 5, 1, 400, "Drops a cluster of mines that can cause great damage to enemy ships that pass over them.", -1, 3, 0, 0, 2, 6, 6]); arrShipData.push(["Mobile Construction Ship", 8, 40, 0, 2, 500, 5, 1, 1, 1, 800, "Can construct a command centre on any unoccupied planet.", 0, 2, 0, 1, 1, 1, 1]); arrShipData.push(["Artillery Ship", 7, 25, 0, 4, 200, 3, 1, 1, 1, 350, "Long range high powered, but slow ship", -1, 3, 0, -1, 2, 5, 6]); arrShipData.push(["Impact Blaster", 10, 25, 2, 6, 300, 6, 2, 5, 1, 400, "Fighter with weapons that do good damage and also blast ships away, sometimes into planets.", -1, 4, 0, -1, 5, 1, 1]); arrShipData.push(["Stealth Fighter", 11, 25, 2, 1, 300, 7, 1, 5, 1, 350, "Tough ship that can hide itself from the enemy (and their radar), but using a stealth system.", 3, 3, 0, 2, 5, 1, 1]); arrShipData.push(["Rapid Attack Ship", 12, 25, 2, 2, 200, 15, 1, 5, 1, 400, "Fast moving heavily armoured fighter.", 3, 4, 0, -1, 5, 1, 1]); arrShipData.push(["Orbital Devastator", 13, 40, 0, 5, 800, 4, 1, 5, 1, 1500, "Slow moving ship with a very powerful weapon. very effective against buildings.", 3, 5, 0, -1, 2, 1, 1]); trace("Ships"); array = arrShipData; i = 0; while (i < array.length) { trace(array[i][0]); i++; } trace(arrShipData.length + " ships."); trace("---------------------------------------------------------------------------------------"); arrUpgrades = []; arrUpgrades.push(["Tech Level 2", 7, 1, 1000, "Allows purchasing of Tech 2 Units, Buildings and Upgrades.", 2, 90, -1, 1, 3, 4, -1]); arrUpgrades.push(["Command Centre Power Enhancer", 0, 1, 200, "Command Centre generates an extra +3 power.", 0, 30, -1, -1, 4, 4, 11]); arrUpgrades.push(["Enhanced Power Matrix", 1, 2, 1000, "Power stations generate an extra +1 power each.", 0, 60, -1, -1, 4, 4, 12]); arrUpgrades.push(["Level 2 Lasers", 7, 1, 500, "Upgrade the damage done by ships with laser cannons.", 0, 60, -1, -1, 3, 4, -1]); arrUpgrades.push(["Level 3 Lasers", 7, 2, 1000, "Upgrade the damage done by ships with laser cannons.", 0, 60, 3, -1, 4, 5, -1]); arrUpgrades.push(["Level 4 Lasers", 7, 3, 1500, "Upgrade the damage done by ships with laser cannons.", 0, 60, 4, -1, 1, 1, -1]); arrUpgrades.push(["Level 5 Lasers", 7, 4, 2000, "Upgrade the damage done by ships with laser cannons.", 0, 60, 5, -1, 1, 1, -1]); arrUpgrades.push(["Level 6 Lasers", 7, 5, 2500, "Upgrade the damage done by ships with laser cannons.", 0, 60, 6, -1, 1, 1, -1]); arrUpgrades.push(["Level 7 Lasers", 7, 5, 3000, "Upgrade the damage done by ships with laser cannons.", 0, 60, 7, -1, 1, 1, -1]); arrUpgrades.push(["Tech Level 3", 7, 2, 2000, "Allows purchasing of Tech 3 Units, Buildings and Upgrades.", 3, 90, -1, 2, 5, 6, -1]); arrUpgrades.push(["Tech Level 4", 7, 3, 2000, "Allows purchasing of Tech 4 Units, Buildings and Upgrades.", 4, 120, -1, 3, 7, 8, -1]); arrUpgrades.push(["Tech Level 5", 7, 4, 3000, "Allows purchasing of Tech 5 Units, Buildings and Upgrades.", 5, 180, -1, 4, 9, 10, -1]); arrUpgrades.push(["Improved Construction Speed", 0, 1, 500, "Halves the time it takes to construct buildings.", 0, 120, -1, -1, 1, 1, 1]); arrUpgrades.push(["Improved Building Armour", 0, 3, 500, "Doubles the toughness of all buildings making them harder to destroy.", 0, 120, -1, -1, 1, 1, 2]); arrUpgrades.push(["Command Centre Torpedo", 0, 3, 500, "Adds a torpedo launcher to your command centre allowing it to defend against enemies.", 0, 80, -1, -1, 1, 1, 3]); arrUpgrades.push(["Mining Drone Stealth", 4, 2, 500, "Gives mining drones a stealth ability protectecting them whilst en route to asteroids.", 0, 90, -1, -1, 1, 1, 4]); arrUpgrades.push(["Enemy Status Scanner", 6, 2, 500, "Enables your Long Range Scanner to produce a report about your enemies resources, power etc.", 0, 60, -1, -1, 1, 1, 5]); arrUpgrades.push(["Improved Resource Rate", 4, 1, 500, "Increases the rate which resource mines produce resources from the planet.", 0, 90, -1, -1, 1, 1, 6]); arrUpgrades.push(["Improved Ship Speed", 2, 2, 500, "All ships move slightly faster.", 0, 120, -1, -1, 1, 1, 7]); arrUpgrades.push(["Improved Laser Turret Range", 3, 1, 500, "Improves the firing range of Laser Turrets by 50%", 0, 90, -1, -1, 1, 1, 8]); arrUpgrades.push(["Improved Mining Efficiency", 4, 2, 500, "Allows Mining Drone to mine 50% more resources out of each asteroid.", 0, 60, -1, -1, 1, 1, 9]); arrUpgrades.push(["Improved Mining Drone Capacity", 4, 3, 1000, "Allows mining drones to hold 50% more resources, meaning they can transport more back each trip.", 0, 120, -1, -1, 1, 1, 10]); trace(arrUpgrades.length + " upgrades."); trace("---------------------------------------------------------------------------------------"); arrShipActions = []; arrShipActions.push(["Deploy Mines", "Drops explosive mines around the ship that will damage enemy ships that get too close."]); arrShipActions.push(["Deploy Command Centre", "Build a command centre on the nearest free planet."]); arrShipActions.push(["Cloak", "Makes ship invisible to enemy. Disabled whilst attacking."]); trace(arrShipActions.length + " ship actions."); trace("---------------------------------------------------------------------------------------"); arrInterplanetaryWeapons = []; arrInterplanetaryWeapons.push(["Level 1 IP Missle", 100, 8, 45, "Long range missle to be fired from your planets surface at an enemy's building on another planet.", 2, 1, 1]); arrInterplanetaryWeapons.push(["Level 2 IP Missle", 200, 8, 60, "Faster more powerful IP Missle less likely to be destroyed by laser turrets", 3, 1, 1]); arrInterplanetaryWeapons.push(["Level 3 IP Missle", 400, 8, 70, "Even more destructive IP missle which is even harder to be destroyed by enemy laser turrets", 4, 1, 1]); arrInterplanetaryWeapons.push(["Planet Destroyer", 2000, 8, 150, "IP Missle with the ability to destroy an entire planet and everything on it.", 5, 10, 11]); trace("Inteplanetary weapons"); array = arrInterplanetaryWeapons; i = 0; while (i < array.length) { trace(array[i][0]); i++; } trace(arrInterplanetaryWeapons.length + " inteplanetary weapons."); trace("---------------------------------------------------------------------------------------"); _quality = "HIGH"; so = SharedObject.getLocal("EridaniData"); inprogress = so.data.arrSectorsConquered != undefined; if (so.data.sfx != undefined) { for (obj in so.data) { if (obj.indexOf("sk_") > -1) { trace((("Found: " + obj) + ": ") + so.data[obj]); _root[obj] = so.data[obj]; } } } if (so.data.maxtech != undefined) { _root.maxtech = so.data.maxtech; } trace("Game in progress: " + inprogress); _root.gotoAndStop("menu");
Instance of Symbol 261 MovieClip in Frame 2
onClipEvent (load) { function clickaction() { _root.gotoAndStop("intro"); } label = "Play Eridani"; }
Frame 3
inprogress = so.data.arrSectorsConquered != undefined; _quality = "HIGH"; CreateNebula(26112, 1); Mouse.show(); stopAllSounds();
Instance of Symbol 261 MovieClip in Frame 3
onClipEvent (load) { function clickaction() { _root.gamemode = 1; _root.arrSectorsConquered = []; _root.gotoAndStop("newgamestory"); } label = "New Campaign"; }
Instance of Symbol 261 MovieClip in Frame 3
onClipEvent (load) { function clickaction() { _root.gotoAndStop("options"); } label = "Options"; }
Instance of Symbol 261 MovieClip in Frame 3
onClipEvent (load) { function clickaction() { _root.gotoAndStop("credits"); } label = "Credits"; }
Instance of Symbol 261 MovieClip in Frame 3
onClipEvent (load) { function clickaction() { _root.gamemode = 1; _root.arrSectorsConquered = _root.so.data.arrSectorsConquered; _root.gotoAndStop("map"); } label = "Continue Campaign"; disabled = _root.inprogress != true; }
Instance of Symbol 261 MovieClip in Frame 3
onClipEvent (load) { function clickaction() { _root.Level = 20; _root.gamemode = 2; _root.gotoAndStop("skirmish"); } label = "Skirmish Mode"; }
Instance of Symbol 261 MovieClip in Frame 3
onClipEvent (load) { function clickaction() { getURL ("http://www.andkon.com/arcade/", "_blank"); } label = "AndKon Arcade"; }
Frame 4
_root.objnum = 0; team = 0; colour = arrTeamData[team][1]; resources = 500; techlevel = 1; arrSounds = []; arrSounds.push(["laser", 40, true]); arrSounds.push(["boom", 100, false]); arrSounds.push(["select", 100, false]); arrSounds.push(["ordermove", 100, false]); arrSounds.push(["shipaction", 100, false]); arrSounds.push(["error", 100, false]); arrSounds.push(["upgradedone", 100, false]); arrSounds.push(["build", 100, false]); arrSounds.push(["commandcentre", 100, false]); arrSounds.push(["powerplant", 100, false]); arrSounds.push(["resourcemine", 100, false]); arrSounds.push(["battlecentre", 100, false]); arrSounds.push(["researchcentre", 100, false]); arrSounds.push(["longrangeradar", 100, false]); arrSounds.push(["turret", 100, false]); arrSounds.push(["ipmisslesilo", 100, false]); arrSounds.push(["artilleryhit", 100, true]); arrSounds.push(["dropmines", 100, true]); arrSounds.push(["stealth", 100, true]); arrSounds.push(["money1", 100, true]); arrSounds.push(["explode", 100, true]); arrSounds.push(["shortcut", 100, false]); arrSounds.push(["gun", 100, true]); arrSounds.push(["firetorpedo", 100, true]); arrSounds.push(["torpedohit", 100, true]); arrSounds.push(["uberlaser", 100, true]); arrSounds.push(["artilleryfire", 100, true]); arrSounds.push(["artilleryhit", 100, true]); arrSounds.push(["blastersound", 100, true]); arrSounds.push(["pd", 100, false]); arrSounds.push(["blasterhit", 100, true]); arrSoundsPlaying = []; i = 0; while (i < arrSounds.length) { if (arrSounds[i][2] == true) { v = 1; while (v <= 5) { _root.objnum++; newName = (("s_" + i) + "_") + v; _root.createEmptyMovieClip(newName, _root.objnum); _root[newName].theSound = new Sound(_root[newName]); _root[newName].theSound.attachSound(arrSounds[i][0]); _root[newName].theSound.setVolume((arrSounds[i][1] / 100) * (20 * v)); trace(_root[newName]._name); v++; } } i++; } showteaminfo = false; _root.objnum = 25; _root.arrShips = []; _root.arrBuildings = []; _root.arrMeterorites = []; arrTeamUpgrades = []; arrTeamUpgrades.push([]); arrTeamUpgrades.push([]); arrTeamUpgrades.push([]); arrTeamUpgrades.push([]); _root.QuadrantRow = random(20); _root.QuadrantCol = random(20); ShipLimit = sk_shiplimit; CountShips(); CountBuildings(); _root.gamepaused = false; _root.LevelOver = false; if (gamemode == 2) { arrTeamData[0][1] = sk_yourcolour; arrTeamData[1][1] = sk_enemycolour; } _quality = sk_quality; trace("SN:" + sectornumber); if (_root.gamemode == 2) { CreateNebula(sk_bgcolour, 2); } else if (sectornumber == 0) { CreateNebula(102, 2); } else { CreateNebula(26112, random(10)); } if (listener != undefined) { Key.removeListener(listener); listener = undefined; } listener = new Object(); Key.addListener(listener); arrAssignedKeys = []; listener.onKeyDown = function () { if (((Key.getCode() - 48) >= 0) && ((Key.getCode() - 48) <= 9)) { if (Key.isDown(17)) { i = 0; while (i < arrShips.length) { if (arrShips[i].selected == true) { arrShips[i].assigned = Key.getCode() - 48; } i++; } } else { i = 0; while (i < arrShips.length) { arrShips[i].selected = arrShips[i].assigned == (Key.getCode() - 48); i++; } } } else { sk = 0; while (sk < arrShortcuts.length) { if (String.fromCharCode(Key.getCode()).toLowerCase() == arrShortcuts[sk][2]) { trace((("Shortcut Key: " + String.fromCharCode(Key.getCode())) + ", doing shortcut: ") + arrShortcuts[sk][0]); _root.DoShortcut(sk); } sk++; } } }; if (_root.gamemode == 2) { enemyteam = 1; arrEnemyUpgrades = [true, true, true, true, true, true, true, true, true, true, true, true, true]; } else { arrEnemyUpgrades = []; enemyupgradecount = Level - 4; do { rndupgrade = random(12) + 1; if (arrEnemyUpgrades[rndupgrade] != true) { arrEnemyUpgrades[rndupgrade] = true; enemyupgradecount--; trace("Enemy Allowed Upgrade: " + arrUpgrades[SectorUpgrade(rndupgrade)][0]); } } while (enemyupgradecount > 0); if (Level == 1) { Tutorial(1); } else if (Level == 2) { Tutorial(11); } else if (Level == 3) { Tutorial(13); } else if (Level == 4) { Tutorial(15); } else if (Level == 5) { Tutorial(16); } else if (Level == 6) { Tutorial(17); } else if (Level == 7) { Tutorial(18); } else if (Level == 8) { Tutorial(19); } else if (Level == 9) { Tutorial(20); } else { trace("No tutorial on this level"); } } playsound(1);
Instance of Symbol 294 MovieClip "game" in Frame 4
onClipEvent (load) { function hasrepairships() { blnHasRepair = false; if (repairshipsSelected == undefined) { i = 0; while (i < _root.arrShips.length) { if ((_root.arrShips[i].weapon == 0) && (_root.arrShips[i].selected == true)) { blnHasRepair = true; break; } i++; } } return(blnHasRepair); } cursorstyle = ""; battletime = 0; _xscale = 40; _yscale = 40; exptimer = 0; wincount = 0; lsoecount = 0; } onClipEvent (mouseDown) { if (((_root._xmouse < 520) || (_root._ymouse > 120)) && (_root._ymouse < 475)) { mouseposx = _xmouse; mouseposy = _ymouse; selecting = true; } } onClipEvent (enterFrame) { _root.arrSoundsPlaying = []; _root.resources = _root.arrResources[_root.team]; _root.techlevel = _root.arrTechLevel[_root.team]; if (_root.techlevel > _root.maxtech) { _root.maxtech = _root.techlevel; _root.so.data.maxtech = _root.maxtech; } if (_root.gamepaused == false) { battletime++; } seconds = 0; minutes = 0; hours = 0; seconds = Math.floor(battletime / 24); if (seconds >= 60) { minutes = Math.floor(seconds / 60); seconds = seconds - (minutes * 60); } if (minutes > 60) { hours = Math.floor(minutes / 60); minutes = minutes - (hours * 60); } if (seconds.toString().length < 2) { seconds = "0" + seconds; } if (minutes.toString().length < 2) { minutes = "0" + minutes; } _root.hudtext.battletime = (((hours + ":") + minutes) + ":") + seconds; shipspread = 150; objFirstShip = undefined; intSelectedAmount = -1; intOnWay = 0; i = 0; while (i < _root.arrShips.length) { tocheck = _root.arrShips[i]; if (tocheck.selected == true) { if (tocheck.onway == true) { intOnWay++; } intSelectedAmount++; } i++; } _root.intSelectedShips = intSelectedAmount; if (intSelectedAmount > -1) { if (ordermessage != intSelectedAmount) { _root.Tutorial(2); _root.GameMessage("Awaiting Orders. Press Space to Deselect"); ordermessage = intSelectedAmount; _root.playsound(2); } } else { ordermessage = -1; } shipnum = 0; arrCountExistingShips = [0, 0, 0, 0]; i = 0; while (i < _root.arrShips.length) { tocheck = _root.arrShips[i]; if ((tocheck.team != undefined) && (tocheck.ismissle != true)) { arrCountExistingShips[tocheck.team]++; } strName = tocheck._name + "_destmarker"; if (Key.isDown(32)) { _root.DeselectAll(); _root.GameMessage(""); } if ((tocheck.selected == true) && (cursorstyle == "")) { if (objFirstShip == undefined) { objFirstShip = tocheck; xoffset = 0; yoffset = 0; } else { rings = Math.ceil(intSelectedAmount / 10); distance = Math.ceil((shipnum + 1) / (intSelectedAmount / rings)) * 150; anglestep = rings * (360 / intSelectedAmount); angleoffset = 90 + _root.GetAngleToPoint(objFirstShip, _xmouse, _ymouse); tocheck.angleoffset = angleoffset; yoffset = distance * Math.sin(((angleoffset + (anglestep * shipnum)) - 90) / 57.2957795130823); xoffset = distance * Math.cos(((angleoffset + (anglestep * shipnum)) - 90) / 57.2957795130823); shipnum++; } _root.objnum++; if (this[strName] != undefined) { marker = this[strName]; } else { marker = attachMovie("Marker 2", strName, _root.objnum); } tocheck.destmarker = marker; if ((intOnWay <= 0) && (selecting != true)) { marker._alpha = 100; } else { marker._alpha = 25; } marker._x = _xmouse + xoffset; marker._y = _ymouse + yoffset; marker._rotation = angleoffset - 90; hitplanet = _root.HitPlanet(marker, 150); if (hitplanet != "") { planetangle = _root.GetAngle(marker, hitplanet); planetsize = (hitplanet._width / 2) + 150; yoffset = planetsize * Math.sin((planetangle - 90) / 57.2957795130823); xoffset = planetsize * Math.cos((planetangle - 90) / 57.2957795130823); marker._y = hitplanet._y - yoffset; marker._x = hitplanet._x - xoffset; } tocheck.possiblex = marker._x; tocheck.possibley = marker._y; tocheck.possiblerot = marker._rotation; } else { if (this[strName] != undefined) { removeMovieClip(this[strName]); } if ((this[strName] != undefined) && (tocheck.onway == false)) { removeMovieClip(this[strName]); } } i++; } _root.arrExistingShips = arrCountExistingShips.slice(); _root.myshipcount = (_root.arrExistingShips[_root.team] + "/") + _root.ShipLimit; if (_root.gamepaused == false) { if (losecount == undefined) { losecount = 0; } if (wincount == undefined) { wincount = 0; } if (((_root.arrExistingBuildings[0] <= 0) && (!_root.hasConstructionShip(0))) || (losecount >= 125)) { losecount++; } else if (((((((_root.arrExistingBuildings[1] <= 0) && (!_root.hasConstructionShip(1))) && (_root.arrExistingBuildings[2] <= 0)) && (!_root.hasConstructionShip(2))) && (_root.arrExistingBuildings[3] <= 0)) && (!_root.hasConstructionShip(3))) || (wincount >= 125)) { wincount++; } else { losecount = 0; wincount = 0; } if (losecount >= 125) { _root.DeselectAll(); if (_root.sk_music == true) { if (losecount == 125) { stopAllSounds(); } else { _root.musicplayer.gotoAndStop("lose"); } } if (_root.gamemode == 1) { _root.vd.gotoAndStop(3); } else { _root.vd.gotoAndStop(5); } wincount = 0; _root.LevelOver = true; } if (wincount >= 125) { _root.DeselectAll(); if (_root.LevelOver != true) { _root.WinRound(); } if (_root.sk_music == true) { if (wincount == 125) { stopAllSounds(); } else { _root.musicplayer.gotoAndStop("win"); } } if (_root.gamemode == 1) { _root.vd.gotoAndStop(2); } else { _root.vd.gotoAndStop(4); } losecount = 0; _root.LevelOver = true; } if (_root.gamemode == 1) { if (wincount >= 250) { _root.Key.removeListener(listener); if (_root.gamemode == 2) { _root.gotoAndStop("menu"); } else { _root.gotoAndStop("map"); } } if (losecount >= 250) { _root.Key.removeListener(listener); if (_root.gamemode == 2) { _root.gotoAndStop("menu"); } else { _root.gotoAndStop("map"); } } } } } onClipEvent (mouseUp) { if (rect._x == undefined) { if (_root._ymouse < 470) { if (_root.NotTouchingMenu()) { if (intSelectedAmount > -1) { _root.playsound(3); i = 0; while (i < _root.arrShips.length) { tocheck = _root.arrShips[i]; if (tocheck.selected == true) { tocheck.destinationx = tocheck.possiblex; tocheck.destinationy = tocheck.possibley; if (tocheck.target == undefined) { s = 0; while (s < _root.arrShips.length) { trytarget = _root.arrShips[s]; distance = Math.sqrt(((trytarget._x - tocheck.destinationx) * (trytarget._x - tocheck.destinationx)) + ((trytarget._y - tocheck.destinationy) * (trytarget._y - tocheck.destinationy))); if (((distance < tocheck.primaryrange) && (tocheck.team != trytarget.team)) && (Math.random() > 0.5)) { tocheck.target = trytarget; break; } s++; } } if (cursorstyle != "repair") { tocheck.doing = undefined; tocheck.rot = tocheck.possiblerot; tocheck.originalx = tocheck.possiblex; tocheck.originaly = tocheck.possibley; tocheck.onway = true; } _root.Tutorial(3); } i++; } } } } } else { _root.DeselectAll(); i = 0; while (i < _root.arrShips.length) { tocheck = _root.arrShips[i]; if (tocheck.team == _root.team) { if (rect.hitTest(tocheck) && (tocheck.ismissle != true)) { tocheck.selected = true; _root.camerafocus = tocheck; } else if (!Key.isDown(16)) { tocheck.selected = false; } } else { tocheck.selected = false; } i++; } } selecting = false; rect.removeMovieClip(); } onClipEvent (mouseMove) { if (_root.gamepaused != false) { selecting = false; } if (selecting == true) { if ((Math.abs(mouseposx - _xmouse) > 30) && (Math.abs(mouseposy - _ymouse) > 30)) { rect = createEmptyMovieClip("selectbox", 20000); rect.lineStyle(1, 16777215); rect.beginFill(39168, 20); rect.moveTo(mouseposx, mouseposy); rect.lineTo(_xmouse, mouseposy); rect.lineTo(_xmouse, _ymouse); rect.lineTo(mouseposx, _ymouse); rect.lineTo(mouseposx, mouseposy); } } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.NotTouchingMenu()) { blnTouching = ""; i = 0; while (i < _root.arrShips.length) { if (_root.arrShips[i].hitTest(_root._xmouse, _root._ymouse, false) && (_root.arrShips[i].ismissle != true)) { blnTouching = "ship"; blnTouchingObj = _root.arrShips[i]; break; } i++; } if (blnTouching == "") { i = 0; while (i < _root.arrBuildings.length) { if (_root.arrBuildings[i].hitTest(_root._xmouse, _root._ymouse, false)) { blnTouching = "building"; blnTouchingObj = _root.arrBuildings[i]; break; } i++; } } cursorstyle = ""; if (selecting == true) { cursorstyle = ""; _root.tooltip.txtTipText.text = ""; } else if ((((_root.settingtarget != undefined) && (blnTouching == "building")) && (blnTouchingObj.team != _root.team)) && (_root.settingtarget.weaponloaded <= 2)) { cursorstyle = "eship"; _root.tooltip.txtTipText.text = (("Fire " + _root.arrInterplanetaryWeapons[_root.settingtarget.weaponloaded][0]) + " at ") + _root.arrBuildingData[blnTouchingObj.type][0]; } else if ((_root.settingtarget != undefined) && (_root.settingtarget.weaponloaded > 2)) { i = 0; while (i < _root.arrPlanets.length) { if (_root.arrPlanets[i].hitTest(_root._xmouse, _root._ymouse, false) && (_root.arrPlanets[i] != _root.settingtarget.planet)) { blnTouching = "planet"; blnTouchingObj = _root.arrPlanets[i]; break; } i++; } if (blnTouching == "planet") { cursorstyle = "eship"; _root.tooltip.txtTipText.text = ("Fire " + _root.arrInterplanetaryWeapons[_root.settingtarget.weaponloaded][0]) + " at this planet"; } else { _root.tooltip.txtTipText.text = ""; } } else if (blnTouching == "ship") { if (blnTouchingObj.team == _root.team) { if (intSelectedAmount <= -1) { cursorstyle = "fship"; repairshipsSelected = undefined; } else if (hasrepairships() == true) { cursorstyle = "repair"; } } else if (intSelectedAmount > -1) { cursorstyle = "eship"; } _root.tooltip.txtTipText.text = _root.arrShipData[blnTouchingObj.shipid][0]; } else if (blnTouching == "building") { if ((blnTouchingObj.buildtimer > 0) && (blnTouchingObj.buildpercentage != undefined)) { _root.tooltip.txtTipText.text = "Building: " + blnTouchingObj.buildpercentage; } else { _root.tooltip.txtTipText.text = _root.arrBuildingData[blnTouchingObj.type][0]; } if (blnTouchingObj.team != _root.team) { if (intSelectedAmount > -1) { cursorstyle = "eship"; } } else if (intSelectedAmount > -1) { if (hasrepairships() == true) { cursorstyle = "repair"; } } else { repairshipsSelected = undefined; } } else { _root.tooltip.txtTipText.text = ""; } } if (cursorstyle != "") { Mouse.hide(); _root.thecursor.gotoAndStop(cursorstyle); _root.thecursor._x = _root._xmouse; _root.thecursor._y = _root._ymouse; _root.thecursor._visible = true; } else { _root.thecursor._visible = false; Mouse.show(); } thefocus = _root.camerafocus; zoomspeed = 1; if (Key.isDown(187) && (_root.zoomlevel < 50)) { _root.ZoomIn(zoomspeed); } else if (Key.isDown(189) && (_root.zoomlevel > 5)) { _root.ZoomIn(-zoomspeed); } else { zoomcounter++; if (zoomcounter > 10) { _root.ZoomIn(0); } } _root.zoomlevel = _xscale; _root.gamewidth = 640; _root.gameheight = 550; if (((Key.isDown(38) || (Key.isDown(40))) || (Key.isDown(37))) || (Key.isDown(39))) { if (!((_root.camerafocus.objecttype == "building") && (_root.camerafocus.setup != true))) { yscrollspeed = 0; xscrollspeed = 0; if (Key.isDown(38)) { yscrollspeed = -20; } if (Key.isDown(40)) { yscrollspeed = 20; } if (Key.isDown(37)) { xscrollspeed = -20; } if (Key.isDown(39)) { xscrollspeed = 20; } _root.camerafocus = undefined; } } else { scrolling = false; xcameramiddle = thefocus._x; ycameramiddle = thefocus._y; dragSq = new Object(); dragSq.x = xcameramiddle; dragSq.y = ycameramiddle; this.localToGlobal(dragSq); globalX = dragSq.x - ((_root.gamewidth - 100) / 2); globalY = dragSq.y - (_root.gameheight / 2); _root.globalX = globalX; _root.globalY = globalY; if (zooming == true) { xscrollspeed = globalX / 2; yscrollspeed = globalY / 2; } else { if (thefocus.xspeed == undefined) { thefocus.xspeed = 0; } if (thefocus.yspeed == undefined) { thefocus.yspeed = 0; } xscrollspeed = globalX / 2; yscrollspeed = globalY / 2; } } setProperty(this, _x , _x - xscrollspeed); setProperty(this, _y , _y - yscrollspeed); view._width = 640 * (100 / _xscale); view._height = 550 * (100 / _xscale); view._x = (-_x) * (100 / _xscale); view._y = (-_y) * (100 / _xscale); _root.buildingmenu.map.inner.view._visible = true; _root.buildingmenu.map.inner.view._x = view._x / 70; _root.buildingmenu.map.inner.view._y = view._y / 70; _root.buildingmenu.map.inner.view._width = view._width / 70; _root.buildingmenu.map.inner.view._height = view._height / 70; if (zooming != true) { setProperty(_root.stars, _y , _root.stars._y - (yscrollspeed / 2)); setProperty(_root.stars, _x , _root.stars._x - (xscrollspeed / 2)); setProperty(_root.stars2, _y , _root.stars2._y - (yscrollspeed / 3.5)); setProperty(_root.stars2, _x , _root.stars2._x - (xscrollspeed / 3.5)); setProperty(_root.bstars, _y , _root.bstars._y - (yscrollspeed / 5)); setProperty(_root.bstars, _x , _root.bstars._x - (xscrollspeed / 5)); } if (intTimer == undefined) { intTimer = 20; } if ((_root.planet.onscreen == true) && (intTimer < 0)) { setProperty(_root.planet, _y , _root.planet._y - (yscrollspeed / 1.5)); setProperty(_root.planet, _x , _root.planet._x - (xscrollspeed / 1.5)); } else { intTimer--; _root.planet._x = ((_root.QuadrantCentreX - _root.game.myship._x) / 1.5) + 350; _root.planet._y = ((_root.QuadrantCentreY - _root.game.myship._y) / 1.5) + 250; } } }
Instance of Symbol 329 MovieClip in Frame 4
onClipEvent (enterFrame) { _visible = _root.gamepaused; }
Instance of Symbol 424 MovieClip "buildingmenu" in Frame 4
onClipEvent (enterFrame) { if ((_root.gamepaused == true) || (_root.LevelOver == true)) { gotoAndStop ("disabled"); } else if (_root.settingtarget != undefined) { if (Key.isDown(32)) { _root.settingtarget = undefined; } else if (_root.settingtarget.weaponloaded == 3) { gotoAndStop ("pd"); } else { gotoAndStop ("ipmissle"); } } else if ((_root.camerafocus.objecttype == "building") && (_root.camerafocus.setup != true)) { gotoAndStop ("placebuilding"); } else if (_root.selectedbuilding == undefined) { if (action != undefined) { gotoAndStop ("confirm"); } else if (_root.intSelectedShips > -1) { gotoAndStop ("shipactions"); } else { gotoAndStop ("off"); } } }
Frame 6
team = 0; colour = arrTeamData[team][1]; resources = 500; techlevel = 1; showteaminfo = false; _root.objnum = 25; _root.arrShips = []; _root.arrBuildings = []; _root.arrMeterorites = []; arrTeamUpgrades = []; arrTeamUpgrades.push([]); arrTeamUpgrades.push([]); arrTeamUpgrades.push([]); arrTeamUpgrades.push([]); arrTutorialPages = [0, 10, 12, 14, 15, 15, 15, 15, 15, 15, 15, 15]; Level = 1; i = 0; while (i < arrSectorsConquered.length) { if (arrSectorsConquered[i] == true) { Level++; } i++; } trace("Level " + Level); _root.HQ = undefined; arrTutorial = []; i = 0; while (i < arrTutorialPages[Level - 1]) { arrTutorial[i + 1] = true; i++; } _root.TutorialPage = arrTutorialPages[Level - 1]; trace("Tutorial Page " + TutorialPage); CountShips(); CountBuildings(); if (Level >= 14) { gotoAndStop ("endstory"); } _quality = "HIGH"; CreateNebula(26112, random(10)); arrTeamData = []; arrTeamData.push(["Blue Team", "00CCFF"]); arrTeamData.push(["Red Team", "FF0000"]); arrTeamData.push(["Purple Team", "9900FF"]); arrTeamData.push(["New Earth Empire", "00FF00"]); previewobjs = [];
Instance of Symbol 424 MovieClip "buildingmenu" in Frame 6
onClipEvent (enterFrame) { gotoAndStop ("disabled"); }
Frame 7
function nextscreen() { stopAllSounds(); gotoAndStop ("map"); } _quality = "HIGH"; CreateNebula(102, 2);
Instance of Symbol 486 MovieClip in Frame 7
onClipEvent (enterFrame) { if (_width < 300) { _width = (_width + 0.5); _height = (_height + 0.5); } }
Instance of Symbol 488 MovieClip in Frame 7
onClipEvent (enterFrame) { _y = (_y - 0.5); }
Frame 8
_quality = "HIGH"; CreateNebula(102, 2); _root.maxtech = 5; _root.so.data.maxtech = _root.maxtech;
Instance of Symbol 494 MovieClip in Frame 8
onClipEvent (enterFrame) { _y = (_y - 0.5); }
Frame 9
_quality = "HIGH";
Frame 10
_quality = "HIGH"; CreateNebula(6684672, 2);
Instance of Symbol 486 MovieClip in Frame 10
onClipEvent (enterFrame) { if (_width < 300) { _width = (_width + 0.5); _height = (_height + 0.5); } }
Frame 11
_quality = "HIGH"; CreateNebula(26112, 2); if (_url.toLowerCase().indexOf("yoarcade.net") > -1) { trace("On yo arcade, unlock!"); _root.maxtech = 5; } trace("Max Tech Level: " + _root.maxtech);
Instance of Symbol 241 MovieClip "bg" in Frame 11
onClipEvent (enterFrame) { if (_y > 0) { setProperty(this, _y , _y - 1000); } if (_y < -1000) { setProperty(this, _y , _y + 1000); } if (_x > 0) { setProperty(this, _x , _x - 1000); } if (_x < -1000) { setProperty(this, _x , _x + 1000); } }
Instance of Symbol 244 MovieClip "bstars" in Frame 11
onClipEvent (enterFrame) { if (_y > 600) { setProperty(this, _y , _y - 600); } if (_y < 0) { setProperty(this, _y , _y + 600); } if (_x > 0) { setProperty(this, _x , _x - 800); } if (_x < -800) { setProperty(this, _x , _x + 800); } }
Instance of Symbol 247 MovieClip "stars" in Frame 11
onClipEvent (enterFrame) { if (_y > 600) { setProperty(this, _y , _y - 600); } if (_y < 0) { setProperty(this, _y , _y + 600); } if (_x > 0) { setProperty(this, _x , _x - 800); } if (_x < -800) { setProperty(this, _x , _x + 800); } }
Instance of Symbol 424 MovieClip "buildingmenu" in Frame 11
onClipEvent (enterFrame) { gotoAndStop ("disabled"); }
Instance of Symbol 261 MovieClip in Frame 11
onClipEvent (load) { function clickaction() { _root.gotoAndStop("game"); } label = "Start"; }
Instance of Symbol 261 MovieClip in Frame 11
onClipEvent (load) { function clickaction() { _root.gotoAndStop("menu"); } label = "< Cancel"; }
Instance of Symbol 324 MovieClip in Frame 11
onClipEvent (load) { labelarray = ["Randomly Generated", "Sector 0", "Sector 1", "Sector 2", "Sector 3", "Sector 4", "Sector 5", "Sector 6", "Sector 7", "Sector 8", "Sector 9", "Sector 10", "Sector 11", "Sector 12"]; valuearray = [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]; type = "sector"; }
Instance of Symbol 324 MovieClip in Frame 11
onClipEvent (load) { labelarray = []; valuearray = []; i = 1; while (i <= _root.maxtech) { labelarray.push("Tech Level " + i); valuearray.push(i); selecteditem = i - 1; i++; } type = "maxtech"; }
Instance of Symbol 324 MovieClip in Frame 11
onClipEvent (load) { type = "bgcolour"; labelarray = ["Red", "Green", "Blue", "Yellow", "Orange", "Purple", "White"]; valuearray = [6684672, 26112, 102, 16776960, 16737792, 6684774, 16777215]; selecteditem = 1; }
Instance of Symbol 324 MovieClip in Frame 11
onClipEvent (load) { labelarray = ["Red", "Green", "Blue", "Yellow", "Orange", "Purple", "White"]; valuearray = ["FF0000", "00FF00", "00CCFF", "FFFF00", "FF6600", "9900FF", "FFFFFF"]; selecteditem = 2; type = "yourcolour"; }
Instance of Symbol 324 MovieClip in Frame 11
onClipEvent (load) { labelarray = [500, 1000, 2000, 3000, 5000, 10000, 20000, 50000]; valuearray = [500, 1000, 2000, 3000, 5000, 10000, 20000, 50000]; selecteditem = 1; type = "yourmoney"; }
Instance of Symbol 324 MovieClip in Frame 11
onClipEvent (load) { labelarray = []; valuearray = []; i = 1; while (i <= _root.maxtech) { labelarray.push("Tech Level " + i); valuearray.push(i); i++; } selecteditem = 0; type = "yourtech"; }
Instance of Symbol 324 MovieClip in Frame 11
onClipEvent (load) { labelarray = ["Red", "Green", "Blue", "Yellow", "Orange", "Purple", "White"]; valuearray = ["FF0000", "00FF00", "00CCFF", "FFFF00", "FF6600", "9900FF", "FFFFFF"]; selecteditem = 0; type = "enemycolour"; }
Instance of Symbol 324 MovieClip in Frame 11
onClipEvent (load) { labelarray = [500, 1000, 2000, 3000, 5000, 10000, 20000, 50000]; valuearray = [500, 1000, 2000, 3000, 5000, 10000, 20000, 50000]; selecteditem = 1; type = "enemymoney"; }
Instance of Symbol 324 MovieClip in Frame 11
onClipEvent (load) { labelarray = []; valuearray = []; i = 1; while (i <= _root.maxtech) { labelarray.push("Tech Level " + i); valuearray.push(i); i++; } selecteditem = 0; type = "enemytech"; }
Instance of Symbol 324 MovieClip in Frame 11
onClipEvent (load) { type = "pdallowed"; labelarray = ["Allowed", "Disallowed"]; valuearray = [true, false]; selecteditem = 0; }
Frame 12
_quality = "HIGH"; CreateNebula(26112, 2);
Instance of Symbol 261 MovieClip in Frame 12
onClipEvent (load) { function clickaction() { _root.gotoAndStop("menu"); } label = "< Main Menu"; }
Instance of Symbol 324 MovieClip in Frame 12
onClipEvent (load) { labelarray = ["Sound FX On", "Sound FX Off"]; valuearray = [true, false]; type = "sfx"; }
Instance of Symbol 324 MovieClip in Frame 12
onClipEvent (load) { labelarray = ["Music On", "Music Off"]; valuearray = [true, false]; type = "music"; }
Instance of Symbol 324 MovieClip in Frame 12
onClipEvent (load) { labelarray = ["Low", "Medium", "High"]; valuearray = ["LOW", "MEDIUM", "HIGH"]; type = "quality"; }
Instance of Symbol 324 MovieClip in Frame 12
onClipEvent (load) { labelarray = ["Low", "High"]; valuearray = [false, true]; type = "fragments"; }
Instance of Symbol 324 MovieClip in Frame 12
onClipEvent (load) { labelarray = ["10 Ships", "15 Ships", "20 Ships", "25 Ships", "30 Ships"]; valuearray = [10, 15, 20, 25, 30]; type = "shiplimit"; }
Frame 13
_quality = "HIGH"; CreateNebula(26112, 2);
Frame 14
_quality = "HIGH"; CreateNebula(26112, 2);
Frame 15
gotoAndStop ("menu");
Symbol 21 MovieClip [Uber Blast] Frame 21
this.removeMovieClip(); stop();
Symbol 23 MovieClip [Uber Beam] Frame 1
this.onEnterFrame = function () { _alpha = (_alpha - 5); if (_alpha <= 0) { this.removeMovieClip(); } };
Symbol 28 MovieClip Frame 1
setProperty(this, _height , _parent._parent._parent.speed * 2);
Symbol 28 MovieClip Frame 2
call(1);
Symbol 28 MovieClip Frame 3
call(1);
Symbol 28 MovieClip Frame 4
call(1);
Symbol 31 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent.colour);
Symbol 40 MovieClip Frame 11
_parent.removeMovieClip();
Symbol 41 MovieClip [Missle1] Frame 1
speed = 10; turning = 2; timer = 200; _root.weaponsound.gotoAndStop("torpedo");
Symbol 41 MovieClip [Missle1] Frame 2
_root.guidedmovement(this);
Symbol 41 MovieClip [Missle1] Frame 3
gotoAndPlay (2);
Symbol 41 MovieClip [Missle1] Frame 4
_root.CheckBlast(this, 25); _root.Damage(target, random(40), firer); target.xblast = target.xblast + (xspeed / 4); target.yblast = target.yblast + (yspeed / 4); _root.playsound(24, this); stop();
Symbol 44 MovieClip Frame 1
if (_parent._parent.colour != undefined) { _root.SetShipColour(this, _parent._parent.colour); } else { _root.SetShipColour(this, _parent._parent._parent.colour); }
Symbol 46 MovieClip [Planet Destroyer] Frame 1
speed = 10; this.onEnterFrame = function () { _root.InterplanetaryMovement(this); }; planetdestroyer = true; damage = 100000 /* 0x0186A0 */;
Instance of Symbol 28 MovieClip in Symbol 46 MovieClip [Planet Destroyer] Frame 1
onClipEvent (enterFrame) { setProperty(this, _height , _parent.speed * 5); }
Symbol 49 MovieClip Frame 1
if (_parent._parent.colour != undefined) { _root.SetShipColour(this, _parent._parent.colour); } else { _root.SetShipColour(this, _parent._parent._parent.colour); }
Symbol 54 MovieClip [Mine] Frame 1
if (setup != true) { _rotation = random(360); angle = random(360); speed = random(10) + 10; spin = random(10) - random(10); setup = true; endtimer = -random(50); } if (_root.gamepaused == false) { if (speed > 1) { yspeed = speed * Math.sin((angle - 90) / 57.2957795130823); xspeed = speed * Math.cos((angle - 90) / 57.2957795130823); _x = (_x + xspeed); _y = (_y + yspeed); speed = speed / 1.1; _rotation = (_rotation + spin); } else { if (detecttimer == undefined) { detecttimer = 0; } detecttimer++; if (detecttimer > 25) { detecttimer = 0; endtimer++; explode = false; i = 0; while (i < _root.arrShips.length) { distance = _root.GetDistance(this, _root.arrShips[i]); if ((distance < 100) && (_root.arrShips[i].team != team)) { explode = true; 100 - distance; _root.Damage(_root.arrShips[i], firer * 4); angle = _root.GetAngle(this, _root.arrShips[i]); _root.arrShips[i].yblast = 10 * Math.sin((angle - 90) / 57.2957795130823); _root.arrShips[i].xblast = 10 * Math.cos((angle - 90) / 57.2957795130823); } i++; } if ((explode == true) || (endtimer > 120)) { _root.Explode(this); } } } }
Symbol 54 MovieClip [Mine] Frame 2
gotoAndPlay (1);
Symbol 54 MovieClip [Mine] Frame 3
_root.explosionsound.gotoAndStop("mine"); _root.CheckBlast(this, 100);
Symbol 54 MovieClip [Mine] Frame 7
removeMovieClip(this);
Symbol 57 MovieClip Frame 1
if (_parent._parent.colour != undefined) { _root.SetShipColour(this, _parent._parent.colour); } else { _root.SetShipColour(this, _parent._parent._parent.colour); }
Symbol 60 MovieClip [Level 3 IP Missle] Frame 1
speed = 20; this.onEnterFrame = function () { _root.InterplanetaryMovement(this); }; damage = 2000 + random(1000); planetdestroyer = false;
Instance of Symbol 28 MovieClip in Symbol 60 MovieClip [Level 3 IP Missle] Frame 1
onClipEvent (enterFrame) { setProperty(this, _height , _parent.speed * 5); }
Symbol 62 MovieClip Frame 1
if (_parent._parent.colour != undefined) { _root.SetShipColour(this, _parent._parent.colour); } else { _root.SetShipColour(this, _parent._parent._parent.colour); }
Symbol 64 MovieClip [Level 2 IP Missle] Frame 1
speed = 15; this.onEnterFrame = function () { _root.InterplanetaryMovement(this); }; damage = 1000 + random(500); planetdestroyer = false;
Instance of Symbol 28 MovieClip in Symbol 64 MovieClip [Level 2 IP Missle] Frame 1
onClipEvent (enterFrame) { setProperty(this, _height , _parent.speed * 5); }
Symbol 66 MovieClip Frame 1
if (_parent._parent.colour != undefined) { _root.SetShipColour(this, _parent._parent.colour); } else { _root.SetShipColour(this, _parent._parent._parent.colour); }
Symbol 68 MovieClip [Level 1 IP Missle] Frame 1
speed = 10; this.onEnterFrame = function () { _root.InterplanetaryMovement(this); }; damage = 500 + random(250); planetdestroyer = false;
Instance of Symbol 28 MovieClip in Symbol 68 MovieClip [Level 1 IP Missle] Frame 1
onClipEvent (enterFrame) { setProperty(this, _height , _parent.speed * 5); }
Symbol 72 MovieClip [Javelin] Frame 1
function CheckHit(totest) { if (totest != undefined) { if ((totest != Firer) && (totest.Team != Team)) { if (_root.Collision(this, totest)) { gotoAndPlay ("explode"); } } } } speed = 10; timer = 100; shiftx = random(20) - random(20); shifty = random(20) - random(20); _root.weaponsound.gotoAndStop("javelin");
Symbol 72 MovieClip [Javelin] Frame 2
yspeed = (speed * Math.sin((_rotation - 90) / 57.2957795130823)) + shifty; xspeed = (speed * Math.cos((_rotation - 90) / 57.2957795130823)) + shiftx; _root.Exhaust(this); shiftx = shiftx / 1.2; shifty = shifty / 1.2; timer = timer - 1; if (timer <= 0) { gotoAndPlay ("explode"); } setProperty(this, _y , _y + yspeed); setProperty(this, _x , _x + xspeed); CheckHit(_parent.myship); i = 0; while (i <= _root.highestsocket) { CheckHit(_parent["ship" + i]); e = 0; while (e < _root.MaxAIShips) { totest = _parent[(("AI_" + i) + "_") + e]; CheckHit(totest); e++; } i++; } if (speed < 35) { speed = speed * 1.2; }
Symbol 72 MovieClip [Javelin] Frame 3
gotoAndPlay (2);
Symbol 72 MovieClip [Javelin] Frame 4
_root.explosionsound.gotoAndStop("torpedo"); _root.CheckBlast(this, random(25) + 50);
Symbol 72 MovieClip [Javelin] Frame 9
setProperty(this, _alpha , this._alpha - 10); setProperty(this, _rotation , random(360)); if (_alpha < 10) { removeMovieClip(this); } gotoAndPlay ("fade");
Symbol 77 MovieClip [Blaster] Frame 1
speed = 20; timer = 50; this.onEnterFrame = function () { _root.guidedmovement(this); };
Symbol 77 MovieClip [Blaster] Frame 7
gotoAndPlay (1);
Symbol 77 MovieClip [Blaster] Frame 8
this.onEnterFrame = undefined; _root.Damage(target, random(40) + 30, firer); target.xblast = target.xblast + xspeed; target.yblast = target.yblast + yspeed; _root.playsound(30, this);
Symbol 77 MovieClip [Blaster] Frame 13
this.removeMovieClip();
Symbol 80 MovieClip [Artillery] Frame 1
speed = 20; timer = 100;
Symbol 80 MovieClip [Artillery] Frame 2
_root.guidedmovement(this);
Symbol 80 MovieClip [Artillery] Frame 3
gotoAndPlay (2);
Symbol 80 MovieClip [Artillery] Frame 4
_root.playsound(27, this); _root.CheckBlast(this, random(25) + 50); distancetotarget = _root.GetDistance(this, target); if (Math.abs(distancetotarget) < 40) { _root.Damage(target, random(40) + 50, firer); }
Symbol 80 MovieClip [Artillery] Frame 9
removeMovieClip(this);
Symbol 84 MovieClip Frame 1
if (_parent._parent.weapon == 1) { gotoAndStop (2); } else { stop(); }
Symbol 84 MovieClip Frame 2
stop();
Symbol 84 MovieClip Frame 4
gotoAndStop (2);
Symbol 87 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 91 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 95 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 100 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 105 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 110 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 115 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 119 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 124 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 129 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 133 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 138 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 143 MovieClip Frame 1
if (_alpha > 1) { _alpha = (_alpha / 1.1); }
Symbol 143 MovieClip Frame 2
gotoAndPlay (1);
Symbol 148 MovieClip [Ship] Frame 1
objecttype = "ship"; if (target != undefined) { mytarget = target._name; } else { mytarget = "Nothing"; } if (_root.gamepaused == false) { _root.ShipMovement(this); if (showonradar > 0) { showonradar--; } } debris = true; this.onMouseUp = function () { if (_root.gamepaused == false) { if (_root.NotTouchingMenu()) { if (this.hitTest(_root._xmouse, _root._ymouse, false)) { if (Key.isDown(16)) { trace("Select all of ship type " + shipid); _root.DeselectAll(); i = 0; while (i < _root.arrShips.length) { _root.arrShips[i].selected = (_root.arrShips[i].shipid == shipid) && (_root.arrShips[i].team == _root.team); i++; } } else if ((_root.game.intSelectedAmount < 0) && (team == _root.team)) { _root.DeselectAll(this); } else if (team == _root.team) { i = 0; while (i < _root.arrShips.length) { if (_root.arrShips[i].selected == true) { if (_root.arrShips[i].weapon == 0) { _root.arrShips[i].target = this; } } i++; } } else { i = 0; while (i < _root.arrShips.length) { if (_root.arrShips[i].selected == true) { if (_root.arrShips[i].weapon != 0) { _root.arrShips[i].target = this; } } i++; } } } } } };
Instance of Symbol 141 MovieClip "inner" in Symbol 148 MovieClip [Ship] Frame 1
onClipEvent (enterFrame) { _rotation = _parent.angle; gotoAndStop(_parent.shiptype); }
Instance of Symbol 143 MovieClip "shield" in Symbol 148 MovieClip [Ship] Frame 1
onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (((_parent.inner._height > theheight) || (_parent.inner._width > thewidth)) || (theheight == undefined)) { theheight = _parent.inner._height; thewidth = _parent.inner._width; } if (theheight > thewidth) { _height = (theheight + 5); _width = (theheight + 5); } else { _height = (thewidth + 5); _width = (thewidth + 5); } }
Instance of Symbol 147 MovieClip in Symbol 148 MovieClip [Ship] Frame 1
onClipEvent (load) { _root.SetShipColour(this, _parent.colour); } onClipEvent (enterFrame) { if (_root.zoomlevel < 25) { gotoAndStop (1); } else { gotoAndStop (2); } }
Instance of Symbol 147 MovieClip in Symbol 148 MovieClip [Ship] Frame 1
onClipEvent (enterFrame) { if (_parent.selected == true) { gotoAndStop (1); } else { gotoAndStop (2); } }
Symbol 148 MovieClip [Ship] Frame 2
if (stealth == true) { if (team == _root.team) { gotoAndPlay (3); } else { _visible = false; } } else { _visible = true; gotoAndPlay (1); }
Symbol 148 MovieClip [Ship] Frame 3
call("action");
Instance of Symbol 141 MovieClip "inner" in Symbol 148 MovieClip [Ship] Frame 3
onClipEvent (enterFrame) { gotoAndStop(_parent.shiptype); _rotation = _parent.angle; }
Symbol 148 MovieClip [Ship] Frame 4
call("loop");
Symbol 154 MovieClip [Scrap] Frame 1
_rotation = (_rotation + spin); _x = (_x + xspeed); _y = (_y + yspeed); spin = spin / 1.05; xspeed = Math.round(xspeed / 1.1); yspeed = Math.round(yspeed / 1.1); if (timer == undefined) { timer = 0; } timer++; if (timer > 10) { _xscale = (_xscale - 5); _yscale = (_yscale - 5); } if (_xscale <= 1) { removeMovieClip(this); } if ((Math.random() > 0.8) && (timer < 50)) { _root.Exhaust(this); }
Instance of Symbol 153 MovieClip in Symbol 154 MovieClip [Scrap] Frame 1
onClipEvent (load) { gotoAndStop(random(5) + 1); _rotation = random(360); }
Symbol 154 MovieClip [Scrap] Frame 2
gotoAndPlay (1);
Symbol 164 MovieClip [Planet Rock] Frame 1
_parent.rockcolour = "#35545E";
Symbol 164 MovieClip [Planet Rock] Frame 2
_parent.rockcolour = "#804A23";
Symbol 164 MovieClip [Planet Rock] Frame 3
_parent.rockcolour = "#79694C";
Symbol 164 MovieClip [Planet Rock] Frame 4
_parent.rockcolour = "#88511E";
Symbol 164 MovieClip [Planet Rock] Frame 5
_parent.rockcolour = "#BA9A71";
Symbol 164 MovieClip [Planet Rock] Frame 6
_parent.rockcolour = "#1F475B";
Symbol 164 MovieClip [Planet Rock] Frame 7
_parent.rockcolour = "#1F475B";
Symbol 164 MovieClip [Planet Rock] Frame 8
_parent.rockcolour = "#7F6229";
Symbol 176 MovieClip Frame 1
if (_root.showteaminfo == true) { gotoAndStop (2); } else { stop(); }
Symbol 177 MovieClip [Planet] Frame 1
this.onEnterFrame = function () { if (team == undefined) { teaminfo._visible = false; } else { if ((team == _root.team) || (_root.arrExistingRadar[_root.team] > 0)) { _root.SetShipColour(blip, _root.arrTeamData[team][1]); } else { _root.SetShipColour(blip, "FFFFFF"); } teaminfo.resources = _root.arrResources[team]; mypower = _root.arrExistingPower[team]; if (mypower > 0) { mypower = "+" + mypower; } teaminfo.mypower = mypower; teaminfo.myshipcount = (_root.arrExistingShips[team] + "/") + _root.ShipLimit; teaminfo.mytechlevel = _root.arrTechLevel[team]; teaminfo.team = _root.arrTeamData[team][0]; teaminfo._visible = true; } }; this.onMouseDown = function () { if (this.hitTest(_root._xmouse, _root._ymouse, false)) { if ((_root.settingtarget != undefined) && (this != _root.settingtarget.planet)) { if (style == 8) { _root.playsound(5); _root.GameMessage("You dont want to destroy New Earth! You want to live there."); } else { _root.FireInterplanetary(_root.settingtarget.weaponloaded, _root.settingtarget.team, _root.settingtarget._x, _root.settingtarget._y, _root.settingtarget._rotation, this, _root.settingtarget); } } } };
Symbol 180 MovieClip [Meteorite2] Frame 1
trace((_x + ",") + _y);
Symbol 182 MovieClip [Marker 2] Frame 1
_root.SetShipColour(this, _root.colour);
Symbol 192 MovieClip [Explosion] Frame 41
removeMovieClip(this);
Symbol 195 MovieClip [Health Bar] Frame 1
if (ship.objecttype == "building") { health._width = (ship.shield / ship.maxshield) * 60; if ((buildtimer <= 0) && (ship.shield < ship.maxshield)) { gotoAndPlay (1); } else { gotoAndPlay (3); } } else if (ship.selected == true) { health._width = (ship.shield / ship.maxshield) * 60; _x = (ship._x + ship.xspeed); _y = (ship._y + ship.yspeed); gotoAndPlay (1); } else { gotoAndPlay (3); }
Symbol 195 MovieClip [Health Bar] Frame 2
gotoAndPlay (1);
Symbol 195 MovieClip [Health Bar] Frame 3
call(1);
Symbol 195 MovieClip [Health Bar] Frame 4
gotoAndPlay (3);
Symbol 198 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 202 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 207 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 212 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 217 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 222 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 226 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 231 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 236 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 238 MovieClip Frame 1
gotoAndStop(_parent.type + 2);
Instance of Symbol 233 MovieClip in Symbol 238 MovieClip Frame 10
onClipEvent (enterFrame) { if (_parent._parent.weaponloaded == undefined) { gotoAndStop (1); } else { colour = _parent._parent.colour; gotoAndStop(_parent._parent.weaponloaded + 2); } }
Symbol 239 MovieClip [Building] Frame 1
function minmaxangle(max) { var _local2; var _local1; var _local3; _local3 = Math.atan((inner._width / 2) / (planet._width / 2)) * 57.2957795130823; _local2 = _rotation - _local3; if (_local2 < 0) { _local2 = _local2 + 360; } if (_local2 > 360) { _local2 = _local2 - 360; } _local1 = _rotation + _local3; if (_local1 < 0) { _local1 = _local1 + 360; } if (_local1 > 360) { _local1 = _local1 - 360; } if (max == true) { return(_local1); } return(_local2); } function touchingbuilding(building) { blnReturn = false; if (((building != this) && (building.planet == planet)) && (this.hitTest(building))) { maxanglediff = maxangle - building.minmaxangle(false); if (maxanglediff < -180) { maxanglediff = (maxangle + 360) - building.minmaxangle(false); } minanglediff = minangle - building.minmaxangle(true); if (minanglediff > 180) { minanglediff = (minangle - 360) - building.minmaxangle(false); } if ((maxanglediff >= 0) && (minanglediff < 0)) { blnReturn = true; } } return(blnReturn); } function WeaponComplete() { if (team == _root.team) { _root.GameMessage(_root.arrInterplanetaryWeapons[weaponloading][0] + " ready.", this); } weaponloaded = weaponloading; weaponloading = undefined; } function Done(i) { _root.CreateShip(i, team, _x, _y, (_rotation + random(30)) - random(30)); if (type == 0) { _root.Tutorial(10); } inqueue[i]--; if (inqueue[i] > 0) { timer[i] = totaltime[i]; } } var timer = []; var utimer = []; var wtimer = []; var wtotaltime = []; var totaltime = []; var utotaltime = []; var inqueue = []; objecttype = "building"; this.onMouseDown = function () { if (_root.gamepaused == false) { if (_root.NotTouchingMenu()) { blnHasRepair = false; if (repairshipsSelected == undefined) { i = 0; while (i < _root.arrShips.length) { if ((_root.arrShips[i].weapon == -1) && (_root.arrShips[i].selected == true)) { blnHasRepair = true; break; } i++; } } if (this.hitTest(_root._xmouse, _root._ymouse, false)) { if (((_root.settingtarget != undefined) && (team != _root.settingtarget.team)) && (_root.settingtarget.weaponloaded <= 2)) { _root.FireInterplanetary(_root.settingtarget.weaponloaded, _root.settingtarget.team, _root.settingtarget._x, _root.settingtarget._y, _root.settingtarget._rotation, this, _root.settingtarget); _root.settingtarget.weaponloaded = undefined; _root.settingtarget = undefined; } else if ((((team == _root.team) && (inner._alpha >= 100)) && (blnHasRepair != true)) && (_root.game.cursorstyle == "")) { _root.DeselectAll(); _root.selectedbuilding = this; _root.selectedplanet = planet; _root.playbuildingsound(type); _root.buildingmenu.gotoAndPlay("reset"); } else { i = 0; while (i < _root.arrShips.length) { if (_root.arrShips[i].selected == true) { if ((_root.arrShips[i].weapon == 0) && (team == _root.arrShips[i].team)) { _root.arrShips[i].target = this; } else if ((_root.arrShips[i].weapon != 0) && (team != _root.arrShips[i].team)) { _root.arrShips[i].target = this; } } i++; } } } } if ((setup != true) && (team == _root.team)) { if (canbuild == true) { if (team == _root.team) { _root.playsound(7, this); } _root.GameMessage(("Building " + _root.arrBuildingData[type][0]) + "...", this); setup = true; } else { _root.GameMessage(("Cannot place " + _root.arrBuildingData[type][0]) + " there. Try somewhere else or press SPACE to cancel."); } } } }; aitimer = 0; this.onEnterFrame = function () { if (_root.gamepaused == false) { if (reload == undefined) { reload = 0; } if (reload > 0) { reload--; } aitimer++; if (setup != true) { if (type == 3) { _root.Tutorial(5); } else if (type == 4) { _root.TutorialPageDone(6); } if (team == _root.team) { _rotation = _root.GetAngleToPoint(planet, _parent._xmouse, _parent._ymouse); } else { blnSetupThis = undefined; b = 0; while (b < _root.arrBuildings.length) { if (((_root.arrBuildings[b].setup != true) && (_root.arrBuildings[b].team == team)) && (blnSetupThis == undefined)) { blnSetupThis = _root.arrBuildings[b] == this; break; } b++; } if (aitimer > 240) { _root.arrResources[team] = _root.arrResources[team] + (sellvalue * 2); this.removeMovieClip(); } else if (blnSetupThis == true) { _rotation = (_rotation + 5); _visible = true; } else { _visible = false; } } minangle = minmaxangle(false); maxangle = minmaxangle(true); blnOnTop = false; b = 0; while (b < _root.arrBuildings.length) { if (touchingbuilding(_root.arrBuildings[b])) { blnOnTop = true; } b++; } canbuild = !blnOnTop; var _local4 = new Color(this); if (canbuild == true) { _local4.setTintOffset(0, 0, 0); } else { _local4.setTintOffset(150, -150, -150); } inner._alpha = 50; if (team == _root.team) { _root.camerafocus = this; if (Key.isDown(32) && (type != 0)) { _root.arrResources[team] = _root.arrResources[team] + (sellvalue * 2); _root.GameMessage(_root.arrBuildingData[type][0] + " cancelled."); this.removeMovieClip(); } else if (aitimer == 1) { if (type == 0) { _root.GameMessage(("Choose where to place your " + _root.arrBuildingData[type][0]) + "."); } else { _root.GameMessage(("Choose where to place your " + _root.arrBuildingData[type][0]) + ". Press SPACE to cancel."); } } } else if (((canbuild == true) && (blnSetupThis == true)) && (aitimer > 20)) { setup = true; } } else if (selling == true) { _root.arrResources[team] = _root.arrResources[team] + Math.round(sellvalue / 20); inner._alpha = inner._alpha - 5; if (inner._alpha <= 0) { removeMovieClip(this); _root.CountBuildings(); } } else if (buildtimer > 0) { _root.TutorialPageDone(5); buildtimer--; if (_root.HasUpgrade(12, team)) { buildtimer--; } buildpercentage = Math.round(100 - (100 * (buildtimer / buildtimermax))) + "%"; inner._alpha = 100 - (100 * (buildtimer / buildtimermax)); outline._visible = true; } else { if (blnFinished != true) { if ((_root.HQ == undefined) && (team == _root.team)) { if (type == 0) { _root.HQ = this; } } blnFinished = true; minangle = _rotation - anglewide; maxangle = _rotation + anglewide; healthbar._x = _x; healthbar._y = _y; _root.CountBuildings(); if ((_root.arrExistingPower[team] <= 0) && (team == _root.team)) { _root.Tutorial(7); _root.GameMessage("Low Power. Build more power plants.", this); } if (team == _root.team) { if (type == 0) { if (_root.Level == 2) { _root.TutorialPageDone(11); } else { _root.Tutorial(4); } } else if (type == 3) { _root.Tutorial(6); } else if (type == 1) { _root.Tutorial(8); } _root.GameMessage(_root.arrBuildingData[type][0] + " finished.", this); } } if (resourcerate > 0) { if (restimer == undefined) { restimer = 0; } restimer++; if (restimer >= 25) { restimer = 0; if ((team == 0) || (_root.Level > 2)) { _root.arrResources[team] = _root.arrResources[team] + resourcerate; } else { _root.arrResources[team] = _root.arrResources[team] + 1; } if (_root.HasUpgrade(17, team)) { _root.arrResources[team] = _root.arrResources[team] + 1; } } } buildpercentage = ""; inner._alpha = 100; outline._visible = false; if (LaserRange > 0) { _root.GroundTurretControl(this); } if (team != _root.team) { if (Math.random() > 0.99) { thenewtype = undefined; if ((_root.hasBuilding(4, team) <= 0) && (type == 0)) { thenewtype = 4; } else if (((_root.arrExistingPower[team] < 2) && (type == 0)) && (aitimer > 200)) { thenewtype = 1; aitimer = 0; } else if (((_root.hasShip(4, team) < 1) && (type == 4)) && (_root.arrResources[team] < 5000)) { _root.StartShipBuild(this, 4); } else if (((_root.hasBuilding(2, team) <= 0) && (_root.hasBuilding(0, team) > 0)) && (_root.arrTechLevel[team] > 1)) { thenewtype = 2; } else { if (Math.random() > 0.9) { if (theweapontype == undefined) { i = 0; while (i < _root.arrInterplanetaryWeapons.length) { if (_root.arrInterplanetaryWeapons[i][2] == type) { theweapontype = i; trace("Trying weapon..."); break; } i++; } } if (theweapontype != undefined) { if (weaponloaded != undefined) { i = 0; while (i < 100) { rndbuilding = _root.arrBuildings[random(_root.arrBuildings.length)]; if (rndbuilding.team != team) { thetarget = rndbuilding; break; } i++; } _root.FireInterplanetary(weaponloaded, team, _x, _y, _rotation, thetarget, this); } else { _root.StartLoadingWeapon(this, theweapontype); } } } else if (Math.random() > 0.5) { i = 0; while (i < _root.arrBuildingData.length) { if (_root.arrBuildingData[i][2] == type) { if (((Math.random() > 0.95) && (_root.hasBuilding(i, team) <= 0)) || (Math.random() > 0.99)) { thenewtype = i; break; } } i++; } } else if (Math.random() > 0.4) { minutedelay = 5 - _root.Level; if ((_root.game.battletime > (1440 * minutedelay)) || (Math.random() > 0.6)) { _root.StartShipBuild(this); } } if (Math.random() > 0.5) { _root.StartUpgrade(this); } else { minutedelay = 7 - _root.Level; if (_root.game.battletime > (1440 * minutedelay)) { BeforeAttack = _root.ShipLimit - (9 - _root.Level); if (BeforeAttack > (_root.ShipLimit - (_root.ShipLimit / 4))) { BeforeAttack = _root.ShipLimit - (_root.ShipLimit / 4); } if (_root.gamemode == 2) { BeforeAttack = _root.ShipLimit - (_root.ShipLimit / 4); } if (_root.arrExistingShips[team] < BeforeAttack) { _root.StartShipBuild(this); } else { _root.AICommand("Attack Random", team); } } } } if (thenewtype != undefined) { aitimer = 0; _root.AddBuilding(team, thenewtype, planet, -1); } } } } xpos = (planet._width / 2) * Math.cos((_rotation - 90) / 57.2957795130823); ypos = (planet._width / 2) * Math.sin((_rotation - 90) / 57.2957795130823); _x = (planet._x + xpos); _y = (planet._y + ypos); maxarraylength = _root.arrShipData.length; if (maxarraylength < _root.arrUpgrades.length) { maxarraylength = _root.arrUpgrades.length; } if (_root.arrExistingPower[team] > 0) { i = 0; while (i <= maxarraylength) { if (timer[i] != undefined) { if (timer[i] > 0) { timer[i] = timer[i] - _root.arrExistingPower[team]; if (timer[i] < 0) { timer[i] = 0; } } else if (timer[i] == 0) { Done(i); timer[i]--; } } if (utimer[i] != undefined) { if (utimer[i] > 0) { utimer[i] = utimer[i] - _root.arrExistingPower[team]; if (utimer[i] < 0) { utimer[i] = 0; } _root.arrTeamUpgrades[team][i] = false; } else if (utimer[i] == 0) { _root.UpgradeComplete(i, team); utimer[i]--; } } if (wtimer[i] != undefined) { if (wtimer[i] > 0) { wtimer[i] = wtimer[i] - _root.arrExistingPower[team]; if (wtimer[i] < 0) { wtimer[i] = 0; } } else if (wtimer[i] == 0) { WeaponComplete(weaponloading); wtimer[i]--; } } i++; } } } }; var weaponloaded = undefined;
Instance of Symbol 147 MovieClip in Symbol 239 MovieClip [Building] Frame 1
onClipEvent (enterFrame) { if ((_parent.shield < _parent.maxshield) || true) { _parent.selected = true; } else { _parent.selected = false; } if (_root.selectedbuilding == _parent) { gotoAndStop (1); } else { gotoAndStop (2); } }
Instance of Symbol 195 MovieClip [Health Bar] in Symbol 239 MovieClip [Building] Frame 1
onClipEvent (load) { ship = _parent; }
Symbol 254 Button
on (release) { getURL ("http://www.andkon.com/arcade/", "_blank"); }
Symbol 261 MovieClip Frame 1
if (disabled == true) { _alpha = 50; } else { this.onRollOver = function () { gotoAndStop ("Over"); }; this.onRollOut = function () { gotoAndStop ("Up"); }; this.onPress = function () { gotoAndStop ("Down"); }; this.onReleaseOutside = function () { gotoAndStop ("Up"); }; this.onRelease = function () { trace(label + " clicked"); clickaction(); gotoAndStop ("Over"); }; } stop();
Symbol 277 MovieClip Frame 1
this.onEnterFrame = function () { gotoAndStop (1); }; stop();
Symbol 288 MovieClip Frame 120
trace("Logo Done"); stop();
Symbol 290 Button
on (release) { getURL ("http://www.andkon.com/arcade/", "_blank"); }
Symbol 294 MovieClip Frame 1
function toonear(x, y, size) { blnReturn = false; p = 0; while (p < _root.arrPlanets.length) { if (((_root.GetDistanceToPoint(_root.arrPlanets[p], x, y) - (_root.arrPlanets[p]._width / 2)) - (size / 2)) < 500) { blnReturn = true; } p++; } return(blnReturn); } Level = _root.Level; _root.arrExistingShips = [0, 0, 0, 0]; _root.arrPlanets = []; trace("Sector: " + _root.sectornumber); if ((_root.gamemode == 2) && (_root.sk_sector == -1)) { trace("Random Level........"); intPlanets = random(4) + 2; intMeteorites = random(15) + 5; _root.arrResources = [_root.sk_yourmoney, _root.sk_enemymoney, _root.sk_enemymoney, _root.sk_enemymoney]; _root.arrTechLevel = [_root.sk_yourtech, _root.sk_enemytech, _root.sk_enemytech, _root.sk_enemytech]; i = 0; while (i < intPlanets) { x = 1000 + random(5000); y = 1000 + random(5000); size = 600 + random(600); do { x = 1000 + random(5000); y = 1000 + random(5000); size = 600 + random(600); } while (toonear(x, y, size)); style = random(7) + 1; _root.AddPlanet("planet" + (i + 1), x, y, size, style); i++; } i = 0; while (i < intMeteorites) { x = 1000 + random(5000); y = 1000 + random(5000); size = 100; do { x = 1000 + random(5000); y = 1000 + random(5000); size = 600 + random(1000); } while (toonear(x, y, size)); trace(((((("arrMapLevel[levelnum][1][" + i) + "] = [") + x) + ",") + y) + "]"); _root.AddMeteorite(x, y); i++; } _root.CreateShip(6, 0, 0, 0, 135); _root.camerafocus = _root.newship; _root.CreateShip(6, 1, 7000, 7000, 235); } else { trace("Map Found"); if (_root.gamemode == 2) { _root.arrResources = [_root.sk_yourmoney, _root.sk_enemymoney, _root.sk_enemymoney, _root.sk_enemymoney]; _root.arrTechLevel = [_root.sk_yourtech, _root.sk_enemytech, _root.sk_enemytech, _root.sk_enemytech]; } else { _root.arrResources = [_root.arrLevelStartSettings[Level][2], _root.arrLevelStartSettings[Level][3], _root.arrLevelStartSettings[Level][3], _root.arrLevelStartSettings[Level][3]]; _root.arrTechLevel = [_root.arrLevelStartSettings[Level][0], _root.arrLevelStartSettings[Level][1], _root.arrLevelStartSettings[Level][1], _root.arrLevelStartSettings[Level][1]]; } if (_root.gamemode == 2) { array = _root.arrMapLevel[_root.sk_sector][0]; } else { array = _root.arrMapLevel[_root.sectornumber][0]; } trace(array.length + " Planets"); i = 0; while (i < array.length) { _root.AddPlanet("planet" + (i + 1), array[i][0], array[i][1], array[i][2], array[i][3]); if (((array[i][4] != undefined) && (_root.Level > 1)) && (_root.gamemode == 1)) { trace("Add Team to planet: " + array[i][4]); _root.AddBuilding(array[i][4], 0, this["planet" + (i + 1)], -1); _root.enemyteam = array[i][4]; } i++; } if (_root.gamemode == 2) { array = _root.arrMapLevel[_root.sk_sector][1]; } else { array = _root.arrMapLevel[_root.sectornumber][1]; } trace(array.length + " Meteorites"); i = 0; while (i < array.length) { _root.AddMeteorite(array[i][0], array[i][1]); i++; } startside = _root.arrMapLevel[_root.sectornumber][2]; if (startside == undefined) { startside = random(8); } if (_root.gamemode == 2) { _root.CreateShip(6, 0, 0, 0, 135); _root.camerafocus = _root.newship; _root.CreateShip(6, 1, 7000, 7000, 235); _root.enemyteam = 1; } else { switch (startside) { case 1 : _root.CreateShip(6, 0, 7000, 0, 235); break; case 2 : _root.CreateShip(6, 0, 7000, 3500, 270); break; case 3 : _root.CreateShip(6, 0, 7000, 7000, 315); break; case 4 : _root.CreateShip(6, 0, 3500, 7000, 0); break; case 5 : _root.CreateShip(6, 0, 0, 7000, 45); break; case 6 : _root.CreateShip(6, 0, 0, 3500, 90); break; case 7 : _root.CreateShip(6, 0, 0, 0, 135); break; default : _root.CreateShip(6, 0, 3500, 0, 180); } _root.camerafocus = _root.newship; if (_root.Level <= 1) { _root.enemyteam = 1; s = 0; while (s < 15) { x = 1000 + random(5000); y = 1000 + random(5000); size = 100; do { x = 1000 + random(5000); y = 1000 + random(5000); size = 600 + random(1000); } while (toonear(x, y, size)); if (s > 7) { _root.CreateShip(1, 1, x, y, random(360)); } else { _root.CreateShip(0, 1, x, y, random(360)); } s++; } } } }
Instance of Symbol 293 MovieClip "view" in Symbol 294 MovieClip Frame 1
onClipEvent (load) { _visible = false; }
Symbol 302 MovieClip Frame 1
stop();
Symbol 302 MovieClip Frame 2
_root.playsound(29);
Symbol 309 MovieClip Frame 1
function playmusic() { if ((this != undefined) && (_root.sk_music != false)) { rnd = random(3) + 2; trace("Play music track " + rnd); gotoAndStop(rnd); setTimeout(playmusic, 180000); } } stop(); trace("Music Player Loaded"); playmusic();
Symbol 313 MovieClip Frame 1
txtTipText.text = ""; this.onEnterFrame = function () { if ((txtTipText.text == "") || (txtTipText.text == "undefined")) { _visible = false; } else { _visible = true; _x = _root._xmouse; _y = (_root._ymouse - 30); bg._width = txtTipText.textWidth + 20; } };
Symbol 322 Button
on (release) { selecteditem--; if (selecteditem < 0) { selecteditem = valuearray.length - 1; } _root["sk_" + type] = valuearray[selecteditem]; _root.so.data[type] = valuearray[selecteditem]; }
Symbol 323 Button
on (release) { selecteditem++; if (selecteditem >= valuearray.length) { selecteditem = 0; } _root["sk_" + type] = valuearray[selecteditem]; }
Symbol 324 MovieClip Frame 1
onEnterFrame = function () { if (_root["sk_" + type] != undefined) { i = 0; while (i < valuearray.length) { if (_root["sk_" + type] == valuearray[i]) { selecteditem = i; break; } i++; } } if ((labelarray == undefined) || (valuearray == undefined)) { selecteddisplay = "?"; } else if (labelarray.length != valuearray.length) { selecteddisplay = "Error"; } else { if (selecteditem == undefined) { selecteditem = 0; } selecteddisplay = labelarray[selecteditem]; } if (selecteditem != previtem) { previtem = selecteditem; switch (type) { case "bgcolour" : _root.CreateNebula(valuearray[selecteditem], 2); break; case "sector" : if (_root.previewobjs != undefined) { i = 0; while (i < _root.previewobjs.length) { _root.previewobjs[i].removeMovieClip(); i++; } } _root.previewobjs = []; sectornumber = valuearray[selecteditem]; if (sectornumber <= -1) { break; } minimapscale = 70; if (_root.objnum == undefined) { _root.objnum = 1; } array = _root.arrMapLevel[sectornumber][0]; i = 0; while (i < array.length) { _root.objnum++; x = array[i][0]; y = array[i][1]; size = array[i][2]; theplanetblip = _root.buildingmenu.map.inner.attachMovie("Map Planet", "p" + _root.objnum, _root.objnum); theplanetblip._x = x / minimapscale; theplanetblip._y = y / minimapscale; theplanetblip._width = size / minimapscale; theplanetblip._height = size / minimapscale; _root.previewobjs.push(theplanetblip); i++; } array = _root.arrMapLevel[sectornumber][1]; i = 0; for(;;){ if (i >= array.length) { break; } _root.objnum++; x = array[i][0]; y = array[i][1]; theblip = _root.buildingmenu.map.inner.attachMovie("Map Planet", "m" + _root.objnum, _root.objnum); theblip._x = x / minimapscale; theblip._y = y / minimapscale; theblip._width = 3; theblip._height = 3; _root.previewobjs.push(theblip); i++; }; } _root["sk_" + type] = valuearray[selecteditem]; _root.so.data["sk_" + type] = valuearray[selecteditem]; } };
Instance of Symbol 324 MovieClip in Symbol 329 MovieClip Frame 1
onClipEvent (load) { labelarray = ["Sound FX On", "Sound FX Off"]; valuearray = [true, false]; type = "sfx"; }
Instance of Symbol 324 MovieClip in Symbol 329 MovieClip Frame 1
onClipEvent (load) { labelarray = ["Music On", "Music Off"]; valuearray = [true, false]; type = "music"; }
Instance of Symbol 324 MovieClip in Symbol 329 MovieClip Frame 1
onClipEvent (load) { labelarray = ["Low", "Medium", "High"]; valuearray = ["LOW", "MEDIUM", "HIGH"]; type = "quality"; } onClipEvent (enterFrame) { _root._quality = _root.sk_quality; }
Instance of Symbol 324 MovieClip in Symbol 329 MovieClip Frame 1
onClipEvent (load) { labelarray = ["Low", "High"]; valuearray = [false, true]; type = "fragments"; }
Symbol 334 MovieClip Frame 1
if ((_parent.percentage == undefined) || (_parent.percentage <= 0)) { _visible = false; _parent.builddisp._visible = false; } else { progress._width = ((100 - _parent.percentage) / 100) * 60; _visible = true; _parent.builddisp._visible = true; }
Symbol 334 MovieClip Frame 2
gotoAndPlay (1);
Symbol 341 Button
on (press) { if (Key.isDown(17)) { _root.CancelShipBuild(b, shiptype); } else { _root.StartShipBuild(b, shiptype); } } on (rollOver) { strDescription = ""; strDescription = strDescription + (((("" + _root.arrShipData[shiptype][0]) + " <br> ") + _root.arrShipData[shiptype][11]) + " <br> "); strDescription = strDescription + ((" <font color=\"#00FFFF\">Shield: " + _root.arrShipData[shiptype][5]) + "</font>"); strDescription = strDescription + ((" <font color=\"#00FF00\">Speed: " + _root.arrShipData[shiptype][6]) + "</font>"); strDescription = strDescription + ((" <font color=\"#FFCC00\">Cost: " + _root.arrShipData[shiptype][10]) + "</font>"); if (b.inqueue[shiptype] > 0) { strDescription = strDescription + " <font color=\"#FF0000\">Ctrl + Click to Cancel</font>"; } _parent.SetDescription(strDescription); } on (rollOut) { _parent.SetDescription(""); }
Symbol 342 Button
on (press) { if (_root.AddBuilding(0, type, _root.selectedbuilding.planet, -1)) { _root.selectedbuilding = undefined; } } on (rollOver) { _parent.SetDescription(((((_root.arrBuildingData[type][0] + " <br> ") + _root.arrBuildingData[type][7]) + "<br> <font color=\"#FFCC00\">Cost: ") + _root.arrBuildingData[type][6]) + "</font>"); } on (rollOut) { _parent.SetDescription(""); }
Symbol 362 Button
on (press) { _root.StartUpgrade(b, type); } on (rollOver) { _parent.SetDescription(((((_root.arrUpgrades[type][0] + " <br> ") + _root.arrUpgrades[type][4]) + " <br><font color=\"#FFCC00\">Cost: ") + _root.arrUpgrades[type][3]) + "</font>"); } on (rollOut) { _parent.SetDescription(""); }
Symbol 365 Button
on (press) { if (((_root.TutorialPage > 2) || (_root.gamemode != 1)) || (_root.Level > 1)) { _root.ShipAction(type); } } on (rollOver) { _parent.SetDescription(((("<B>" + _root.arrShipActions[type][0]) + " <br> ") + _root.arrShipActions[type][1]) + "</B>"); } on (rollOut) { _parent.SetDescription(""); }
Symbol 366 MovieClip Frame 1
this.onEnterFrame = function () { inner.colour = colour; };
Symbol 369 Button
on (press) { if (b.weaponloaded == type) { _root.settingtarget = b; _root.DeselectAll(); if (Key.isDown(17)) { _root.GameMessage(_root.arrInterplanetaryWeapons[type][0] + " unloaded"); b.weaponloaded = undefined; _root.settingtarget = undefined; } else if (type > 2) { _root.GameMessage("Click on an enemy building to fire the " + _root.arrInterplanetaryWeapons[type][0]); } else { _root.GameMessage("Click on a planet to fire the " + _root.arrInterplanetaryWeapons[type][0]); } } else if (b.weaponloaded != undefined) { _root.playsound(5); _root.GameMessage("Interplanetary weapon already loaded."); } else if (Key.isDown(17)) { _root.CancelLoadingWeapon(b); } else { _root.StartLoadingWeapon(b, type); } } on (rollOver) { if (b.weaponloaded != undefined) { _parent.SetDescription(("Fire " + _root.arrInterplanetaryWeapons[type][0]) + " at target. <font color=\"#FF0000\">Ctrl + Click to Unload</font>"); } else if (b.weaponloading != undefined) { _parent.SetDescription(("<font color=\"#666666\">Loading " + _root.arrInterplanetaryWeapons[type][0]) + "</font><br><font color=\"#FF0000\">Ctrl + Click to Unload</font>"); } else { _parent.SetDescription(((((_root.arrInterplanetaryWeapons[type][0] + " <br> ") + _root.arrInterplanetaryWeapons[type][4]) + " <br> <font color=\"#FFCC00\">Cost: ") + _root.arrInterplanetaryWeapons[type][1]) + "</font>"); } } on (rollOut) { _parent.SetDescription(""); }
Symbol 378 Button
on (press) { _root.DoShortcut(s); } on (rollOver) { _parent.SetDescription(((((_root.arrShortcuts[s][0] + "<br>") + _root.arrShortcuts[s][1]) + "<br><font color=\"#00FFFF\">Shortcut Key: ") + _root.arrShortcuts[s][2].toUpperCase()) + "</font>"); } on (rollOut) { _parent.SetDescription(""); }
Symbol 381 Button
on (press) { _root.selectedbuilding.selling = true; _root.selectedbuilding = undefined; } on (rollOver) { _parent.SetDescription(("<B>Sell this building to receive: " + _root.selectedbuilding.sellvalue) + " resources</b>"); } on (rollOut) { _parent.SetDescription(""); }
Symbol 383 Button
on (press) { _parent.gotoAndStop("shipmenu"); } on (rollOver) { _parent.SetDescription("<B>Ship building menu</b>"); } on (rollOut) { _parent.SetDescription(""); }
Symbol 385 Button
on (press) { _parent.gotoAndStop("buildmenu"); } on (rollOver) { _parent.SetDescription("<B>Building construction menu</b>"); } on (rollOut) { _parent.SetDescription(""); }
Symbol 387 Button
on (press) { _parent.gotoAndStop("upgrademenu"); } on (rollOver) { _parent.SetDescription("<B>Upgrade menu</b>"); } on (rollOut) { _parent.SetDescription(""); }
Symbol 390 Button
on (press) { _parent.gotoAndStop("menu"); } on (rollOver) { _parent.SetDescription("<B>Back to Building Menu</b>"); } on (rollOut) { _parent.SetDescription(""); }
Symbol 393 Button
on (press) { _parent.action = "destroy"; _parent.gotoAndStop("confirm"); } on (rollOver) { _parent.SetDescription("<B>Destroy all selected ships</b>"); } on (rollOut) { _parent.SetDescription(""); }
Symbol 395 Button
on (press) { _root.DeselectAll(); _root.GameMessage(""); _parent.SetDescription(""); } on (rollOver) { _parent.SetDescription("<B>Deselect currently selected units<br><font color=\"#00FFFF\">Shortcut Key: SPACE</font></b>"); } on (rollOut) { _parent.SetDescription(""); }
Symbol 398 Button
on (press) { _root.playsound(5); } on (rollOver) { _parent.SetDescription((itemname + "<br />") + disabledreason); } on (rollOut) { _parent.SetDescription(""); }
Symbol 401 Button
on (press) { if (_parent.action == "destroy") { i = 0; while (i < _root.arrShips.length) { if (_root.arrShips[i].selected == true) { _root.Explode(_root.arrShips[i]); } i++; } _parent.action = undefined; } else if (_parent.action == "surrender") { stopAllSounds(); trace("Surrender"); _root.game.losecount = 125; } else if (_parent.action == "quit") { _root.Key.removeListener(_root.listener); stopAllSounds(); _root.gotoAndStop("menu"); } } on (rollOut) { _parent.SetDescription(""); }
Symbol 403 Button
on (press) { if (_parent.action == "destroy") { _parent.action = undefined; _parent.gotoAndStop("shipactions"); } else if (_parent.action == "surrender") { _parent.action = undefined; _parent.gotoAndStop("off"); } else if (_parent.action == "quit") { _parent.action = undefined; _parent.gotoAndStop("off"); } } on (rollOut) { _parent.SetDescription(""); }
Symbol 405 Button
on (press) { _parent.gotoAndStop("enemyscan"); } on (rollOver) { _parent.SetDescription("<B>Enemy Status Scanner<br>Find out information about the enemy's resources power etc</B>"); } on (rollOut) { _parent.SetDescription(""); }
Symbol 406 MovieClip Frame 1
function resetvars() { disabledreason = undefined; shiptype = undefined; buildingtype = undefined; upgradetype = undefined; shortcuttype = undefined; _visible = true; } colour = _parent.colour; this.onEnterFrame = function () { b = _root.selectedbuilding; if (disabledreason != undefined) { gotoAndStop ("disabled"); } else if (shortcuttype != undefined) { s = shortcuttype; gotoAndStop ("shortcuts"); } else if (shiptype != undefined) { s = shiptype; percentage = Math.round((b.timer[s] / b.totaltime[s]) * 100); gotoAndStop (2); } else if (buildingtype != undefined) { type = buildingtype; gotoAndStop (3); } else if (upgradetype != undefined) { s = upgradetype; percentage = Math.round((b.utimer[s] / b.utotaltime[s]) * 100); type = upgradetype; gotoAndStop (4); } else if (actiontype != undefined) { type = actiontype; gotoAndStop (5); } else if (weapontype != undefined) { type = weapontype; percentage = Math.round((b.wtimer[type] / b.wtotaltime[type]) * 100); gotoAndStop (6); fire._visible = b.weaponloaded == type; } else { gotoAndStop(othertype); } if (b.inqueue[s] > 0) { queue = b.inqueue[s]; } else { queue = ""; } };
Instance of Symbol 141 MovieClip in Symbol 406 MovieClip Frame 2
onClipEvent (load) { _parent.speed = 0; gotoAndStop(_root.arrShipData[_parent.shiptype][1]); }
Instance of Symbol 361 MovieClip in Symbol 406 MovieClip Frame 4
onClipEvent (load) { colour = _parent.colour; gotoAndStop(_parent.upgradetype + 1); }
Instance of Symbol 364 MovieClip in Symbol 406 MovieClip Frame 5
onClipEvent (load) { gotoAndStop(_parent.actiontype + 1); }
Instance of Symbol 366 MovieClip "inner" in Symbol 406 MovieClip Frame 6
onClipEvent (load) { colour = _parent.colour; gotoAndStop(_parent.style); }
Instance of Symbol 368 MovieClip "fire" in Symbol 406 MovieClip Frame 6
onClipEvent (load) { _visible = false; }
Instance of Symbol 377 MovieClip in Symbol 406 MovieClip Frame 7
onClipEvent (load) { colour = _parent.colour; gotoAndStop(_parent.shortcuttype + 1); }
Instance of Symbol 404 MovieClip "inner" in Symbol 406 MovieClip Frame 18
onClipEvent (load) { colour = _parent.colour; gotoAndStop(_parent.upgradetype + 1); }
Instance of Symbol 293 MovieClip "view" in Symbol 408 MovieClip Frame 1
onClipEvent (load) { _visible = false; }
Symbol 424 MovieClip Frame 1
function SetDescription(strHTML) { _parent.shipinfolow = ("<font face=\"Verdana\"><B>" + strHTML) + "</B></font>"; } this.onEnterFrame = undefined; intType = _root.selectedbuilding.type; team = _root.selectedbuilding.team; colour = _root.arrTeamData[_root.team][1]; button = 0; shipcount = 0; buildingcount = 0; upgradecount = 0; button++; this["button" + button].resetvars(); this["button" + button].othertype = "deselect"; i = 0; while (i < _root.arrShipData.length) { if (_root.arrShipData[i][3] == intType) { shipcount++; } i++; } i = 0; while (i < _root.arrBuildingData.length) { if (_root.arrBuildingData[i][2] == intType) { buildingcount++; } i++; } i = 0; while (i < _root.arrUpgrades.length) { if ((_root.arrUpgrades[i][1] == intType) && (!_root.HasUpgrade(i, _root.team))) { upgradecount++; } i++; } if (intType != 0) { button++; this["button" + button].resetvars(); this["button" + button].othertype = "sell"; } if (shipcount > 0) { button++; this["button" + button].resetvars(); this["button" + button].othertype = "shipmenu"; } if (buildingcount > 0) { button++; this["button" + button].resetvars(); this["button" + button].othertype = "buildmenu"; } if (upgradecount > 0) { button++; this["button" + button].resetvars(); this["button" + button].othertype = "upgrademenu"; } i = 0; while (i < _root.arrInterplanetaryWeapons.length) { if (_root.arrInterplanetaryWeapons[i][2] == intType) { button++; this["button" + button].resetvars(); this["button" + button].weapontype = i; this["button" + button].colour = colour; this["button" + button].style = i + 1; this["button" + button].itemname = _root.arrInterplanetaryWeapons[i][0]; if (_root.arrTechLevel[team] < _root.arrInterplanetaryWeapons[i][5]) { this["button" + button].disabledreason = ("Tech level " + _root.arrInterplanetaryWeapons[i][5]) + " required to build this ship"; } else if (((_root.gamemode == 2) && (_root.sk_pdallowed == false)) && (i == 3)) { this["button" + button].disabledreason = "Planet destroyers have been disallowed."; } else if (_root.Level < _root.arrInterplanetaryWeapons[i][7]) { this["button" + button].disabledreason = "You cannot build this IP missle until a later in the game."; } } i++; } if ((intType == 6) && (_root.HasUpgrade(16, 0))) { button++; this["button" + button].resetvars(); this["button" + button].othertype = "enemyscan"; } b = button; i = b + 1; while (i <= 14) { b++; this["button" + b].resetvars(); this["button" + b].othertype = "hidden"; i++; } stop();
Instance of Symbol 410 MovieClip "map" in Symbol 424 MovieClip Frame 1
onClipEvent (mouseDown) { if (_root.gamepaused == false) { if ((this.hitTest(_root._xmouse, _root._ymouse, false) && (_root._xmouse > 390)) && (_root._ymouse < 110)) { if (_root.scrollmarker._x == undefined) { _root.objnum++; _root.scrollmarker = _root.game.attachMovie("Marker", "scrollmarker", _root.objnum); } _root.scrollmarker._x = this._xmouse * 70; _root.scrollmarker._y = this._ymouse * 70; _root.camerafocus = _root.scrollmarker; } } }
Symbol 424 MovieClip Frame 2
button = 0; i = 0; while (i < _root.arrShipData.length) { if (_root.arrShipData[i][3] == intType) { button++; this["button" + button].resetvars(); this["button" + button].shiptype = i; this["button" + button].colour = colour; this["button" + button].itemname = _root.arrShipData[i][0]; if (_root.arrTechLevel[team] < _root.arrShipData[i][13]) { this["button" + button].disabledreason = ("Tech level " + _root.arrShipData[i][13]) + " required to build this ship"; } else if (_root.Level < _root.arrShipData[i][17]) { this["button" + button].disabledreason = "You cannot build this ship until a later in the game."; } } i++; } button++; this["button" + button].resetvars(); this["button" + button].othertype = "back"; b = button; i = b + 1; while (i <= 8) { b++; this["button" + b].resetvars(); this["button" + b].othertype = "hidden"; i++; }
Symbol 424 MovieClip Frame 3
button = 0; i = 0; while (i < _root.arrBuildingData.length) { if (_root.arrBuildingData[i][2] == intType) { button++; this["button" + button].resetvars(); this["button" + button].buildingtype = i; this["button" + button].hasLaser = _root.arrBuildingData[i][4]; this["button" + button].colour = colour; this["button" + button].itemname = _root.arrBuildingData[i][0]; if (_root.arrBuildingData[i][9] > _root.arrTechLevel[team]) { this["button" + button].disabledreason = ("Tech level " + _root.arrBuildingData[i][9]) + " required to construct this building"; } else if (_root.Level < _root.arrBuildingData[i][10]) { this["button" + button].disabledreason = "You cannot construct this building until a later in the game."; } } i++; } button++; this["button" + button].othertype = "back"; this["button" + button]._visible = true; b = button; i = b + 1; while (i <= 8) { b++; this["button" + b].resetvars(); this["button" + b].othertype = "hidden"; i++; }
Symbol 424 MovieClip Frame 4
button = 0; i = 0; while (i < _root.arrUpgrades.length) { if (((_root.arrUpgrades[i][1] == intType) && ((_root.arrTechLevel[team] <= _root.arrUpgrades[i][8]) || (_root.arrUpgrades[i][8] == -1))) && (!_root.HasUpgrade(i, _root.team))) { if ((_root.arrUpgrades[i][7] == -1) || (_root.HasUpgrade(_root.arrUpgrades[i][7], _root.team))) { button++; this["button" + button].resetvars(); this["button" + button].upgradetype = i; this["button" + button].itemname = _root.arrUpgrades[i][0]; if (((_root.gamemode == 2) && (_root.arrUpgrades[i][0].indexOf("Tech") > -1)) && (_root.sk_maxtech < _root.arrUpgrades[i][5])) { this["button" + button].disabledreason = "Maximum Tech Level has been set at: " + _root.sk_maxtech; } else if (((_root.arrUpgrades[i][11] != -1) && (_root.arrSectorsConquered[_root.arrUpgrades[i][11]] != true)) && (_root.gamemode == 1)) { this["button" + button].disabledreason = ("You must conquer sector " + _root.arrUpgrades[i][11]) + " to unlock this upgrade"; } else if (_root.arrUpgrades[i][2] > _root.arrTechLevel[team]) { this["button" + button].disabledreason = ("Tech level " + _root.arrUpgrades[i][2]) + " required to purchase this upgrade"; } else if (_root.Level < _root.arrUpgrades[i][9]) { this["button" + button].disabledreason = "You cannot purchase this upgrade until later in the game"; } } } i++; } button++; this["button" + button].othertype = "back"; this["button" + button]._visible = true; b = button; i = b + 1; while (i <= 8) { b++; this["button" + b].resetvars(); this["button" + b].othertype = "hidden"; i++; }
Symbol 424 MovieClip Frame 5
button = 0; action = undefined; button++; this["button" + button].resetvars(); this["button" + button].othertype = "deselect"; button++; this["button" + button].resetvars(); this["button" + button].othertype = "destroy"; arrActions = []; i = 0; while (i < _root.arrShips.length) { if (_root.arrShips[i].selected == true) { if (_root.arrShips[i].action > -1) { arrActions.push(_root.arrShips[i].action); } } i++; } arrActions.sort(); prev = -1; i = 0; while (i < arrActions.length) { this["button" + button].resetvars(); if (prev != arrActions[i]) { button++; this["button" + button].actiontype = arrActions[i]; prev = arrActions[i]; } i++; } b = button; i = b + 1; while (i <= 8) { b++; this["button" + b].resetvars(); this["button" + b].othertype = "hidden"; i++; }
Symbol 424 MovieClip Frame 7
button = 0; i = 0; while (i < _root.arrShortcuts.length) { if ((i != 0) || (_root.HQ != undefined)) { button++; this["button" + button].resetvars(); this["button" + button].shortcuttype = i; } i++; } b = button; i = b + 1; while (i <= 14) { b++; this["button" + b].resetvars(); this["button" + b].othertype = "hidden"; i++; }
Symbol 424 MovieClip Frame 8
button = 0; button++; this["button" + button].resetvars(); this["button" + button].othertype = "no"; button++; this["button" + button].resetvars(); this["button" + button].othertype = "yes";
Symbol 424 MovieClip Frame 9
SetDescription(""); gotoAndStop (1);
Symbol 424 MovieClip Frame 10
SetDescription("");
Symbol 424 MovieClip Frame 11
button = 0; action = undefined; button++; this["button" + button].resetvars(); this["button" + button].othertype = "back"; this.onEnterFrame = function () { power = _root.arrExistingPower[_root.enemyteam]; if (power > 0) { power = "+" + power; } resources = _root.arrResources[_root.enemyteam]; techlevel = _root.arrTechLevel[_root.enemyteam]; shipcount = (_root.arrExistingShips[_root.enemyteam] + "/") + _root.ShipLimit; };
Symbol 424 MovieClip Frame 12
SetDescription("");
Symbol 424 MovieClip Frame 13
SetDescription("");
Symbol 424 MovieClip Frame 14
SetDescription("");
Symbol 430 Button
on (release) { _root.camerafocus = _root.messageobject; }
Symbol 431 MovieClip Frame 1
this.onEnterFrame = function () { if (timer > 0) { timer--; } if (timer < 100) { _alpha = timer; } else { _alpha = 100; } if (_alpha <= 0) { gotoAndStop (2); } else if (_root.messageobject == undefined) { gotoAndStop (2); } else { gotoAndStop (1); } };
Symbol 435 MovieClip Frame 1
if (_root.mypower < 1) { if (messagesent == false) { messagesent = true; _root.GameMessage("Low Power. Build more power stations."); } gotoAndPlay (3); } else { messagesent = false; } this.onEnterFrame = function () { _visible = (_root.mypower < 1); };
Symbol 435 MovieClip Frame 2
gotoAndPlay (1);
Symbol 441 MovieClip Frame 1
stop();
Instance of Symbol 261 MovieClip in Symbol 441 MovieClip Frame 4
onClipEvent (load) { function clickaction() { _root.Key.removeListener(listener); _root.gotoAndStop("menu"); } label = "Continue"; }
Symbol 448 Button
on (release) { gotoAndStop (1); }
Symbol 475 MovieClip Frame 1
stop();
Symbol 479 MovieClip Frame 1
stop(); sectornumber = Number(_name.substr(1, _name.length - 1)); hexmapscale = 220; array = _root.arrMapLevel[sectornumber][0]; i = 0; while (i < array.length) { _root.objnum++; x = array[i][0]; y = array[i][1]; size = array[i][2]; style = array[i][3]; theplanetblip = this.attachMovie("Planet Rock", "p" + _root.objnum, _root.objnum); theplanetblip._x = (x / hexmapscale) - 15; theplanetblip._y = (y / hexmapscale) - 15; theplanetblip._width = size / hexmapscale; theplanetblip._height = size / hexmapscale; theplanetblip.gotoAndStop(style); i++; } if (_root.arrSectorsConquered[sectornumber] == true) { gotoAndStop (3); } else { this.onRollOver = function () { cannot = false; if (sectornumber == 0) { if (_root.Level > 12) { gotoAndStop (2); _parent._parent.sectordescription = "<b>Conquer this sector to take control of New Earth and become the dominant human race.</b>"; } else { _parent._parent.sectordescription = "<b><font color=\"#999999\">You cannot attack the central sector until you have conquered all the others.</font></b>"; gotoAndStop (1); cannot = true; } } else { gotoAndStop (2); _parent._parent.sectordescription = ((("<b>Sector " + sectornumber) + "<br>Conquer this sector to unlock the upgrade: <br/><font color=\"#FFCC00\">") + _root.arrUpgrades[_root.SectorUpgrade(sectornumber)][0]) + "</font></b>"; } i = 0; while (i < _root.previewobjs.length) { _root.previewobjs[i].removeMovieClip(); i++; } _root.previewobjs = []; minimapscale = 70; array = _root.arrMapLevel[sectornumber][0]; i = 0; while (i < array.length) { _root.objnum++; x = array[i][0]; y = array[i][1]; size = array[i][2]; theplanetblip = _root.buildingmenu.map.inner.attachMovie("Map Planet", "p" + _root.objnum, _root.objnum); theplanetblip._x = x / minimapscale; theplanetblip._y = y / minimapscale; theplanetblip._width = size / minimapscale; theplanetblip._height = size / minimapscale; if ((array[i][4] != undefined) && (_root.Level > 1)) { _root.SetShipColour(theplanetblip, _root.arrTeamData[array[i][4]][1]); } _root.previewobjs.push(theplanetblip); i++; } array = _root.arrMapLevel[sectornumber][1]; i = 0; while (i < array.length) { _root.objnum++; x = array[i][0]; y = array[i][1]; theblip = _root.buildingmenu.map.inner.attachMovie("Map Planet", "m" + _root.objnum, _root.objnum); theblip._x = x / minimapscale; theblip._y = y / minimapscale; theblip._width = 3; theblip._height = 3; _root.previewobjs.push(theblip); i++; } }; this.onRollOut = function () { _parent._parent.sectordescription = "<b>Move the mouse over a sector view information about it<b>"; _xscale = 100; _yscale = 100; gotoAndStop (1); }; this.onMouseDown = function () { if (this.hitTest(_root._xmouse, _root._ymouse, true) && (cannot == false)) { stopAllSounds(); _root.sectornumber = sectornumber; _root.gotoAndStop("game"); } }; }
Symbol 486 MovieClip Frame 1
this.onEnterFrame = function () { if (team == undefined) { teaminfo._visible = false; } else { if ((team == _root.team) || (_root.arrExistingRadar[_root.team] > 0)) { _root.SetShipColour(blip, _root.arrTeamData[team][1]); } else { _root.SetShipColour(blip, "FFFFFF"); } teaminfo.resources = _root.arrResources[team]; mypower = _root.arrExistingPower[team]; if (mypower > 0) { mypower = "+" + mypower; } teaminfo.mypower = mypower; teaminfo.myshipcount = (_root.arrExistingShips[team] + "/") + _root.ShipLimit; teaminfo.mytechlevel = _root.arrTechLevel[team]; teaminfo.team = _root.arrTeamData[team][0]; teaminfo._visible = true; } };
Symbol 490 Button
on (keyPress "<Space>") { switch (_name) { case "intro" : stopAllSounds(); _root.gotoAndStop("map"); break; case "ending" : _root.gotoAndStop("gameover"); break; case "gameover" : stopAllSounds(); _root.gotoAndStop("menu"); } }
Symbol 524 MovieClip Frame 25
stop();

Library Items

Symbol 1 Sound [blasterhit]Used by:277
Symbol 2 Sound [blastersound]Used by:277
Symbol 3 Sound [artilleryfire]Used by:277
Symbol 4 Sound [uberlaser]Used by:277
Symbol 5 Sound [torpedohit]Used by:277
Symbol 6 Sound [firetorpedo]Used by:277
Symbol 7 Sound [gun]Used by:277
Symbol 8 Sound [explode]Used by:277
Symbol 9 Sound [money1]Used by:277
Symbol 10 Sound [stealth]Used by:277
Symbol 11 Sound [dropmines]Used by:277
Symbol 12 Sound [artilleryhit]Used by:277
Symbol 13 Sound [shipaction]Used by:277
Symbol 14 Sound [select]Used by:277
Symbol 15 Sound [boom]Used by:277
Symbol 16 Sound [laser]Used by:277
Symbol 17 Sound [ordermove]Used by:261 277
Symbol 18 ShapeTweeningUsed by:21
Symbol 19 ShapeTweeningUsed by:21
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClip [Uber Blast]Uses:18 19 20
Symbol 22 GraphicUsed by:23
Symbol 23 MovieClip [Uber Beam]Uses:22
Symbol 24 GraphicUsed by:28
Symbol 25 GraphicUsed by:28
Symbol 26 GraphicUsed by:28
Symbol 27 GraphicUsed by:28
Symbol 28 MovieClipUses:24 25 26 27Used by:41 46 60 64 68 72
Symbol 29 GraphicUsed by:33
Symbol 30 GraphicUsed by:31
Symbol 31 MovieClipUses:30Used by:33
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClipUses:29 31 32Used by:41 361
Symbol 34 GraphicUsed by:40 192
Symbol 35 ShapeTweeningUsed by:40
Symbol 36 ShapeTweeningUsed by:40
Symbol 37 GraphicUsed by:40 192
Symbol 38 ShapeTweeningUsed by:40
Symbol 39 GraphicUsed by:40
Symbol 40 MovieClipUses:34 35 36 37 38 39Used by:41
Symbol 41 MovieClip [Missle1]Uses:28 33 40
Symbol 42 GraphicUsed by:45
Symbol 43 GraphicUsed by:44
Symbol 44 MovieClipUses:43Used by:45
Symbol 45 MovieClipUses:42 44Used by:46 233 366 475
Symbol 46 MovieClip [Planet Destroyer]Uses:28 45
Symbol 47 GraphicUsed by:51
Symbol 48 GraphicUsed by:49 119
Symbol 49 MovieClipUses:48Used by:51
Symbol 50 GraphicUsed by:51
Symbol 51 MovieClipUses:47 49 50Used by:54 364
Symbol 52 ShapeTweeningUsed by:54
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClip [Mine]Uses:51 52 53
Symbol 55 GraphicUsed by:59 63 67
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClipUses:56Used by:59
Symbol 58 GraphicUsed by:59
Symbol 59 MovieClipUses:55 57 58Used by:60 233 366 475
Symbol 60 MovieClip [Level 3 IP Missle]Uses:28 59
Symbol 61 GraphicUsed by:62
Symbol 62 MovieClipUses:61Used by:63
Symbol 63 MovieClipUses:55 62Used by:64 233 366 475
Symbol 64 MovieClip [Level 2 IP Missle]Uses:28 63
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClipUses:65Used by:67
Symbol 67 MovieClipUses:55 66Used by:68 233 366
Symbol 68 MovieClip [Level 1 IP Missle]Uses:28 67
Symbol 69 GraphicUsed by:72
Symbol 70 ShapeTweeningUsed by:72
Symbol 71 GraphicUsed by:72 80
Symbol 72 MovieClip [Javelin]Uses:28 69 70 71
Symbol 73 GraphicUsed by:77
Symbol 74 GraphicUsed by:77
Symbol 75 ShapeTweeningUsed by:77
Symbol 76 GraphicUsed by:77
Symbol 77 MovieClip [Blaster]Uses:73 74 75 76
Symbol 78 GraphicUsed by:80
Symbol 79 ShapeTweeningUsed by:80
Symbol 80 MovieClip [Artillery]Uses:78 79 71
Symbol 81 GraphicUsed by:84 95 278 377
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:82Used by:84
Symbol 84 MovieClipUses:81 83Used by:141
Symbol 85 GraphicUsed by:89
Symbol 86 GraphicUsed by:87
Symbol 87 MovieClipUses:86Used by:89
Symbol 88 GraphicUsed by:89
Symbol 89 MovieClipUses:85 87 88Used by:141 377
Symbol 90 GraphicUsed by:91
Symbol 91 MovieClipUses:90Used by:93
Symbol 92 GraphicUsed by:93
Symbol 93 MovieClipUses:91 92Used by:141 377
Symbol 94 GraphicUsed by:97 361
Symbol 95 MovieClipUses:81Used by:97
Symbol 96 GraphicUsed by:97
Symbol 97 MovieClipUses:94 95 96Used by:141 361 377
Symbol 98 GraphicUsed by:102
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClipUses:99Used by:102
Symbol 101 GraphicUsed by:102
Symbol 102 MovieClipUses:98 100 101Used by:141
Symbol 103 GraphicUsed by:107
Symbol 104 GraphicUsed by:105
Symbol 105 MovieClipUses:104Used by:107
Symbol 106 GraphicUsed by:107
Symbol 107 MovieClipUses:103 105 106Used by:141 377
Symbol 108 GraphicUsed by:112
Symbol 109 GraphicUsed by:110
Symbol 110 MovieClipUses:109Used by:112
Symbol 111 GraphicUsed by:112
Symbol 112 MovieClipUses:108 110 111Used by:141 475
Symbol 113 GraphicUsed by:117
Symbol 114 GraphicUsed by:115
Symbol 115 MovieClipUses:114Used by:117
Symbol 116 GraphicUsed by:117
Symbol 117 MovieClipUses:113 115 116Used by:141
Symbol 118 GraphicUsed by:121
Symbol 119 MovieClipUses:48Used by:121
Symbol 120 GraphicUsed by:121
Symbol 121 MovieClipUses:118 119 120Used by:141 475
Symbol 122 GraphicUsed by:126
Symbol 123 GraphicUsed by:124
Symbol 124 MovieClipUses:123Used by:126
Symbol 125 GraphicUsed by:126
Symbol 126 MovieClipUses:122 124 125Used by:141 475
Symbol 127 GraphicUsed by:130
Symbol 128 GraphicUsed by:129
Symbol 129 MovieClipUses:128Used by:130
Symbol 130 MovieClipUses:127 129Used by:141 364 475
Symbol 131 GraphicUsed by:135
Symbol 132 GraphicUsed by:133
Symbol 133 MovieClipUses:132Used by:135
Symbol 134 GraphicUsed by:135
Symbol 135 MovieClipUses:131 133 134Used by:141 475
Symbol 136 GraphicUsed by:140
Symbol 137 GraphicUsed by:138
Symbol 138 MovieClipUses:137Used by:140
Symbol 139 GraphicUsed by:140
Symbol 140 MovieClipUses:136 138 139Used by:141 475
Symbol 141 MovieClipUses:84 89 93 97 102 107 112 117 121 126 130 135 140Used by:148 406
Symbol 142 GraphicUsed by:143
Symbol 143 MovieClipUses:142Used by:148
Symbol 144 GraphicUsed by:147
Symbol 145 FontUsed by:146 297 312 316 317 318 325 326 327 328 337 343 344 355 356 357 367 372 373 374 375 376 380 382 384 386 389 392 394 397 400 402 411 412 413 414 415 416 417 418 419 420 421 422 423 425 426 427 428 429 432 433 434 436 437 445 446 449 461 471 472 473 474 481 482 483 487 491 493 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 525 526 527
Symbol 146 EditableTextUses:145Used by:147
Symbol 147 MovieClipUses:144 146Used by:148 239
Symbol 148 MovieClip [Ship]Uses:141 143 147
Symbol 149 GraphicUsed by:153
Symbol 150 GraphicUsed by:153
Symbol 151 GraphicUsed by:153
Symbol 152 GraphicUsed by:153
Symbol 153 MovieClipUses:149 150 151 152Used by:154
Symbol 154 MovieClip [Scrap]Uses:153
Symbol 155 GraphicUsed by:164
Symbol 156 GraphicUsed by:164
Symbol 157 GraphicUsed by:164
Symbol 158 GraphicUsed by:164
Symbol 159 GraphicUsed by:164
Symbol 160 GraphicUsed by:164
Symbol 161 GraphicUsed by:164
Symbol 162 GraphicUsed by:164
Symbol 163 GraphicUsed by:164
Symbol 164 MovieClip [Planet Rock]Uses:155 156 157 158 159 160 161 162 163Used by:177
Symbol 165 FontUsed by:166 167 168 169 170 171 172 173 174 175
Symbol 166 EditableTextUses:165Used by:176
Symbol 167 TextUses:165Used by:176
Symbol 168 EditableTextUses:165Used by:176
Symbol 169 TextUses:165Used by:176
Symbol 170 EditableTextUses:165Used by:176
Symbol 171 TextUses:165Used by:176
Symbol 172 EditableTextUses:165Used by:176
Symbol 173 TextUses:165Used by:176
Symbol 174 EditableTextUses:165Used by:176
Symbol 175 TextUses:165Used by:176
Symbol 176 MovieClipUses:166 167 168 169 170 171 172 173 174 175Used by:177 486
Symbol 177 MovieClip [Planet]Uses:164 176
Symbol 178 GraphicUsed by:179
Symbol 179 MovieClip [Meteorite]Uses:178Used by:180
Symbol 180 MovieClip [Meteorite2]Uses:179
Symbol 181 GraphicUsed by:182
Symbol 182 MovieClip [Marker 2]Uses:181
Symbol 183 GraphicUsed by:184
Symbol 184 MovieClip [Marker]Uses:183
Symbol 185 GraphicUsed by:186
Symbol 186 MovieClip [Map Planet]Uses:185
Symbol 187 ShapeTweeningUsed by:192
Symbol 188 ShapeTweeningUsed by:192
Symbol 189 ShapeTweeningUsed by:192
Symbol 190 GraphicUsed by:192
Symbol 191 GraphicUsed by:192
Symbol 192 MovieClip [Explosion]Uses:34 187 188 37 189 190 191
Symbol 193 GraphicUsed by:194 302
Symbol 194 MovieClipUses:193Used by:195 334
Symbol 195 MovieClip [Health Bar]Uses:194Used by:239
Symbol 196 GraphicUsed by:199
Symbol 197 GraphicUsed by:198
Symbol 198 MovieClipUses:197Used by:199
Symbol 199 MovieClipUses:196 198Used by:238 364 377
Symbol 200 GraphicUsed by:204
Symbol 201 GraphicUsed by:202
Symbol 202 MovieClipUses:201Used by:204
Symbol 203 GraphicUsed by:204
Symbol 204 MovieClipUses:200 202 203Used by:238
Symbol 205 GraphicUsed by:209
Symbol 206 GraphicUsed by:207
Symbol 207 MovieClipUses:206Used by:209
Symbol 208 GraphicUsed by:209
Symbol 209 MovieClipUses:205 207 208Used by:238 475
Symbol 210 GraphicUsed by:214
Symbol 211 GraphicUsed by:212
Symbol 212 MovieClipUses:211Used by:214
Symbol 213 GraphicUsed by:214
Symbol 214 MovieClipUses:210 212 213Used by:238 361
Symbol 215 GraphicUsed by:219
Symbol 216 GraphicUsed by:217
Symbol 217 MovieClipUses:216Used by:219
Symbol 218 GraphicUsed by:219
Symbol 219 MovieClipUses:215 217 218Used by:238 361
Symbol 220 GraphicUsed by:223
Symbol 221 GraphicUsed by:222
Symbol 222 MovieClipUses:221Used by:223
Symbol 223 MovieClipUses:220 222Used by:238
Symbol 224 GraphicUsed by:228
Symbol 225 GraphicUsed by:226
Symbol 226 MovieClipUses:225Used by:228
Symbol 227 GraphicUsed by:228
Symbol 228 MovieClipUses:224 226 227Used by:238 475
Symbol 229 GraphicUsed by:232
Symbol 230 GraphicUsed by:231
Symbol 231 MovieClipUses:230Used by:232
Symbol 232 MovieClipUses:229 231Used by:238 475
Symbol 233 MovieClipUses:67 59 63 45Used by:238
Symbol 234 GraphicUsed by:237
Symbol 235 GraphicUsed by:236
Symbol 236 MovieClipUses:235Used by:237
Symbol 237 MovieClipUses:234 236Used by:238 475
Symbol 238 MovieClipUses:199 204 209 214 219 223 228 232 233 237Used by:239 406
Symbol 239 MovieClip [Building]Uses:238 147 195
Symbol 240 GraphicUsed by:Timeline
Symbol 241 MovieClipUsed by:Timeline
Symbol 242 GraphicUsed by:243
Symbol 243 MovieClipUses:242Used by:244
Symbol 244 MovieClipUses:243Used by:Timeline
Symbol 245 GraphicUsed by:246
Symbol 246 MovieClipUses:245Used by:247
Symbol 247 MovieClipUses:246Used by:Timeline
Symbol 248 GraphicUsed by:249
Symbol 249 MovieClipUses:248Used by:291  Timeline
Symbol 250 FontUsed by:251 252 257 259 260 279 303 315 439 440 495
Symbol 251 TextUses:250Used by:Timeline
Symbol 252 EditableTextUses:250Used by:Timeline
Symbol 253 GraphicUsed by:254 290 430 490
Symbol 254 ButtonUses:253Used by:Timeline
Symbol 255 GraphicUsed by:261
Symbol 256 GraphicUsed by:261
Symbol 257 EditableTextUses:250Used by:261
Symbol 258 GraphicUsed by:261
Symbol 259 EditableTextUses:250Used by:261
Symbol 260 EditableTextUses:250Used by:261
Symbol 261 MovieClipUses:255 256 257 258 259 260 17Used by:441  Timeline
Symbol 262 FontUsed by:263 319 335 444 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 473 483 496 508
Symbol 263 TextUses:262Used by:277
Symbol 264 SoundUsed by:277
Symbol 265 SoundUsed by:277
Symbol 266 SoundUsed by:277
Symbol 267 SoundUsed by:277
Symbol 268 SoundUsed by:277
Symbol 269 SoundUsed by:277
Symbol 270 SoundUsed by:277
Symbol 271 SoundUsed by:277
Symbol 272 SoundUsed by:277
Symbol 273 SoundUsed by:277
Symbol 274 SoundUsed by:277
Symbol 275 SoundUsed by:277
Symbol 276 SoundUsed by:277
Symbol 277 MovieClipUses:263 16 15 14 17 13 264 265 266 267 268 269 270 271 272 273 274 12 11 10 9 8 275 7 6 5 4 3 2 276 1Used by:Timeline
Symbol 278 ButtonUses:81Used by:Timeline
Symbol 279 TextUses:250Used by:Timeline
Symbol 280 FontUsed by:281
Symbol 281 TextUses:280Used by:288
Symbol 282 GraphicUsed by:283
Symbol 283 MovieClipUses:282Used by:288
Symbol 284 GraphicUsed by:288
Symbol 285 ShapeTweeningUsed by:288
Symbol 286 ShapeTweeningUsed by:288
Symbol 287 GraphicUsed by:288
Symbol 288 MovieClipUses:281 283 284 285 286 287Used by:289
Symbol 289 MovieClipUses:288Used by:Timeline
Symbol 290 ButtonUses:253Used by:291
Symbol 291 MovieClipUses:249 290Used by:Timeline
Symbol 292 GraphicUsed by:293
Symbol 293 MovieClipUses:292Used by:294 408
Symbol 294 MovieClipUses:293Used by:Timeline
Symbol 295 GraphicUsed by:298
Symbol 296 GraphicUsed by:298
Symbol 297 TextUses:145Used by:298
Symbol 298 MovieClipUses:295 296 297Used by:Timeline
Symbol 299 GraphicUsed by:302
Symbol 300 ShapeTweeningUsed by:302
Symbol 301 GraphicUsed by:302
Symbol 302 MovieClipUses:299 193 300 301Used by:Timeline
Symbol 303 TextUses:250Used by:309
Symbol 304 SoundUsed by:309
Symbol 305 SoundUsed by:309
Symbol 306 SoundUsed by:309
Symbol 307 SoundUsed by:309
Symbol 308 SoundUsed by:309
Symbol 309 MovieClipUses:303 304 305 306 307 308Used by:Timeline
Symbol 310 GraphicUsed by:311 406 408
Symbol 311 MovieClipUses:310Used by:313
Symbol 312 EditableTextUses:145Used by:313
Symbol 313 MovieClipUses:311 312Used by:Timeline
Symbol 314 GraphicUsed by:329 361 364 371 377 404
Symbol 315 TextUses:250Used by:329
Symbol 316 TextUses:145Used by:329
Symbol 317 TextUses:145Used by:329  Timeline
Symbol 318 TextUses:145Used by:329  Timeline
Symbol 319 EditableTextUses:262Used by:324
Symbol 320 GraphicUsed by:322 323
Symbol 321 GraphicUsed by:322 323
Symbol 322 ButtonUses:320 321Used by:324
Symbol 323 ButtonUses:320 321Used by:324
Symbol 324 MovieClipUses:319 322 323Used by:329  Timeline
Symbol 325 TextUses:145Used by:329  Timeline
Symbol 326 TextUses:145Used by:329  Timeline
Symbol 327 TextUses:145Used by:329  Timeline
Symbol 328 TextUses:145Used by:329  Timeline
Symbol 329 MovieClipUses:314 315 316 317 318 324 325 326 327 328Used by:Timeline
Symbol 330 BitmapUsed by:331
Symbol 331 GraphicUses:330Used by:332
Symbol 332 MovieClipUses:331Used by:Timeline
Symbol 333 GraphicUsed by:406
Symbol 334 MovieClipUses:194Used by:406
Symbol 335 TextUses:262Used by:336
Symbol 336 MovieClipUses:335Used by:406
Symbol 337 EditableTextUses:145Used by:406
Symbol 338 GraphicUsed by:341 342 362 365 369 378 381 383 385 387 390 393 395 398 401 403 405
Symbol 339 GraphicUsed by:341 342 362 365 369 378 381 383 385 387 390 393 395 398 401 403 405
Symbol 340 GraphicUsed by:341 342 362 365 369 378 381 383 385 387 390 393 395 398 401 403 405
Symbol 341 ButtonUses:338 339 340Used by:406
Symbol 342 ButtonUses:338 339 340Used by:406
Symbol 343 TextUses:145Used by:361
Symbol 344 TextUses:145Used by:361
Symbol 345 GraphicUsed by:361
Symbol 346 GraphicUsed by:361
Symbol 347 GraphicUsed by:361
Symbol 348 GraphicUsed by:361
Symbol 349 GraphicUsed by:361
Symbol 350 GraphicUsed by:361
Symbol 351 GraphicUsed by:361
Symbol 352 GraphicUsed by:361
Symbol 353 GraphicUsed by:361
Symbol 354 GraphicUsed by:361
Symbol 355 TextUses:145Used by:361
Symbol 356 TextUses:145Used by:361
Symbol 357 TextUses:145Used by:361
Symbol 358 GraphicUsed by:361
Symbol 359 GraphicUsed by:361
Symbol 360 GraphicUsed by:361 404
Symbol 361 MovieClipUses:314 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 33 97 360 219 94 214Used by:406
Symbol 362 ButtonUses:338 339 340Used by:406
Symbol 363 GraphicUsed by:364
Symbol 364 MovieClipUses:314 51 363 199 130Used by:406
Symbol 365 ButtonUses:338 339 340Used by:406
Symbol 366 MovieClipUses:67 63 59 45Used by:406
Symbol 367 TextUses:145Used by:368
Symbol 368 MovieClipUses:367Used by:406
Symbol 369 ButtonUses:338 339 340Used by:406
Symbol 370 GraphicUsed by:371
Symbol 371 MovieClipUses:314 370Used by:377
Symbol 372 TextUses:145Used by:377
Symbol 373 TextUses:145Used by:377
Symbol 374 TextUses:145Used by:377
Symbol 375 TextUses:145Used by:377
Symbol 376 TextUses:145Used by:377
Symbol 377 MovieClipUses:314 199 107 89 93 97 81 371 372 373 374 375 376Used by:406
Symbol 378 ButtonUses:338 339 340Used by:406
Symbol 379 GraphicUsed by:406
Symbol 380 TextUses:145Used by:406
Symbol 381 ButtonUses:338 339 340Used by:406
Symbol 382 TextUses:145Used by:406
Symbol 383 ButtonUses:338 339 340Used by:406
Symbol 384 TextUses:145Used by:406
Symbol 385 ButtonUses:338 339 340Used by:406
Symbol 386 TextUses:145Used by:406
Symbol 387 ButtonUses:338 339 340Used by:406
Symbol 388 GraphicUsed by:406
Symbol 389 TextUses:145Used by:406
Symbol 390 ButtonUses:338 339 340Used by:406
Symbol 391 GraphicUsed by:406
Symbol 392 TextUses:145Used by:406
Symbol 393 ButtonUses:338 339 340Used by:406
Symbol 394 TextUses:145Used by:406
Symbol 395 ButtonUses:338 339 340Used by:406
Symbol 396 GraphicUsed by:406
Symbol 397 TextUses:145Used by:406
Symbol 398 ButtonUses:338 339 340Used by:406
Symbol 399 GraphicUsed by:406
Symbol 400 TextUses:145Used by:406
Symbol 401 ButtonUses:338 339 340Used by:406
Symbol 402 TextUses:145Used by:406
Symbol 403 ButtonUses:338 339 340Used by:406
Symbol 404 MovieClipUses:314 360Used by:406
Symbol 405 ButtonUses:338 339 340Used by:406
Symbol 406 MovieClipUses:333 310 141 334 336 337 341 238 342 361 362 364 365 366 368 369 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405Used by:424
Symbol 407 GraphicUsed by:410
Symbol 408 MovieClipUses:310 293Used by:410
Symbol 409 GraphicUsed by:410
Symbol 410 MovieClipUses:407 408 409Used by:424
Symbol 411 TextUses:145Used by:424
Symbol 412 TextUses:145Used by:424
Symbol 413 EditableTextUses:145Used by:424
Symbol 414 EditableTextUses:145Used by:424
Symbol 415 TextUses:145Used by:424 438
Symbol 416 TextUses:145Used by:424 438
Symbol 417 EditableTextUses:145Used by:424
Symbol 418 TextUses:145Used by:424 438
Symbol 419 EditableTextUses:145Used by:424
Symbol 420 TextUses:145Used by:424 438
Symbol 421 TextUses:145Used by:424
Symbol 422 TextUses:145Used by:424
Symbol 423 TextUses:145Used by:424
Symbol 424 MovieClipUses:406 410 411 412 413 414 415 416 417 418 419 420 421 422 423Used by:Timeline
Symbol 425 EditableTextUses:145Used by:438
Symbol 426 EditableTextUses:145Used by:438
Symbol 427 EditableTextUses:145Used by:438
Symbol 428 EditableTextUses:145Used by:438
Symbol 429 EditableTextUses:145Used by:431
Symbol 430 ButtonUses:253Used by:431
Symbol 431 MovieClipUses:429 430Used by:438
Symbol 432 EditableTextUses:145Used by:438
Symbol 433 TextUses:145Used by:435
Symbol 434 TextUses:145Used by:435
Symbol 435 MovieClipUses:433 434Used by:438
Symbol 436 TextUses:145Used by:438
Symbol 437 EditableTextUses:145Used by:438
Symbol 438 MovieClipUses:425 426 415 416 427 418 428 431 432 420 435 436 437Used by:Timeline
Symbol 439 TextUses:250Used by:441
Symbol 440 TextUses:250Used by:441
Symbol 441 MovieClipUses:439 440 261Used by:Timeline
Symbol 442 GraphicUsed by:443
Symbol 443 MovieClipUses:442Used by:475  Timeline
Symbol 444 TextUses:262Used by:475
Symbol 445 TextUses:145Used by:448
Symbol 446 TextUses:145Used by:448
Symbol 447 GraphicUsed by:448
Symbol 448 ButtonUses:445 446 447Used by:475
Symbol 449 TextUses:145Used by:475
Symbol 450 TextUses:262Used by:475
Symbol 451 TextUses:262Used by:475
Symbol 452 TextUses:262Used by:475
Symbol 453 TextUses:262Used by:475
Symbol 454 TextUses:262Used by:475
Symbol 455 TextUses:262Used by:475
Symbol 456 TextUses:262Used by:475
Symbol 457 TextUses:262Used by:475
Symbol 458 TextUses:262Used by:475
Symbol 459 TextUses:262Used by:475
Symbol 460 TextUses:262Used by:475
Symbol 461 TextUses:145 262Used by:475
Symbol 462 TextUses:262Used by:475
Symbol 463 TextUses:262Used by:475
Symbol 464 TextUses:262Used by:475
Symbol 465 TextUses:262Used by:475
Symbol 466 TextUses:262Used by:475
Symbol 467 TextUses:262Used by:475
Symbol 468 TextUses:262Used by:475
Symbol 469 TextUses:262Used by:475
Symbol 470 TextUses:262Used by:475
Symbol 471 TextUses:262 145Used by:475
Symbol 472 TextUses:145Used by:475
Symbol 473 TextUses:262 145Used by:475
Symbol 474 TextUses:145Used by:475
Symbol 475 MovieClipUses:443 444 448 449 450 451 452 453 454 455 456 457 458 459 460 232 461 462 209 228 463 464 237 465 130 112 63 466 121 467 126 135 59 468 469 140 45 470 471 472 473 474Used by:Timeline
Symbol 476 GraphicUsed by:479
Symbol 477 GraphicUsed by:479
Symbol 478 GraphicUsed by:479
Symbol 479 MovieClipUses:476 477 478Used by:480
Symbol 480 MovieClipUses:479Used by:Timeline
Symbol 481 TextUses:145Used by:Timeline
Symbol 482 TextUses:145Used by:Timeline
Symbol 483 EditableTextUses:145 262Used by:Timeline
Symbol 484 GraphicUsed by:485
Symbol 485 MovieClipUses:484Used by:486
Symbol 486 MovieClipUses:485 176Used by:Timeline
Symbol 487 TextUses:145Used by:488
Symbol 488 MovieClipUses:487Used by:Timeline
Symbol 489 GraphicUsed by:492
Symbol 490 ButtonUses:253Used by:492
Symbol 491 TextUses:145Used by:492
Symbol 492 MovieClipUses:489 490 491Used by:Timeline
Symbol 493 TextUses:145Used by:494
Symbol 494 MovieClipUses:493Used by:Timeline
Symbol 495 TextUses:250Used by:Timeline
Symbol 496 EditableTextUses:145 262Used by:Timeline
Symbol 497 TextUses:145Used by:Timeline
Symbol 498 TextUses:145Used by:Timeline
Symbol 499 TextUses:145Used by:Timeline
Symbol 500 TextUses:145Used by:Timeline
Symbol 501 TextUses:145Used by:Timeline
Symbol 502 TextUses:145Used by:Timeline
Symbol 503 TextUses:145Used by:Timeline
Symbol 504 TextUses:145Used by:Timeline
Symbol 505 TextUses:145Used by:Timeline
Symbol 506 TextUses:145Used by:Timeline
Symbol 507 TextUses:145Used by:Timeline
Symbol 508 EditableTextUses:145 262Used by:Timeline
Symbol 509 TextUses:145Used by:Timeline
Symbol 510 TextUses:145Used by:Timeline
Symbol 511 TextUses:145Used by:Timeline
Symbol 512 TextUses:145Used by:Timeline
Symbol 513 TextUses:145Used by:Timeline
Symbol 514 TextUses:145Used by:Timeline
Symbol 515 TextUses:145Used by:Timeline
Symbol 516 TextUses:145Used by:Timeline
Symbol 517 TextUses:145Used by:Timeline
Symbol 518 GraphicUsed by:519
Symbol 519 MovieClipUses:518Used by:524
Symbol 520 GraphicUsed by:521
Symbol 521 MovieClipUses:520Used by:524
Symbol 522 GraphicUsed by:523
Symbol 523 MovieClipUses:522Used by:524
Symbol 524 MovieClipUses:519 521 523Used by:Timeline
Symbol 525 TextUses:145Used by:Timeline
Symbol 526 TextUses:145Used by:Timeline
Symbol 527 TextUses:145Used by:Timeline

Instance Names

"bg"Frame 1Symbol 241 MovieClip
"bstars"Frame 1Symbol 244 MovieClip
"stars"Frame 1Symbol 247 MovieClip
"txtLoaded"Frame 1Symbol 252 EditableText
"sounds"Frame 2Symbol 277 MovieClip
"game"Frame 4Symbol 294 MovieClip
"thecursor"Frame 4Symbol 298 MovieClip
"pd"Frame 4Symbol 302 MovieClip
"musicplayer"Frame 4Symbol 309 MovieClip
"tooltip"Frame 4Symbol 313 MovieClip
"buildingmenu"Frame 4Symbol 424 MovieClip
"hudtext"Frame 4Symbol 438 MovieClip
"vd"Frame 4Symbol 441 MovieClip
"tutorial"Frame 4Symbol 475 MovieClip
"buildingmenu"Frame 6Symbol 424 MovieClip
"intro"Frame 7Symbol 492 MovieClip
"ending"Frame 8Symbol 492 MovieClip
"gameover"Frame 9Symbol 492 MovieClip
"bg"Frame 11Symbol 241 MovieClip
"bstars"Frame 11Symbol 244 MovieClip
"stars"Frame 11Symbol 247 MovieClip
"sounds"Frame 11Symbol 277 MovieClip
"buildingmenu"Frame 11Symbol 424 MovieClip
"gun1"Symbol 141 MovieClip Frame 1Symbol 84 MovieClip
"gun2"Symbol 141 MovieClip Frame 1Symbol 84 MovieClip
"inner"Symbol 148 MovieClip [Ship] Frame 1Symbol 141 MovieClip
"shield"Symbol 148 MovieClip [Ship] Frame 1Symbol 143 MovieClip
"inner"Symbol 148 MovieClip [Ship] Frame 3Symbol 141 MovieClip
"inner"Symbol 177 MovieClip [Planet] Frame 1Symbol 164 MovieClip [Planet Rock]
"teaminfo"Symbol 177 MovieClip [Planet] Frame 1Symbol 176 MovieClip
"health"Symbol 195 MovieClip [Health Bar] Frame 1Symbol 194 MovieClip
"inner"Symbol 239 MovieClip [Building] Frame 1Symbol 238 MovieClip
"outline"Symbol 239 MovieClip [Building] Frame 1Symbol 238 MovieClip
"view"Symbol 294 MovieClip Frame 1Symbol 293 MovieClip
"bg"Symbol 313 MovieClip Frame 1Symbol 311 MovieClip
"txtTipText"Symbol 313 MovieClip Frame 1Symbol 312 EditableText
"progress"Symbol 334 MovieClip Frame 1Symbol 194 MovieClip
"inner"Symbol 366 MovieClip Frame 1Symbol 67 MovieClip
"inner"Symbol 366 MovieClip Frame 2Symbol 63 MovieClip
"inner"Symbol 366 MovieClip Frame 3Symbol 59 MovieClip
"inner"Symbol 366 MovieClip Frame 4Symbol 45 MovieClip
"builddisp"Symbol 406 MovieClip Frame 2Symbol 336 MovieClip
"builddisp"Symbol 406 MovieClip Frame 4Symbol 336 MovieClip
"inner"Symbol 406 MovieClip Frame 6Symbol 366 MovieClip
"fire"Symbol 406 MovieClip Frame 6Symbol 368 MovieClip
"builddisp"Symbol 406 MovieClip Frame 6Symbol 336 MovieClip
"inner"Symbol 406 MovieClip Frame 18Symbol 404 MovieClip
"view"Symbol 408 MovieClip Frame 1Symbol 293 MovieClip
"inner"Symbol 410 MovieClip Frame 1Symbol 408 MovieClip
"button1"Symbol 424 MovieClip Frame 1Symbol 406 MovieClip
"button2"Symbol 424 MovieClip Frame 1Symbol 406 MovieClip
"button3"Symbol 424 MovieClip Frame 1Symbol 406 MovieClip
"button4"Symbol 424 MovieClip Frame 1Symbol 406 MovieClip
"button5"Symbol 424 MovieClip Frame 1Symbol 406 MovieClip
"button6"Symbol 424 MovieClip Frame 1Symbol 406 MovieClip
"button7"Symbol 424 MovieClip Frame 1Symbol 406 MovieClip
"button8"Symbol 424 MovieClip Frame 1Symbol 406 MovieClip
"map"Symbol 424 MovieClip Frame 1Symbol 410 MovieClip
"button1"Symbol 424 MovieClip Frame 7Symbol 406 MovieClip
"button2"Symbol 424 MovieClip Frame 7Symbol 406 MovieClip
"button3"Symbol 424 MovieClip Frame 7Symbol 406 MovieClip
"button4"Symbol 424 MovieClip Frame 7Symbol 406 MovieClip
"button5"Symbol 424 MovieClip Frame 7Symbol 406 MovieClip
"button6"Symbol 424 MovieClip Frame 7Symbol 406 MovieClip
"button7"Symbol 424 MovieClip Frame 7Symbol 406 MovieClip
"button8"Symbol 424 MovieClip Frame 7Symbol 406 MovieClip
"button1"Symbol 424 MovieClip Frame 11Symbol 406 MovieClip
"gamemessage"Symbol 438 MovieClip Frame 1Symbol 431 MovieClip
"s0"Symbol 480 MovieClip Frame 1Symbol 479 MovieClip
"s4"Symbol 480 MovieClip Frame 1Symbol 479 MovieClip
"s1"Symbol 480 MovieClip Frame 1Symbol 479 MovieClip
"s2"Symbol 480 MovieClip Frame 1Symbol 479 MovieClip
"s3"Symbol 480 MovieClip Frame 1Symbol 479 MovieClip
"s5"Symbol 480 MovieClip Frame 1Symbol 479 MovieClip
"s6"Symbol 480 MovieClip Frame 1Symbol 479 MovieClip
"s7"Symbol 480 MovieClip Frame 1Symbol 479 MovieClip
"s12"Symbol 480 MovieClip Frame 1Symbol 479 MovieClip
"s9"Symbol 480 MovieClip Frame 1Symbol 479 MovieClip
"s10"Symbol 480 MovieClip Frame 1Symbol 479 MovieClip
"s8"Symbol 480 MovieClip Frame 1Symbol 479 MovieClip
"s11"Symbol 480 MovieClip Frame 1Symbol 479 MovieClip
"inner"Symbol 486 MovieClip Frame 1Symbol 485 MovieClip
"teaminfo"Symbol 486 MovieClip Frame 1Symbol 176 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "blasterhit"
ExportAssets (56)Timeline Frame 1Symbol 2 as "blastersound"
ExportAssets (56)Timeline Frame 1Symbol 3 as "artilleryfire"
ExportAssets (56)Timeline Frame 1Symbol 4 as "uberlaser"
ExportAssets (56)Timeline Frame 1Symbol 5 as "torpedohit"
ExportAssets (56)Timeline Frame 1Symbol 6 as "firetorpedo"
ExportAssets (56)Timeline Frame 1Symbol 7 as "gun"
ExportAssets (56)Timeline Frame 1Symbol 8 as "explode"
ExportAssets (56)Timeline Frame 1Symbol 9 as "money1"
ExportAssets (56)Timeline Frame 1Symbol 10 as "stealth"
ExportAssets (56)Timeline Frame 1Symbol 11 as "dropmines"
ExportAssets (56)Timeline Frame 1Symbol 12 as "artilleryhit"
ExportAssets (56)Timeline Frame 1Symbol 13 as "shipaction"
ExportAssets (56)Timeline Frame 1Symbol 14 as "select"
ExportAssets (56)Timeline Frame 1Symbol 15 as "boom"
ExportAssets (56)Timeline Frame 1Symbol 16 as "laser"
ExportAssets (56)Timeline Frame 1Symbol 17 as "ordermove"
ExportAssets (56)Timeline Frame 1Symbol 21 as "Uber Blast"
ExportAssets (56)Timeline Frame 1Symbol 23 as "Uber Beam"
ExportAssets (56)Timeline Frame 1Symbol 41 as "Missle1"
ExportAssets (56)Timeline Frame 1Symbol 46 as "Planet Destroyer"
ExportAssets (56)Timeline Frame 1Symbol 54 as "Mine"
ExportAssets (56)Timeline Frame 1Symbol 60 as "Level 3 IP Missle"
ExportAssets (56)Timeline Frame 1Symbol 64 as "Level 2 IP Missle"
ExportAssets (56)Timeline Frame 1Symbol 68 as "Level 1 IP Missle"
ExportAssets (56)Timeline Frame 1Symbol 72 as "Javelin"
ExportAssets (56)Timeline Frame 1Symbol 77 as "Blaster"
ExportAssets (56)Timeline Frame 1Symbol 80 as "Artillery"
ExportAssets (56)Timeline Frame 1Symbol 148 as "Ship"
ExportAssets (56)Timeline Frame 1Symbol 154 as "Scrap"
ExportAssets (56)Timeline Frame 1Symbol 164 as "Planet Rock"
ExportAssets (56)Timeline Frame 1Symbol 177 as "Planet"
ExportAssets (56)Timeline Frame 1Symbol 179 as "Meteorite"
ExportAssets (56)Timeline Frame 1Symbol 180 as "Meteorite2"
ExportAssets (56)Timeline Frame 1Symbol 182 as "Marker 2"
ExportAssets (56)Timeline Frame 1Symbol 184 as "Marker"
ExportAssets (56)Timeline Frame 1Symbol 186 as "Map Planet"
ExportAssets (56)Timeline Frame 1Symbol 192 as "Explosion"
ExportAssets (56)Timeline Frame 1Symbol 195 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 239 as "Building"

Labels

"menu"Frame 3
"game"Frame 4
"map"Frame 6
"newgamestory"Frame 7
"endstory"Frame 8
"gameover"Frame 9
"locked"Frame 10
"skirmish"Frame 11
"options"Frame 12
"credits"Frame 13
"intro"Frame 14
"start"Symbol 41 MovieClip [Missle1] Frame 2
"explode"Symbol 41 MovieClip [Missle1] Frame 4
"start"Symbol 54 MovieClip [Mine] Frame 1
"explode"Symbol 54 MovieClip [Mine] Frame 3
"actions"Symbol 72 MovieClip [Javelin] Frame 2
"explode"Symbol 72 MovieClip [Javelin] Frame 4
"fade"Symbol 72 MovieClip [Javelin] Frame 8
"explode"Symbol 77 MovieClip [Blaster] Frame 8
"actions"Symbol 80 MovieClip [Artillery] Frame 2
"explode"Symbol 80 MovieClip [Artillery] Frame 4
"fade"Symbol 80 MovieClip [Artillery] Frame 8
"action"Symbol 148 MovieClip [Ship] Frame 1
"loop"Symbol 148 MovieClip [Ship] Frame 2
"Up"Symbol 261 MovieClip Frame 1
"Over"Symbol 261 MovieClip Frame 11
"Down"Symbol 261 MovieClip Frame 21
"laser"Symbol 277 MovieClip Frame 2
"boom"Symbol 277 MovieClip Frame 3
"select"Symbol 277 MovieClip Frame 4
"ordermove"Symbol 277 MovieClip Frame 5
"shipaction"Symbol 277 MovieClip Frame 6
"error"Symbol 277 MovieClip Frame 7
"upgradedone"Symbol 277 MovieClip Frame 8
"build"Symbol 277 MovieClip Frame 9
"commandcentre"Symbol 277 MovieClip Frame 10
"powerplant"Symbol 277 MovieClip Frame 11
"resourcemine"Symbol 277 MovieClip Frame 12
"battlecentre"Symbol 277 MovieClip Frame 13
"researchcentre"Symbol 277 MovieClip Frame 14
"longrangeradar"Symbol 277 MovieClip Frame 15
"turret"Symbol 277 MovieClip Frame 16
"ipmisslesilo"Symbol 277 MovieClip Frame 17
"artilleryhit"Symbol 277 MovieClip Frame 18
"dropmines"Symbol 277 MovieClip Frame 19
"stealth"Symbol 277 MovieClip Frame 20
"money1"Symbol 277 MovieClip Frame 21
"money2"Symbol 277 MovieClip Frame 22
"explode"Symbol 277 MovieClip Frame 23
"shortcut"Symbol 277 MovieClip Frame 24
"gun"Symbol 277 MovieClip Frame 25
"firetorpedo"Symbol 277 MovieClip Frame 26
"torpedohit"Symbol 277 MovieClip Frame 27
"uberlaser"Symbol 277 MovieClip Frame 28
"artilleryfire"Symbol 277 MovieClip Frame 29
"blastersound"Symbol 277 MovieClip Frame 30
"pd"Symbol 277 MovieClip Frame 31
"blasterhit"Symbol 277 MovieClip Frame 32
"fship"Symbol 298 MovieClip Frame 1
"eship"Symbol 298 MovieClip Frame 2
"repair"Symbol 298 MovieClip Frame 3
"win"Symbol 309 MovieClip Frame 5
"lose"Symbol 309 MovieClip Frame 6
"shortcuts"Symbol 406 MovieClip Frame 7
"sell"Symbol 406 MovieClip Frame 8
"shipmenu"Symbol 406 MovieClip Frame 9
"buildmenu"Symbol 406 MovieClip Frame 10
"upgrademenu"Symbol 406 MovieClip Frame 11
"back"Symbol 406 MovieClip Frame 12
"destroy"Symbol 406 MovieClip Frame 13
"deselect"Symbol 406 MovieClip Frame 14
"disabled"Symbol 406 MovieClip Frame 15
"yes"Symbol 406 MovieClip Frame 16
"no"Symbol 406 MovieClip Frame 17
"enemyscan"Symbol 406 MovieClip Frame 18
"hidden"Symbol 406 MovieClip Frame 19
"menu"Symbol 424 MovieClip Frame 1
"shipmenu"Symbol 424 MovieClip Frame 2
"buildmenu"Symbol 424 MovieClip Frame 3
"upgrademenu"Symbol 424 MovieClip Frame 4
"shipactions"Symbol 424 MovieClip Frame 5
"off"Symbol 424 MovieClip Frame 7
"confirm"Symbol 424 MovieClip Frame 8
"reset"Symbol 424 MovieClip Frame 9
"disabled"Symbol 424 MovieClip Frame 10
"enemyscan"Symbol 424 MovieClip Frame 11
"placebuilding"Symbol 424 MovieClip Frame 12
"ipmissle"Symbol 424 MovieClip Frame 13
"pd"Symbol 424 MovieClip Frame 14
"objective"Symbol 475 MovieClip Frame 22
"controls"Symbol 475 MovieClip Frame 23

Dynamic Text Variables

_parent.assignedSymbol 146 EditableText""
mypowerSymbol 166 EditableText"??"
myshipcountSymbol 168 EditableText"??"
resourcesSymbol 170 EditableText"??"
teamSymbol 172 EditableText"??"
mytechlevelSymbol 174 EditableText"??"
labelSymbol 257 EditableText"Continue Campaign"
labelSymbol 259 EditableText"Continue Campaign"
labelSymbol 260 EditableText"Continue Campaign"
selecteddisplaySymbol 319 EditableText""
queueSymbol 337 EditableText"11"
shipcountSymbol 413 EditableText"??"
techlevelSymbol 414 EditableText"??"
resourcesSymbol 417 EditableText"??"
powerSymbol 419 EditableText"??"
_root.myshipcountSymbol 425 EditableText"??"
_root.techlevelSymbol 426 EditableText"??"
_root.resourcesSymbol 427 EditableText"??"
_root.shipinfolowSymbol 428 EditableText"<p align="center"></p><p align="center"></p><p align="center"></p><p align="center"></p>"
messageSymbol 429 EditableText"<p align="left"></p>"
_root.mypowerSymbol 432 EditableText"??"
battletimeSymbol 437 EditableText"0:00:00"
sectordescriptionSymbol 483 EditableText"<p align="left"><font face="Verdana" size="12" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>Move the mouse over a sector to view information about it</b></font></p>"




http://swfchan.com/29/143853/info.shtml
Created: 27/10 -2018 05:53:43 Last modified: 27/10 -2018 05:53:43 Server time: 06/05 -2024 10:02:04