The WC interactive Flash navigation map

Zal

Spaceman
You probably never heard of me, well neither did I of you untill the WCU team asked me to make a Flash navigation map. And here it is.

It's externaly feed, which means all it's system information (name, position, system type, jump lines, each jump line type, description) is loaded from external files. The program generates all systems on stage at each runtime. All for making updating more eficient.
It's interactive, it has many sroll, zoom options like scroll-click, scoll-drag, zoom-select and many more (you can see descriptions in 'help').

The programing and all vector graphics were made made by me, Zalmodegikos. You can contact me for payed and free projects at zalmodegikos14@yahoo.com (I reguraly use yahoo messenger).

The 'legend' is not yet accesible but will be made so soon. The curent systems use abstract names and all the jump line types.
navMapZ: >> http://www.libertyconf.go.ro/nav/ <<
Hope you enjoy using it!

This project can be adapted to any WC universe.
The WCU team is curently working on populating the navMapZ's data base with real and useful data.
 

criticalmass

Vice Admiral
Neat. Now I finally have something for my other PCs to do while I play WC games...

Good work, Zal - and good luck on your quest for the newline tag.
 

Zal

Spaceman
criticalmass said:
Good work, Zal - and good luck on your quest for the newline tag.
Thanqiu.
As it can be seen in that description I eventulay found time to google some tags, just forgot to remove the text, oh well...
 

Zal

Spaceman
THANK YOU for your words.
Here is an improved tutorial about writing and updating the data bases.

File 1:
Code:
Contains all information necesary for creating systems. 
  
	Terran Confederation            > terran
	Kilrathi Assembly of Clans	> kilrathi
	Union of Border Worlds		> union
	Free Republic of the Landreich  > free 
	Grovsner Colonies		> grovsner	
	Tri-System Confederacy		> tri-sys
	Oasian Neutral System		> oasian
	Firekkan Planetary Alliance	> firakkan
	Unexplored System		> unexplored


var listSys:Array = Array(
"nume1 > 333,222 > terran",
"nume2 > 222,111 > kilrathi",
"nume3 > 444,444 > union",
"nume4 > 700,700 > free" );

1. "nume1" -- The name of the system, can contain anything except "\" and " > ". Spaces are alowed.
2. " > " -- It must be wrote "[space]>>[space]". The program searches exactly for " > ".
3. "130,20" -- The x and y coordinates of the system. They should be separated by a comma. No spaces are alowed.
4. "terran" -- The type of system. Can be any of the nine abbreviations presented at the start of the code.



File 2:
Code:
Contains all information necesary for creating jump lines. 
	
	Jump Line 		> jump
	Pulsar Jump Line 	> pulsar
	Scylla Jump Line 	> scylla
	Charybdis Jump Line	> chary


var listJump:Array = Array(
"nume1 > nume2|jump, nume3|pulsar, nume4|scylla",
"nume2 > nume1|jump",  
"nume3 > nume1|pulsar, nume4|chary",
"nume4 > nume1|scylla, nume3|chary" );

1. "nume1" -- The name of the system, can contain anything except "\" and " > ". Spaces are alowed.
2. " > " -- It must be wrote "[space]>>[space]". The program searches exactly for " > ".
3. "nume2", "nume3", "nume4" -- The systems where each jump line ends. The destination systems can be in any order.
4. "|jump" -- The type of jump line. Can be any of the four abbreviations presented at the start of the code. Each type should start with a "|" character. No spaces are alowed.
5. ", " -- Each jump line type, except the last one, should be ended with a ",[space]".



File 3:
Code:
Contains text information about each system.
HTML tags can be used for the descriptions. 

var listInfo:Array = Array(
"nume1 > <b>Title</b><br>Information displayed with normal text.",
"nume2 > <b>nume2</b><br>Information displayed with normal text.",  
"nume3 > Almost any HTML tag can be used",
"nume4 > <b>Bold title</b><br>Bold text.</b>" );
1. "nume1" -- The name of the system, can contain anything except "\" and " > ". Spaces are alowed.
2. " > " -- It must be wrote "[space]>>[space]". The program searches exactly for " > ".
3. "<b>Title</b><br>Info..." -- Information. Almost any HTML tag can be used.

Tips:
1. You can enclose an entry in " " or ' ' but not in ' " or " '. To keep the code readable, please use " ".
2. Entrys can be created in a any order.
3. All names are case sensitive.
4. HTML tag guides can be found at:
http://www.w3schools.com/html/html_reference.asp
http://www.htmlhelp.com/reference/wilbur/list.html
http://www.devx.com/projectcool/Article/17865


The map at https://www.wcnews.com/maps/avalon-1.htm should be used as guide.

X, y coordinates guide:

For this tutorial lets call a sector the smallest zone enclosed in 4 grid lines.
A sector has a width of 200 pixels and a height of 200 pixels.
The origin of the x and y axes is in the top left corner of the map. So the entire map is 2000 by 1600 pixels and it has 10 by 8 sectors.
Don't understand something or anything, post your questions in this thread.

Text files containing data should be directed to zalmodegikos14@yahoo.com.
THANK YOU.
 
Last edited by a moderator:

Bandit LOAF

Long Live the Confederation!
Am I doing this correctly? This is the Williams Quadrant, Avalon Sector.

var listSys:Array = Array(
"TCSC3102 > 413,55 > unexplored",
"Grajeda > 166,163 > terran",
"Giunta > 370,172 > terran",
"El Dorado > 526,230 > terran",
"Hermann > 365,298 > terran",
"Carloss > 174,354 > terran",
"Mira > 81,427 > terran",
"TCSC1569 > 163,547 > unexplored",
"Kier > 296,448 > terran",
"Leon > 411,469 > terran",
"Paylode > 506,406 > terran",
"McCall > 514,533 > terran");

var listJump:Array = Array(
"TCSC3102 > Giunta|jump",
"Grajeda > Giunta|jump",
"Giunta > TCSC3102|jump, Grajeda|jump, El Dorado|jump",
"El Dorado > Giunta|jump, Hermann|jump, Avalon|jump",
"Hermann > El Dorado|jump, Carloss|jump",
"Carloss > Mira|jump, Hermann|jump",
"Mira > Carloss|jump",
"TCSC1569 > Kier|jump",
"Kier > TCSC1569|jump, Leon|jump",
"Leon > Kier|jump, McCall|jump",
"Paylode > Avalon|jump",
"McCall > Leon|jump, Avalon|jump, Perseus|jump");
 

Zal

Spaceman
Bandit LOAF said:
Am I doing this correctly? This is the Williams Quadrant, Avalon Sector.

I have made a mistake in my helper program, here is a corected version, it also includes some minor upgrades:
>> www.libertyconf.go.ro/nav/helper2.zip <<

LOAF, your jump line data was perfect, worked from the first try.
Your position data was also corect but the that version of the program had a bug in it so it made misscalculations. I have remade de coordonates for those systems with the new version and it worked grate.

It seems I was wrong about something in my tutorial, the order of entrys in file1 and file2 MUST be the same. That script is complex and I am trying to fix this limitation. But it could take some time, so bether just write them in the same order.

I'll update the online version of the data base with these entrys so you can see the results.
I know icons, colors, fonts, still need some work but are very easy to modify.
 

Zal

Spaceman
Bandit LOAF said:
Okay, so is the Challenger Quadrant (one unit to the right) Sector 1x2 or Sector 2x1?

As you go to the RIGHT you add to the FIRST NUMBER.

As you go DOWN you add to the SECOND NUMBER.
 

KrisV

Administrator
Just nitpicking, but isn't it convention to have matrix coordinates in row, column format?

Code:
a11  a12  a13
a21  a22  a23
a31  a32  a33
 

Bandit LOAF

Long Live the Confederation!
Okay, try this and see if I'm still doing it right!

Avalon Sector, Challenger Quadrant

var listSys:Array = Array(
"Avalon > 222,153 > terran",
"Babel > 326,129 > terran",
"Baroda > 305,103 > terran",
"Britannia > 282,166 > terran",
"Cibola > 305,24 > terran",
"Dallas > 371,9 > terran",
"Dis > 274,56 > terran",
"Elena > 323,165 > terran",
"Gomorrah > 377,43 > terran",
"Haven > 379,95 > terran",
"Jericho > 354,182 > terran",
"New Atlantis > 292,128 > terran",
"Panama > 245,118 > terran",
"Sheol > 277,90 > terran",
"Sodom > 345,61 > terran",
"Tanis > 317,79 > terran",
"Ubar > 231,82 > terran",
"Xualla > 226,38 > terran",
"Deep Space > 313,56 > deepspace" );

var listJump:Array = Array(
"Avalon > Uber|jump, Britannia|jump, El Dorado|jump, McCall|jump, Paylode|jump",
"Babel > New Atlantis|jump, Jericho|jump",
"Baroda > Sheol|jump, Haven|jump, Panama|jump",
"Britannia > New Atlantis|jump, Elena|jump, Avalon|jump",
"Cibola > Dis|jump, Gomorrah|jump",
"Dallas > Dallas|jump",
"Dis > Cibola|jump, Tanis|jump, Xualla|jump",
"Elena > Britannia|jump",
"Gomorrah > Sodom|jump, Cibola|jump",
"Haven > Tanis|jump, Baroda|jump, Jericho|jump, J900|jump",
"Jericho > Babel|jump, Haven|jump",
"New Atlantis > Britannia|jump, Babel|jump",
"Panama > Baroda|jump",
"Sheol > Baroda|jump, Deep Space|jump",
"Sodom > Gomorrah|jump",
"Tanis > Haven|jump, Dis|jump",
"Ubar > Xualla|jump, Avalon|jump",
"Xualla > Dis|jump, Ubar|jump",
"Deep Space > Sheol|jump" );

This quadrant will probably require two changes to the flash dealy.

For "Deep Space", we need a variable (like 'terran' or 'unexplored') that has no icon. I called it 'deepspace'.

The "Dallas" system is a special jump that goes only to itself - you can see how it's supposed to look here: https://www.wcnews.com/maps/avalon-2.htm . Can you make it so telling a system to jump to itself will result in such a circlular line?
 
Last edited by a moderator:

Zal

Spaceman
KrisV said:
Just nitpicking, but isn't it convention to have matrix coordinates in row, column format?
Code:
a11  a12  a13
a21  a22  a23
a31  a32  a33
I don't realy understand what your saying here.

Bandit LOAF said:
Okay, try this and see if I'm still doing it right!
The data works grate.
As the universe gets biger I cand see how the program behaves, I'm am constantly depeloping it so don't be disapointed, yet, because of slow performance or pink graphics.


This quadrant will probably require two changes to the flash dealy.
For "Deep Space", we need a variable (like 'terran' or 'unexplored') that has no icon. I called it 'deepspace'.
Let's call it 'space'.

The "Dallas" system is a special jump that goes only to itself - you can see how it's supposed to look here: https://www.wcnews.com/maps/avalon-2.htm. Can you make it so telling a system to jump to itself will result in such a circlular line?
Yes, this can be done but will requier time.

I'm not going to update the online version because it takes time and I would prefer to work.
TanGO said:
Links are broken?
Some weird things hapen with those links.
They seem to work with IE but not with Firefox.
Try opening them with IE or directly from your download manager.
 
Last edited by a moderator:

Nullki

Spaceman
So is the final program (that creates the flash image on the website linked from the newspost) going to be made publicly available along with this tool (once you've finished creating it)?

Strikes me that it'd be a mighty powerful tool for performing campaigns and all that (springing to mind immediately is the forum based fleet centric wc rpg newsposted a while back).
 

TrashCan

Spaceman
Looks great! I do wonder if it will ever go public, I'm creating a own Scifi universe, and I need something like this for planning and background info! :D Great, really great work!
 
Top