Pages: 1 [2] 3 4 ... 6
|
|
|
Author
|
Topic: UQM Hyperspace Map/Planetary Database Project (Read 23129 times)
|
Sage
*Many bubbles*
Offline
Gender:
Posts: 234
|
You, my friend, are a genius and an inspiration. After taking your comments and using the data McMartin provided, as well as a formula or two from f0ssil, I managed to generate a new hyperspace map from the UQM source. This version has much smaller filesize than the original, and measures at a perfect 2000x2000.
Perl is my bestest friend! ^_^
|
|
« Last Edit: September 23, 2003, 08:12:21 am by sageallen »
|
Logged
|
|
|
|
|
J
Frungy champion
Offline
Posts: 90
Submit or die.
|
I have a database of all the stars in SC2 which I use to render the SC2 map in realtime.
What I really need to complete it is the colour and size of each star so that I can render cool lighting effects
|
|
|
Logged
|
|
|
|
Sage
*Many bubbles*
Offline
Gender:
Posts: 234
|
Update: Spheres of inflence have been added. I am aware that the "corners" of the sphere images will cause a popup to activate. It will be addressed at a later point (in other words, I've worked on this for too long today and am tired of it for now).
Zooming is questionable at this point...it would be possible, but might not be feasible the way this has been coded together. Plus I'd have to find some way to generate dynamic circles. Searching is much more feasible and something I'll look into when/if I get to the database part of this project.
As for the colors of the stars, this might be of some use to you. It's a quick and dirty file I generated with my star script, and yes it's not formatted well, but it has all the information you'd need.
|
|
« Last Edit: September 23, 2003, 01:32:05 pm by sageallen »
|
Logged
|
|
|
|
Death 999
Global Moderator
Enlightened
Offline
Gender:
Posts: 3873
We did. You did. Yes we can. No.
|
This is pretty cool! It works on Safari, but not on iCab.
Furthermore, you could in the future expand it so each star linked to a page that was the map of its solar system... but that would require either tons of grunt work, or extracting the solar system-generating code into a drawing program.
|
|
|
Logged
|
|
|
|
Chrispy
Enlightened
Offline
Gender:
Posts: 917
Vlik Dweller
|
what are all the diff symbols.
|
|
|
Logged
|
|
|
|
Culture20
Enlightened
Offline
Posts: 917
Thraddash Flower Child
|
Ooo! You've got little circles for plot-related stars, rainbow worlds, and home-worlds. If by "diff symbols" chrispy means the [][] (box characters) in the titles, I think that they are CR/LF being read incorrectly by mozilla/netscape (I get two boxes instead of a newline).
|
|
|
Logged
|
|
|
|
Sage
*Many bubbles*
Offline
Gender:
Posts: 234
|
White: Rainbow Worlds Green: Homeworlds Red: Something of importance, usually an item.
Sol is marked for the moonbase, and the Sa-Matra world is marked just because it was in the game's star generation code. I wonder if I should count the Slylandro destruct code as an item on this map? Or should I count the Burvixese homeworld as a homeworld? Note that I did so for the Androsynth.
I did end up removing a few useless entries from this, however. Namely Vela (since the circle makes hovering over Zeeman impossible), and Organon (since you never actually have to go there anyhow).
Originally I had all three circles flashing in such a way that you'd always be able to see one type, but never the other two. This was quickly changed to the current patterns due to some lag caused by all the animations at once. After all, rainbow worlds never have anything else on them, and only a few homeworlds have items to speak of.
Note to self: Add entry for Umgah Caster's location.
|
|
« Last Edit: September 24, 2003, 07:20:06 am by sageallen »
|
Logged
|
|
|
|
Death 999
Global Moderator
Enlightened
Offline
Gender:
Posts: 3873
We did. You did. Yes we can. No.
|
You haven't listed the egg cases as items... wait a moment... there they are! Why do you still have some of the items blinking?
|
|
« Last Edit: September 24, 2003, 07:28:54 pm by Death_999 »
|
Logged
|
|
|
|
Sage
*Many bubbles*
Offline
Gender:
Posts: 234
|
All the item locations blink. I did that because items tend to be at homeworlds, and I wouldn't want to obscure homeworld locations.
|
|
|
Logged
|
|
|
|
Death 999
Global Moderator
Enlightened
Offline
Gender:
Posts: 3873
We did. You did. Yes we can. No.
|
The blinking just acted weird some of the time, on Safari, that's all.
|
|
|
Logged
|
|
|
|
Sage
*Many bubbles*
Offline
Gender:
Posts: 234
|
Update: Quasispace exits have been added. I've also framed the map and put toggle controls for every object on the map except stars. Every "type" of object has a checkbox to make all of that type visible, and you can individually toggle spheres of influence.
|
|
|
Logged
|
|
|
|
Chrispy
Enlightened
Offline
Gender:
Posts: 917
Vlik Dweller
|
nice. i like how u got it to flash between appropriate colors (item, homeworld)
|
|
|
Logged
|
|
|
|
Sage
*Many bubbles*
Offline
Gender:
Posts: 234
|
*bump*
After a bit of a hiatus from this, I found some random inspiration. Using the script I built to generate the static hyperspace.html, I made a zoomable starmap. Once I can figure on a way to get it into the framed layout and be able to adjust the zoom, this map will be compatible with all the togglable images set for it except the spheres of influence.
On that note, I'd like to know if any of you know of a way to generate circles via javascript or some other method I can use in a webpage. If I cannot find a way at this, I'll just have to make circle images for every zoom level I intend to use. Obviously this is a pain, but one I'm willing to work with if necessary.
http://www.customc.net/cgi-bin/starmap.cgi?factor=2
The "factor=2" in the URL sets this to the size I had it when it was originally generated as html. This value can conceivably be set as high or as low as you like (use decimals, not fractions). Play with that variable and see what happens.
|
|
« Last Edit: October 03, 2003, 06:57:41 pm by sageallen »
|
Logged
|
|
|
|
|
Pages: 1 [2] 3 4 ... 6
|
|
|
|
|