The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
June 19, 2024, 04:43:30 pm
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  General UQM Discussion (Moderator: Death 999)
| | |-+  UQM Hyperspace Map/Planetary Database Project
« previous next »
Pages: 1 [2] 3 4 ... 6 Print
Author Topic: UQM Hyperspace Map/Planetary Database Project  (Read 22778 times)
Sage
*Many bubbles*
***
Offline Offline

Gender: Male
Posts: 234



View Profile WWW
Re: Insane Undertaking: Hyperspace Image Map
« Reply #15 on: September 23, 2003, 08:10:31 am »

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
Paxtez
*Many bubbles*
***
Offline Offline

Gender: Male
Posts: 130


Joystick Jedi


View Profile
Re: Insane Undertaking: Hyperspace Image Map
« Reply #16 on: September 23, 2003, 09:54:41 am »

Cool.  Any chance on making it zoomable or adding a search function?
Logged

....Paxtez....
J
Frungy champion
**
Offline Offline

Posts: 90


Submit or die.


View Profile
Re: Insane Undertaking: Hyperspace Image Map
« Reply #17 on: September 23, 2003, 01:10:12 pm »

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 Offline

Gender: Male
Posts: 234



View Profile WWW
Re: Insane Undertaking: Hyperspace Image Map
« Reply #18 on: September 23, 2003, 01:17:13 pm »

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 Offline

Gender: Male
Posts: 3873


We did. You did. Yes we can. No.


View Profile
Re: Insane Undertaking: Hyperspace Image Map
« Reply #19 on: September 23, 2003, 08:56:29 pm »

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 Offline

Gender: Male
Posts: 917


Vlik Dweller


View Profile
Re: Insane Undertaking: Hyperspace Image Map
« Reply #20 on: September 24, 2003, 02:09:30 am »

what are all the diff symbols.
Logged

Culture20
Enlightened
*****
Offline Offline

Posts: 917


Thraddash Flower Child


View Profile
Re: Insane Undertaking: Hyperspace Image Map
« Reply #21 on: September 24, 2003, 02:41:16 am »

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 Offline

Gender: Male
Posts: 234



View Profile WWW
Re: Insane Undertaking: Hyperspace Image Map
« Reply #22 on: September 24, 2003, 07:17:51 am »

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 Offline

Gender: Male
Posts: 3873


We did. You did. Yes we can. No.


View Profile
Re: Insane Undertaking: Hyperspace Image Map
« Reply #23 on: September 24, 2003, 07:27:30 pm »

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 Offline

Gender: Male
Posts: 234



View Profile WWW
Re: Insane Undertaking: Hyperspace Image Map
« Reply #24 on: September 24, 2003, 08:16:34 pm »

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 Offline

Gender: Male
Posts: 3873


We did. You did. Yes we can. No.


View Profile
Re: Insane Undertaking: Hyperspace Image Map
« Reply #25 on: September 24, 2003, 09:33:12 pm »

The blinking just acted weird some of the time, on Safari, that's all.
Logged
Sage
*Many bubbles*
***
Offline Offline

Gender: Male
Posts: 234



View Profile WWW
Re: Insane Undertaking: Hyperspace Image Map
« Reply #26 on: September 25, 2003, 01:56:14 am »

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 Offline

Gender: Male
Posts: 917


Vlik Dweller


View Profile
Re: Insane Undertaking: Hyperspace Image Map
« Reply #27 on: September 25, 2003, 02:02:38 am »

nice. i like how u got it to flash between appropriate colors (item, homeworld)
Logged

Sage
*Many bubbles*
***
Offline Offline

Gender: Male
Posts: 234



View Profile WWW
Re: Insane Undertaking: Hyperspace Image Map
« Reply #28 on: October 03, 2003, 06:54:24 pm »

*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
Spurk
*Many bubbles*
***
Offline Offline

Posts: 115



View Profile
Re: Insane Undertaking: Hyperspace Image Map
« Reply #29 on: October 03, 2003, 07:24:25 pm »

Quote
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.

Using Javascript, you can scale an image quite easily. Just multiply the image width and height by whatever factor is necessary.

But I can't think of a way to do Javascript drawing like you describe.
Logged
Pages: 1 [2] 3 4 ... 6 Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!