source codes

Page 1 of 2 1, 2  Next

View previous topic View next topic Go down

source codes

Post by Skembri on Thu Mar 11, 2010 8:00 pm

ok so people i need those 5 frames pm'd to me seperatly of which contain, planet, alliance, station and all that data i think its 5 but i want each frame seperatly


"Though a million endings, you will only ever have one journey"

avatar
Skembri
Admiral
Admiral

Posts : 2086
Join date : 2009-08-09
Age : 23

http://www.thebrokenmirror.webs.com

Back to top Go down

Re: source codes

Post by Evil Person on Fri Mar 12, 2010 1:08 am

???? what are you talking about?


Rainbow Dash is best pony.
avatar
Evil Person
Admin
Admin

Posts : 1173
Join date : 2009-09-23
Location : At a Computer, Duh

http://halcyon-minecraft.forumotion.com/

Back to top Go down

Re: source codes

Post by SilverShadows on Fri Mar 12, 2010 5:36 am

? wtf


avatar
SilverShadows
Admin
Admin

Posts : 6708
Join date : 2009-08-09
Age : 24
Location : Guildford, United kingdom

http://brokenmirror.forumotion.co.uk

Back to top Go down

Re: source codes

Post by StormChiller on Fri Mar 12, 2010 7:55 am

what frames ?
avatar
StormChiller
Vice Admiral
Vice Admiral

Posts : 705
Join date : 2009-09-23
Age : 26

http://brokenmirror.forumotion.co.uk/

Back to top Go down

Re: source codes

Post by Skembri on Fri Mar 12, 2010 1:27 pm

in the bm1 or 2 source code


"Though a million endings, you will only ever have one journey"

avatar
Skembri
Admiral
Admiral

Posts : 2086
Join date : 2009-08-09
Age : 23

http://www.thebrokenmirror.webs.com

Back to top Go down

Re: source codes

Post by SilverShadows on Sat Mar 13, 2010 2:57 am

oh cant you get it yourself ?


avatar
SilverShadows
Admin
Admin

Posts : 6708
Join date : 2009-08-09
Age : 24
Location : Guildford, United kingdom

http://brokenmirror.forumotion.co.uk

Back to top Go down

Re: source codes

Post by Skembri on Sat Mar 13, 2010 11:46 am

no i dont have flash atm till my pc arrives so i cant open it

btw, can u upload ur flash file, for your updated bm2


"Though a million endings, you will only ever have one journey"

avatar
Skembri
Admiral
Admiral

Posts : 2086
Join date : 2009-08-09
Age : 23

http://www.thebrokenmirror.webs.com

Back to top Go down

Re: source codes

Post by SilverShadows on Sat Mar 13, 2010 11:58 am

its still kinda not finished


avatar
SilverShadows
Admin
Admin

Posts : 6708
Join date : 2009-08-09
Age : 24
Location : Guildford, United kingdom

http://brokenmirror.forumotion.co.uk

Back to top Go down

Re: source codes

Post by Skembri on Sat Mar 13, 2010 11:59 am

oh rite well can u still pm me those 5 frames, one at a time


"Though a million endings, you will only ever have one journey"

avatar
Skembri
Admiral
Admiral

Posts : 2086
Join date : 2009-08-09
Age : 23

http://www.thebrokenmirror.webs.com

Back to top Go down

Re: source codes

Post by SilverShadows on Sat Mar 13, 2010 12:01 pm

well im not on my flash pc so not now


avatar
SilverShadows
Admin
Admin

Posts : 6708
Join date : 2009-08-09
Age : 24
Location : Guildford, United kingdom

http://brokenmirror.forumotion.co.uk

Back to top Go down

Re: source codes

Post by Skembri on Sat Mar 13, 2010 12:02 pm

ok, but can u do it soon, i dont want to post pone the beta again


"Though a million endings, you will only ever have one journey"

avatar
Skembri
Admiral
Admiral

Posts : 2086
Join date : 2009-08-09
Age : 23

http://www.thebrokenmirror.webs.com

Back to top Go down

Re: source codes

Post by Evil Person on Sun Mar 14, 2010 2:50 am

"The Beta, she is almost finished"


Rainbow Dash is best pony.
avatar
Evil Person
Admin
Admin

Posts : 1173
Join date : 2009-09-23
Location : At a Computer, Duh

http://halcyon-minecraft.forumotion.com/

Back to top Go down

Re: source codes

Post by Skembri on Sun Mar 14, 2010 12:34 pm

huh???- and do u have josh's bm2 flash file, so u can send me those 5 frames, on the loader frame


"Though a million endings, you will only ever have one journey"

avatar
Skembri
Admiral
Admiral

Posts : 2086
Join date : 2009-08-09
Age : 23

http://www.thebrokenmirror.webs.com

Back to top Go down

Re: source codes

Post by SilverShadows on Sun Mar 14, 2010 1:10 pm

planet govts and their default ship numbers
Code:
None,Human Refugees,Klingon Refugees,Cardassian Order,Nausican,Vulcan Command,Romulan Refugees,Ferengi Alliance,Andorian,Delpin,Romulan Empire,Tholian Syndicate,Independent,Dominion,Mokra,Pirates,player,Son'a Empire,Breen Alliance,Orion Syndicate,Tarellian Sith,Earth Empire,Klingon Empire,Reman Empire,Smees Empire,Eunto Space,Lerth Empire,Iryny Order,Thot Alliance,Cheurt Alliance,Meph Empire,Seaph Alliance,Utona Syndicate,Yori Empire,Naenn Command,Vir Union,Atano Union,Zeeld Union,Truin Kingdom,Zhourr Nation,Udari Empire,Aosi Empire,Schoew Order,Olyeo Sovereignty,Keis Empire;1,7,23,56,57,61,44,45;1,40,41,39,39,39;7,16,31,32;1,9;6,25,26,59;1,29;4,17,18,19;1,10;1,21,22,51;5,27,28,29;1,20;1,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,45,46,47,50,51,52,54,55,56,57,58;1,2,2,30,30,30,30,62,65,48,60,60;1,12;8;player;1,69,63,63,63;1,62;1,9;1,54,50,52;2,23,33,34,35,37,38,58,49;3,39,41,41,41,40,42;1,53,28
default station sell items when built
Code:
error;hsb;70;71;73;74;86;87;reas;71;6;106;114;127;116;univ;71;145;146;147;148;100;hvyshp;73;37;38;35;33;4;hshp;34;36;7;6;7;5;trd;104;105;100;100;100;100;bar;51;105;100;100;100;100;wtr;52;100;100;100;100;100;ore;78;100;100;100;100;100;ksb;79;80;81;86;87;100;kshp;39;41;40;100;100;100;kvyshp;43;42;100;100;100;100;dys;82;70;80;88;84;100;maint;100;100;100;100;100;100;hab;100;100;100;100;100;100;tep;131;129;123;119;118;122;phas;100;100;100;100;100;100;torp;100;100;100;100;100;100;card;88;31;32;108;120;16;sub;89;100;100;100;100;100;romsb;90;27;28;29;109;122

Code:
Your team transports to the planet but nothing of interest happens.;2;Your away team beams down to the surface where they are greeted by the governor  of a local providence. An outbreak of a deadly virus is threatening the entire  population. Fortunately the skill of your crew enables them to quickly identify  the source of the virus and erradicate it. The governor is in your debt and awards you with a medal of honor.;
0;As you enter orbit of the planet your sensors detect a plasma trail on a rapid trajectory to the surface. Further scans indicate a small shuttlecraft has crashed. You send an away team down to the surface to investigate, only to discover the shuttle has been completely destroyed. The only occupant, the pilot, is dead.;
1;After enjoying some much needed shoreleave, your crew learns that a rare species of native bat is mysteriously disappearing. They are compelled to discover the reason for these disappearances and soon find a group of poachers who are secretly trapping these bats and selling them on the black market. Once exposed, the poachers are quickly run off the planet.;
-2;A human runs up to your away team, screaming with fear. He tells them that a Klingon is hunting him on this planet and is planning on torturing him mercilessly. You offer to take the man aboard your ship for medical treatment. Unfortunately, a group of locals see this as your team is beaming up and report that you have abducted a human. The resulting rumors are disasterous.;
-1;One of your crewmembers sleeps with a native woman on this planet. Unfortunately she was the daughter of a prestigious member of their parliament and she now claims to be pregnant. You decide to leave the crewman behind in the mess that he has made to save a little of your own respect on this world. But still, some damage to your reputation is done.;
-1;Your away team beams down to the surface only to discover that the entire city in which they beamed has been abandoned. Curious, your team begins to search for clues as to where the occupants went. Shortly after arriving however a security team arrives in the city and charges your team with violating sacred ground. They are forced to leave in shame.;
0;Your team transports to the surface and enjoys a lovely relaxing day.;
0;One of your crewmen wins the lottery during her shoreleave on the planet. She decides to buy her own ship and start her own business, and you never see her again. Its a shame because she was quite cute, too.;
1;While hiking in one of the remote forest regions of this planet, a few of your crewmembers stumble upon a primitive tribe of humans. Your first lieutenant looks exactly like their god and they begin worshipping him and lavishing them with gifts. Playing along, you promise that their god will return to them someday and they anxiously await the day.;
2;While talking with a few men in one of the bars on this planet, you mention an idea for an orbitting space restaurant. The man takes your idea and begins a chain of restaurant and he soon becomes the richest man in the galaxy. After buying a continent on this planet he gives you his thanks for the idea, but you think you would rather have his money.;
0;Your scanners malfunction and your away team is transported into a volcano.;
0;Your away team finds artifacts from an Ancient civilisation! One member places his hand on an artifact, and a white light fills the room. Suddenly the planet shakes, and the universe explodes!!! Nah, just kidding. They must be worth quite a bit, though.;
-1;You beam down, and your crew accidentally starts a massive bar fight! Your reputation is damaged, however you do manage to get some extra crewmen who are impressed with your fighting prowress.;
-1;You found an anti-matter containment facility! But it was supposed to have been dismantled by one of the planets government and a political battle erupts. The people thank you for giving them more problems.;
1;Your team beams down to the surface and discovers the wreckage of an old starship. As it turns out this vessel was one of the first warp-capable vessels that the native inhabitants of the planet build. It is placed forever in a museum with a plaque dedicated to your discovery.;
0;As your team enjoys some lovely shoreleave, they are systematically slaughtered by a local mass murderer. He is never caught, but you are sure glad you didnt bother to join your crew on that particular trip. You can always hire more help.;
1;You stumble across the remains of the ISS Enterprise. Surely this is a historic find, and many governments begin bidding on the remains. Some want to restore it, others want to display its broken hulk as a source of amusement. Unfortunately since it belongs to the planet, their leader thanks you for your time and bids you fairwell.;
2;Your crew discover a small vial of nanites left over from a long-forgotten war. The nanites are returned to the government and they are properly destroyed before any more damage can be done. The people are greatly appreciative of your services and welcome you to return any time.;
5;Your away team discovers a small town stricken with a deadly disease. Fortunately your excellent medical staff are able to find a cure and they save the entire town.;
0;Your transporter's annular confinement beam somehow excites the planet's weather system, causing a severe electrical storm. The storm ravages the entire surface, and it is only fortunate that no one can trace the source to your ship. However you cannot use your transporters to recover your crew. The away team seeks shelter in a cave formation, and are soon attacked by vicious indigenous lifeforms. By the time the storms pass, all of your away team is dead.;
1;First contact is established with the Mime Consortium. Shortly thereafter, the crew become tired of the Mimes' antics and phaser the population into a fine ash. Mass approval of this action across the quadrant leads to an great respect for your ship and your crew.;
-1;An encounter with a backwards culture on the planet leads to the ship's subspace communications network being flooded by spammy advertisements. The ship sends out a nasty computer virus in retalliation, earning the antipathy of both computer nerds and spambot-using corporations.;
0;Your crew discovers an ancient artifact on the surface. But it is learned that the chamber in which the artifact was kept had been protected with a deadly disease. They all contract it and, while begging for you to let them return to your ship for medical treatment, you decide it best to leave them there and let them die rather than risk the rest of your crew. Not to mention yourself.;
0;Interference from a storm in the atmosphere of this planet has caused your away team to be scattered across the planet in trillions of nanoparticles. Ah well, less people on the payroll.;
2;Your away team discovers a crashed prototype Neg-Var Class Warship on the surface of this planet. The Earth government quickly contacts you upon hearing of this discovery and, after the planets government negotiates for trade, they are estatic that you have helped them gain trust with the human government.;
1;Your away team discovers an ancient relic on the surface of this planet but it is protected by a powerful forcefield. They try to lower it but fail. You decide to give up since its just not worth the trouble and inform the local government. They begin studying the artifact and thank you for adding to their archaeological heritage.;
-1;A rebellious faction on this planet fires on your away team as soon as they arrive. One is killed instantly and the others defend themselves. The local security forces also begin to fire on both the rebels and your team, and in retalliation they kill several of the security officers. The rebels manage to overtake the area and slit the throats of your remaining team.;
1;While on the planet your away team comes into contact with a known Andorian smuggler. He begs not to be turned into the authorities but you do so anyway. The government is thankful for your service and your team enjoys watching his public execution before returning to the ship.;
-1;Your away team beams down into a mysterious moon orbiting the planet which is undetectable by sensors. They realize soon after from the locals that they are all holograms, including the entire planet. What's worse the device generating the hologram is old and failing. Your away team tries to return to their shuttle, but it's too late. The device fails and there is nothing left but your away team struggling to breathe in space.;
-2;The away team transports into a large field that is completely flat but for thousands of short stone slabs set in neat rows. They soon realize they are tombstones and they have disturbed an ancient and sacred burial ground.;
1;Your away team returns from the surface with a giant ice slab with a frozen creature inside. You thaw it only to realize that the creature is still alive. Despite your best efforts it breaks free from the research lab and begins eating your crew. It is eventually killed and studied and the information gained from it helps the planet below learn of a new ancient lifeform.;
-100;As you transport to the surface, you notice that a strange man is following you wherever you go. Ducking into a nearby alley, you wait to confront the person. Unfortunately in anticipation of the man coming around the corner you feel a sharp pain in the back of your head and everything goes black. You wake up a few minutes later and realize your latinum purse is gone.;
100;While on the surface you are casually exploring the area and find an interesting rock on the ground. Without much thought you take it with you into the nearest city where a shopkeeper notices it and offers you some latinum for it. Since its just a rock, you figure its a pretty good deal.;
-100;Your away team is lured into a small bar by a group of Trill slaves. After several hours of drinking they spend not only a good portion of the latinum you gave them to buy supplies on beer, but also on the Trill prostitutes themselves. You are furious, but since they brought back one of the Trills for you, you decide to forgive them.;
100;You are walking along a nature trail when you come across the corpse of a local merchant. It appears he had been hastily robbed and he is missing all of his clothing and belongings. You are about to report it when you notice a latinum purse a few feet away. Grabbing it, you count your new found latinum as you walk away and forget about the body.;


Last edited by SilverShadows on Tue Mar 16, 2010 8:41 am; edited 1 time in total


avatar
SilverShadows
Admin
Admin

Posts : 6708
Join date : 2009-08-09
Age : 24
Location : Guildford, United kingdom

http://brokenmirror.forumotion.co.uk

Back to top Go down

Re: source codes

Post by SilverShadows on Sun Mar 14, 2010 1:10 pm

ship settings and descriptions
Code:
error;Dominion Scout;A small armed scout-vessel, typically used for fleet scouting.;1;5;25;15;10;15;20;25000;2;0;0;10;0;1;Excelsior Class;A large ship with good cargo and speed, and decent weapons.;4;4;200;250;350;45;10;600000;1;15;0;5;7;1;Miranda Class;An old design but very dependable. Great long-range capability.;3;6;100;190;200;60;15;390000;14;15;0;6;7;1;Nebula Class;An enormous cargo vessel, but its slow and uses lots of antimatter.;4;1;900;170;450;40;4;620000;1;15;0;8;7;1;Nova Class;A small, fast ship with excellent long range ability, but fairly weak.;2;8;150;100;100;80;20;200000;1;0;0;6;0;1;Saber Class;A small 25 crew ship, usually deployed for planetary defense.;2;3;50;60;150;25;20;210000;1;0;0;6;0;1;Danube Runabout;A small ship with minimal weapons, defenses, and cargo space.;1;5;50;5;10;15;10;15000;1;0;0;8;0;1;Deforest Class;This ship has good cargo, fast speed, and a strong weapons platform.;3;6;350;150;250;50;15;400000;1;0;0;6;5;1;Nausican Raider;A small, fast ship with a powerful proton beam. These ships are also used by the Orions.;3;8;250;130;250;45;15;380000;38;0;0;4;5;1;Tug Class II;An ugly, basic ship with poor manuverability but lots of cargo room.;2;4;600;80;100;30;5;180000;0;14;0;8;10;1;Vega Class;Essentially a warship, this is as strong as they get on the civilian market.;3;3;40;165;275;45;15;440000;9;15;0;3;6;1;Aries Class;A good overall vessel, well rounded for the average buyer.;2;5;200;70;150;50;10;220000;1;15;0;7;9;1;Mozart Class;A civilian explorer with good cargo room and long range.;3;10;300;150;260;65;8;410000;0;0;0;8;10;1;Centaur Class;Old Imperial plantary defenders, obsolete by today's standards and ready for civilian purchase.;4;2;200;250;320;50;13;570000;1;15;0;7;8;1;Ambassador Class;Many of these ships made their way out of the crumbling empire to civilian market.;5;3;400;450;300;45;10;750000;1;15;0;5;7;1;Hideki Class;A small ship, comparable to the human shuttle but a bit larger in overall mass.;1;3;50;10;5;15;10;15000;3;0;0;8;0;1;Ferengi Marauder;A large, well defended cargo ship with decent speed.;6;6;950;400;500;50;8;900000;3;19;0;5;7;1;Ferengi Shuttle;A small warp-capable shuttle with a big cargo hold, but no weapons.;1;3;50;5;5;15;10;10000;0;0;0;8;0;1;Ferengi Vagabond;A defensive cruiser, fast and strong but limited interstellar range.;4;2;150;220;400;65;12;620000;6;19;0;4;8;1;Tholian Isaac Class;Hands down the best cargo ship in the galaxy, but dang expensive.;5;7;1000;540;220;65;8;800000;1;0;0;5;5;1;Delpin Cruiser;A long-range defensive vessel with unique weaponry.;5;8;200;350;480;80;13;830000;2;0;0;4;5;1;Delpin Warship;With little mass, this warship is fast and powerful.;2;3;30;100;110;60;15;210000;2;0;0;5;0;1;Venture Class;A small combat ship, best used in groups as they are weak on their own.;1;30;70;5;15;30;12;20000;1;10;0;6;8;1;Sydney Class;A medium cruiser with ample cargo space.;3;5;650;200;180;45;13;380000;1;25;;7;10;1;Vulcan Warpship;A small cargo vessel, purely logical design.;1;3;50;5;0;15;10;5000;1;0;0;8;0;1;Vulcan Explorer;A huge ship with good defenses and cargo. Quite logical, for a price.;7;7;700;500;600;50;5;1100000;4;17;0;5;7;1;Romulan Der'idex;An absolutely huge, powerful warship. Only the best command these.;8;6;600;600;750;65;4;1350000;4;17;22;3;3;1;Romulan Norexan;A long range defensive cruiser with a good set of weapons and of course, a cloaking device.;4;6;200;500;450;50;12;950000;6;17;22;2;5;1;Romulan Scout;A small, weak scout with limited range and cargo.;1;3;30;15;10;20;10;25000;7;0;0;6;0;1;Jem'Hadar Fighter;A strong ship with unique weapons from another quadrant.;4;3;100;300;320;50;15;620000;2;16;0;5;7;1;Galor Class;A large powerful vessel, well rounded with cargo and weapons and speed.;6;5;600;500;500;65;7;950000;3;19;0;3;4;1;Keldon Class;A variant of the Galor Class, built for war.;7;3;1050;250;900;50;5;1150000;3;19;0;3;3;1;Akira Class;A battlecruiser for the Imperial fleet, with great torpedoes.;4;6;350;400;600;75;8;720000;1;16;0;4;2;1;Defiant Class;A small short-range warship with ablative armor.;3;2;150;500;300;80;15;440000;9;16;22;2;5;1;Galaxy Class;An enormous multipurpose starship, good for cargo and battle.;7;6;750;560;640;80;5;1200000;1;15;0;2;3;1;Intrepid Class;Fast and sleek, this ship is somewhat weak but will take you far.;4;8;600;200;440;90;15;640000;1;15;0;4;6;1;Prometheus Class;A small warship, powerful and fast.;5;4;250;400;400;65;14;800000;1;16;0;3;5;1;Sovereign Class;A long-range battlecruiser with many other great qualities.;8;7;850;400;1000;80;8;1400000;1;16;0;3;3;1;B'rel Type;A tiny sublight Bird of Prey with a tiny disruptor cannon.;1;3;50;20;5;15;10;25000;7;0;0;7;0;1;K'Tinga Cruiser;A medium sized cruiser. With its large cargo hold they are generally cargo ships.;3;6;450;200;400;170;9;570000;3;0;0;5;7;1;K'Vort Type;A good medium-range Bird of Prey, excellent for territorial defense.;2;5;300;100;110;50;12;210000;6;19;22;4;5;1;Neg'Var Warship;The command ship of the Klingon fleet, these are rare to see still in service.;8;4;800;450;1000;75;4;1450000;3;19;22;2;4;1;Vorcha Cruiser;A powerful assault vessel, once plentiful in the empire as a standard battlecruiser.;6;5;500;500;550;45;10;1050000;3;19;22;3;5;1;Freedom Class;The single nacelle design of this ship is efficient with antimatter but suffers cargo space and weapons.;2;10;250;100;90;45;15;190000;1;0;0;6;8;1;Akuzi Class;A small, old design ideal for exploration.;3;8;300;200;220;80;13;420000;1;15;0;5;7;1;New Orleans Class;This former Earth Warship has been retrofitted for civilian use.;4;5;600;320;300;50;10;620000;1;15;0;5;3;1;Oberth Tug;Formerly Earth's primary science ship, the Oberth is now a cheap tug.;2;6;150;100;80;45;10;180000;1;0;0;9;0;1;Jem'Hadar Battlecruiser;Command ships of the Jem'Hadar fleet.;9;5;900;600;1000;40;7;1600000;2;19;12;2;2;1;Galaxy Dreadnaught;A refitted Galaxy Class starship, designed to combat the Dominion Battlecruiser;9;6;1000;500;1000;75;8;1500000;1;16;18;2;3;1;Tarellian Freighter;A large, lumbering vessel that carries a lot of cargo but can be painfully difficult to navigate. Fortunately its efficient drive requires no antimatter.;6;99;1300;300;50;30;2;130000;0;0;0;3;5;1;Delpin Luxury Liner;An enourmous ship, usually used for luxury cruises, some have been retrofitted as cargoships.;7;5;1300;450;800;35;5;1250000;0;0;0;3;5;1;Tarellian Cruiser;This alien ship uses a quantum flux drive that requires no antimatter. It also cloaks.;4;99;800;300;270;55;10;620000;2;15;22;4;7;1;Reman Warbird;The Remans, freed from Romulan occupation, have been building these massive ships, but they are rare.;5;5;1200;500;1000;60;7;1500000;26;12;22;2;3;1;Tarellian Warship;A perfect balance between commerce and warfare, but these ships are not aging well.;5;6;550;500;315;40;8;815000;3;15;0;3;5;1;Alien Bioship;An alien bioship of unknown origin.;4;99;50;500;150;80;15;195050;28;19;0;1;7;1;Constitution Tug;As old as they get, these ships have been converted to tugs to be of any use.;4;4;450;280;300;45;10;580000;1;0;0;5;5;1;Constellation Tug;An old design, these ships will carry lots of cargo if they don't fall apart.;3;5;600;290;200;50;10;490000;1;0;0;5;7;1;Olympic Class;Primarily a support vessel, these ships rarely see combat.;4;6;650;450;120;55;10;570000;1;0;0;6;8;1;Vulcan C'Thia;A medium range cruiser built for defensive purposes only.;5;5;700;500;240;50;10;740000;4;0;0;4;6;1;Dominion Cruiser;A fast, agile ship much larger and stronger than the more common Fighter.;6;5;350;500;600;80;10;1100000;2;19;0;3;3;1;Human Bird of Prey;A makeshift warship design using recovered starship parts.;4;4;350;300;330;60;12;630000;1;15;0;4;7;1;Breen Warship;A vicious vessel, the primary ship of the Breen race.;5;7;500;500;260;60;8;760000;2;16;23;2;4;1;Son'a Warship;A small, powerful warship of the Son'a race.;6;8;800;500;475;80;8;975000;29;16;30;3;4;1;Azuki;The refitted version of the Azuki Class starship, with significantly more power.;5;7;580;280;500;50;15;780000;1;15;0;4;5;1;Dominion Battleship;The largest, most powerful ship in the galaxy.;10;1;20000;900;1000;40;3;1900000;2;11;18;1;1;1;Galaxy Saucer;Saucer section of a Galaxy Class starship.;6;1;250;100;140;15;5;240000;1;0;0;6;0;1;Galaxy Stardrive;Stardrive section of a Galaxy Class starship.;5;8;500;250;500;80;15;750000;1;15;0;4;4;1;Galaxy Class;This Galaxy Class starship looks like *this word has been censored*.;7;4;650;450;380;50;5;800000;1;15;0;4;6;1;Son'a Battleship;Equipped with illegal subspace weaponry, this battleship is a deadly foe.;9;7;1500;900;800;75;3;1700000;29;39;30;1;2;1;Human Starbase;An immense, tall starbase, strong both offensively and defensively. Designed by humans.;5;1;1000;1000;2000;6;x;500000;1;11;15;0;0;0;Human Research Lab;Designs many unique Imperial weapons and technology but is weakly defended.;3;0;100;200;500;0;x;250000;1;0;0;0;0;0;Vulcan University;A small university for educating a populace. Greatly increases the population of a planet, but has no defenses.;2;2;0;200;200;0;x;75000;0;0;0;0;0;0;Human Heavy Shipyard;Constructs large ships such as the Galaxy and Sovereign.;3;0;300;200;500;0;x;250000;1;0;0;0;0;0;Human Shipyard;Builds small Imperial ships such as the Defiant and Akira classes;2;0;200;200;300;0;x;150000;1;0;0;0;0;0;Trade Station;Commerce is essential for a population. This station will bring people and a steady income.;2;1;100;300;300;0;x;500000;0;0;0;0;0;0;Bar;A bar will bring some income, but will cause people to leave the system due to the seedy characters they draw.;1;-2;0;50;50;0;x;50000;0;0;0;0;0;0;Delpin Waterpark;This station is great entertainment and will draw a lot of people as well as generate revenue.;2;1;0;50;50;6;x;130000;0;0;0;0;0;0;Ore Station;Ore stations are only good in asteroid-filled regions, but they will bring in deuranium and dilithium. Minimal defenses.;2;0;100;50;0;6;x;9000;15;0;0;0;0;0;Klingon Starbase;A large heavily defended starbase, essential for defending territory.;2;1;1300;1000;2500;39;x;500;500;3;19;12;0;0;Klingon Shipyard;Builds small ships such as Birds of Prey and K'Tingas.;2;0;200;200;150;0;x;150000;3;0;0;0;0;0;Klingon Heavy Shipyard;Builds large warships such as the Vorcha and NegVar types.;2;0;300;1000;1500;0;x;250000;3;0;0;0;0;0;Dyson Sphere;Construct a huge habitat around a star and your systems population and strength will be limitless.;50;500;10000;99999;99999;11;x;9000000;5;11;12;0;0;0;Maintenance Station;This station will allow you to maintain your ships with reduced latinum cost. A must for any fleet commander.;2;0;0;500;200;0;x;275050;0;0;0;0;0;0;Habitat Station;Increases total population of a system by allowing people to live in space.;3;2;0;200;100;0;x;12000;0;0;0;0;0;0;Wormhole Generator;Allows ships to travel to any point in the galaxy.;3;0;0;500;500;0;x;30000;0;0;0;0;0;0;Defense Platform;A stationary platform that fires a powerful Type-X phaser.;4;0;100;500;500;0;x;20000;1;0;0;0;0;0;Advanced Defense Platform;A stationary platform that fires photon torpedoes and other weapons.;4;0;200;500;250;0;x;25000;0;15;0;0;0;0;Cardassian Starbase;Arguably the most powerful starbase, it builds the Keldon and Galor Classes.;8;1;2000;2000;2000;6;x;700000;1;11;19;0;0;0;Subspace Comm;A relay station for communicating with distant fleets.;6;0;0;500;500;6;x;80000;0;0;0;0;0;0;Romulan Starbase;A large, well-defended starbase, capable of cloaking.;6;1;1800;1500;1500;6;x;105000;4;12;22;0;0;0;Orion Starbridge;The primary ship in the Orion fleet, the starbridge is a well rounded ship for cargo hauling and local defense.;3;5;350;200;320;35;12;520000;11;0;22;4;6;1;Promelli Skiff;An alien cruiser with unknown properties.;4;5;340;200;420;55;15;720000;44;44;0;5;5;1;Promelli Manitee;An alien ship with unknown properties.;7;3;750;400;600;60;10;985000;45;44;0;3;3;1;Escape Pod;An Escape Pod.;1;1;1;5;5;10;5;1200;0;0;0;0;0;1;


Last edited by SilverShadows on Tue Mar 16, 2010 8:42 am; edited 1 time in total


avatar
SilverShadows
Admin
Admin

Posts : 6708
Join date : 2009-08-09
Age : 24
Location : Guildford, United kingdom

http://brokenmirror.forumotion.co.uk

Back to top Go down

Re: source codes

Post by SilverShadows on Sun Mar 14, 2010 1:11 pm

planet map names
Code:
error,Earth,Orion,Lik Prime,Alpha Centauri,Paso,New Switzerland,Trey,Epsilon,Quintus,Gorn,Rigel,Vulcan,Opusab,Ferenginar,Lysia,Nausica,Denmark,Tholia,Flash,Oce Nu,Koann,Biakisch,Delpi,Iconia,Andoria,Konael,Trill,Tepos,Blender,Remus,Romulus,Harman,Kardon,Vex,Lameu,Batos,Worf,Qonos,Xonok,Qem-Kis,Anorez,Du'Qot,Hof-Maso,Nyoabek,Hos'Ichu,Kah'Less,Bajora,Noron,Erasariel,Cardassia,Dyson,Pirates haven,Sonata,Iritum,Terra  Nova,Tarellia,Promelus,Brea,Dominica,Andreas,New Romulus,


Last edited by SilverShadows on Tue Mar 16, 2010 8:34 am; edited 1 time in total


avatar
SilverShadows
Admin
Admin

Posts : 6708
Join date : 2009-08-09
Age : 24
Location : Guildford, United kingdom

http://brokenmirror.forumotion.co.uk

Back to top Go down

Re: source codes

Post by SilverShadows on Sun Mar 14, 2010 1:12 pm

ship names
Code:
Galtuch;Miranda;Enterprise;Crazy Horse;Imperius;Marty;Flash;Alpha;Beta;Gamma;Eagle Titan;Serria;Andromeda;Nova;Intrepid;Independence;Exeter;Titan;Bellerophon;Bonestell;Buran;Chekov;Firebrand;Gage;Kyushu;Liberator;Melbourne;Roosevelt;Saratoga;Tolstoy;Yamaguchi;Dallas;Alamo;Hornet;Independence;Perry;Nautilus;Kirby;Montgomery;Lee;Jackson;Grant;Sherman;Nightstalker;Bluenose;Kep Salu;Bonaventure;Kursk;Excalibur;Pegasus;Hale;Navajo;Knox;Defender;Columbus;Hiryu;Protector;Sovereign;Liberty;Malinchi;Augusta;White Dove;Soulwolf;Fitzgerald;Renown;Fearless;MacArthur;Vigilant;Monarch;Manhattan;Ben Nevis;Phoenix;Searcher;Indiana;North Sea;Iowa;Florida;Victory;Lexington;Concordia;Sheffield;Exeter;Varsix;Advent;Titanic;Brittanica;Pike;Midnight;Ancient;Expansion;Comfort;Rememberance;Bayliss;Corser;Hodgson;Phantom;Sentra;BeoWulf;Ryder;Firehawk;Bostrom;Spectora;Maverick;Hiroshima;Procyon;Horizon;Darwin;Apocalyse;Zealot;Ultimate;Credibility;Zero;Wisdom;Caveman;Prophet;Fusion;Mistrex;Redmatrix;Gradient;Panther;Cougar;Puma;Lynx;Banshee;Wraith;Valkyrie;Phoenix;Mustang;Morduun;Civilization;Restorer;Titan;Newgrounds;Horizon;Nobunaga;Aekchi;Mouri;Takeda;Voyager B;Dublin Bay;Liverpool;London;Newcastle;New Forest;Garham;Arham;Enola Gay;Guy Gibson;Dambusters;Quicksilver;Avenger;Victory;Botany Bay;Thornley;Alberta;Charlemage;St Helens;Baker;Nova Scotia;Victoria;Vancouver;Armageddon;Annihilation;Retribution;Xentera;Desolation;Predator;Hunter;Cocoon;Brave;Commander;Tong Vey;ro'Ped;Central;Gale;Pulsar;Death;Flamberge;Chrono;Quantum;Syndrome;Dalaran;Alternate Reality;Ammendment;Denial;Imperial Ravenger;Magellan;Wiston Churchill;Queen Victoria I;King George VI;Victory;Nelson;Jerico;King Richard I;Robin Hood;West Lancashire;Parliament;Ruth;Montgomery;Desert Rat;Leviathan;Manticore;Cyclop;Sphinx;Lion;Tiger;Executor;Genocide;Pillage;Ravager;Atrocity;Mongol;Gengis Kahn;Attila Hun;Death;War;Famine;Pestilence;Botany Bay;Exeter;Ormskirk;Liverpool;Hurricane;Mosquito;Trident;Nivarna;Falklands;Harold;Teerus;Malcontent;Derringer;Capulet;Chaotica;Amarillo;Gustaf;Pretzel;Pinky;Maradin;Apatar;Oromo;Dimitrius;Applesauce;Godzilla;Infallable;Fractal;ToasterCake;FoofyBear;Resolution;Sulfade;Scotty;Bushido;Starr;Quasar;Lone Genome;Danube;Supernova;Galaxy;Sovereign;Nebula;Arika;Zeta;Delta;Explorer;Bajor;Star;Trek;Galor;Scout;Escort;Pillar of Autumn;Superior;Stardust;RedHammer;Hendrik;Lodoss;Mastery;Kaine;Anderson;Lightbringer;Darkness;Empire;King;Half;Fisher;Gatekeeper;Diablo;Aprophis;Thor;Idris;MorningStar;Bulldog;Tomahawk;Maverick;Outlaw;Asteries;Constantinople;Diligent;


Last edited by SilverShadows on Tue Mar 16, 2010 8:34 am; edited 1 time in total


avatar
SilverShadows
Admin
Admin

Posts : 6708
Join date : 2009-08-09
Age : 24
Location : Guildford, United kingdom

http://brokenmirror.forumotion.co.uk

Back to top Go down

Re: source codes

Post by SilverShadows on Sun Mar 14, 2010 1:13 pm

planet descriptions and stuff that sets stuff
Code:
Earth;13;890000;6;2;9;6;Once homeworld to the Earth Empire, this planet is now the command center for the Dominion in the alpha quadrant. The once thriving cities are now only silent graveyards. The only humans that remain are slaves assigned to clean up the millions of corpses that now litter the once beautiful world.;100;1;12;32;31;9;30;48;0;0;0;0;1;2;1;-67;80:Orion;13;220000;3;5;2;3;With the fall of the human empire, the Dominion occupied Orion and enslaved its population. The females, who are sexually desirable commodities in the galaxy were quickly incorporated into the Dominion slave trade. The males were taken to breeding stations to be used for procreating more Orion women. Now their population is strictly controlled.;20;1;100;100;100;100;100;100;0;0;0;0;0;1;2;-107;73:Lik Prime;13;490000;9;5;5;-2;The pre-warp civilization on this peaceful planet is all but gone after the Earth Empire and now Dominion occupation. The planet is mostly desert with some tropical regions, but with frequent strip-mining the water on this planet is toxic and they rely entirely on other sources.;75;1;47;6;100;100;100;100;0;0;0;0;2;1;1;-110;122:Alpha Centauri;24;900000;7;6;11;3;Alpha Centauri was the first planet to be colonized by humans. Now under Dominion control it serves as the primary shipyard for the Jem'Haddar fleet. You can still find humans here, tending bar and working manual labor. Feel free to mistreat them for your enjoyment, but if you damage the goods you'll have to buy him.;100;2;2;30;60;48;31;32;0;0;2;25;0;1;2;-40;104:Paso;0;0;13;9;0;0;A planet that was once home to a wide variety of life, it was strip-mined by the humans until it eventually became uninhabitable. Nothing can live on its surface now and it is an utterly useless planet.;50;13;100;100;100;100;100;100;0;1;0;0;0;2;1;-33;138:New Switzerland;28;230000;1;7;6;5;Founded a few hundred years ago by passivist humans, New Switzerland has grown into a large economic center for their region of the galaxy. Although few humans still live here, the planet is thriving with various alien species. The Swiss make the best laser cutters in the galaxy.;70;0;7;11;6;12;64;44;0;0;0;0;1;2;2;22;144:Trey;27;430000;2;9;2;-3;A prison planet for the Dominion. It still has several hundred thousand prisoners of various races. Anyone who visits this world will not be able to sleep at night, as the blood-curling screams from the prisoners being tortured by their guards echo in the deep canyons nonstop.;25;0;1;10;100;100;100;100;0;0;0;0;0;1;1;14;32:Epsilon;1;420000;1;1;3;-2;A great experiment that failed, Epsilon was supposed to be a peaceful human colony. Instead, the people here continued the human tradition of malignity. It was abandoned, an only a handful of people remain trapped in a 22nd century ideal, clinging to the 'old times'. As a relatively harmless community it has gone unnoticed by the Dominion, though there are occassionally conflicts here.;75;13;56;57;24;5;100;100;0;0;0;0;2;2;2;-41;45:Quintus;13;500000;3;4;4;3;Quintus was once a military outpost for the Earth Empire. It now serves as a drug facility for producing Ketresel White, a much need Jem'Haddar control mechanism. Skeletons of human soldiers adorn the walls of the various establishments here and the stench of rotting flesh is almost too much to bear.;45;1;100;100;100;100;100;100;0;1;0;0;3;2;1;-73;33:Gorn;0;0;10;4;0;0;A reptillian species that threatened Earth. Their military fleet, and indeed their entire race, was wiped out by the Earth Empire a few hundred years ago. The outer skin of the Gorn does not decompose, and it is perhaps the billions of corpses scattered across the planet that has caused this planet to go unpopulated.;100;0;100;100;100;100;100;100;0;0;4;45;1;3;1;-133;13:Rigel;8;300000;8;6;6;0;Rigel is an independent planet inhabited by a primitive industrial society. The Andorians and Ferengi both claim this world, although the Andorians have occupied it, leading to frequent conflicts. The people here are so peaceful it would be a shame to ruin them.;75;7;8;10;9;100;100;100;0;0;0;0;1;3;2;-147;61:Vulcan;5;600000;9;5;12;6;The Vulcans were once a fierce race along side the humans. But after significant cultural reforms they retreated to their homeworld and have become primarily educators. Their universities and research facilities are top-notch. They had some weaponry and combat ships, but those have all vanished with the appearance of the Dominion.;100;0;25;9;16;20;14;23;0;0;0;0;3;3;1;-168;139:Opusab;29;430000;11;3;6;0;A peaceful settlement with a variety of races. Many people from different governments get along here, even though they may be at war with each other. It is said that this might be due to the high number of Polock Flowers that bloom on the surface year-round. Its pollen has a calming affect on the average humanoid's senses.;80;0;7;10;47;5;18;100;0;0;0;0;1;2;1;-139;177:Ferenginar;7;700000;9;7;8;8;Homeworld to the Ferengi race, who are mostly traders of various goods and services. The Ferengi will sell you anything they can get their hands on, but are usually reluctant to buy. Their primary trade ship is their small cargo shuttle, but they also have large Maurauder starships that are quite combat capable.;80;0;18;19;17;24;26;14;0;0;0;0;0;1;1;-61;183:Lysia;0;0;3;2;0;-5;The primitive Lysians had a long and sad history. After years of enslavement by the human empire, and then by the klingon empire, their planet was finally laid to waste by the Dominion. Tired of relentless occupation, the lysians banded together and resisted the Dominion. As a response, the Dominion sent only one ship, which launched a biogenic weapon onto the planet and erradicated all life there within days.;20;0;100;100;100;100;100;100;0;0;0;0;0;4;2;12;188:Nausica;4;450000;13;5;4;1;A fierce combative race, the Nausicans are typically employed as mercinaries. They will do anyone's dirty work if the price is right. Nausicans are so ugly that not a single Nausican-mixed mating has ever been recorded in the history of the species.;50;0;1;6;8;11;24;16;0;0;0;0;3;3;2;68;170:Denmark;0;0;4;6;0;0;A beautiful planet with a great variety of wildlife. The waterfalls here on Denmark are some of the tallest in the galaxy. It is said that a primitive sentient race once thrived here but later died out of natural causes.;50;0;100;100;100;100;100;100;0;0;0;0;0;1;1;64;132:Tholia;11;480000;10;6;5;2;Tholians managed to save themselves from enslavement by being, frankly, the best ship designers the galaxy has ever known. They produce only one ship, the Tholian Cruiser, but it has been the most widely used tug class for the past 20 years. The Tholians are also well known for their unique weapon designs.;100;0;20;54;68;100;100;100;0;0;0;0;1;1;1;91;93:Flash;26;320000;2;2;3;0;The Flashians are incredible computer programmers. They supply many governments with computer systems and software for the ships of their fleets and are contracted often by the Tholians and Andorians. One can only sit in wonder at the genious and pure sexiness of the Flash programmers.;100;0;14;13;12;11;10;58;0;0;0;0;0;2;1;54;74:Oce Nu;13;350000;1;1;2;-4;OceNu has historically been a battleground between the Klingons and the Humans, as it is equidistant between their homeworlds. The small population usually stayed unharmed and out of the way, but the constant battles raging in space limits any interstellar travel here.;50;0;1;100;100;100;100;100;0;0;x;x;x;x;x;-20;-1:Koann;13;470000;8;4;3;0;Koann was originally a shipyard for Earth's Imperial Fleet. At its peak there were 30 stations in orbit producing 180 starships a year. It was the first planet to be taken by the Klingons and has since been converted into a spy post for the Klingon Empire.;40;1;100;100;100;100;100;100;0;0;x;x;x;x;x;-71;-19:Biakisch;33;50000;3;3;5;0;Home to a race of pre-industrial aliens. It is only due to their extreme insignificance that they have managed to go unnoticed by any advanced species.;50;0;100;100;100;100;100;100;0;0;x;x;x;x;x;-195;0:Delpi;9;350000;7;3;6;8;The Delpi homeworld is over 99.8 water and is home to a highly intelligent aquatic dolphin-like race. Their technology is quite advanced but lacks any strong weapon designs. Their aquatic ships are fast and sleek and, until recently, were scientific long-range explorers for the humans. Now they enjoy the freedom to do as they please.;50;0;21;22;51;100;100;100;0;0;x;x;x;x;x;-227;31:Iconia;0;0;9;4;0;0;The Iconians were an ancient race that no longer inhabit this planet. A war-like species, they were annihilated by their enemies thousands of years ago. Many archaeological expeditions have taken place on Iconia, and some fascinating artifacts have been found. But the decimation of their world was efficient and complete, and so very little of their society remains.;100;0;100;100;100;100;100;100;0;1;x;x;x;x;x;-211;99:Andoria;8;700000;9;7;8;3;Primarily ship builders, Andorians of Andoria rival the Ferengi in their lust for wealth. They sell ships to just about anyone, and frequently sell to both sides of a warring party at low prices with the idea that the longer the war continues the more sales they will have. Thus, the Andorians are both hated and loved by the humans, who buy ships from them yet watch as they sell the same ships to the Klingons.;50;0;15;16;3;2;4;100;0;0;x;x;x;x;x;-234;121:Konael;0;0;11;3;0;0;Although a reasonably pleasant planet with a few resources and life forms, none of the major governments colonized this small world.;20;0;100;100;100;100;100;100;0;0;x;x;x;x;x;-219;163:Trill;31;300000;6;5;5;0;Trills are considered the sexiest of all the species. Trill women dominate the prostitution market second only to the Orion Slave Trade. And yes, their spots do go all the way down, and for a few slips of latinum you can find out for yourself.;100;0;6;5;9;100;100;100;0;1;x;x;x;x;x;-238;189:Tepos;30;800000;7;2;6;0;The Teposians are weapons dealers, plain and simple. They've built their entire economy around it and are making a killing during the war. Care to buy some?;50;0;34;100;100;100;100;100;0;1;x;x;x;x;x;-202;204:Blender;13;900000;12;9;3;0;The site of a great war between the Earth Empire and a conquering race called the Dominion. Earth destroyed the invading Dominion fleet and they were driven to this planet where a few survivors went unnoticed and are slowly rebuilding.;50;1;30;48;100;100;100;100;0;0;x;x;x;x;x;-267;244:Remus;13;800000;2;9;6;0;One of the homeworlds of the Romulan Empire. This planet is home to the Remans, who are a slave race to the Romulans. They mine dilithium here on this planet for the profit of the Romulan Empire.;50;6;29;28;27;100;100;100;0;0;x;x;x;x;x;-126;224:Romulus;13;900000;10;6;9;3;The primary world of the Romulan race. They are a xenophobic race who are unwilling to communicate freely with outside governments.;100;6;29;28;27;100;100;100;0;0;x;x;x;x;x;-122;234:Harman;0;0;11;8;0;0;A planet that was home to a peaceful early-warp civilization. They were in relatively peaceful contact with their close neighbors the Romulans. But after the Vex system was destroyed, Harman soon vanished. The entire planet is now a frozen wasteland. Many say the Romulans know what happened to Harman, but they refuse to tell anyone.;60;0;100;100;100;100;100;100;1;0;x;x;x;x;x;21;263:Kardon;0;0;8;1;0;0;All communication was lost with Kardon shortly after the Vexxian homeworld was destroyed by a spacial anomaly. Some brave souls have ventured to this system, often with the intent to explore the Vex system. But after seeing that the entire surface of Kardon has been burned away, and knowing no ship has ever returned from the Vex system, everyone turns back at this point.;100;0;100;100;100;100;100;100;1;1;x;x;x;x;x;58;234:Vex;14;500000;12;9;1;0;The Vex homeworld. Once a thriving civilization, the planet is all but destroyed. Skeletons litter the ground, and you feel a strange presence here as if someone is watching you. A few broken hulls in orbit of this planet tell you that this is not the place to be.;100;6;100;100;100;100;100;100;1;0;x;x;x;x;x;90;279:Lameu;32;360000;10;4;4;0;This planet used to belong to the Earth Empire until it was abandoned when the Klingons began their rise to power. It was thought that since it was so close to the Klingons it would be lost anyway. Now it has its own government.;100;0;1;6;7;100;100;100;0;0;x;x;x;x;x;111;41:Batos;13;400000;3;9;1;0;An Earth planet that was quickly overtaken by the Klingon Empire at the beginning of the Imperial War. It serves as little but a small military outpost.;25;2;39;41;100;100;100;100;0;0;x;x;x;x;x;71;17:Worf;13;600000;9;5;5;3;Named after a great warrior who is said to have saved the Klingons from losing the war with his brilliant tactics and war strategies. Worf is a relatively peaceful Klingon planet, although there are frequent public human disembowelments from time to time.;80;2;41;40;100;100;100;100;0;0;x;x;x;x;x;138;3:Qonos;13;950000;6;5;9;5;The homeworld of the Klingon race. It is here that the first uprising began against the tyranny of the humans. The system is now heavily guarded and with the slow spread of Klingon power across the quadrant it is unlikely Earth will ever retake it.;100;2;41;43;42;100;100;100;0;0;x;x;x;x;x;41;-23:Xonok;13;100000;12;9;0;0;A barren rock that the Klingons stripmine for resources such as duranium to build their warships. Xonok has a population of zero and cannot support any life due to the heavy toxins now in its atmosphere.;30;2;100;100;100;100;100;100;0;0;x;x;x;x;x;121;-40:Qem-Kis;13;700000;11;6;1;0;Once a thriving metropolis planet, Qem-Kis is all but abandoned now that the Klingon Empire has extended to its borders and driven out all the humans. Now only the seething criminals and mercinaries remain.;100;2;39;40;1;8;100;100;0;0;x;x;x;x;x;-15;-60:Anorez;3;3000;4;2;3;2;A diverse world with many different species of wildlife. Many civilians come here to hunt or gather fresh food for long journeys. At night you can hear the mating call of the Praedis Monkey, who have been known to trample over hikers in their frenzy to find a female Praedis.;20;4;6;4;3;100;100;100;0;0;x;x;x;x;x;-212;-37:Du'Qot;22;500000;6;5;5;0;A Klingon world not frequently travelled in. DuQot has few services to offer anyone and as such, does not generally receive too many visitors. There are some black market ship trades here, but none that draw the attention of the Empire.;30;13;39;41;40;100;100;100;0;1;x;x;x;x;x;178;-70:Hof-Maso;22;600000;11;8;3;0;Far from the human territory is HofMaso, the primary shipyard of the Klingon Empire. It is here that they secretly developed a massive fleet for over a 50 years to overthrow Earth's power.;50;13;34;40;36;43;100;100;0;0;x;x;x;x;x;172;-118:Nyoabek;22;550000;1;9;1;-2;Despite numerous attempts to colonize this world by the Klingons, Nyoabek's unsuitable landscape and atmosphere have made it impossible for anyone to gain a foothold. There are some awkwardly built trade outposts on its surface, but no one is willing to live here.;85;13;41;100;100;100;100;100;0;0;x;x;x;x;x;102;-102:Hos'Ichu;13;600000;6;1;2;-1;This planet contains one of the most heaviest Klingon populations with the exception of Qonos, despite its frequent volcanic eruptions. It is also considered to be the worst side of the empire, with many untrustworthy Klingon captains making frequent port calls here.;75;13;100;100;100;100;100;100;0;1;x;x;x;x;x;66;-68:Kah'Less;13;800000;1;3;6;0;Named after the great Klingon Warrior Kah'Less, this world is dismal and trecherous. Many Klingon warriors are sent here to train.;60;2;43;41;39;40;100;100;0;0;x;x;x;x;x;-37;-96:Bajora;3;300000;3;5;8;0;Home to a peaceful race called the Bajorans, this planet is the ecological center of the galaxy. It is a beautiful planet with one of the cleanest atmospheres, as the Bajorans produce no pollution with their technology. Even their ships use no dilithium or deuterium to operate.;45;0;23;100;100;100;100;100;0;0;x;x;x;x;x;-130;-88:Noron;3;200000;1;1;1;0;A desert planet with little to no vegetation and primitive life forms. There are no sentient indigenous peoples here, but several colonies are scattered in various small oasises.;95;4;100;100;100;100;100;100;0;0;x;x;x;x;x;-178;-114:Erasariel;3;200000;11;8;1;0;Erasariel is so far from its sun that it is a frozen wasteland. But since it has atmosphere, many people settle here under artificial means.;100;4;100;100;100;100;100;100;0;0;x;x;x;x;x;-190;-97:Cardassia;3;600000;8;5;9;3;A once beautiful world stripped of its resources and covered on nearly 84 percent of its surface with artificial buildings. It has a population density greater than any known planet in the galaxy.;50;4;31;32;16;100;100;100;0;1;x;x;x;x;x;-178;-74:Dyson;12;150000;8;5;0;8;The original inhabitants of Dyson left their home after their population became too large. Their government, rich and advanced beyond all others, constructed a large sphere around their sun which now houses the entire population. It is rumored that the people of Dyson are related to humans.;25;0;100;100;100;100;100;100;0;0;x;x;x;x;x;-405;416:Pirates Haven;15;150000;5;4;9;-5;Arrrg...beware matey, we pirates aren't all sunshine and pixie dust. But buy what ye wish and get out before we skin ye alive. There be nothing here but the rotting corpses of the poor traders caught in our little haven. ;100;0;100;100;100;100;100;100;0;0;;;;;;50;327:Sonata;17;900000;9;5;8;3;Sonata is nestled in the middle of a nebula called the Briar Patch. It is homeworld to the Son'a, an advanced race so powerful that even the Dominion have not dared to violate their territory. However dangerous they are, the Son'a are peaceful and friendly to those who show courtesy.;50;0;63;69;100;100;100;100;1;0;0;0;0;1;1;-123;-37:Iritum;17;850000;2;5;7;2;Iritum is primarily a mining planet for the Son'a race, but as the Son'a have developed clean ore processing facilities, the surface is very habitable. Despite that only 15% of the land mass is warm and flat enough for cities, many people call this planet home.;30;0;100;100;100;100;100;100;1;1;0;0;0;1;2;-71;-69:Terra Nova;1;500000;8;4;7;-3;A small human colony established after the fall of the Earth Empire. They are under constant attack from the Andorians, who are quite annoyed that the colony is so close to their territory. It seems that the galaxy would prefer it if the human race just gave up and died.;40;13,8;45;56;57;61;100;100;0;0;3;25;2;2;2;-265;146:Tarellia;12;600000;3;6;5;2;Tarellia, homeworld to the Tarellian race. The Tarellians were exploring the galaxy long before humans had built swords and castles. Their thirst for knowledge and adventure have led them to create some ships that require no antimatter at all.;70;0;52;50;54;100;100;100;0;0;0;0;1;3;2;48;-120:Promelus;25;600000;12;5;9;6;The homeworld of the Promelli. Not much is known about this alien race. They employ mysterious bio-technology and use weapons unknown to the rest of the galaxy.;70;0;66;67;100;100;100;100;0;0;3;90;2;2;2;76;361:Brea;13;870000;3;4;6;4;The homeworld of the Breen. The Breen live in temperatures far above that of normal humanoids, and are forced to wear environmental suits outside of their home planet and spacecraft. It is said that no one has ever seen a Breen.;100;1;62;100;100;100;100;100;2;0;2;45;3;3;2;136;102:Dominica;13;1500000;8;5;5;8;Dominica is in the Gamma Quadrant, home to the dreaded Dominion. The Jem'haddar have set up a base of operations on this planet, and all of the resources shipped through the wormhole are checked at the starbases here.;25;1;60;48;30;1;65;100;3;0;2;45;0;3;2;-428;437:Andreas;1;800000;6;3;9;6;Formerly An uninhabited planet, Andreas is now one of the few places of refuge, for those fleeing what is left of the Earth Empire, and their new dominion overlords.;100;13;33;5;15;23;34;36;0;1;2;45;3;1;2;-276;128:New Romulus;6;700000;5;3;7;1;New Romulus was founded after the fall of the romulan empire to the dominion. New Romulus Has been declared the new Romulan homeworld now romulus is in the hands of the dominion.;75;13;29;28;27;53;100;100;0;0;0;0;2;2;1;-56;232;


Last edited by SilverShadows on Tue Mar 16, 2010 8:35 am; edited 1 time in total


avatar
SilverShadows
Admin
Admin

Posts : 6708
Join date : 2009-08-09
Age : 24
Location : Guildford, United kingdom

http://brokenmirror.forumotion.co.uk

Back to top Go down

Re: source codes

Post by SilverShadows on Sun Mar 14, 2010 1:14 pm

stations
Code:
51,82,100,-4000,0,0,0,82,85,110,100,100,100,The Sphere,51,85,100,4000,-2300,34,0,100,100,100,100,100,100,FHG-293-A,1,70,100,600,400,0,0,70,73,74,71,38,151,Stardock Alpha,1,71,100,670,320,0,0,130,114,120,121,126,119,Daystrom Institute,1,73,100,725,550,0,25,36,37,38,35,33,2,Utopia Planitia,1,74,100,-250,-300,0,-20,1,5,6,7,34,36,McKinley,1,83,100,1000,-2000,0,-15,106,113,100,100,100,100,Joe's Repair,1,76,100,950,-1800,0,0,104,105,100,100,100,100,Kirk's Pub,1,84,100,1130,-2100,0,20,84,100,100,100,100,100,Galaxy Living,1,89,100,-2000,-2000,0,-35,100,100,100,100,100,100,Alpha Array,1,84,100,860,-1895,0,20,100,100,100,100,100,100,The Safe Harbor,1,86,100,-577,90,0,20,100,100,100,100,100,100,PS-102,1,86,100,-421,250,0,20,100,100,100,100,100,100,PS-254,1,86,100,300,350,0,20,100,100,100,100,100,100,PS-102,1,86,100,250,150,0,20,100,100,100,100,100,100,PS-874,1,86,100,345,-250,0,20,100,100,100,100,100,100,PS-884,1,86,100,838,-2120,0,20,100,100,100,100,100,100,PS-095,1,86,100,795,360,0,20,100,100,100,100,100,100,PS-548,2,75,100,-500,300,0,20,106,105,45,46,47,100,Dabo Palace,3,84,100,1000,1500,0,0,100,100,100,100,100,100,Isla Asylum,4,70,100,-2000,-750,0,0,100,73,74,86,87,78,Stardock Prime,4,86,100,-2215,-815,0,0,100,100,100,100,100,100,PS-987,4,86,100,-1978,-989,0,0,100,100,100,100,100,100,PS-548,4,86,100,-1782,-742,0,0,100,100,100,100,100,100,PS-475,4,86,100,-1982,-561,0,0,100,100,100,100,100,100,PS-978,4,83,100,-1286,-400,0,-50,114,115,100,100,100,100,Repair Yard 1,4,73,100,1070,-795,0,0,33,38,35,37,36,1,Xiang Yard,4,74,100,1339,-440,0,-20,39,3,2,11,14,5,Beta Yard,4,87,100,1241,-572,0,0,100,100,100,100,100,100,TS-001,4,86,100,1109,-575,0,0,100,100,100,100,100,100,PS-002,4,73,100,979,-411,0,30,8,14,4,2,38,3,Alpha Yard,4,71,100,955,-161,0,0,106,109,115,111,116,113,LaForge Institute,4,84,100,-3821,1937,0,0,59,100,100,100,100,100,The Arboretum,4,86,100,-3628,1782,0,0,100,100,100,100,100,100,PS-354,4,84,100,-3491,1550,0,0,100,100,100,100,100,100,Park Place,4,75,100,-3757,1455,0,0,104,105,1,6,106,142,Nelix Station,5,78,10,-1195,1901,0,0,100,100,100,100,100,100,XR-12 (abandoned),5,78,10,214,107,0,0,100,100,100,100,100,100,XR-51 (abandoned),5,78,10,-834,4090,0,50,78,100,100,100,100,100,XR-57 (abandoned),6,84,100,-39,-89,0,25,100,100,100,100,100,100,Swiss Orbital,6,86,100,77,52,0,0,100,100,100,100,100,100,Defense 01,6,86,100,-56,76,0,25,100,100,100,100,100,100,Defense 02,6,75,100,-562,603,0,-15,104,12,11,10,116,106,Swiss Miss,6,76,100,-354,583,0,0,1,105,119,100,100,100,Kathy's Pub,6,87,100,-484,453,0,0,100,100,100,100,100,100,Defense 03,7,76,100,-168,-223,0,25,104,105,106,112,136,119,The Black Skull,9,87,100,-117,17,0,10,59,100,100,100,100,100,TS-293,9,78,100,-657,-935,0,-20,78,100,100,100,100,100,HS-29,9,86,100,-708,-732,0,35,100,100,100,100,100,100,PS-885,9,78,100,2965,1653,0,0,100,100,100,100,100,100,HS-39,9,76,100,2595,1526,0,0,100,105,100,100,100,100,The Rock,9,86,100,2753,1581,0,0,100,100,100,100,100,100,HD-22,11,86,100,-113,256,0,0,100,100,100,100,100,100,Gi'k-91,11,75,100,8,192,0,50,104,105,16,15,100,100,Ga'Ick,12,72,100,86,-157,0,0,140,145,146,100,100,100,U of Vulcan,12,74,100,-345,-6,0,50,25,26,47,100,100,100,V'Pek Tar,12,72,100,157,721,0,0,148,155,47,100,100,100,Vulcan South U,12,84,100,353,591,0,-15,100,100,100,100,100,100,VSU Dorms,12,83,100,125,135,0,0,100,100,100,100,100,100,J'lin Center,13,75,100,83,-167,0,25,104,84,100,100,100,100,Paxis Route,13,75,100,-62,163,0,-20,100,105,100,100,100,100,The Fuzzy Bunny,13,84,100,-351,-252,0,0,100,100,100,100,100,100,The Happy House,13,84,100,309,73,0,-35,100,100,100,100,100,100,Rainbow's End,14,76,100,217,-351,0,0,104,100,100,100,100,100,Sharp Tooth,14,76,100,-315,-399,0,-35,138,105,100,100,100,100,The Big Ear,14,75,100,-240,-261,0,0,157,100,100,100,100,100,Contracts End,14,75,100,-544,311,0,0,104,105,100,100,100,100,Greed Central,14,76,100,151,600,0,25,104,137,100,100,100,100,Snuff This,14,83,100,863,184,0,-35,12,18,19,40,13,47,Zek's Used Ships,15,70,10,1469,978,0,35,100,100,100,100,100,100,SB-203 (abandoned),16,76,100,32,-36,0,0,104,105,100,11,141,102,Nausica Orbital,16,86,100,-27,-146,0,35,100,100,100,100,100,100,D-37,16,86,100,-116,-86,0,35,100,100,100,100,100,100,D-87,16,87,100,-134,35,0,0,100,100,100,100,100,100,D-48,16,87,100,-94,94,0,0,100,100,100,100,100,100,D-65,16,86,100,21,114,0,0,100,100,100,100,100,100,D-82,16,86,100,120,54,0,0,100,100,100,100,100,100,D-56,18,83,100,-133,-203,0,-10,104,20,15,2,100,100,Yard 1,18,83,100,456,73,0,0,161,105,25,23,14,100,Yard 2,18,83,100,-9,281,0,25,104,138,38,36,33,37,Yard 3,19,76,100,-255,25,0,25,104,105,84,100,100,100,Newgrounds Pub,23,77,100,175,75,0,0,77,100,100,100,100,100,Splash-Planet,23,75,100,-172,-127,0,-35,104,105,106,21,100,23,Xiang Center,23,71,10,-2663,1098,0,0,100,100,100,100,100,100,Bio-Lab (abandoned),23,72,100,-80,88,0,0,145,146,147,148,72,100,Delpi State U,25,83,100,-105,309,0,0,15,10,9,52,100,100,Antenna Yard,25,87,100,-219,-160,0,0,100,100,100,100,100,100,GHD-DS,25,72,100,233,42,0,0,147,100,100,100,100,100,U of Andoria,25,77,100,-105,400,0,0,100,100,100,100,100,100,Blues Waterpark,27,75,100,-223,-57,0,0,1,9,10,47,45,100,The Spot,28,71,100,385,-351,0,-20,112,128,129,131,111,116,The Blacksmith,28,86,100,284,-463,0,0,100,100,100,100,100,100,Die,28,87,100,406,-133,0,0,100,100,100,100,100,100,Scum,28,78,100,-747,-44,0,0,78,100,100,100,100,100,Crusher,28,86,100,-888,-64,0,0,100,100,100,100,100,100,Protector 1,28,86,100,-785,64,0,0,100,100,100,100,100,100,Protector 2,28,76,100,-261,433,0,0,86,87,75,118,123,142,The Depot,28,87,100,-81,404,0,0,100,100,100,100,100,100,Protector 3,31,90,100,78,151,0,0,156,90,100,100,100,100,Praetor Center,31,86,100,-88,189,0,5,100,100,100,100,100,100,G1,31,83,100,-252,-213,0,0,27,28,109,111,112,127,Waryard,31,78,10,1871,-3731,0,0,100,100,100,100,100,100,GX1 (abandoned),31,75,100,355,-1331,0,0,104,105,100,100,100,100,Rinsu,31,76,100,-591,-1295,0,0,104,100,100,100,100,100,Tuansu,31,87,100,323,-1150,0,0,100,100,100,100,100,100,G32,31,84,100,-2869,3211,0,0,100,100,100,100,100,100,Kpec Prison,35,83,100,132,151,0,20,106,119,1,4,100,100,Gato Station,35,84,100,-1048,59,0,0,100,100,100,100,100,100,Picards Place,35,84,100,-1138,-257,0,15,100,100,100,100,100,100,Star Park,35,86,100,-1138,-126,0,0,100,100,100,100,100,100,P012,36,80,100,-197,32,0,20,40,41,12,100,100,100,K'Klep,36,86,100,-93,124,0,0,100,100,100,100,100,100,K39,36,86,100,89,86,0,0,100,100,100,100,100,100,K84,36,87,100,83,-199,0,0,100,100,100,100,100,100,K48,36,87,100,-170,-92,0,0,100,100,100,100,100,100,K74,36,86,100,-347,116,0,0,100,100,100,100,100,100,K24,37,86,100,-133,-135,0,0,100,100,100,100,100,100,K94,37,86,100,185,98,0,0,100,100,100,100,100,100,K178,37,79,100,583,-736,0,0,104,40,100,100,100,100,B'lech,37,80,100,282,-594,0,0,39,41,100,100,100,100,Tupok,37,76,100,-988,1026,0,0,104,105,100,100,100,100,Juhad,38,79,100,-143,171,0,0,104,105,111,100,100,100,Plek,38,86,100,-223,58,0,0,100,100,100,100,100,100,K38,38,89,100,-2000,-2000,0,-90,100,100,100,100,100,100,Qonos Array,38,79,100,9,-273,0,0,104,79,100,100,100,100,KTanga,38,79,100,284,-28,0,0,152,105,100,100,100,100,Kempek,38,79,100,606,1790,0,0,100,100,100,100,100,100,Flek,38,80,100,933,1861,0,0,39,40,41,111,117,112,Targ,38,81,100,842,2093,0,0,124,117,130,42,43,40,K'Jak,38,79,100,1283,1898,0,0,104,105,100,100,100,100,Praxis,38,83,100,-1061,131,0,0,100,100,100,100,100,100,Hu'kel,38,76,100,-1244,339,0,0,104,105,100,100,100,100,Tar'jel,38,84,100,-2,-1953,0,0,100,100,100,100,100,100,Plax,38,84,100,400,-1746,0,0,100,100,100,100,100,100,Plex,41,88,100,-3813,-2546,0,0,100,100,100,100,100,100,Empok Nor,42,78,100,514,520,0,0,100,100,100,100,100,100,K28,42,86,100,338,626,0,0,100,100,100,100,100,100,K384,42,78,100,-1784,-49,0,0,100,100,100,100,100,100,K93,42,86,100,-1558,-118,0,0,100,100,100,100,100,100,K283,42,75,100,5529,-3563,0,0,139,127,121,131,129,123,The Sludge,42,86,100,5476,-3738,0,0,100,100,100,100,100,100,K298,42,86,100,5369,-3577,0,0,100,100,100,100,100,100,K21,43,79,100,203,-162,0,0,100,100,100,100,100,100,KPlex,43,80,100,-1526,493,0,20,39,40,100,100,100,100,Kempek,43,81,100,-2217,494,0,0,43,42,100,100,100,100,Prax,43,80,100,-2226,794,0,-15,39,40,100,100,100,100,Fuki,43,81,100,-1807,797,0,25,106,109,111,117,100,100,Krap,43,79,100,-1914,1171,0,0,100,100,100,100,100,100,K'fort,43,79,100,1152,801,0,0,100,100,100,100,100,100,L'fort,45,78,100,-130,-219,0,0,100,100,100,100,100,100,K38,43,79,100,1152,801,0,0,100,100,100,100,100,100,L'fort,47,84,100,212,-113,0,0,100,100,100,100,100,100,Borj,47,75,100,3,-240,0,0,104,105,100,100,100,100,Tempe,47,88,100,-465,284,0,0,125,23,142,100,100,100,Terok Nor,49,84,100,-203,-54,0,-30,100,100,100,100,100,100,Iceland,50,88,100,-199,-205,0,0,88,153,100,100,100,100,Clak Nor,50,88,100,117,215,0,0,104,105,100,100,100,100,Duek Nor,50,75,100,471,-78,0,0,108,124,125,100,100,100,Pex Outpost,50,76,100,387,-290,0,0,104,105,100,100,100,100,Dukat Pub,50,88,100,-1597,989,0,0,31,32,100,100,100,100,Turok Nor,50,78,100,-1935,689,0,20,100,100,100,100,100,100,C329,50,78,100,933,-2556,0,0,100,100,100,100,100,100,C382,5,70,100,10000,10000,0,25,49,100,100,100,100,100,X-Base ,30,90,100,-6000,6000,0,25,53,100,100,100,100,100,Reman Starbase,33,85,100,5000,-5000,52,0,100,100,100,100,100,100,X-8,52,85,100,500,-500,33,0,100,100,100,100,100,100,The Slip,55,70,100,600,400,0,0,70,73,74,71,38,151,Nova Base,55,73,100,979,-411,0,30,8,14,4,2,38,3,Nova Yard Alpha,55,73,100,640,-382,0,0,33,34,35,37,23,61,Nova Yard Beta,55,74,100,800,-700,0,50,5,6,7,8,9,11,Nova Yard Gamma,55,86,100,800,-550,0,45,95,93,97,99,101,102,Nova Yard Defence,55,86,100,-140,140,0,45,100,100,100,100,100,100,Nova Defence Beta,55,86,100,140,-140,0,45,100,100,100,100,100,100,Nova Defence Gamma,55,86,100,-140,-140,0,45,100,100,100,100,100,100,Nova Defence Delta,55,86,100,140,140,0,45,100,100,100,100,100,100,Nova Defence Alpha,53,86,100,548,398,0,0,100,100,100,100,100,100,Sona Defence 1,53,86,100,309,-37,0,45,100,100,100,100,100,100,Sonata Orbital Defence,55,71,100,-84,403,0,90,71,144,107,113,114,116,Nova Weapon Research,55,75,100,-178,341,0,0,104,105,126,136,141,97,Nova Trade Out Post,55,76,100,-115,489,0,0,33,34,36,37,64,95,Nova Bar,58,87,100,440,-46,0,0,100,100,100,100,100,100,Brea Defence Platform,58,86,100,-259,289,0,0,100,100,100,100,100,100,Brea complex Defence,58,75,100,-355,211,0,0,104,105,62,107,128,100,Brea Station,58,76,100,-195,129,0,0,104,105,60,48,103,100,Brea Bar,58,91,100,-263,449,0,45,163,88,91,103,100,100,Brea Base,53,76,100,-159,183,0,0,104,105,100,100,100,100,Sonata Bar,54,78,100,-234,345,0,45,78,100,100,100,100,100,Mining Platform A,54,76,100,236,-562,0,0,104,105,100,100,100,100,Iritum Workers Bar,56,75,100,657,341,0,0,104,105,100,100,100,100,Tarrelia Trading,59,91,100,564,-435,0,0,104,105,30,48,60,100,Dominica Check Point,59,88,100,-765,454,0,0,16,31,32,88,100,100,Domin Nor,60,70,100,500,-500,0,0,70,71,73,74,89,100,SB-534,61,90,100,-700,-600,0,0,29,28,27,156,90,100,New romulus Base,


Last edited by SilverShadows on Tue Mar 16, 2010 8:35 am; edited 1 time in total


avatar
SilverShadows
Admin
Admin

Posts : 6708
Join date : 2009-08-09
Age : 24
Location : Guildford, United kingdom

http://brokenmirror.forumotion.co.uk

Back to top Go down

Re: source codes

Post by SilverShadows on Sun Mar 14, 2010 1:14 pm

the stuff it says on the comm panel
Code:
I hear rumors that the Romulans were close allies with a race in the Kardon sector. The planet had been utterly destroyed by some alien invader. Ever since, the Romulans haven't been outside their system. Something sure scared them.;You know, I was once contracted by the Romulans to explore the Vex system. But I took the first half of what they gave me and left. No one's dumb enough to go to Vex. But hey, they're easily tricked. They must be desperate.;According to a Cardassian friend of mine, their government is up in arms that the Earth Empire ended their occupation of this planet called Bajor. They'd like nothing more than for someone to come in and wipe those people off the map.;The Klingons won't deal with anyone unless they're enemies of Earth. Sometimes I wonder whether the galaxy would be worse off with the Klingons in charge.;Ever witnessed a Klingon public torture of a human? Its pretty common sport these days. Never thought I'd see a human skinned alive. It's a sight you don't soon forget, let me tell you.;I've been to the Vex system, yeah. Strange things go on there...like you wouldn't believe. Its your worst nightmare come true. Never even venture there. You'll be dead before you know what happened. Take it from me, kid.;The Romulans haven't spoken to anyone in a long time. I'm sure it would take a grand gesture to get them to open up to anyone. Can't imagine what you could do for them, though. They're pretty xenophobic.;Humans are so desperate. They'll sell their left arm if it means supporting their war effort. Can't say I blame them. The Klingons are brutal to those people...I guess the humans finally got what was coming to them, eh?;The Bajorans are pretty frightened of other races at the moment. They suffered a long occupation from the Cardassians, and then the Earth Empire. With Earth out of the way, they're waiting for Cardassia to claim them again. I'm sure they'd be happy to be rid of the Cardassians once and for all.;Earth is a waste dump. No use going there anymore. Try the Ferengi, they sell just about anything and you won't have to hear them whine about their stupid war.;The Jem'Hadar have been conducting raids on some outlying human colonies. Earth has let it be known that anyone to take care of this threat for them would be greatly rewarded.;I hear there's a fleet of Jem'Hadar ships in the Blender system. They're a real thorn in Earth's backside. No one would miss them, that's for sure, if you know what I mean.;There's some great territory for the taking around Denmark. With Earth preoccupied, there aren't too many governments interested in colonizing small planets.;I hear a few Klingons are selling old military ships out of the DuQot system. Illegal, sure, but you can't find a Klingon ship anywhere else. Of course, don't let any Klingons catch you owning one.;Like my ship? I just had it repainted. There's no reason to go around looking like a scum-bag, now is there?;I wish there was a land where latinum flows like water and all is peaceful and happy.;Look at my ship all bruised. I had a run-in with a Cardassian. Those people sure do know how to fight.;Go away.;You're annoying me.;I have nothing to say to you.;You're an ugly looking thing, aren't you? Was your mother a Terellian Slug?;There's a new museum on Earth that just opened up featuring a whole wing full of Klingon skulls.;If you have the time you should visit the first Delpin Water Park in the Delpi system. There's something in the water that just makes your troubles melt away.;Like my degree? I just completed a full range of courses at a Vulcan University! But I still can't find a job.;I just bought this ship from a Ferengi who told me it was a modified Klingon Neg'Var Class. I don't know, it just doesn't look like one to me. But, why would he lie?;Vulcans and Romulans both have pointed ears. Isn't that strange?;Trekkies Part 23 is coming out to a holodeck near you. Don't miss it!;I bought a Bajoran Solar Sail from a Ferengi trader, but it turned out to be painted tin foil.;Looking for some fun? Go tease some Lysians, those people are so pathetic.;Stay away from Biakisch, those people are slimy.;Ever been to Gorn? The whole planet is covered with corpses that just won't decompose. Oh, what a legacy humans have left behind.;Torture any helpless species today? You make me sick.;I am from the planet Harmon. You don't have to believe me. But never go there. The demons still lurk in the shadows and will strike any vessel in their path.;The Andorians have just perfected the design on a Dyson Sphere. I wonder if any goverments will ever bother to build one?;Did you know a Trills spots go all the way down? There's a Ferengi bar in orbit of Trill selling off Trill women. Got myself a couple just the other day.;There's some pretty smart programmers on Flash. But they're all a bunch of geeks.;It's been two weeks since I had a bath. You can't tell can you?;If you're smart you'll retire on Alpha Centauri. Its the best population nowadays.;I found some great artifacts on Iconia last time I was there. Its such a mysterious world.;There are some strange looking ships in the Blender system. I've never seen them before. But be careful if you go there, they don't hesitate to attack you.;Be careful, friend. Some Klingons will come after you just for the fact that you're ugly.;Unless you like to die slowly while surrounded by laughing and cheering spectators, I'd stay away from the Klingons if I were you.;Orion women have green skin.;Do you like my hair? I grow it myself.;Subspace comm networks are clogged with nothing but porn. What's the galaxy coming to?;You look like someone who should own a planet or something.;Trading ships is pretty big business. There are fortunes to be made, my friend.;Selling resources is a pretty big business. There are fortunes to be made, my friend.;Ever been to Paso? It's one of those human legacies. Maybe they should dig up some Lysian skeletons and piss on them just to seal the deal.;Piss off.;What the? How did you learn to...oh, wait, I mistook you for a Danubian Slime Maggot.;Did you know the Ferengi cut up their dead into little pieces and sell them?;Live long and prosper!;May the force be with you! No, wait, that's not right.;Ever seen a Delpin? Cute little dolphin-looking aliens. Smart, too.;Oh, good, another loser with a ship. Don't have enough of those already.;Why don't you beam over here so I can kick you in the tooshie?;I've never seen one of you before. You sure are ugly.;Kiss my exhaust port.;Hey there sexy, want to beam over and have some fun? I can do...oh wait, you're impotent. Nevermind.;Every few years I blow up a Lysian station and they keep rebuilding it. Hey, everyone needs a hobby.;Ferengi males don't just have big ears, if you know what I mean.;Follow the Path of the Great Leprechaun. Join the Circle of the Leprechauns and save your soul.;I could have sworn I saw an X-Wing fly by. But that kind of cross-over would never happen.;Can you believe the sixth Harry Potter book STILL  isn't out?;The seventeenth special edition Star Wars movie just came out. They replaced all the blasters with walkie talkies.;Nice ship. For me to poop on!;The Klingons won't sell anything to anyone unless they are declared enemies of Earth.;Who will win the war? No one can say, but at any rate, I'd rather it not be either the Klingons or the Humans. We're phaser-dust either way.;Are your warp nacelles folded up or are you just happy to see me?;I can't talk now, I'm transporting Orion Green Women. We're, um, busy.;I love kitty cats. Too bad the humans used them as starship saucer ornaments and they went extinct.;Pull my warp nacelle.;Can you believe Newgrounds.com took over the Internet?;I have six fingers. Its a family thing.;Like my ship? I bought it wholesale.;I just passed through the Bajoran wormhole. What a trip!;My mother told me not to talk to strangers.;Your ship looks like my poo.;May the force be with you.;You are my sunshine, my only sunshine...;Trill women have huge knockers.;Wanna make out?;Earth made atheism the official religion, and people just got confused.;Wanna buy an old CD player?;Excuse me, I'm busy watching Star Trek.;We're not all unalike, you and me.;My ship sure does use alot of fuel.;Hey, nice ship. Brand new?;Where's the rest of your fleet buddy?;The Teposians sell weapons...plain and simple.;Bajoran sailing ships suck.;Can you leave me alone please?;Can't you see I'm busy?;


Last edited by SilverShadows on Tue Mar 16, 2010 8:36 am; edited 1 time in total


avatar
SilverShadows
Admin
Admin

Posts : 6708
Join date : 2009-08-09
Age : 24
Location : Guildford, United kingdom

http://brokenmirror.forumotion.co.uk

Back to top Go down

Re: source codes

Post by SilverShadows on Sun Mar 14, 2010 1:15 pm

weapons
Code:
error;Type X Phaser;A standard, common beam phaser design that channels energy from the warp core.;1;5;3;8;3000;1;2;Particle Beam;A powerful beam phaser that can do a great deal of damage but has a slow recharge rate.;2;5;8;13;9000;1;5;Polaron Phaser;Designed by the Klingons, this heavy dual phaser is used throughout the galaxy.;1;5;3;10;5000;1;8;Plasma Phaser;A concentrated beam of plasma, this weapon has a low yeild but a quick recharge rate at close range.;1;3;1;4;3800;1;11;Cutting Beam;An alien beam weapon, that can cut through a ship like a hot knife through butter.;4;20;5;3;30000;1;14;Disruptor Cannon;These rapid fire disruptors will cut through any ship quick, but are only forward-firing.;2;3;1;2;3000;2;12;Disruptor Canon;A single forward-firing disruptor, good for a small ship.;0;1;1;2;1500;2;14;Quantum Pulse Cannon;Developed by the Teposians, this is the most powerful cannon of its size.;1;5;4;2;2000;2;16;Dual Pulse Phasers;Concentrated pulses of normal phasers, this weapon is perfect for small fighters and warships.;1;4;2;2;7500;2;20;Phaser Cannon;The human response to the successful disruptor cannon, small and weak but rapid firing.;0;2;1;3;1300;2;22;Pulse Turrent;A top-mounted turrent that fires dual phaser pulses in any direction.;3;3;2;2;8500;3;20;Disruptor Turrent;A dual disruptor cannon attached to a 360 degree firing turrent.;3;3;3;2;7800;3;12;Gravimetric Torpedo;Although slow, the gravimetric torpedo draws itself magnetically towards a target, making it harder to avoid, and it has a fast recharge rate.;3;3;5;8;9000;3;18;Type VII Phaser;Fires a rapid succession of small phaser blasts.;2;3;2;3;1500;3;24;Photon Torpedo;A simple torpedo design using a matter/antimatter explosive device, low yield and slow reload.;1;3;3;20;2500;3;2;Quantum Torpedo;A high yield torpedo with a quantum singularity explosive charge.;3;3;3;15;6700;3;4;Plasma Torpedo;A burst of concentrated plasma energy that has devistating effects, but is slow to recharge.;3;3;6;30;7200;3;6;Transphasic Torpedo;Torpedo mega-weapons with a painfully slow recharge.;4;20;75;100;12500;3;8;Polaron Torpedo;A torpedo that utilizes a polarized explosive device.;2;3;3;15;5300;3;10;Bajoran Sail;This sail gather antimatter particles from space.;0;0;0;0;5000;5;0;Warp Core;The addition of this secondary warp core will double the power output of your ship.;2;0;0;0;12000;5;0;Cloaking Device;This device will render your ship invisible but consumes a lot of energy.;2;200;0;50;13500;4;0;Engine Disruptor;Emitting this pulse will neutralize the engines of all ships around you. Great for escaping a superior foe.;1;200;0;80;5000;4;0;Tachyon Field Generator;Emits a massive pulse that forces all nearby ships to decloak.;2;300;0;150;8000;4;0;Tractor Beam;Locks onto a target and holds it there.;1;10;0;30;3400;4;17;Thaleron Generator;Generates a cloud of thaleron radiation, highly illegal to use.;4;500;10;800;15500;4;0;Magnetorp Launcher;A special rapidfire launcher for photon torpedoes.;4;50;3;5;1200;4;0;Biobeam;A concentrated beam of plasmatic biomatter.;3;7;10;15;10000;1;20;Telsa Beam;A combination beam and pulse phaser, immensely powerful.;3;15;8;15;12000;1;23;Subspace Torpedo;Useless at short range, this torpedo opens a subspace rift.;5;10;40;50;30000;3;26;Human Holodisc;Can only be bought once, raises prestige in all human systems to 100.;0;0;0;0;500000;6;x;Trade Commission Pass;As an official trader your negotiating skills raise to max.;0;0;0;0;300000;6;x;Asteroid Miner Pass;Allows you to mine asteroids in any system without penalty.;0;0;0;0;20000;6;x;Klingon Holodisc;Can only be bought once, raises prestige in all klingon systems to 100.;0;0;0;0;700000;6;x;Public Protector Badge;Raises your prestige in all civilian systems to 100.;0;0;0;0;200000;6;x;Thaleron Test Facility;Designates your ship a weapon test facility, allowing use of Thaleron without penalty.;0;0;0;0;90000;6;x;Planetary Access;Allows you to hail planets even if your prestige is less than zero.;0;0;0;0;10000;6;x;Proton Beam;A dual-firing proton beam.;3;5;6;15;16500;1;26;Gattling Pulse Turrent;A rapid-fire, three-pulse phaser that delivers incredible damage at a high rate of speed but has a short range.;4;6;2;1;35600;3;38;Away Team Training;Train your away teams to increase your AT experience.;0;0;0;0;500;7;x;Engineering Class;Increase your engineering experience with this class.;0;0;0;0;500;7;x;Navigation Training;Improve your nav skills with this training.;0;0;0;0;500;7;x;Tactical Combat Class;Train your crew in ship combat to increase tactical experience.;0;0;0;0;500;7;x;Wave Pulse;A highly charged wave of plasmatic protons.;3;5;10;5;24000;3;41;Vortex Ray;An unstable ray of swirling plasma.;3;10;5;10;35400;1;29;Earth Empire FLag;Claim planets in the name of the Earth Empire.;0;0;0;0;1000;8;x;Klingon Empire Flag;Claim planets in the name of the Klingon Empire.;0;0;0;0;1000;8;x;Cardassian Order Flag;Claim planets in the name of the Cardassian Order.;0;0;0;0;1000;8;x;SLOT38;DESC;MASS;CONS;BASE;RECH;COST;0;x;Vulcan Flag;Claim planets in the name of the Vulcan Command.;0;0;0;0;1000;8;x;Romulan Empire Flag;Claim planets in the name of the Romulan Empire.;0;0;0;0;1000;8;x;Ferengi Alliance Flag;Claim planets in the name of the Ferengi Alliance.;0;0;0;0;1000;8;x;SLOT38;DESC;MASS;CONS;BASE;RECH;COST;0;x;SLOT38;DESC;MASS;CONS;BASE;RECH;COST;0;x;SLOT38;DESC;MASS;CONS;BASE;RECH;COST;0;x;Tholian Syndicate Flag;Claim planets in the name of the Tholian Syndicate.;0;0;0;0;1000;8;x;SLOT38;DESC;MASS;CONS;BASE;RECH;COST;0;x;Dominion Flag;Claim planets in the name of the Dominion.;0;0;0;0;1000;8;x;Borg Flag;Mark planets for rapid assimilation.;0;0;0;0;1000;8;x;;


Last edited by SilverShadows on Tue Mar 16, 2010 8:36 am; edited 1 time in total


avatar
SilverShadows
Admin
Admin

Posts : 6708
Join date : 2009-08-09
Age : 24
Location : Guildford, United kingdom

http://brokenmirror.forumotion.co.uk

Back to top Go down

Re: source codes

Post by SilverShadows on Sun Mar 14, 2010 1:16 pm

source code proper
Code:
_global.mapnamesArray = mapnames.split(",");
stationtypes = "none,Earth Starbase,Earth Research,Vulcan University,Earth Heavy Shipyard,Earth Shipyard,Trade Station,Bar,Delpin Waterpark,Ore Station,Klingon Starbase,Klingon Shipyard,Klingon Heavy Shipyard,Dyson Sphere,Maintenance Station,Habitat Station,Wormhole Generator,Defense Platform,Advanced Defense Platform,Cardassian Starbase,Subspace Comm Station,Romulan Starbase";
stationtypesArray = stationtypes.split(",");
cargobay = "error,0,Nothing,x,x,0,Nothing,x,x,0,Nothing,x,x,0,Nothing,x,x,0,Nothing,x,x,0,Nothing,x,x,0,Nothing,x,x,0,Nothing,x,x,0,Nothing,x,x,0,Nothing,x,x,0,Nothing,x,x,0,Nothing,x,x";
cargoArray = cargobay.split(",");
var i = 1;
while (i<=10) {
   cargoArray[((i-1)*4)+3] = undefined;
   i++;
}
govttype = "None,Human Refugees,Klingon Refugees,Cardassian Order,Nausican Syndicate,Vulcan Command,Romulan Refugees,Ferengi Alliance,Andorian Guard,Delpin Order,Romulan Empire,Tholian Assembly,Independent,Dominion,Borg Collective,Pirates,player,Son'a Empire,Breen Confederacy,Orion Syndicate,Tarellian Sith,Earth Empire,Klingon Refugees,Reman Empire,Dominion,Promelian Alliance,Flashian Empire,Trey Hedgemony,Swiss Alliance,Opusabian Command,Teposian Syndicate,Trillian League,Klingon Dissidents,Human Dissidents ,Naenn Command,Vir Union,Atano Union,Zeeld Union,Truin Kingdom,Zhourr Nation,Udari Empire,Aosi Empire,Schoew Order,Olyeo Sovereignty,Keis Empire,Dominion";
govtArray = govttype.split(",");
ATArray = missions.split(";");
itemdescArray = itemtext.split(";");
weaponstats = weaponinfo.split(";");
orders = "none,escort your starship at Alert Green,explore on its own at Alert Yellow,gather at the planet at Alert Yellow,attack your selected target,seek out and destroy any enemy targets in the area,escort and defend your starship at Alert Red.";
orders = orders.split(",");
stationnames = "Alpha,Beta,Gamma,Omega,Delta,Zeta,Pypa,Station";
stationnames = stationnames.split(",");
//reset player data
myhull = undefined;
myshields = undefined;
myweapons = undefined;
//new planet data set
planetDataArray = planetData.split(":");
planetGovts = new Array();
//determine how many planets there are
var i = 1;
while (i<=55) {
   x = planetDataArray[i-1].split(";");
   planetGovts[i] = x[1];
   planetGovts[i+55] = x[9];
   i++;
}
num_planets = i-1;
var i = 1;
while (i<=num_planets) {
   x = planetDataArray[i-1].split(";");
   planetGovts[i] = x[1];
   planetGovts[i+num_planets] = x[9];
   i++;
}
stationdefaults = stationdefaults.split(";");
planetgovt = "error,2,2,2,2,2,4,2,2,2,6,4,4,4,4,4,4,6,4,4,4,1,4,4,6,4,6,4,4,5,4,4,5,5,5,4,1,1,1,1,1,4,1,1,1,1,1,4,4,4,4,12,12,12,12,12";
var i = 1;
planetgovtArray = new Array();
while (i<=55) {
   planetgovtArray[i] = 7;
   i++;
}
//generate atmosphere levels for planets
var i = 1;
planetgovtArray = new Array();
while (i<=num_planets) {
   planetgovtArray[i] = 7;
   i++;
}
planets = mapnames.split(",");
planetsArray = mapnames.split(",");
tradegoodsArray = "Medical Supplies,Beer,Romulan Ale,Food Stuffs,Hyposprays,Tricorders,Orion Slaves,Mugs,Warp Coils,Computers,Art,Old Paintings,Xiang's Brand Vodka,Dead Cats,Pencils,Beetlesnuff,Grey Paint,PADDs,Feminine Products,Staplers,Historic Books,Magazines,Clocks,Fertilizer,Corpses,Prostitutes,Ramscoops,Warp Cores,Impulse Engines,Equipment,Metal,Dilithium,Deuranium,Raw Latinum,Rare Birds,Korean Dogs,Dinner Napkins,Isolinear Chips,Magnets,Flags,Old Photos,Pillows,15 Yr Old Scotch";
tradegoodsArray = tradegoodsArray.split(",");
myshields = 100;
stationdataArray = stationdata.split(",");
shipnamesArray = shipnames.split(";");
trdTxtArray = trdTxt.split(";");
planetStrengths = new Array();
planetPops = new Array();
rep = "error,0,0,0,0,0,0,Trader,Merchant,Pirate,Mercinary,Explorer,Pioneer";
rep = rep.split(",");
//create default ship types for governments
shipdefaults = "error;2,33,34,35,36,37,38,6;3,39,40,41,42,43;7,16,31,32;1,23;6,25,26,59;5,28,29,27;4,17,18,19;1,10;1,21,22,51;1,24;1,20;1,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,45,46,47,50,51,52,54,55,56,57,58;1,30;1,44;8";
shipdefaults = shipdefaults.split(";");
mytech = new Array();
myfleet = new Array();
mybuild = new Array();
selectedfleet = new Array();
//array to determine graphics for the weapons
weapontypes = "none,2,5,8,11,14,12,14,16,20,22,20,12,18,24,2,4,6,8,10";
weapontypes = weapontypes.split(",");
combat = "none,Harmless,Good,Decent,Fair,Average,Above Average,Deadly,Infinite";
combat = combat.split(",");
expnav = 0;
exptac = 0;
expeng = 0;
expat = 0;
exptrade = 0;
expneg = 0;
expbuild = 0;
stardate1 = 2903;
stardate2 = 03;
enterwarp = new Sound(this);
enterwarp.attachSound("enterwarp");
torpedo = new Sound(this);
torpedo.attachSound("torp2");
etorpedo = new Sound(this);
etorpedo.attachSound("torp1");
beamphaser = new Sound(this);
beamphaser.attachSound("beamphaser");
ebeamphaser = new Sound(this);
ebeamphaser.attachSound("beamphaser");
disruptor = new Sound(this);
disruptor.attachSound("disruptor");
edisruptor = new Sound(this);
edisruptor.attachSound("disruptor");
beam = new Sound(this);
beam.attachSound("beam");
launch = new Sound(this);
launch.attachSound("launch");
shiplaunch = new Sound(this);
shiplaunch.attachSound("shiplaunch");
alert = new Sound(this);
alert.attachSound("alert");
comm = new Sound(this);
comm.attachSound("comm");
tractor = new Sound(this);
tractor.attachSound("tractorbeam");
wormholeopen = new Sound(this);
wormholeopen.attachSound("wormholeopen");
romtorp = new Sound(this);
romtorp.attachSound("romtorp");
romphas = new Sound(this);
romphas.attachSound("romphas");
pulse = new Sound(this);
pulse.attachSound("pulse");
pulse2 = new Sound(this);
pulse2.attachSound("pulse2");
polbeam = new Sound(this);
polbeam.attachSound("polbeam");
domphas = new Sound(this);
domphas.attachSound("domphas");
powerfail = new Sound(this);
powerfail.attachSound("powerfail");
cuttingbeam = new Sound(this);
cuttingbeam.attachSound("cuttingbeam");
energywave = new Sound(this);
energywave.attachSound("energywave");
typevii = new Sound(this);
typevii.attachSound("typevii");
comp1 = new Sound(this);
comp1.attachSound("comp1");
comp2 = new Sound(this);
comp2.attachSound("comp2");
comp3 = new Sound(this);
comp3.attachSound("comp3");
explode = new Sound(this);
explode.attachSound("explode");
quantum = new Sound(this);
quantum.attachSound("quantum");
fedpulse = new Sound(this);
fedpulse.attachSound("rompulse");
rompulse = new Sound(this);
rompulse.attachSound("rompulse");
sliding = new Sound(this);
sliding.attachSound("sliding");
engwarp = new Sound(this);
engwarp.attachSound("engwarp");
dropwarp = new Sound(this);
dropwarp.attachSound("dropwarp");
music = new Sound(this);
music.attachSound("music2");


Last edited by SilverShadows on Tue Mar 16, 2010 8:36 am; edited 1 time in total


avatar
SilverShadows
Admin
Admin

Posts : 6708
Join date : 2009-08-09
Age : 24
Location : Guildford, United kingdom

http://brokenmirror.forumotion.co.uk

Back to top Go down

Re: source codes

Post by SilverShadows on Sun Mar 14, 2010 1:17 pm

Code:
stop();
_root.govtArray[16] = mygovtname;
music.start(0, 999);
_root.level = 301;
pause=0;
myshields = undefined;
otherships = new Array();
shipsgovt = new Array();
//set divider for travel
_root.maxwarp = 5;
_root.xarray0 = 1;
zoom = 1;
s = 1;
set("../playerpanel" add ":mymenu", 0);
set("../playerpanel" add ":cargopanel", 1);
_root.updatemenu();
mytype = 1;
setplanet();
setstations();
//begin all functions
function loadplayer() {
   removeMovieClip("player");
   antimatteruse = Number(itemdescArray[((playership-1)*16)+4]);
   totcargo = Number(itemdescArray[((playership-1)*16)+5]);
   tothull = Number(itemdescArray[((playership-1)*16)+6]);
   totshields = Number(itemdescArray[((playership-1)*16)+7]);
   totenergy = Number(itemdescArray[((playership-1)*16)+5])*5;
   mymass = Number(itemdescArray[((playership-1)*16)+3]);
   if (myshields == undefined) {
      myshields = totshields;
      myhull = tothull;
   }
   if (myshields>=totshields) {
      myshields = totshields;
   }
   if (myhull>=tothull or myhull == undefined) {
      myhull = tothull;
   }
   if (myenergy == undefined) {
      myenergy = totenergy;
      opsreserves = 50;
      opsengines = 50;
      opsweapons = 50;
      opsshields = 50;
   }
   totspeed = Number(itemdescArray[((playership-1)*16)+8]);
   totturn = Number(itemdescArray[((playership-1)*16)+9]);
   torptech = 1;
   phastech = 1;
   attachMovie("player", "player", 300);
   setProperty("player", _x, 298.6);
   setProperty("player", _y, 195.5);
   set("player" add ":mytype", playership);
   set("player" add ":shipplayertype" add ":cloak", 0);
   attachMovie("playerpanel", "playerpanel", 9998);
   setProperty("playerpanel", _x, 300);
   setProperty("playerpanel", _y, 416.6);
   attachMovie("targetwindow", "tacpanel", 9997);
   setProperty("tacpanel", _x, 90);
   setProperty("tacpanel", _y, 500);
   setProperty("player", _xscale, getProperty("player", _xscale)/zoom);
   setProperty("player", _yscale, getProperty("player", _yscale)/zoom);
   //load weapons for player
   if (weapon1 == undefined) {
      weapon1 = -5;
      //this sets the HUD pics to 100 if weapon is empty
   }
   if (weapon2 == undefined) {
      weapon2 = -5;
      //this sets the HUD pics to 100 if weapon is empty
   }
   if (weapon3 == undefined) {
      weapon3 = -5;
      //this sets the HUD pics to 100 if weapon is empty
   }
   if (myweapons == undefined) {
      autot = 0;
      myweapons = new Array();
      if (Number(itemdescArray[((playership-1)*16)+11])>0) {
         myweapons[1] = Number(itemdescArray[((playership-1)*16)+11]);
         weapon1 = myweapons[1];
      }
      if (Number(itemdescArray[((playership-1)*16)+12])>0) {
         myweapons[2] = Number(itemdescArray[((playership-1)*16)+12]);
         weapon2 = myweapons[2];
      }
      if (Number(itemdescArray[((playership-1)*16)+13])>0) {
         myweapons[3] = Number(itemdescArray[((playership-1)*16)+13]);
         weapon3 = myweapons[3];
      }
   }
   //load special devices if any
   i = 1;
   while (i<=9) {
      if (_root.myweapons[i] == 20) {
         bajoransail = 1;
      }
      if (_root.myweapons[i] == 21) {
         warpcore = 1;
      }
      i++;
   }
   //point player in direction of planet
   myx = getProperty("player", _x);
   myy = getProperty("player", _y);
   targetx = getProperty("planet", _x);
   targety = getProperty("planet", _y);
   myRadians = Math.atan2(targety-myy, targetx-mxx);
   myDegrees = Math.round((myRadians*180/Math.PI));
   rotation = myDegrees+90;
   setProperty("player", _rotation, rotation);
   updatemenu();
}
function setplanet() {
   planetArray = planetDataArray[myplanet-1].split(";");
   if (planetStrengths[myplanet] == undefined) {
      planetStrengths[myplanet] = planetArray[2];
   }
   if (planetPops[myplanet] == undefined) {
      planetPops[myplanet] = planetArray[5];
   }
   //set planetgovtarray (map color)
   planetgovtarray[myplanet] = 4;
   if (planetgovts[myplanet] == 16) {
      planetgovtarray[myplanet] = 3;
   } else {
      if (localprestige[myplanet]<0) {
         planetgovtarray[myplanet] = 1;
      }
      if (localprestige[myplanet]>=100) {
         planetgovtarray[myplanet] = 2;
      }
      if (planetpops[myplanet]<=0 and planetstrengths[myplanet]<=0) {
         planetgovtarray[myplanet] = 6;
      }
      if (myplanet == 32 or myplanet == 33 or myplanet == 34 or myplanet == 29) {
         planetgovtarray[myplanet] == 5;
      }
   }
   set("planet" add ":myType", planetArray[3]);
   setProperty("planet", _xscale, planetArray[8]);
   setProperty("planet", _yscale, planetArray[8]);
   loadsystem();
}
function loadsystem() {
   if (planetArray[16]>0) {
      attachMovie("nebula", "nebula", 9999);
      setProperty("nebula", _x, 0);
      setProperty("nebula", _y, 0);
      setProperty("nebula", _alpha, 25);
      set("nebula" add ":mytype", planetArray[16]);
   } else {
      removeMovieClip("nebula");
   }
   if (myplanet == 47 or myplanet == 51) {
      createwormhole();
   }
   //load self
   loadplayer();
}
function atwarp() {
   gotoAndPlay(2);
}
function updatemenu() {
   setProperty("playerpanel" add ":weapbut1", _alpha, 0);
   setProperty("playerpanel" add ":weapbut2", _alpha, 0);
   setProperty("playerpanel" add ":weapbut3", _alpha, 0);
   set("playerpanel" add ":playerresources", ("Latinum: "+_root.mylatinum+" bars"+newline+"Deuranium: "+_root.mydeuranium+" units"+newline+"Matter/Antimatter: "+_root.myantimatter+" units"+newline+"  "+_root.myantimatter*2*_root.antimatteruse+" days of fuel."));
   hudlatinum = _root.mylatinum;
   hudantimatter = _root.myantimatter;
   huddeuranium = _root.mydeuranium;
   //set the fuel bar
   setProperty("playerpanel" add ":fuelbar", _xscale, 100-((_root.myantimatter*2*_root.antimatteruse)/(Number(itemdescArray[((playership-1)*16)+3]*100))*100));
   _root.mycargo = 0;
   //calculate cargo in the hold
   i = 1;
   while (i<=10) {
      _root.mycargo += Number(_root.cargoArray[((i-1)*4)+1]);
      i++;
   }
   i = 1;
   totalprestige = 0;
   while (i<=num_planets) {
      totalprestige += Number(localprestige[i]);
      i++;
   }
   mylatinum = Math.floor(mylatinum);
   totalprestige = Math.floor(totalprestige/num_planets);
   //show weapons
   removeMovieClip("slotpanel");
   set("weap1" add ":mytype", weapon1+105);
   set("weap2" add ":mytype", weapon2+105);
   set("weap3" add ":mytype", weapon3+105);
   setProperty("playerpanel" add ":cargobar", _xscale, 100-((_root.mycargo/_root.totcargo)*100));
   set("playerpanel" add ":playership", myshipname+", "+itemdescArray[((playership-1)*16)+1]);
   set("playerpanel" add ":localprestige", "Local Prestige: "+Math.floor(_root.localprestige[myplanet])+"%");
   set("playerpanel" add ":playername", myname);
   if (_root.myselect == undefined) {
      removeMovieClip("fleethud");
   }
   updatebars();
}
function updatebars() {
   setProperty("playerpanel" add ":shieldsbar", _xscale, 100-(myshields/totshields)*100);
   setProperty("playerpanel" add ":hullbar", _xscale, 100-(myhull/tothull)*100);
   setProperty("playerpanel" add ":energybar", _xscale, 100-(myenergy/totenergy)*100);
   setProperty("playerpanel" add ":cargobar", _xscale, 100-((_root.mycargo/_root.totcargo)*100));
}
function repairship() {
   x = Math.floor(_root.tothull-_root.myhull/2);
   mylatinum -= x;
   _root.launch.start();
   _root.expeng += (random(2)+1)*.5;
   set("player" add ":playershiptype" add ":repair", 1);
   attachMovie("repairmodule", "repairmodule", _root.level);
   _root.level++;
   setProperty("repairmodule", _x, player._x);
   setProperty("repairmodule", _y, player._y);
   updatemenu();
}
function selectobject() {
   _root.comp1.start();
   removeMovieClip("commpanel");
   removeMovieClip("selecttool");
   attachMovie("selecttool", "selecttool", _root.level++);
   set(_root.myselect add ":myselect", 1);
   set("selecttool" add ":mytarget", _root.myselect);
   if (_root.myselect == "planet") {
      attachMovie("planetpanel", "planetpanel", _root.level++);
      setProperty("planetpanel", _x, 65);
      setProperty("planetpanel", _y, 430);
   } else {
      set("tacpanel" add ":mymenu", 1);
   }
}
function deselectobject() {
   removeMovieClip("selecttool");
   removeMovieClip("planetpanel");
   set("tacpanel" add ":mymenu", 0);
   set(_root.myselect add ":myselect", 0);
   _root.myselect = undefined;
}
function loadcomm() {
   _root.comp3.start();
   removeMovieClip("commpanel");
   attachMovie("commpanel", "commpanel", 9996);
   _root.level++;
   setProperty("commpanel", _x, 303);
   setProperty("commpanel", _y, 110);
   setProperty("commpanel", _xscale, 0);
   setProperty("commpanel", _yscale, 0);
}
function firephaser() {
   _root.exptac += (random(2)+1)*.01;
   var targetx = getProperty(_root.myselect, _x);
   var targety = getProperty(_root.myselect, _y);
   if ((Math.abs(296-targetx)<300/_root.zoom) and (Math.abs(191-targety)<300/_root.zoom)) {
      attachMovie("phaser", "phaser" add _root.level, _root.level);
      set("phaser" add _root.level add ":mytype", Number(_root.weaponstats[((weapontype-1)*9)+9]));
      set("phaser" add _root.level add ":mytarget", _root.myselect);
      set("phaser" add _root.level add ":myorigin", "player");
      set("phaser" add _root.level add ":phastech", phastech);
      set("phaser" add _root.level add ":power", Number(_root.weaponstats[((weapontype-1)*9)+5])*Number(_root.itemdescArray[((playership-1)*16)+3]));
      _root.level++;
      _root.updatebars();
      //change alert of enemy
      set(_root.myselect add ":mytarget", "player");
      set(_root.myselect add ":alert", 3);
   }
}
function firedisruptor() {
   _root.attachMovie("torpedo", "torp" add _root.level, _root.level);
   set("torp" add _root.level add ":mytarget", _root.myselect);
   _root.exptac += (random(2)+1)*.01;
   if (_root.myselect == undefined) {
      set("torp" add _root.level add ":mytarget", "none");
   }
   set("torp" add _root.level add ":speed", Math.abs(_root.speed));
   setProperty("torp" add _root.level, _x, getProperty("player", _x));
   setProperty("torp" add _root.level, _y, getProperty("player", _y));
   setProperty("torp" add _root.level, _rotation, getProperty("player", _rotation)+random(10)-random(10));
   set("torp" add _root.level add ":power", Number(_root.weaponstats[((weapontype-1)*9)+5])*Number(_root.itemdescArray[((playership-1)*16)+3]));
   set("torp" add _root.level add ":myself", "torp" add _root.level);
   set("torp" add _root.level add ":mytype", Number(_root.weaponstats[((weapontype-1)*9)+9]));
   _root.updatebars();
   set(_root.myselect add ":mytarget", "player");
   set(_root.myselect add ":alert", 3);
   _root.level++;
}
function firetorpedo() {
   _root.exptac += random(2)*.01;
   var myx = getProperty("player", _x);
   var myy = getProperty("player", _y);
   var targetx = getProperty(_root.myselect, _x);
   var targety = getProperty(_root.myselect, _y);
   _root.updatebars();
   _root.attachMovie("torpedo", "torp" add _root.level, _root.level);
   set("torp" add _root.level add ":mytarget", _root.myselect);
   set("torp" add _root.level add ":speed", Math.abs(_root.speed));
   set("torp" add _root.level add ":power", Number(_root.weaponstats[((weapontype-1)*9)+5])*Number(_root.itemdescArray[((playership-1)*16)+3]));
   setProperty("torp" add _root.level, _x, myx);
   setProperty("torp" add _root.level, _y, myy);
   var myRadians = Math.atan2(targety-myy, targetx-myx);
   var myDegrees = Math.round((myRadians*180/Math.PI));
   var rotation = myDegrees+90+random(30)-random(30);
   setProperty("torp" add _root.level, _rotation, rotation);
   set("torp" add _root.level add ":myself", "torp" add _root.level);
   set("torp" add _root.level add ":mytype", Number(_root.weaponstats[((weapontype-1)*9)+9]));
   set(_root.myselect add ":mytarget", "player");
   set(_root.myselect add ":alert", 3);
   _root.level++;
}
function setstations() {
   x = 0;
   px = getProperty("planet", _x);
   py = getProperty("planet", _y);
   while (x>-1) {
      if (stationdataArray[x] == undefined) {
         x = -99;
         break;
      }
      if (stationdataArray[x] == myplanet and stationdataArray[x+2] != 0) {
         if (Number(stationdataArray[2+x])>0) {
            attachMovie("othership", "station" add s, _root.xarray0);
         }
         if (Number(stationdataArray[2+x])<0) {
            attachMovie("stationconstruct", "station" add s, _root.xarray0);
            set("station" add s add ":buildtime", Number(stationdataArray[2+x]));
         }
         _root.level++;
         duplicateMovieClip("planetblip", "blip" add s, _root.level);
         _root.level++;
         set("blip" add s add ":mytarget", "station" add s);
         set("blip" add s add ":mydist", 9);
         set("station" add s add ":myblip", "blip" add s);
         setProperty("station" add s, _x, Number(stationdataArray[3+x])+px);
         setProperty("station" add s, _y, Number(stationdataArray[4+x])+py);
         set("station" add s add ":mytype", stationdataArray[1+x]);
         set("station" add s add ":myself", "station" add s);
         otherships[_root.xarray0] = "station" add s;
         shipsgovt[_root.xarray0] = planetGovts[myplanet];
         set("station" add s add ":myslot", _root.xarray0);
         _root.xarray0++;
         if (stationdataArray[2+x] == 10) {
            set("station" add s add ":mystrength", 10);
         } else {
            set("station" add s add ":mystrength", Number(itemdescArray[((stationdataArray[1+x]-1)*16)+6])+Number(itemdescArray[((stationdataArray[1+x]-1)*16)+7]));
         }
         set("station" add s add ":totstrength", Number(itemdescArray[((stationdataArray[1+x]-1)*16)+6])+Number(itemdescArray[((stationdataArray[1+x]-1)*16)+7]));
         set("station" add s add ":myname", stationdataArray[13+x]);
         set("station" add s add ":shiptype" add ":mydest", Number(stationdataArray[5+x]));
         set("station" add s add ":shiptype" add ":item1", Number(stationdataArray[7+x]));
         set("station" add s add ":shiptype" add ":item2", Number(stationdataArray[8+x]));
         set("station" add s add ":shiptype" add ":item3", Number(stationdataArray[9+x]));
         set("station" add s add ":shiptype" add ":item4", Number(stationdataArray[10+x]));
         set("station" add s add ":shiptype" add ":item5", Number(stationdataArray[11+x]));
         set("station" add s add ":shiptype" add ":item6", Number(stationdataArray[12+x]));
         setProperty("station" add s add ":shiptype", _rotation, Number(stationdataArray[6+x]));
         set("station" add s add ":myselect", 0);
         set("station" add s add ":alert", 1);
         set("station" add s add ":mytarget", "planet");
         setProperty("station" add s, _xscale, getProperty("station" add s, _xscale)/zoom);
         setProperty("station" add s, _yscale, getProperty("station" add s, _yscale)/zoom);
         s++;
      }
      x += 14;
   }
   numstations = _root.xarray0;
   //create ships for this area
   i = 0;
   var x = (planetPops[myplanet]*2)+1;
   if (x>20) {
      x = 20;
   }
   while (i<x) {
      if (random(2) == 1) {
         mygovt = undefined;
         createship();
      }
      i++;
   }
   //randomly put an enemy fleet in the sector
   if (random(5) == 1 and planetPops[myplanet]>0 and planetGovts[myplanet+num_planets] != 0) {
      i = 0;
      i2 = random(10)+1;
      while (i<i2) {
         mygovt = 1;
         createship();
         i++;
      }
   }
   //create allied ships for the area
   i = 1;
   while (myfleet[((i-1)*4)+1] != undefined) {
      if (myfleet[((i-1)*4)+1] == myplanet) {
         createalliedship(myfleet[((i-1)*4)+2], myfleet[((i-1)*4)+3]);
      }
      i++;
   }
}
function createship(new_type, new_x, new_y) {
   attachMovie("othership", "station" add s, _root.xarray0);
   _root.level++;
   duplicateMovieClip("planetblip", "blip" add s, _root.level);
   _root.level++;
   //choose the type of ship to create
   if (mygovt == undefined) {
      mygovt = 12;
      newtype = random(20);
      if (newtype>=0 and newtype<=3) {
         settype = random(14)+1;
         setrace = 1;
         mygovt = 12;
      }
      if (newtype == 4) {
         setenemy();
         mygovt = planetGovts[myplanet+num_planets];
      }
      if (newtype>=10) {
         setallied();
         mygovt = planetGovts[myplanet];
         if (planetGovts[myplanet] == 16) {
            mygovt = 12;
         }
      }
      //set random any trader
      if (newtype == 5 or newtype == 6 or planetGovts[myplanet] == 16) {
         settype = random(15)+1;
         setrace = 1;
         mygovt = 12;
      } else if (((newtype>=7 or newtype<=9) and planetArray[5]<2)) {
         //set random any pirate
         settype = random(15)+1;
         setrace = 8;
         mygovt = 15;
      }
   } else if (mygovt == 1) {
      setenemy();
      mygovt = planetGovts[myplanet+num_planets];
   } else if (mygovt == -1) {
      setallied();
      mygovt = planetGovts[myplanet];
      if (planetGovts[myplanet] == 16) {
         mygovt = 12;
      }
   }
   set("blip" add s add ":mydist", 6);
   if (new_type == 94) {
      //is escape pod, so make a different blip type   
   }
   if (mygovt == 0) {
      mygovt = 12;
   }
   set("station" add s add ":myrace", setrace);
   setname = shipnamesArray[random(219)+1];
   if (new_type == undefined) {
      set("station" add s add ":mytype", settype);
   } else {
      set("station" add s add ":mytype", new_type);
      settype = new_type;
      setname = random(500)+200;
   }
   if (setrace == 2) {
      setname = "ISS "+setname;
   }
   if (setrace == 3) {
      setname = "IKC "+setname;
   }
   if (setrace == 5) {
      setname = "RES "+setname;
   }
   set("station" add s add ":myname", setname);
   set("blip" add s add ":mytarget", "station" add s);
   set("station" add s add ":myblip", "blip" add s);
   //load ship stats
   set("station" add s add ":mystrength", Number(itemdescArray[((settype-1)*16)+6])+Number(itemdescArray[((settype-1)*16)+7]));
   set("station" add s add ":totstrength", Number(itemdescArray[((settype-1)*16)+6])+Number(itemdescArray[((settype-1)*16)+7]));
   set("station" add s add ":totspeed", Number(itemdescArray[((settype-1)*16)+8]));
   set("station" add s add ":totturn", Number(itemdescArray[((settype-1)*16)+9]));
   set("station" add s add ":phastech", 1);
   set("station" add s add ":torptech", 1);
   if (random(4) == 1) {
      set("station" add s add ":phastech", random(3)+1);
   }
   if (random(4) == 1) {
      set("station" add s add ":torptech", random(3)+1);
   }
   if (new_type == undefined) {
      setProperty("station" add s, _x, random(5000)-random(5000));
      setProperty("station" add s, _y, random(5000)-random(5000));
   } else {
      setProperty("station" add s, _x, new_x);
      setProperty("station" add s, _y, new_y);
   }
   if (mygovt == 16) {
      setProperty("station" add s, _x, random(200)-random(200));
      setProperty("station" add s, _y, random(200)-random(200));
   }
   set("station" add s add ":myorders", 1);
   set("station" add s add ":myself", "station" add s);
   set("station" add s add ":myslot", _root.xarray0);
   set("station" add s add ":mygovt", mygovt);
   otherships[_root.xarray0] = "station" add s;
   shipsgovt[_root.xarray0] = mygovt;
   _root.xarray0++;
   set("station" add s add ":myselect", 0);
   set("station" add s add ":alert", 1);
   if (random(2) == 1 and numstations>0) {
      set("station" add s add ":mytarget", otherships[random(numstations)]);
   } else {
      set("station" add s add ":mytarget", "planet");
   }
   setProperty("station" add s, _xscale, getProperty("station" add s, _xscale)/zoom);
   setProperty("station" add s, _yscale, getProperty("station" add s, _yscale)/zoom);
   s++;
   mygovt = undefined;
}
function createalliedship(buyshiptype, buyshipname) {
   _root.gamedata = "yes";
   attachMovie("othership", "station" add s, _root.xarray0);
   _root.level++;
   duplicateMovieClip("planetblip", "blip" add s, _root.level);
   _root.level++;
   set("blip" add s add ":mydist", 8);
   set("station" add s add ":mytype", buyshiptype);
   set("station" add s add ":myrace", myrace);
   set("station" add s add ":myname", buyshipname);
   set("blip" add s add ":mytarget", "station" add s);
   set("station" add s add ":myblip", "blip" add s);
   //load ship stats
   set("station" add s add ":mystrength", Number(itemdescArray[((buyshiptype-1)*16)+6])+Number(itemdescArray[((buyshiptype-1)*16)+7]));
   set("station" add s add ":totstrength", Number(itemdescArray[((buyshiptype-1)*16)+6])+Number(itemdescArray[((buyshiptype-1)*16)+7]));
   set("station" add s add ":totspeed", Number(itemdescArray[((buyshiptype-1)*16)+8]));
   set("station" add s add ":totturn", Number(itemdescArray[((buyshiptype-1)*16)+9]));
   setProperty("station" add s, _x, 298+random(200)-random(200));
   setProperty("station" add s, _y, 195+random(200)-random(200));
   set("station" add s add ":myorders", 1);
   set("station" add s add ":myself", "station" add s);
   set("station" add s add ":myslot", _root.xarray0);
   set("station" add s add ":mygovt", 16);
   otherships[_root.xarray0] = "station" add s;
   shipsgovt[_root.xarray0] = 16;
   _root.xarray0++;
   set("station" add s add ":myselect", 0);
   set("station" add s add ":alert", 1);
   set("station" add s add ":mytarget", "player");
   s++;
}
function mapclick() {
   _root.comp2.start();
   if ((planetclick == 33 or planetclick == 32 or planetclick == 34) and expnav<100) {
      loadcomm();
      set("commpanel" add ":mytype", 13);
      set("commpanel" add ":event", "You do not have enough navigational experience to enter a nebula. 100+ experience needed.");
   } else {
      x = getProperty("planet", _x);
      y = getProperty("planet", _y);
      newdate = Math.floor(_root.dist);
      if (newdate<myantimatter*2*antimatteruse) {
         advancestardate();
         deselectobject();
         removeMovieClip("playerpanel");
         removeMovieClip("nebula");
         removeMovieClip("commpanel");
         removeMovieClip("tacpanel");
         set("player" add ":warp", 3);
         enterwarp.setVolume(100);
         enterwarp.start();
         tripuse = Math.floor((newdate/antimatteruse)/3);
         _root.myantimatter -= tripuse;
         _root.expnav += (random(2)+1)*.1;
         _root.rep[5] = Number(_root.rep[5])+.5;
         //check to see if any ships should follow player
         i = _root.numstations+1;
         while (i<=_root.xArray0) {
            if (_root.shipsgovt[i] == 16 and eval(otherships[i] add ".orders") == 1) {
               //find me in the fleet list
               i2 = 1;
               while (_root.myfleet[((i2-1)*4)+1] != undefined) {
                  if (_root.myfleet[((i2-1)*4)+2] == eval(otherships[i] add ".mytype") and _root.myfleet[((i2-1)*4)+3] == eval(otherships[i] add ".myname")) {
                     _root.myfleet[((i2-1)*4)+1] = planetclick;
                     break;
                  }
                  i2++;
               }
            }
            i++;
         }
      } else {
         set("commpanel" add ":maptext", "You have insufficient antimatter resources to travel to this system...");
      }
   }
}
function makeasteroid() {
   attachMovie("asteroid", "asteroid" add _root.level, _root.level);
   set("asteroid" add _root.level add ":mytarget", "asteroid" add _root.level);
   x = getProperty("player", _rotation);
   s = random(75)+26;
   setProperty("asteroid" add _root.level, _xscale, s);
   setProperty("asteroid" add _root.level, _yscale, s);
   set("asteroid" add _root.level add ":mytype", random(3)+1);
   x = random(3);
   if (x == 0) {
      setProperty("asteroid" add _root.level, _x, random(600));
      setProperty("asteroid" add _root.level, _y, -50);
   }
   if (x == 1) {
      setProperty("asteroid" add _root.level, _x, 620);
      setProperty("asteroid" add _root.level, _y, random(450));
   }
   if (x == 2) {
      setProperty("asteroid" add _root.level, _x, -50);
      setProperty("asteroid" add _root.level, _y, random(450));
   }
   if (x == 3) {
      setProperty("asteroid" add _root.level, _x, random(600));
      setProperty("asteroid" add _root.level, _y, 480);
   }
   _root.level++;
}
function createwormhole() {
   attachMovie("wormhole", "wormhole", _root.level);
   _root.level++;
   px = getProperty("planet", _x);
   py = getProperty("planet", _y);
   setProperty("wormhole", _x, -3000+px);
   setProperty("wormhole", _y, -3000+py);
   duplicateMovieClip("planetblip", "wormholeblip", _root.level);
   _root.level++;
   set("wormholeblip" add ":mytarget", "wormhole");
   set("wormholeblip" add ":mydist", 10);
}
function setallied() {
   var shipdeftypes = shipdefaults[planetGovts[myplanet]].split(",");
   setrace = shipdeftypes[0];
   //figure out how many items are in the array
   var i = 1;
   while (shipdeftypes[i+1] != undefined) {
      i++;
   }
   settype = shipdeftypes[random(i)+1];
   if (settype == undefined or settype<=0) {
      settype = random(23)+1;
      setrace = 1;
   }
}
function setenemy() {
   var shipdeftypes = shipdefaults[planetGovts[myplanet+num_planets]].split(",");
   setrace = shipdeftypes[0];
   //figure out how many items are in the array
   var i = 1;
   while (shipdeftypes[i+1] != undefined) {
      i++;
   }
   settype = shipdeftypes[random(i)+1];
   if (settype == undefined or settype<=0) {
      settype = random(23)+1;
      setrace = 1;
   }
}



avatar
SilverShadows
Admin
Admin

Posts : 6708
Join date : 2009-08-09
Age : 24
Location : Guildford, United kingdom

http://brokenmirror.forumotion.co.uk

Back to top Go down

Re: source codes

Post by SilverShadows on Sun Mar 14, 2010 1:18 pm

Code:
function removeallships() {
   _root.xarray2 = 0;
   while (_root.xarray2<=_root.xarray0) {
      removeMovieClip(otherships[_root.xarray2]);
      otherships[_root.xarray2] = undefined;
      shipsgovt[_root.xarray2] = undefined;
      _root.xarray2++;
   }
   removeMovieClip("wormhole");
   removeMovieClip("nebula");
}
function dead() {

   _root.removeallships();
   stopAllSounds();
   removeMovieClip("commpanel");
   removeMovieClip("playerpanel");
   removeMovieClip("tacpanel");
   gotoAndPlay("gameover", 1);
}
function advancestardate() {
   stardate2 += newdate;
   if (stardate2>99) {
      stardate2 -= 99;
      stardate1 += 1;
   }
}
function board(pilaged, w) {
   if (eval(_root.myselect add ".mytype")<70) {
      loadcomm();
      set("commpanel" add ":mytype", 13);
      x = random(6);
      _root.rep[3] = Number(_root.rep[3])+1;
      if (x<3) {
         mylatinum += pilaged;
         updatemenu();
         set("commpanel" add ":event", "    Your away team transports to the ship and takes what latinum they can find. They narrowly return as the ship self-destructs. You happily count the "+pilaged+" bars of latinum you have stolen from this vessel.");
         set(_root.myselect add ":hit", 1);
         set(_root.myselect add ":mystrength", -1);
      } else {
         w = Number(_root.itemdescArray[((w-1)*16)+(random(2)+11)]);
         if (w != 0 and random(3)<2) {
            set("commpanel" add ":event", "    Your away team salvages a "+_root.weaponstats[((w-1)*9)+1]+" from this ship just before it self-destructs.");
            set(_root.myselect add ":hit", 1);
            set(_root.myselect add ":mystrength", -1);
            if (Number(_root.itemdescArray[((_root.playership-1)*16)+3]>=Number(_root.weaponstats[((w-1)*9)+3]))) {
               i = 1;
               while (i<=9) {
                  if (_root.myweapons[i] == undefined) {
                     _root.myweapons[i] = w;
                     _root.updatemenu();
                     break;
                  }
                  i++;
               }
            } else {
               set("commpanel" add ":event", "Your away team tries to salvage a "+_root.weaponstats[((w-1)*9)+1]+" from this ship but your ship is too small. The ship explodes from the attempt.");
               set(_root.myselect add ":hit", 1);
               set(_root.myselect add ":mystrength", -1);
            }
         } else {
            //either capture the ship or die trying
            if (Number(_root.itemdescArray[((_root.playership-1)*16)+3])>=Number(_root.itemdescArray[((eval(_root.myselect add ".mytype")-1)*16)+3]) and expat>=100 and expeng>=100) {
               i = 1;
               // get the last position of the fleet array
               while (_root.myfleet[((i-1)*4)+1] != undefined) {
                  i++;
               }
               //add ship to the fleet array
               buyshipname = _root.shipnamesArray[random(219)+1];
               _root.myfleet[((i-1)*4)+1] = _root.myplanet;
               _root.myfleet[((i-1)*4)+2] = eval(_root.myselect add ".mytype");
               _root.myfleet[((i-1)*4)+3] = eval(_root.myselect add ".myname");
               _root.myfleet[((i-1)*4)+4] = undefined;
               _root.shipsgovt[eval(_root.myselect add ".myslot")] = 16;
               set("commpanel" add ":event", "Your away team manages to capture the enemy vessel and has taken it to the planet for repairs.");
            } else {
               set("commpanel" add ":event", "Your away team attempts to capture this ship, but their lack of experience causes them to trigger the self-destruct. 100+ Engineering and 100+ Away Team experience required.");
               set(_root.myselect add ":hit", 1);
               set(_root.myselect add ":mystrength", -1);
               if (Number(_root.itemdescArray[((_root.playership-1)*16)+3])<Number(_root.itemdescArray[((eval(_root.myselect add ".mytype")-1)*16)+3])) {
                  set("commpanel" add ":event", "Your away team tries to capture this ship but its crew overpowers them and activates the self destruct. You needed a larger ship with more crew to capture a ship of this size.");
               }
            }
         }
      }
   }
}
function openmap() {
   if (eval("player.playershiptype.repair") != 1) {
      loadcomm();
      set("commpanel" add ":mytype", 7);
      set("playerpanel" add ":mymenu", 0);
      set("commpanel" add ":maptext", "You are currently in the "+_root.planetArray[0]+" system.");
      //load planet names for map
      i = 1;
      while (i<=num_planets) {
         set("commpanel" add ":planet" add i, mapnamesArray[i]);
         i++;
      }
      //close player panel because its probably open
      set("playerpanel" add ":mymenu", 0);
      set("playerpanel" add ":cargopanel", 1);
      updatemenu();
   }
}
function fireweapon() {
   if (autot == 1) {
      autotarget();
   }
   var weaptype = Number(_root.weaponstats[((_root.weapontype-1)*9)+8]);
   if (_root.myenergy>Number(_root.weaponstats[((_root.weapontype-1)*9)+4])) {
      if (weapontype == 25 and _root.myselect != undefined and eval("player.playershiptype.cloak") != 1) {
         _root.myenergy -= Number(_root.weaponstats[((_root.weapontype-1)*9)+4]);
         _root.engagetractor();
      }
      if (weaptype == 1 and eval("player.playershiptype.cloak") != 1) {
         _root.myenergy -= Number(_root.weaponstats[((_root.weapontype-1)*9)+4]);
         _root.firephaser();
      }
      if (weaptype == 2 and eval("player.playershiptype.cloak") != 1) {
         _root.myenergy -= Number(_root.weaponstats[((_root.weapontype-1)*9)+4]);
         _root.firedisruptor();
      }
      if (weaptype == 3 and eval("player.playershiptype.cloak") != 1) {
         _root.myenergy -= Number(_root.weaponstats[((_root.weapontype-1)*9)+4]);
         for (var i = torptech; i>0; i--) {
            _root.firetorpedo();
         }
      }
      if (_root.weapontype == 26 and eval("player.playershiptype.cloak") != 1) {
         _root.myenergy -= Number(_root.weaponstats[((_root.weapontype-1)*9)+4]);
         _root.firetorpedo();
      }
      if (weaptype == 4 and eval("player.playershiptype.cloak") != 1) {
         _root.myenergy -= Number(_root.weaponstats[((_root.weapontype-1)*9)+4]);
         _root.firespecial();
      }
   }
   if (_root.weapontype == 22) {
      if (eval("player.playershiptype.cloak") != 1) {
         _root.myenergy -= Number(_root.weaponstats[((_root.weapontype-1)*9)+4]);
      }
      _root.cloak();
   }
}
function firespecial() {
   if (weapontype == 23) {
      _root.energywave.start();
      attachMovie("shockwave", "shockwave" add _root.level, _root.level);
      setProperty("shockwave" add _root.level, _x, 298);
      setProperty("shockwave" add _root.level, _y, 195);
      setProperty("shockwave" add _root.level, _xscale, 1);
      setProperty("shockwave" add _root.level, _yscale, 1);
      _root.level++;
      _root.updatebars();
   }
   if (weapontype == 26) {
      _root.energywave.start();
      attachMovie("thaleron", "thaleron" add _root.level, _root.level);
      setProperty("thaleron" add _root.level, _x, 298);
      setProperty("thaleron" add _root.level, _y, 195);
      setProperty("thaleron" add _root.level, _xscale, 1);
      setProperty("thaleron" add _root.level, _yscale, 1);
      _root.level++;
      _root.updatebars();
   }
   if (weapontype == 24) {
      _root.energywave.start();
      attachMovie("tachyon", "tachyon" add _root.level, _root.level);
      setProperty("tachyon" add _root.level, _x, 298);
      setProperty("tachyon" add _root.level, _y, 195);
      setProperty("tachyon" add _root.level, _xscale, 1);
      setProperty("tachyon" add _root.level, _yscale, 1);
      _root.level++;
      _root.updatebars();
   }
}
function engagetractor() {
   _root.exptac += (random(5)+1)*.01;
   targetx = getProperty(_root.myselect, _x);
   targety = getProperty(_root.myselect, _y);
   if ((Math.abs(296-targetx)<300) and (Math.abs(191-targety)<300)) {
      attachMovie("phaser", "phaser" add _root.level, _root.level);
      set("phaser" add _root.level add ":mytype", 17);
      set("phaser" add _root.level add ":mytarget", _root.myselect);
      set("phaser" add _root.level add ":myorigin", "player");
      _root.level++;
      _root.updatebars();
      //change alert of enemy
      if (random(10) == 1) {
         set(_root.myselect add ":mytarget", "player");
         set(_root.myselect add ":alert", 3);
      }
   }
}
function cloak() {
   _root.cloaksound.start();
   if (eval("player.playershiptype.cloak") != 1) {
      set("player" add ":playershiptype" add ":cloak", 1);
   } else {
      set("player" add ":playershiptype" add ":cloak", 0);
   }
}
function savemyfleet() {
   i = 0;
   i2 = 0;
   while (i<_root.xArray0) {
      if (shipsgovt[i] == 16) {
         myfleet[i2] = otherships[i2];
         i2++;
      }
      i++;
   }
}
function transport() {
   _root.comp2.start();
   var x = 0;
   if (planet.hitTest(player)) {
      i = 1;
      while (i<10) {
         if (_root.cargoArray[((i-1)*4)+3] == _root.planetArray[0]) {
            _root.loadcomm();
            _root.exptrade += (random(2)+1)*.5;
            set("commpanel" add ":mytype", 13);
            set("commpanel" add ":event", "    You transport "+_root.cargoArray[((i-1)*4)+1]+" tons of "+_root.cargoArray[((i-1)*4)+2]+" to the surface. "+Number(_root.cargoArray[((i-1)*4)+4])+" bars of latinum are beamed to your ship.");
            if (planetPops[myplanet]<0) {
               set("commpanel" add ":event", "    You transport "+_root.cargoArray[((i-1)*4)+1]+" tons of "+_root.cargoArray[((i-1)*4)+2]+" to a transport container in orbit of the planet. "+Number(_root.cargoArray[((i-1)*4)+4])+" bars of latinum are beamed to your ship.");
               var x = 1;
            }
            _root.mylatinum += Number(_root.cargoArray[((i-1)*4)+4]);
            _root.cargoArray[((i-1)*4)+3] = undefined;
            _root.cargoArray[((i-1)*4)+1] = 0;
            _root.cargoArray[((i-1)*4)+2] = "Nothing";
            _root.cargoArray[((i-1)*4)+4] = 0;
            _root.beam.start();
            i = 100;
         }
         i++;
      }
      if (i<100 and planetPops[myplanet]>0) {
         set("playerpanel" add ":mymenu", 0);
         _root.beam.start();
         _root.loadcomm();
         set("commpanel" add ":mytype", 13);
         x = _root.ATmission;
         _root.ATmission = 0;
         set("commpanel" add ":event", "    "+_root.ATArray[(x*2)]+" Prestige adjusts "+Number(_root.ATArray[(x*2)-1])+"%.");
         if (_root.ATArray[(x*2)-1] != 0) {
            _root.expat += (random(2)+1)*.5;
         }
         _root.localprestige[_root.myplanet] += Number(_root.ATArray[(x*2)-1]);
         //check to see if planet should be dominated or not
         if (localprestige[myplanet]>100) {
            //check prestige of all the other planets
            var x = 0;
            var i = 1;
            while (i<=50) {
               if (planetGovts[i] == planetGovts[myplanet] and localprestige[i]<100) {
                  //this planet is not 100% so destruct the conquer variable
                  x = 1;
               }
               i++;
            }
            var i = 1;
            while (i<=50) {
               if (planetGovts[i] == planetGovts[myplanet+num_planets]) {
                  //this planet is an enemy and it still exists, destruct the variable
                  x = 1;
               }
               i++;
            }
            if (x == 0) {
               //if x is still zero, then we have satisfied imperial conquest
               set("commpanel" add ":event", "As you beam down you are unexpectedly greeted by a mob of people. They exhault your triumphs for having destroyed the "+govtArray[planetGovts[myplanet+num_planets]]+" and aided their government so. In a grand ceremony the people crown you emperor of their world. As you depart you smile as a statue of you is erected in the world capitol.");
               _root.planetgovtArray[_root.myplanet] = 3;
               _root.planetGovts[_root.myplanet] = 16;
               _root.localprestige[_root.myplanet] = 100;
               _root.rep[6] = Number(_root.rep[6])+20;
            }
         }
      }
      _root.updatemenu();
   }
   if (_root.wormhole.hitTest(_root.player)) {
      set("playerpanel" add ":mymenu", 0);
      _root.beam.start();
      _root.loadcomm();
      set("commpanel" add ":mytype", 13);
      set("commpanel" add ":event", "You transport an away team into the wormhole. Their last communication is their screams as they emerge from the other side into open space.");
   }
   //colonize
   checkcolonize();
   x1 = getProperty(_root.myselect, _x);
   y1 = getProperty(_root.myselect, _y);
   if (Math.abs(x1-298)<20 and Math.abs(y1-195)<20) {
      mymenu = 0;
      _root.loadcomm();
      _root.beam.start();
      set("commpanel" add ":mytype", 13);
      set("commpanel" add ":event", "Your team beams over to the disabled ship. Burned corpses litter the decks and they pilage what valuables they can find.");
   }
   set(_root.myselect add ":board", 1);
}
function checkcolonize() {
   if (_root.planet.hitTest(_root.player) and _root.planetPops[myplanet]<=0 and _root.planetStrengths[myplanet]<=0 and x != 1) {
      _root.loadcomm();
      _root.beam.start();
      set("commpanel" add ":mytype", 13);
      if (_root.planetgovtArray[_root.myplanet] == 5) {
         set("commpanel" add ":event", "You beam your colonization team to this barren, uninhabitable world and they die seconds later due to the lack of atmosphere. Your crew thinks you have lost your mind.");
      } else {
         if (expat<100) {
            set("commpanel" add ":event", "You beam a colonization team to the surface of this unpopulated world and claim it. Unfortunately because of your lack of away team experience they die within days and the planet remains unpopulated.");
         } else {
            //claim the world
            set("commpanel" add ":event", "You have just made claim to an uninhabited planet, congradulations. Be sure to leave a fleet here or build defense stations to protect it. You may now begin building a civilization here.");
            _root.planetgovtArray[_root.myplanet] = 3;
            _root.planetGovts[_root.myplanet] = 16;
            _root.planetpops[_root.myplanet] = 3;
            _root.planetStrengths[_root.myplanet] = 500;
            _root.localprestige[_root.myplanet] = 100;
            _root.rep[6] = Number(_root.rep[6])+20;
            //or claim it in the name of another government if you have the appropriate flag
            var i = 1;
            while (i<=9) {
               if (_root.mytech[i]+105>=151 and _root.mytech[i]+105<=164) {
                  set("commpanel" add ":event", "You have claimed this planet in the name of the "+govtArray[_root.mytech[i]+105-150]+".");
                  _root.planetgovtArray[_root.myplanet] = 4;
                  _root.planetpops[_root.myplanet] = 3;
                  _root.planetStrengths[_root.myplanet] = 500;
                  _root.planetGovts[_root.myplanet] = _root.mytech[i]+105-150;
                  _root.localprestige[_root.myplanet] = 100;
                  _root.rep[6] = Number(_root.rep[6])+20;
                  var i2 = random(5)+1;
                  while (i2>0) {
                     randomstation(_root.myplanet);
                     i2--;
                  }
               }
               i++;
            }
            checkforwin();
            //code goes here
         }
      }
   }
}

            
   

function hail() {
   if ((_root.myselect == "planet" or _root.myselect == undefined)) {
      if (planet._x>-50 and planet._y>-50 and planet._x<650 and planet._y<500) {
         if (_root.localPrestige[_root.myplanet]>0 or _root.planetpass == 1) {
            _root.loadcomm();
            _root.comm.start();
            set("commpanel" add ":mytype", 4);
            set("commpanel" add ":tradetons", eval("planet.tradetons"));
            set("commpanel" add ":tradegoods", eval("planet.tradegoods"));
            set("commpanel" add ":hazardpay", eval("planet.hazardpay"));
            set("commpanel" add ":tradeplanet", eval("planet.tradeplanet"));
            set("commpanel" add ":tradeplanetnum", eval("planet.p"));
            set("commpanel" add ":tradecost", eval("planet.tradecost"));
            set("commpanel" add ":priceadjust", _root.priceadjust);
         } else {
            _root.loadcomm();
            set("commpanel" add ":mytype", 13);
            var x = "This planet refuses to answer hails. A scan has revealed the following data..."+newline;
            x += "Planet Name: "+planetArray[0]+newline+"Government: "+govtArray[planetGovts[myplanet]]+newline+"Population: "+planetPops[myplanet]+" billion"+newline+"Strength: "+planetStrengths[myplanet];
            set("commpanel" add ":event", x);
            set("playerpanel" add ":infotext", "No Response...");
         }
      } else {
         set("playerpanel" add ":infotext", "You must get closer to the planet to hail it...");
      }
   }
   if (_root.myselect != undefined and _root.myselect != "planet") {
      _root.loadcomm();
      if (eval(_root.myselect add ".mytype") == 85) {
         _root.dist = 0;
         _root.planetclick = eval(_root.myselect add ".shiptype.mydest");
         _root.mapclick();
      }
      if (_root.itemdescArray[((eval(_root.myselect add ".mytype")-1)*16)+16] == 1) {
         set("commpanel" add ":shipclass", _root.itemdescArray[((eval(_root.myselect add ".mytype")-1)*16)+1]);
         set("commpanel" add ":shiptype", eval(_root.myselect add ".mytype"));
         set("commpanel" add ":shipname", eval(_root.myselect add ".myname"));
         set("commpanel" add ":myrace", eval(_root.myselect add ".myrace"));
         set("commpanel" add ":sellgoods", eval(_root.myselect add ".shiptype.sellgoods"));
         set("commpanel" add ":sellcost", eval(_root.myselect add ".shiptype.sellcost"));
         set("commpanel" add ":selltons", eval(_root.myselect add ".shiptype.selltons"));
         set("commpanel" add ":buygoods", eval(_root.myselect add ".shiptype.buygoods"));
         set("commpanel" add ":buycost", eval(_root.myselect add ".shiptype.buycost"));
         set("commpanel" add ":buytons", eval(_root.myselect add ".shiptype.buytons"));
         if (eval(_root.myselect add ".alert") == 3) {
            set(_root.myselect add ":shiptype" add ":myText", "zzzzsssshhhhhh....");
            if (eval(_root.myselect add ".mytarget") == "player") {
               set("commpanel" add ":sell", "Apologize");
               set("commpanel" add ":buy", "");
            }
         }
         set("commpanel" add ":shiptext", eval(_root.myselect add ".shiptype.myText"));
         set("commpanel" add ":mytype", 2);
         if (shipsgovt[eval(_root.myselect add ".myslot")] == 16) {
            removeMovieClip("commpanel");
            addselectship();
         }
      }
      if (_root.itemdescArray[((eval(_root.myselect add ".mytype")-1)*16)+16] == 0 and eval(_root.myselect add ".mytarget") != "player" and eval(_root.myselect add ".mytype") != 85) {
         set("commpanel" add ":stationname", eval(_root.myselect add ".myname")+" - "+_root.stationtypesArray[eval(_root.myselect add ".mytype")-69]);
         if (eval(_root.myselect add ".mytype") == 89) {
            set("commpanel" add ":mytype", 25);
         } else {
            set("commpanel" add ":mytype", 9);
         }
         set("commpanel" add ":stationpic", eval(_root.myselect add ".mytype"));
         set("commpanel" add ":myself", eval(_root.myselect add ".myself"));
         set("commpanel" add ":priceadjust", _root.priceadjust);
         //add trade
         if (eval(_root.myselect add ".shiptype.tradetons")>0) {
            set("commpanel" add ":tradegoods", eval(_root.myselect add ".shiptype.tradegoods"));
            set("commpanel" add ":tradetons", eval(_root.myselect add ".shiptype.tradetons"));
            set("commpanel" add ":tradeplanet", eval(_root.myselect add ".shiptype.tradeplanet"));
            set("commpanel" add ":tradecost", eval(_root.myselect add ".shiptype.tradecost"));
            set("commpanel" add ":tradeplanetnum", eval(_root.myselect add ".shiptype.p"));
            set("commpanel" add ":cargotext", eval(_root.myselect add ".shiptype.tradetons")+" tons of "+eval(_root.myselect add ".shiptype.tradegoods")+newline+newline+"Transport this cargo to "+eval(_root.myselect add ".shiptype.tradeplanet")+". You will be paid "+eval(_root.myselect add ".shiptype.tradecost")+" bars of latinum per ton of cargo you can deliver.");
         } else {
            set("commpanel" add ":cargotext", "There are no trade offers here.");
         }
         //add merchant text
         set("commpanel" add ":merchanttext", eval(_root.myselect add ".shiptype.merchanttext"));
         set("commpanel" add ":merchantData", eval(_root.myselect add ".shiptype.merchantData"));
         set("commpanel" add ":item1", eval(_root.myselect add ".shiptype.item1"));
         set("commpanel" add ":item2", eval(_root.myselect add ".shiptype.item2"));
         set("commpanel" add ":item3", eval(_root.myselect add ".shiptype.item3"));
         set("commpanel" add ":item4", eval(_root.myselect add ".shiptype.item4"));
         set("commpanel" add ":item5", eval(_root.myselect add ".shiptype.item5"));
         set("commpanel" add ":item6", eval(_root.myselect add ".shiptype.item6"));
         //open subspace panel
      }
      if (eval(_root.myselect add ".alert") == 3) {
         set("playerpanel" add ":infotext", "No Response");
      }
   }
}
function buyantimatter() {
   if (_root.planetPops[_root.myplanet]>0) {
      while (_root.mylatinum>=3 and 100-((_root.myantimatter*2*_root.antimatteruse)/(Number(_root.itemdescArray[((_root.playership-1)*16)+3]*100))*100)>0) {
         _root.mylatinum -= 3;
         _root.myantimatter += 1;
         _root.updatemenu();
      }
   } else {
      set("commpanel" add ":itemdesc", "There is no Antimatter available here.");
   }
   if (100-((_root.myantimatter*2*_root.antimatteruse)/(Number(_root.itemdescArray[((_root.playership-1)*16)+3]*100))*100)<=0) {
      set("playerpanel" add ":infotext", "Your antimatter stores are full...");
   }
}
function buydeuranium() {
   if (_root.planetPops[_root.myplanet]>0) {
      if (_root.mylatinum>=1000) {
         _root.mylatinum = Number(_root.mylatinum)-1000;
         _root.mydeuranium += 1000;
         _root.updatemenu();
         set("playerpanel" add ":infotext", "You buy 10 units of deuranium...");
      } else {
         set("playerpanel" add ":infotext", "You do not have enough latinum...");
      }
   } else {
      set("commpanel" add ":itemdesc", "There is no deuranium available here.");
   }
}
function autotarget() {
   var xArray = 0;
   var xtarget = 0;
   while (xArray<_root.xArray0) {
      xArray++;
      var x1 = getProperty(_root.otherships[xtarget], _x);
      var y1 = getProperty(_root.otherships[xtarget], _y);
      var x2 = getProperty(_root.otherships[xArray], _x);
      var y2 = getProperty(_root.otherships[xArray], _y);
      //Math.abs(x2-298)<Math.abs(x1-298) and Math.abs(y2-195)<Math.abs(y1-195)
      if (Math.abs(x2-298)+Math.abs(y2-195)<Math.abs(x1-195)+Math.abs(y1-195) and x2 != undefined and x2 != 0) {
         if ((_root.shipsgovt[xArray] != 16 and autot == 1) or (autot == 0)) {
            var xtarget = xArray;
         }
      }
   }
   if (_root.otherships[xtarget] != _root.myselect and _root.otherships[xtarget] != undefined) {
      _root.deselectobject();
      _root.myselect = _root.otherships[xtarget];
      _root.selectobject();
      set(_root.otherships[xtarget] add ":myselect", 1);
   }
}
function scanship() {
   _root.loadcomm();
   set("commpanel" add ":mytype", 13);
   events = "...Scan complete..."+newline;
   events += "Primary weapon: "+weaponstats[((itemdescArray[((eval(_root.myselect add ".mytype")-1)*16)+11]-1)*9)+1]+newline;
   events += "Secondary weapon: "+weaponstats[((itemdescArray[((eval(_root.myselect add ".mytype")-1)*16)+12]-1)*9)+1]+newline;
   events += "Special: "+weaponstats[((itemdescArray[((eval(_root.myselect add ".mytype")-1)*16)+13]-1)*9)+1]+newline;
   events += "Cargo Aboard: "+eval(_root.myselect add ".shiptype.buytons")+" tons of "+eval(_root.myselect add ".shiptype.buygoods")+newline;
   events += "Government: "+govtArray[shipsgovt[eval(_root.myselect add ".myslot")]]+newline;
   //calculate for combat rating (max 1000)
   var x = eval(_root.myselect add ".totstrength");
   x = Math.floor(x/62);
   if (x>7) {
      x = 7;
   }
   events += "Combat Rating: "+combat[x]+newline;
   if (eval(_root.myselect add ".mytype") == 85) {
      events += "Destination: "+_global.mapnamesarray[eval(_root.myselect add ".shiptype.mydest")];
   }
   set("commpanel" add ":event", events);
}
function passtrain(buytype) {
   if (buytype == 136) {
      var i = 1;
      while (i<=num_planets) {
         if (planetGovts[i] == 1) {
            localprestige[i] = 100;
         }
         i++;
      }
   }
   //set all human planets to 100
   if (buytype == 137) {
      _root.expneg += 50;
   }
   //increase neg skill to max
   if (buytype == 138) {
      asteroidpass = 1;
   }
   //allow asteroids to be beamed
   if (buytype == 139) {
      var i = 1;
      while (i<=num_planets) {
         if (planetGovts[i] == 2) {
            localprestige[i] = 100;
         }
         i++;
      }
   }
   //set all klingon planets to 100
   if (buytype == 140) {
      var i = 1;
      while (i<=num_planets) {
         if (planetGovts[i] == 12) {
            localprestige[i] = 100;
         }
         i++;
      }
   }
   //set all independent planets to 100
   if (buytype == 142) {
      planetpass = 1;
   }
   //allow to comm planets in hostile systems
   if (buytype == 141) {
      weaponpass = 1;
   }
   //allow to use thaleron no prestige loss
   if (buytype == 145) {
      expat += 10;
   }
   //increase at exp
   if (buytype == 146) {
      expeng += 10;
   }
   //increase engineering exp
   if (buytype == 147) {
      expnav += 10;
   }
   //increase nav experience
   if (buytype == 148) {
      exptac += 20;
   }
   //increase tactical exp
}
function addselectship() {
   //first make sure the ship isnt already there
   i = 0;
   i2 = 0;
   while (i<=10) {
      if (selectedfleet[i] == myselect) {
         i2 = 11;
      }
      i++;
   }
   //add ship to the selected array
   while (i2<=10) {
      if (selectedfleet[i2] == undefined) {
         selectedfleet[i2] = myselect;
         i2 = 11;
      }
      i2++;
   }
   //now open the panel and add the ship to the list
   if (getProperty("fleethud", _x) != undefined) {
      removeMovieClip("fleethud");
   }
   if (getProperty("fleethud", _x) == undefined) {
      attachMovie("fleethud", "fleethud", _root.level++);
   }
   //set up the fleet list
   fleethud.shipslist = undefined;
   for (i=0; i<=10; i++) {
      if (selectedfleet[i] != undefined) {
         fleethud.shipslist += eval(selectedfleet[i] add ".myname")+" ("+itemdescArray[((eval(selectedfleet[i] add ".mytype")-1)*16)+1]+")"+newline;
      }
   }
   setProperty("fleethud", _x, 105);
   setProperty("fleethud", _y, 14);
   _root.updatemenu();
}
function explosionwave(maxsize, x, y) {
   attachMovie("explosionwave", "explosionwave" add _root.level, _root.level);
   setProperty("explosionwave" add _root.level, _x, x);
   setProperty("explosionwave" add _root.level, _y, y);
   setProperty("explosionwave" add _root.level, _xscale, 20);
   setProperty("explosionwave" add _root.level, _yscale, 20);
   set("explosionwave" add ":maxsize", maxsize);
   _root.level++;
}
function randomstation(planet) {
   _root.gamedata2 = planet;
   if (planet != undefined) {
      var p = 1;
      while (_root.stationdataArray[p] != undefined) {
         p++;
      }
      buildtype = random(40)+70;
      _root.stationdataArray[p+0] = planet;
      _root.stationdataArray[p+1] = buildtype;
      _root.stationdataArray[p+2] = Number(_root.itemdescArray[((buildtype-1)*16)+3])*-100;
      _root.stationdataArray[p+3] = random(1000)-random(1000);
      _root.stationdataArray[p+4] = random(1000)-random(1000);
      _root.stationdataArray[p+5] = 0;
      _root.stationdataArray[p+6] = random(360);
      _root.stationdataArray[p+7] = _root.stationdefaults[((buildtype-70)*7)+2];
      _root.stationdataArray[p+8] = _root.stationdefaults[((buildtype-70)*7)+3];
      _root.stationdataArray[p+9] = _root.stationdefaults[((buildtype-70)*7)+4];
      _root.stationdataArray[p+10] = _root.stationdefaults[((buildtype-70)*7)+5];
      _root.stationdataArray[p+11] = _root.stationdefaults[((buildtype-70)*7)+6];
      _root.stationdataArray[p+12] = _root.stationdefaults[((buildtype-70)*7)+7];
      _root.stationdataArray[p+13] = "S-" add random(1000);
   }
}
function zoomout() {
   zoom *= 2;
   setProperty("player", _xscale, getProperty("player", _xscale)/2);
   setProperty("player", _yscale, getProperty("player", _yscale)/2);
   setProperty("planet", _xscale, getProperty("planet", _xscale)/2);
   setProperty("planet", _yscale, getProperty("planet", _yscale)/2);
   setProperty("repairmodule", _xscale, getProperty("repair", _xscale)/2);
   setProperty("repairmodule", _yscale, getProperty("repair", _yscale)/2);
   var x = (298-getProperty("planet", _x))/2;
   var y = (195-getProperty("planet", _y))/2;
   setProperty("planet", _x, 298-x);
   setProperty("planet", _y, 195-y);
   var i = 1;
   while (i<=_root.xArray0) {
      if (otherships[i] != undefined) {
         setProperty(otherships[i], _xscale, getProperty(otherships[i], _xscale)/2);
         setProperty(otherships[i], _yscale, getProperty(otherships[i], _yscale)/2);
         var x = (298-getProperty(otherships[i], _x))/2;
         var y = (195-getProperty(otherships[i], _y))/2;
         setProperty(otherships[i], _x, 298-x);
         setProperty(otherships[i], _y, 195-y);
      }
      i++;
   }
}
function zoomin() {
   zoom /= 2;
   setProperty("player", _xscale, getProperty("player", _xscale)*2);
   setProperty("player", _yscale, getProperty("player", _yscale)*2);
   setProperty("planet", _xscale, getProperty("planet", _xscale)*2);
   setProperty("planet", _yscale, getProperty("planet", _yscale)*2);
   setProperty("repairmodule", _xscale, getProperty("repair", _xscale)*2);
   setProperty("repairmodule", _yscale, getProperty("repair", _yscale)*2);
   var x = (298-getProperty("planet", _x))*2;
   var y = (195-getProperty("planet", _y))*2;
   setProperty("planet", _x, 298-x);
   setProperty("planet", _y, 195-y);
   var i = 1;
   while (i<=_root.xArray0) {
      if (otherships[i] != undefined) {
         setProperty(otherships[i], _xscale, getProperty(otherships[i], _xscale)*2);
         setProperty(otherships[i], _yscale, getProperty(otherships[i], _yscale)*2);
         var x = (298-getProperty(otherships[i], _x))*2;
         var y = (195-getProperty(otherships[i], _y))*2;
         setProperty(otherships[i], _x, 298-x);
         setProperty(otherships[i], _y, 195-y);
      }
      i++;
   }
}
function findclosest(me, govt) {
   var xArray = 0;
   var xtarget = 0;
   while (xArray<_root.xArray0) {
      xArray++;
      var myx = getProperty(me, _x);
      var myy = getProperty(me, _y);
      var x1 = getProperty(_root.otherships[xtarget], _x);
      var y1 = getProperty(_root.otherships[xtarget], _y);
      var x2 = getProperty(_root.otherships[xArray], _x);
      var y2 = getProperty(_root.otherships[xArray], _y);
      if ((Math.abs(x2-myx)<Math.abs(x1-myx) or Math.abs(y2-myy)<Math.abs(y1-myy)) and x2 != undefined and x2 != 0) {
         if (_root.shipsgovt[xArray] == govt) {
            var xtarget = xArray;
         }
      }
   }
   return xtarget;
}
function savegame() {
   local_data = SharedObject.getLocal(gamename);
   local_data.data.experience = [expneg, expat, expeng, exptac, exptrade, expbuild, expnav];
   local_data.data.passes = [asteroidpass, planetpass, weaponpass, bajoransail, warpcore];
   local_data.data.playership = playership;
   local_data.data.weapons = [weapon1, weapon2, weapon3];
   local_data.data.ops = [opsreserves, opsengines, opsweapons, opsshields];
   local_data.data.govts = planetGovts;
   local_data.data.pops = planetPops;
   local_data.data.planetstrengths = planetStrengths;
   local_data.data.resources = [mylatinum, mydeuranium, myantimatter];
   local_data.data.govtarray = planetGovtArray;
   local_data.data.prestige = localprestige;
   local_data.data.stationdata = stationDataArray;
   local_data.data.myfleet = myfleet;
   local_data.data.myweapons = myweapons;
   local_data.data.mytech = mytech;
   local_data.data.race = race;
   local_data.data.mybuild = mybuild;
   local_data.data.myplanet = myplanet;
   local_data.data.rep = rep;
   local_data.data.names = [myname, myshipname, mygovtname];
   local_data.data.ship_ins = ship_ins;
   local_data.flush();
}
function loadgame() {
   local_data = SharedObject.getLocal(gamename);
   expneg = local_data.data.experience[0];
   expat = local_data.data.experience[1];
   expeng = local_data.data.experience[2];
   exptac = local_data.data.experience[3];
   exptrade = local_data.data.experience[4];
   expbuild = local_data.data.experience[5];
   expnav = local_data.data.experience[6];
   asteroidpass = local_data.data.passes[0];
   planetpass = local_data.data.passes[1];
   weaponpass = local_data.data.passes[2];
   bajoransail = local_data.data.passes[3];
   warpcore = local_data.data.passes[4];
   playership = local_data.data.playership;
   weapon1 = local_data.data.weapons[0];
   weapon2 = local_data.data.weapons[1];
   weapon3 = local_data.data.weapons[2];
   opsreserves = local_data.data.ops[0];
   opsengines = local_data.data.ops[1];
   opsweapons = local_data.data.ops[2];
   opsshields = local_data.data.ops[3];
   planetGovts = local_data.data.govts;
   planetPops = local_data.data.pops;
   planetStrengths = local_data.data.planetstrengths;
   mylatinum = local_data.data.resources[0];
   mydeuranium = local_data.data.resources[1];
   myantimatter = local_data.data.resources[2];
   planetGovtArray = local_data.data.govtarray;
   localprestige = local_data.data.prestige;
   stationDataArray = local_data.data.stationdata;
   myfleet = local_data.data.myfleet;
   myweapons = local_data.data.myweapons;
   mytech = local_data.data.mytech;
   mybuild = local_data.data.mybuild;
   myplanet = local_data.data.myplanet;
   race = local_data.data.race;
   rep = local_data.data.rep;
   myname = local_data.data.names[0];
   myshipname = local_data.data.names[1];
   mygovtname = local_data.data.names[2];
   ship_ins = local_data.data.ship_ins;
}
function checkforwin() {
   var syscheck = new Array();
   var sys = 1;
   //check for earth govt
   while (sys<=16) {
      var w = 1;
      while (w<=50) {
         if (planetGovts[w] == sys) {
            syscheck[sys]++;
         }
         w++;
      }
      sys++;
   }
   var w = 0;
   var newship = undefined;
   if (syscheck[1]>45) {
      w = 1;
      newship = 60;
      events = "The Earth Empire has dominated the galaxy, thanks to your efforts. Congradulations. As reward, you have been promoted to Fleet Commander and have been given command of the new Dreadnaught Class Warship.";
   }
   if (syscheck[2]>45) {
      w = 1;
      newship = 61;
      events = "The Klingon Empire has dominated the galaxy, thanks to your efforts. Qa'Pla! As reward, you are promoted to Supreme Commander, and given command of the fleet flagship, a Fek'Lhr Class Warship.";
   }
   if (syscheck[3]>45) {
      w = 1;
      newship = 62;
      events = "The Cardassian Union has dominated the galaxy, thanks to your efforts. Well done! As reward, you are promoted to Imperial Gul, and given command of the newest Keplar Class Warship.";
   }
   if (syscheck[5]>45) {
      w = 1;
      newship = 63;
      events = "The Vulcan Command has taken control of the galaxy, spreading logic and peace throughout the land. As thanks for your valiant efforts, the Vulcans have genetically re-engineered your body into a space-dwelling lifeform.";
   }
   if (syscheck[6]>45) {
      w = 1;
      newship = 64;
      events = "The Romulan Empire has conquered the galaxy and driven out the barbarian races. You are promoted to Imperial Commander and given command of the new BLANK Warbird.";
   }
   if (syscheck[7]>45) {
      w = 1;
      events = "The Ferengi Alliance now controls the greater part of the galaxy. Although you were mostly responsible for this effort, the Grand Nagus takes all of the credit and greedily shows you to the door. You should never have trusted the Ferengi.";
   }
   if (syscheck[13]>45) {
      w = 1;
      newship = 65;
      events = "After years of struggle the Dominion have claimed ownership of the galaxy. The humans are crushed, and all fall to the power of the Dominion. A new grand battleship is constructed, and you are assigned to command it.";
   }
   if (syscheck[16]>45) {
      w = 1;
      newship = 66;
      events = "After years of stuggle you finally seat yourself on the imperial throne of your home planet. You are emperor of the galaxy. With you vast wealth and resources you construct a warship more powerful than anything the galaxy has seen.";
   }
   if (w == 1) {
      _root.loadcomm();
      set("commpanel" add ":mytype", 13);
      set("commpanel" add ":event", events);
   }
   if (newship != undefined) {
      _root.playership = newship;
      _root.myantimatter = 10;
      _root.myenergy = undefined;
      _root.myweapons = undefined;
      _root.weapon1 = undefined;
      _root.weapon2 = undefined;
      _root.weapon3 = undefined;
      _root.myshields = undefined;
      _root.loadplayer();
      _root.shiplaunch.start();
   }
}
function loadweapon(weaptype, slot, x) {
   //first check to see if I CAN load it
   //count the number of devices that I have of this type
   i = 1;
   count = 0;
   while (i<=9) {
      if (_root.myweapons[i] == weaptype-105) {
         count++;
      }
      i++;
   }
   //now count the number of them I already have loaded
   count2 = 0;
   if (_root.weapon1 == _root.myweapons[x]) {
      count2++;
   }
   if (_root.weapon2 == _root.myweapons[x]) {
      count2++;
   }
   if (_root.weapon3 == _root.myweapons[x]) {
      count2++;
   }
   //load the thing
   //now, if I am trying to load more than I have, remove the first one available and put it in the slot requested
   if (count<=count2) {
      i = 1;
      if (_root.weapon1 == _root.myweapons[x] and i == 1) {
         _root.weapon1 = 100;
         i = 2;
      }
      if (_root.weapon2 == _root.myweapons[x] and i == 1) {
         _root.weapon2 = 100;
         i = 2;
      }
      if (_root.weapon3 == _root.myweapons[x] and i == 1) {
         _root.weapon3 = 100;
         i = 2;
      }
   }
   if (slot == 1) {
      _root.weapon1 = _root.myweapons[x];
      _root.weapon1timer = Number(_root.weaponstats[((_root.weapon1-1)*9)+6]);
      _root.totweapon1timer = _root.weapon1timer;
   }
   if (slot == 2) {
      _root.weapon2 = _root.myweapons[x];
      _root.weapon2timer = Number(_root.weaponstats[((_root.weapon2-1)*9)+6]);
      _root.totweapon2timer = _root.weapon2timer;
   }
   if (slot == 3) {
      _root.weapon3 = _root.myweapons[x];
      _root.weapon3timer = Number(_root.weaponstats[((_root.weapon3-1)*9)+6]);
      _root.totweapon3timer = _root.weapon3timer;
   }
   mymenu = 1;
   set("playerpanel" add ":infotext", "Weapon loaded...");
   setProperty("weap1", _alpha, 100);
   setProperty("weap2", _alpha, 100);
   setProperty("weap3", _alpha, 100);
   updatemenu();
}
function help(text) {
   if (help == 1) {
      removeMovieClip("help_window");
      attachMovie("help_window", "help_window", 10001);
      setProperty("help_window", _xscale, 0);
      setProperty("help_window", _yscale, 0);
      set("help_window" add ":helpbox", text);
   }
}


avatar
SilverShadows
Admin
Admin

Posts : 6708
Join date : 2009-08-09
Age : 24
Location : Guildford, United kingdom

http://brokenmirror.forumotion.co.uk

Back to top Go down

Re: source codes

Post by SilverShadows on Sun Mar 14, 2010 1:19 pm

sorry about the multiple posts i kept hitting the char limit


avatar
SilverShadows
Admin
Admin

Posts : 6708
Join date : 2009-08-09
Age : 24
Location : Guildford, United kingdom

http://brokenmirror.forumotion.co.uk

Back to top Go down

Re: source codes

Post by Sponsored content


Sponsored content


Back to top Go down

Page 1 of 2 1, 2  Next

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum