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

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

eridaniMTA5OA==.swf

This is the info page for
Flash #106780

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


Text
??

Power:

??

Ships:

??

Resources:

??

Team:

??

Tech Level:

<p align="right"><font face="arial" size="14" color="#000000" letterSpacing="0.000000" kerning="1"><b>10.0</b></font></p>

LOADED

PLAY

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><p align="left"></p><p align="left"><font face="Verdana" size="12" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>Unlock tech levels by <sbr />playing through campaign <sbr />mode.</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

!

X

A

M

E

H

T

O

S

E

M

A

G

T

N

R

I

F

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"; } stop(); Stage.showMenu = false; _root.bloaded = 0; _root.arrSectorsConquered = []; CreateNebula(26112, 1);
Instance of Symbol 242 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 245 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 248 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("intro");
Instance of Symbol 295 MovieClip in Frame 2
onClipEvent (load) { function clickaction() { _root.gotoAndStop("intro"); } label = "Play Eridani"; }
Frame 3
function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; var pv; mb = "__mochibot__"; mbc = "mochibot.com"; g = (_global ? (_global) : (_level0._root)); if (g[mb + swfid]) { return(g[mb + swfid]); } s = System.security; x = mc._root.getSWFVersion; fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5))); if (!s) { s = {}; } sb = s.sandboxType; if (sb == "localWithFile") { return(null); } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version)); u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : ""); lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv)))); g[mb + "level"] = lv; if (fv == 5) { res = "_level" + lv; if (!eval (res)) { loadMovieNum (u, lv); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } __com_mochibot__("cc7b5ac5", this, 10301, true); inprogress = so.data.arrSectorsConquered != undefined; _quality = "HIGH"; CreateNebula(26112, 1); Mouse.show(); stopAllSounds();
Instance of Symbol 295 MovieClip in Frame 3
onClipEvent (load) { function clickaction() { _root.gamemode = 1; _root.arrSectorsConquered = []; _root.gotoAndStop("newgamestory"); } label = "New Campaign"; }
Instance of Symbol 295 MovieClip in Frame 3
onClipEvent (load) { function clickaction() { _root.gotoAndStop("options"); } label = "Options"; }
Instance of Symbol 295 MovieClip in Frame 3
onClipEvent (load) { function clickaction() { _root.gotoAndStop("credits"); } label = "Credits"; }
Instance of Symbol 295 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 295 MovieClip in Frame 3
onClipEvent (load) { function clickaction() { _root.Level = 20; _root.gamemode = 2; _root.gotoAndStop("skirmish"); } label = "Skirmish Mode"; }
Instance of Symbol 295 MovieClip in Frame 3
onClipEvent (load) { function clickaction() { getURL ("http://www.maxgames.com/", "_blank"); } label = "More Games"; }
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 333 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 369 MovieClip in Frame 4
onClipEvent (enterFrame) { _visible = _root.gamepaused; }
Instance of Symbol 464 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 464 MovieClip "buildingmenu" in Frame 6
onClipEvent (enterFrame) { gotoAndStop ("disabled"); }
Frame 7
function nextscreen() { stopAllSounds(); gotoAndStop ("map"); } _quality = "HIGH"; CreateNebula(102, 2);
Instance of Symbol 526 MovieClip in Frame 7
onClipEvent (enterFrame) { if (_width < 300) { _width = (_width + 0.5); _height = (_height + 0.5); } }
Instance of Symbol 528 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 534 MovieClip in Frame 8
onClipEvent (enterFrame) { _y = (_y - 0.5); }
Frame 9
_quality = "HIGH";
Frame 10
_quality = "HIGH"; CreateNebula(6684672, 2);
Instance of Symbol 526 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 242 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 245 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 248 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 464 MovieClip "buildingmenu" in Frame 11
onClipEvent (enterFrame) { gotoAndStop ("disabled"); }
Instance of Symbol 295 MovieClip in Frame 11
onClipEvent (load) { function clickaction() { _root.gotoAndStop("game"); } label = "Start"; }
Instance of Symbol 295 MovieClip in Frame 11
onClipEvent (load) { function clickaction() { _root.gotoAndStop("menu"); } label = "< Cancel"; }
Instance of Symbol 364 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 364 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 364 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 364 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 364 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 364 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 364 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 364 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 364 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 364 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 295 MovieClip in Frame 12
onClipEvent (load) { function clickaction() { _root.gotoAndStop("menu"); } label = "< Main Menu"; }
Instance of Symbol 364 MovieClip in Frame 12
onClipEvent (load) { labelarray = ["Sound FX On", "Sound FX Off"]; valuearray = [true, false]; type = "sfx"; }
Instance of Symbol 364 MovieClip in Frame 12
onClipEvent (load) { labelarray = ["Music On", "Music Off"]; valuearray = [true, false]; type = "music"; }
Instance of Symbol 364 MovieClip in Frame 12
onClipEvent (load) { labelarray = ["Low", "Medium", "High"]; valuearray = ["LOW", "MEDIUM", "HIGH"]; type = "quality"; }
Instance of Symbol 364 MovieClip in Frame 12
onClipEvent (load) { labelarray = ["Low", "High"]; valuearray = [false, true]; type = "fragments"; }
Instance of Symbol 364 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 22 MovieClip Frame 1
setProperty(this, _height , _parent._parent._parent.speed * 2);
Symbol 22 MovieClip Frame 2
call(1);
Symbol 22 MovieClip Frame 3
call(1);
Symbol 22 MovieClip Frame 4
call(1);
Symbol 25 MovieClip Frame 1
if (_parent._parent.colour != undefined) { _root.SetShipColour(this, _parent._parent.colour); } else { _root.SetShipColour(this, _parent._parent._parent.colour); }
Symbol 27 MovieClip [Planet Destroyer] Frame 1
speed = 10; this.onEnterFrame = function () { _root.InterplanetaryMovement(this); }; planetdestroyer = true; damage = 100000 /* 0x0186A0 */;
Instance of Symbol 22 MovieClip in Symbol 27 MovieClip [Planet Destroyer] Frame 1
onClipEvent (enterFrame) { setProperty(this, _height , _parent.speed * 5); }
Symbol 30 MovieClip Frame 1
if (_parent._parent.colour != undefined) { _root.SetShipColour(this, _parent._parent.colour); } else { _root.SetShipColour(this, _parent._parent._parent.colour); }
Symbol 33 MovieClip [Level 3 IP Missle] Frame 1
speed = 20; this.onEnterFrame = function () { _root.InterplanetaryMovement(this); }; damage = 2000 + random(1000); planetdestroyer = false;
Instance of Symbol 22 MovieClip in Symbol 33 MovieClip [Level 3 IP Missle] Frame 1
onClipEvent (enterFrame) { setProperty(this, _height , _parent.speed * 5); }
Symbol 35 MovieClip Frame 1
if (_parent._parent.colour != undefined) { _root.SetShipColour(this, _parent._parent.colour); } else { _root.SetShipColour(this, _parent._parent._parent.colour); }
Symbol 37 MovieClip [Level 2 IP Missle] Frame 1
speed = 15; this.onEnterFrame = function () { _root.InterplanetaryMovement(this); }; damage = 1000 + random(500); planetdestroyer = false;
Instance of Symbol 22 MovieClip in Symbol 37 MovieClip [Level 2 IP Missle] Frame 1
onClipEvent (enterFrame) { setProperty(this, _height , _parent.speed * 5); }
Symbol 39 MovieClip Frame 1
if (_parent._parent.colour != undefined) { _root.SetShipColour(this, _parent._parent.colour); } else { _root.SetShipColour(this, _parent._parent._parent.colour); }
Symbol 41 MovieClip [Level 1 IP Missle] Frame 1
speed = 10; this.onEnterFrame = function () { _root.InterplanetaryMovement(this); }; damage = 500 + random(250); planetdestroyer = false;
Instance of Symbol 22 MovieClip in Symbol 41 MovieClip [Level 1 IP Missle] Frame 1
onClipEvent (enterFrame) { setProperty(this, _height , _parent.speed * 5); }
Symbol 45 MovieClip [Artillery] Frame 1
speed = 20; timer = 100;
Symbol 45 MovieClip [Artillery] Frame 2
_root.guidedmovement(this);
Symbol 45 MovieClip [Artillery] Frame 3
gotoAndPlay (2);
Symbol 45 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 45 MovieClip [Artillery] Frame 9
removeMovieClip(this);
Symbol 48 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 48 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 48 MovieClip [Javelin] Frame 3
gotoAndPlay (2);
Symbol 48 MovieClip [Javelin] Frame 4
_root.explosionsound.gotoAndStop("torpedo"); _root.CheckBlast(this, random(25) + 50);
Symbol 48 MovieClip [Javelin] Frame 9
setProperty(this, _alpha , this._alpha - 10); setProperty(this, _rotation , random(360)); if (_alpha < 10) { removeMovieClip(this); } gotoAndPlay ("fade");
Symbol 51 MovieClip Frame 1
if (_parent._parent.colour != undefined) { _root.SetShipColour(this, _parent._parent.colour); } else { _root.SetShipColour(this, _parent._parent._parent.colour); }
Symbol 56 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 56 MovieClip [Mine] Frame 2
gotoAndPlay (1);
Symbol 56 MovieClip [Mine] Frame 3
_root.explosionsound.gotoAndStop("mine"); _root.CheckBlast(this, 100);
Symbol 56 MovieClip [Mine] Frame 7
removeMovieClip(this);
Symbol 59 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent.colour);
Symbol 68 MovieClip Frame 11
_parent.removeMovieClip();
Symbol 69 MovieClip [Missle1] Frame 1
speed = 10; turning = 2; timer = 200; _root.weaponsound.gotoAndStop("torpedo");
Symbol 69 MovieClip [Missle1] Frame 2
_root.guidedmovement(this);
Symbol 69 MovieClip [Missle1] Frame 3
gotoAndPlay (2);
Symbol 69 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 75 MovieClip [Explosion] Frame 41
removeMovieClip(this);
Symbol 81 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 80 MovieClip in Symbol 81 MovieClip [Scrap] Frame 1
onClipEvent (load) { gotoAndStop(random(5) + 1); _rotation = random(360); }
Symbol 81 MovieClip [Scrap] Frame 2
gotoAndPlay (1);
Symbol 85 MovieClip Frame 1
if (_parent._parent.weapon == 1) { gotoAndStop (2); } else { stop(); }
Symbol 85 MovieClip Frame 2
stop();
Symbol 85 MovieClip Frame 4
gotoAndStop (2);
Symbol 88 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 92 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 96 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 101 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 106 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 111 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 116 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 121 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 126 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 131 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 135 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 140 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 145 MovieClip Frame 1
if (_alpha > 1) { _alpha = (_alpha / 1.1); }
Symbol 145 MovieClip Frame 2
gotoAndPlay (1);
Symbol 150 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 143 MovieClip "inner" in Symbol 150 MovieClip [Ship] Frame 1
onClipEvent (enterFrame) { _rotation = _parent.angle; gotoAndStop(_parent.shiptype); }
Instance of Symbol 145 MovieClip "shield" in Symbol 150 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 149 MovieClip in Symbol 150 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 149 MovieClip in Symbol 150 MovieClip [Ship] Frame 1
onClipEvent (enterFrame) { if (_parent.selected == true) { gotoAndStop (1); } else { gotoAndStop (2); } }
Symbol 150 MovieClip [Ship] Frame 2
if (stealth == true) { if (team == _root.team) { gotoAndPlay (3); } else { _visible = false; } } else { _visible = true; gotoAndPlay (1); }
Symbol 150 MovieClip [Ship] Frame 3
call("action");
Instance of Symbol 143 MovieClip "inner" in Symbol 150 MovieClip [Ship] Frame 3
onClipEvent (enterFrame) { gotoAndStop(_parent.shiptype); _rotation = _parent.angle; }
Symbol 150 MovieClip [Ship] Frame 4
call("loop");
Symbol 153 MovieClip [Meteorite2] Frame 1
trace((_x + ",") + _y);
Symbol 163 MovieClip [Planet Rock] Frame 1
_parent.rockcolour = "#35545E";
Symbol 163 MovieClip [Planet Rock] Frame 2
_parent.rockcolour = "#804A23";
Symbol 163 MovieClip [Planet Rock] Frame 3
_parent.rockcolour = "#79694C";
Symbol 163 MovieClip [Planet Rock] Frame 4
_parent.rockcolour = "#88511E";
Symbol 163 MovieClip [Planet Rock] Frame 5
_parent.rockcolour = "#BA9A71";
Symbol 163 MovieClip [Planet Rock] Frame 6
_parent.rockcolour = "#1F475B";
Symbol 163 MovieClip [Planet Rock] Frame 7
_parent.rockcolour = "#1F475B";
Symbol 163 MovieClip [Planet Rock] Frame 8
_parent.rockcolour = "#7F6229";
Symbol 175 MovieClip Frame 1
if (_root.showteaminfo == true) { gotoAndStop (2); } else { stop(); }
Symbol 176 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 178 MovieClip [Marker 2] Frame 1
_root.SetShipColour(this, _root.colour);
Symbol 183 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 187 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 192 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 197 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 211 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 216 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 221 MovieClip Frame 1
_root.SetShipColour(this, _parent._parent._parent.colour);
Symbol 223 MovieClip Frame 1
gotoAndStop(_parent.type + 2);
Instance of Symbol 218 MovieClip in Symbol 223 MovieClip Frame 10
onClipEvent (enterFrame) { if (_parent._parent.weaponloaded == undefined) { gotoAndStop (1); } else { colour = _parent._parent.colour; gotoAndStop(_parent._parent.weaponloaded + 2); } }
Symbol 226 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 226 MovieClip [Health Bar] Frame 2
gotoAndPlay (1);
Symbol 226 MovieClip [Health Bar] Frame 3
call(1);
Symbol 226 MovieClip [Health Bar] Frame 4
gotoAndPlay (3);
Symbol 227 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 149 MovieClip in Symbol 227 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 226 MovieClip [Health Bar] in Symbol 227 MovieClip [Building] Frame 1
onClipEvent (load) { ship = _parent; }
Symbol 233 MovieClip [Uber Blast] Frame 21
this.removeMovieClip(); stop();
Symbol 238 MovieClip [Blaster] Frame 1
speed = 20; timer = 50; this.onEnterFrame = function () { _root.guidedmovement(this); };
Symbol 238 MovieClip [Blaster] Frame 7
gotoAndPlay (1);
Symbol 238 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 238 MovieClip [Blaster] Frame 13
this.removeMovieClip();
Symbol 240 MovieClip [Uber Beam] Frame 1
this.onEnterFrame = function () { _alpha = (_alpha - 5); if (_alpha <= 0) { this.removeMovieClip(); } };
Symbol 275 Button
on (release) { getURL ("http://www.maxgames.com/", "_blank"); }
Symbol 286 Button
on (press) { _root.play(); }
Symbol 287 MovieClip Frame 1
function loading() { if ((_root.getBytesLoaded() / _root.getBytesTotal()) >= 1) { play(); loadLeft.text = "0"; loadBar.scaleX = 1; delete this.onEnterFrame; loadLeft.text = "0"; loadBar._xscale = 100; } else { loadBar._xscale = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; loadLeft.text = String(Math.ceil((_root.getBytesTotal() - _root.getBytesLoaded()) / 100000) / 10); } } _root.stop(); stop(); if ((_root._url.toLowerCase().indexOf("maxgames.com") < 0) && (_root._url.toLowerCase().indexOf("file://") < 0)) { _root._visible = false; } else { this.onEnterFrame = loading; }
Symbol 287 MovieClip Frame 40
stop();
Symbol 295 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 311 MovieClip Frame 1
this.onEnterFrame = function () { gotoAndStop (1); }; stop();
Symbol 322 MovieClip Frame 120
trace("Logo Done"); stop();
Symbol 324 Button
on (release) { getURL ("http://www.benoldinggames.co.uk?r=" + _url, "_blank"); }
Symbol 329 Button
on (release) { getURL ("http://www.maxgames.com/", "_blank"); }
Symbol 333 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 332 MovieClip "view" in Symbol 333 MovieClip Frame 1
onClipEvent (load) { _visible = false; }
Symbol 342 MovieClip Frame 1
stop();
Symbol 342 MovieClip Frame 2
_root.playsound(29);
Symbol 349 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 353 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 362 Button
on (release) { selecteditem--; if (selecteditem < 0) { selecteditem = valuearray.length - 1; } _root["sk_" + type] = valuearray[selecteditem]; _root.so.data[type] = valuearray[selecteditem]; }
Symbol 363 Button
on (release) { selecteditem++; if (selecteditem >= valuearray.length) { selecteditem = 0; } _root["sk_" + type] = valuearray[selecteditem]; }
Symbol 364 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 364 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) { labelarray = ["Sound FX On", "Sound FX Off"]; valuearray = [true, false]; type = "sfx"; }
Instance of Symbol 364 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) { labelarray = ["Music On", "Music Off"]; valuearray = [true, false]; type = "music"; }
Instance of Symbol 364 MovieClip in Symbol 369 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 364 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) { labelarray = ["Low", "High"]; valuearray = [false, true]; type = "fragments"; }
Symbol 374 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 374 MovieClip Frame 2
gotoAndPlay (1);
Symbol 381 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 382 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 402 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 405 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 406 MovieClip Frame 1
this.onEnterFrame = function () { inner.colour = colour; };
Symbol 409 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 418 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 421 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 423 Button
on (press) { _parent.gotoAndStop("shipmenu"); } on (rollOver) { _parent.SetDescription("<B>Ship building menu</b>"); } on (rollOut) { _parent.SetDescription(""); }
Symbol 425 Button
on (press) { _parent.gotoAndStop("buildmenu"); } on (rollOver) { _parent.SetDescription("<B>Building construction menu</b>"); } on (rollOut) { _parent.SetDescription(""); }
Symbol 427 Button
on (press) { _parent.gotoAndStop("upgrademenu"); } on (rollOver) { _parent.SetDescription("<B>Upgrade menu</b>"); } on (rollOut) { _parent.SetDescription(""); }
Symbol 430 Button
on (press) { _parent.gotoAndStop("menu"); } on (rollOver) { _parent.SetDescription("<B>Back to Building Menu</b>"); } on (rollOut) { _parent.SetDescription(""); }
Symbol 433 Button
on (press) { _parent.action = "destroy"; _parent.gotoAndStop("confirm"); } on (rollOver) { _parent.SetDescription("<B>Destroy all selected ships</b>"); } on (rollOut) { _parent.SetDescription(""); }
Symbol 435 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 438 Button
on (press) { _root.playsound(5); } on (rollOver) { _parent.SetDescription((itemname + "<br />") + disabledreason); } on (rollOut) { _parent.SetDescription(""); }
Symbol 441 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 443 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 445 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 446 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 143 MovieClip in Symbol 446 MovieClip Frame 2
onClipEvent (load) { _parent.speed = 0; gotoAndStop(_root.arrShipData[_parent.shiptype][1]); }
Instance of Symbol 401 MovieClip in Symbol 446 MovieClip Frame 4
onClipEvent (load) { colour = _parent.colour; gotoAndStop(_parent.upgradetype + 1); }
Instance of Symbol 404 MovieClip in Symbol 446 MovieClip Frame 5
onClipEvent (load) { gotoAndStop(_parent.actiontype + 1); }
Instance of Symbol 406 MovieClip "inner" in Symbol 446 MovieClip Frame 6
onClipEvent (load) { colour = _parent.colour; gotoAndStop(_parent.style); }
Instance of Symbol 408 MovieClip "fire" in Symbol 446 MovieClip Frame 6
onClipEvent (load) { _visible = false; }
Instance of Symbol 417 MovieClip in Symbol 446 MovieClip Frame 7
onClipEvent (load) { colour = _parent.colour; gotoAndStop(_parent.shortcuttype + 1); }
Instance of Symbol 444 MovieClip "inner" in Symbol 446 MovieClip Frame 18
onClipEvent (load) { colour = _parent.colour; gotoAndStop(_parent.upgradetype + 1); }
Instance of Symbol 332 MovieClip "view" in Symbol 448 MovieClip Frame 1
onClipEvent (load) { _visible = false; }
Symbol 464 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 450 MovieClip "map" in Symbol 464 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 464 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 464 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 464 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 464 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 464 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 464 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 464 MovieClip Frame 9
SetDescription(""); gotoAndStop (1);
Symbol 464 MovieClip Frame 10
SetDescription("");
Symbol 464 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 464 MovieClip Frame 12
SetDescription("");
Symbol 464 MovieClip Frame 13
SetDescription("");
Symbol 464 MovieClip Frame 14
SetDescription("");
Symbol 470 Button
on (release) { _root.camerafocus = _root.messageobject; }
Symbol 471 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 475 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 475 MovieClip Frame 2
gotoAndPlay (1);
Symbol 481 MovieClip Frame 1
stop();
Instance of Symbol 295 MovieClip in Symbol 481 MovieClip Frame 4
onClipEvent (load) { function clickaction() { _root.Key.removeListener(listener); _root.gotoAndStop("menu"); } label = "Continue"; }
Symbol 488 Button
on (release) { gotoAndStop (1); }
Symbol 515 MovieClip Frame 1
stop();
Symbol 519 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 526 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 530 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 564 MovieClip Frame 25
stop();
Symbol 604 MovieClip Frame 1
_root.stop();
Symbol 604 MovieClip Frame 186
_root.play();

Library Items

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

Instance Names

"bg"Frame 1Symbol 242 MovieClip
"bstars"Frame 1Symbol 245 MovieClip
"stars"Frame 1Symbol 248 MovieClip
"sounds"Frame 2Symbol 311 MovieClip
"game"Frame 4Symbol 333 MovieClip
"thecursor"Frame 4Symbol 338 MovieClip
"pd"Frame 4Symbol 342 MovieClip
"musicplayer"Frame 4Symbol 349 MovieClip
"tooltip"Frame 4Symbol 353 MovieClip
"buildingmenu"Frame 4Symbol 464 MovieClip
"hudtext"Frame 4Symbol 478 MovieClip
"vd"Frame 4Symbol 481 MovieClip
"tutorial"Frame 4Symbol 515 MovieClip
"buildingmenu"Frame 6Symbol 464 MovieClip
"intro"Frame 7Symbol 532 MovieClip
"ending"Frame 8Symbol 532 MovieClip
"gameover"Frame 9Symbol 532 MovieClip
"bg"Frame 11Symbol 242 MovieClip
"bstars"Frame 11Symbol 245 MovieClip
"stars"Frame 11Symbol 248 MovieClip
"sounds"Frame 11Symbol 311 MovieClip
"buildingmenu"Frame 11Symbol 464 MovieClip
"gun1"Symbol 143 MovieClip Frame 1Symbol 85 MovieClip
"gun2"Symbol 143 MovieClip Frame 1Symbol 85 MovieClip
"inner"Symbol 150 MovieClip [Ship] Frame 1Symbol 143 MovieClip
"shield"Symbol 150 MovieClip [Ship] Frame 1Symbol 145 MovieClip
"inner"Symbol 150 MovieClip [Ship] Frame 3Symbol 143 MovieClip
"inner"Symbol 176 MovieClip [Planet] Frame 1Symbol 163 MovieClip [Planet Rock]
"teaminfo"Symbol 176 MovieClip [Planet] Frame 1Symbol 175 MovieClip
"health"Symbol 226 MovieClip [Health Bar] Frame 1Symbol 225 MovieClip
"inner"Symbol 227 MovieClip [Building] Frame 1Symbol 223 MovieClip
"outline"Symbol 227 MovieClip [Building] Frame 1Symbol 223 MovieClip
"loadBar"Symbol 287 MovieClip Frame 1Symbol 255 MovieClip
"loadLeft"Symbol 287 MovieClip Frame 1Symbol 262 EditableText
"playB"Symbol 287 MovieClip Frame 21Symbol 286 Button
"view"Symbol 333 MovieClip Frame 1Symbol 332 MovieClip
"bg"Symbol 353 MovieClip Frame 1Symbol 351 MovieClip
"txtTipText"Symbol 353 MovieClip Frame 1Symbol 352 EditableText
"progress"Symbol 374 MovieClip Frame 1Symbol 225 MovieClip
"inner"Symbol 406 MovieClip Frame 1Symbol 40 MovieClip
"inner"Symbol 406 MovieClip Frame 2Symbol 36 MovieClip
"inner"Symbol 406 MovieClip Frame 3Symbol 32 MovieClip
"inner"Symbol 406 MovieClip Frame 4Symbol 26 MovieClip
"builddisp"Symbol 446 MovieClip Frame 2Symbol 376 MovieClip
"builddisp"Symbol 446 MovieClip Frame 4Symbol 376 MovieClip
"inner"Symbol 446 MovieClip Frame 6Symbol 406 MovieClip
"fire"Symbol 446 MovieClip Frame 6Symbol 408 MovieClip
"builddisp"Symbol 446 MovieClip Frame 6Symbol 376 MovieClip
"inner"Symbol 446 MovieClip Frame 18Symbol 444 MovieClip
"view"Symbol 448 MovieClip Frame 1Symbol 332 MovieClip
"inner"Symbol 450 MovieClip Frame 1Symbol 448 MovieClip
"button1"Symbol 464 MovieClip Frame 1Symbol 446 MovieClip
"button2"Symbol 464 MovieClip Frame 1Symbol 446 MovieClip
"button3"Symbol 464 MovieClip Frame 1Symbol 446 MovieClip
"button4"Symbol 464 MovieClip Frame 1Symbol 446 MovieClip
"button5"Symbol 464 MovieClip Frame 1Symbol 446 MovieClip
"button6"Symbol 464 MovieClip Frame 1Symbol 446 MovieClip
"button7"Symbol 464 MovieClip Frame 1Symbol 446 MovieClip
"button8"Symbol 464 MovieClip Frame 1Symbol 446 MovieClip
"map"Symbol 464 MovieClip Frame 1Symbol 450 MovieClip
"button1"Symbol 464 MovieClip Frame 7Symbol 446 MovieClip
"button2"Symbol 464 MovieClip Frame 7Symbol 446 MovieClip
"button3"Symbol 464 MovieClip Frame 7Symbol 446 MovieClip
"button4"Symbol 464 MovieClip Frame 7Symbol 446 MovieClip
"button5"Symbol 464 MovieClip Frame 7Symbol 446 MovieClip
"button6"Symbol 464 MovieClip Frame 7Symbol 446 MovieClip
"button7"Symbol 464 MovieClip Frame 7Symbol 446 MovieClip
"button8"Symbol 464 MovieClip Frame 7Symbol 446 MovieClip
"button1"Symbol 464 MovieClip Frame 11Symbol 446 MovieClip
"gamemessage"Symbol 478 MovieClip Frame 1Symbol 471 MovieClip
"s0"Symbol 520 MovieClip Frame 1Symbol 519 MovieClip
"s4"Symbol 520 MovieClip Frame 1Symbol 519 MovieClip
"s1"Symbol 520 MovieClip Frame 1Symbol 519 MovieClip
"s2"Symbol 520 MovieClip Frame 1Symbol 519 MovieClip
"s3"Symbol 520 MovieClip Frame 1Symbol 519 MovieClip
"s5"Symbol 520 MovieClip Frame 1Symbol 519 MovieClip
"s6"Symbol 520 MovieClip Frame 1Symbol 519 MovieClip
"s7"Symbol 520 MovieClip Frame 1Symbol 519 MovieClip
"s12"Symbol 520 MovieClip Frame 1Symbol 519 MovieClip
"s9"Symbol 520 MovieClip Frame 1Symbol 519 MovieClip
"s10"Symbol 520 MovieClip Frame 1Symbol 519 MovieClip
"s8"Symbol 520 MovieClip Frame 1Symbol 519 MovieClip
"s11"Symbol 520 MovieClip Frame 1Symbol 519 MovieClip
"inner"Symbol 526 MovieClip Frame 1Symbol 525 MovieClip
"teaminfo"Symbol 526 MovieClip Frame 1Symbol 175 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 27 as "Planet Destroyer"
ExportAssets (56)Timeline Frame 1Symbol 33 as "Level 3 IP Missle"
ExportAssets (56)Timeline Frame 1Symbol 37 as "Level 2 IP Missle"
ExportAssets (56)Timeline Frame 1Symbol 41 as "Level 1 IP Missle"
ExportAssets (56)Timeline Frame 1Symbol 45 as "Artillery"
ExportAssets (56)Timeline Frame 1Symbol 48 as "Javelin"
ExportAssets (56)Timeline Frame 1Symbol 56 as "Mine"
ExportAssets (56)Timeline Frame 1Symbol 69 as "Missle1"
ExportAssets (56)Timeline Frame 1Symbol 75 as "Explosion"
ExportAssets (56)Timeline Frame 1Symbol 81 as "Scrap"
ExportAssets (56)Timeline Frame 1Symbol 150 as "Ship"
ExportAssets (56)Timeline Frame 1Symbol 152 as "Meteorite"
ExportAssets (56)Timeline Frame 1Symbol 153 as "Meteorite2"
ExportAssets (56)Timeline Frame 1Symbol 163 as "Planet Rock"
ExportAssets (56)Timeline Frame 1Symbol 176 as "Planet"
ExportAssets (56)Timeline Frame 1Symbol 178 as "Marker 2"
ExportAssets (56)Timeline Frame 1Symbol 180 as "Marker"
ExportAssets (56)Timeline Frame 1Symbol 226 as "Health Bar"
ExportAssets (56)Timeline Frame 1Symbol 227 as "Building"
ExportAssets (56)Timeline Frame 1Symbol 229 as "Map Planet"
ExportAssets (56)Timeline Frame 1Symbol 233 as "Uber Blast"
ExportAssets (56)Timeline Frame 1Symbol 238 as "Blaster"
ExportAssets (56)Timeline Frame 1Symbol 240 as "Uber Beam"

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
"actions"Symbol 45 MovieClip [Artillery] Frame 2
"explode"Symbol 45 MovieClip [Artillery] Frame 4
"fade"Symbol 45 MovieClip [Artillery] Frame 8
"actions"Symbol 48 MovieClip [Javelin] Frame 2
"explode"Symbol 48 MovieClip [Javelin] Frame 4
"fade"Symbol 48 MovieClip [Javelin] Frame 8
"start"Symbol 56 MovieClip [Mine] Frame 1
"explode"Symbol 56 MovieClip [Mine] Frame 3
"start"Symbol 69 MovieClip [Missle1] Frame 2
"explode"Symbol 69 MovieClip [Missle1] Frame 4
"action"Symbol 150 MovieClip [Ship] Frame 1
"loop"Symbol 150 MovieClip [Ship] Frame 2
"explode"Symbol 238 MovieClip [Blaster] Frame 8
"Up"Symbol 295 MovieClip Frame 1
"Over"Symbol 295 MovieClip Frame 11
"Down"Symbol 295 MovieClip Frame 21
"laser"Symbol 311 MovieClip Frame 2
"boom"Symbol 311 MovieClip Frame 3
"select"Symbol 311 MovieClip Frame 4
"ordermove"Symbol 311 MovieClip Frame 5
"shipaction"Symbol 311 MovieClip Frame 6
"error"Symbol 311 MovieClip Frame 7
"upgradedone"Symbol 311 MovieClip Frame 8
"build"Symbol 311 MovieClip Frame 9
"commandcentre"Symbol 311 MovieClip Frame 10
"powerplant"Symbol 311 MovieClip Frame 11
"resourcemine"Symbol 311 MovieClip Frame 12
"battlecentre"Symbol 311 MovieClip Frame 13
"researchcentre"Symbol 311 MovieClip Frame 14
"longrangeradar"Symbol 311 MovieClip Frame 15
"turret"Symbol 311 MovieClip Frame 16
"ipmisslesilo"Symbol 311 MovieClip Frame 17
"artilleryhit"Symbol 311 MovieClip Frame 18
"dropmines"Symbol 311 MovieClip Frame 19
"stealth"Symbol 311 MovieClip Frame 20
"money1"Symbol 311 MovieClip Frame 21
"money2"Symbol 311 MovieClip Frame 22
"explode"Symbol 311 MovieClip Frame 23
"shortcut"Symbol 311 MovieClip Frame 24
"gun"Symbol 311 MovieClip Frame 25
"firetorpedo"Symbol 311 MovieClip Frame 26
"torpedohit"Symbol 311 MovieClip Frame 27
"uberlaser"Symbol 311 MovieClip Frame 28
"artilleryfire"Symbol 311 MovieClip Frame 29
"blastersound"Symbol 311 MovieClip Frame 30
"pd"Symbol 311 MovieClip Frame 31
"blasterhit"Symbol 311 MovieClip Frame 32
"fship"Symbol 338 MovieClip Frame 1
"eship"Symbol 338 MovieClip Frame 2
"repair"Symbol 338 MovieClip Frame 3
"win"Symbol 349 MovieClip Frame 5
"lose"Symbol 349 MovieClip Frame 6
"shortcuts"Symbol 446 MovieClip Frame 7
"sell"Symbol 446 MovieClip Frame 8
"shipmenu"Symbol 446 MovieClip Frame 9
"buildmenu"Symbol 446 MovieClip Frame 10
"upgrademenu"Symbol 446 MovieClip Frame 11
"back"Symbol 446 MovieClip Frame 12
"destroy"Symbol 446 MovieClip Frame 13
"deselect"Symbol 446 MovieClip Frame 14
"disabled"Symbol 446 MovieClip Frame 15
"yes"Symbol 446 MovieClip Frame 16
"no"Symbol 446 MovieClip Frame 17
"enemyscan"Symbol 446 MovieClip Frame 18
"hidden"Symbol 446 MovieClip Frame 19
"menu"Symbol 464 MovieClip Frame 1
"shipmenu"Symbol 464 MovieClip Frame 2
"buildmenu"Symbol 464 MovieClip Frame 3
"upgrademenu"Symbol 464 MovieClip Frame 4
"shipactions"Symbol 464 MovieClip Frame 5
"off"Symbol 464 MovieClip Frame 7
"confirm"Symbol 464 MovieClip Frame 8
"reset"Symbol 464 MovieClip Frame 9
"disabled"Symbol 464 MovieClip Frame 10
"enemyscan"Symbol 464 MovieClip Frame 11
"placebuilding"Symbol 464 MovieClip Frame 12
"ipmissle"Symbol 464 MovieClip Frame 13
"pd"Symbol 464 MovieClip Frame 14
"objective"Symbol 515 MovieClip Frame 22
"controls"Symbol 515 MovieClip Frame 23

Dynamic Text Variables

_parent.assignedSymbol 148 EditableText""
mypowerSymbol 165 EditableText"??"
myshipcountSymbol 167 EditableText"??"
resourcesSymbol 169 EditableText"??"
teamSymbol 171 EditableText"??"
mytechlevelSymbol 173 EditableText"??"
labelSymbol 291 EditableText"Continue Campaign"
labelSymbol 293 EditableText"Continue Campaign"
labelSymbol 294 EditableText"Continue Campaign"
selecteddisplaySymbol 359 EditableText""
queueSymbol 377 EditableText"11"
shipcountSymbol 453 EditableText"??"
techlevelSymbol 454 EditableText"??"
resourcesSymbol 457 EditableText"??"
powerSymbol 459 EditableText"??"
_root.myshipcountSymbol 465 EditableText"??"
_root.techlevelSymbol 466 EditableText"??"
_root.resourcesSymbol 467 EditableText"??"
_root.shipinfolowSymbol 468 EditableText"<p align="center"></p><p align="center"></p><p align="center"></p><p align="center"></p>"
messageSymbol 469 EditableText"<p align="left"></p>"
_root.mypowerSymbol 472 EditableText"??"
battletimeSymbol 477 EditableText"0:00:00"
sectordescriptionSymbol 523 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/22/106780/info.shtml
Created: 16/3 -2019 19:39:07 Last modified: 16/3 -2019 19:39:07 Server time: 04/05 -2024 23:50:52