The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
November 10, 2024, 04:18:42 am
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
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  audio (preferably the music)
« previous next »
Pages: [1] Print
Author Topic: audio (preferably the music)  (Read 3468 times)
JHGuitarFreak
Enlightened
*****
Offline Offline

Posts: 1374



View Profile WWW
audio (preferably the music)
« on: February 19, 2006, 12:09:40 am »


I'm trying to find out which source file handles the music filenames and directory, the closest thing i have found so far is "imusicre.h", and if that is the file, how does it work?
Logged

The artist once again known as Kohr-Ah Death 213.

Get your MegaMod HERE
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: audio (preferably the music)
« Reply #1 on: February 19, 2006, 12:36:37 am »

Files are historically referenced through resource numbers, such as the ones in imusicre.h. They are explained in doc/devel/resources, and there are files like starcon.lst that map these numbers to file names.
Since 0.5 these index files are in a plain-text format.
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
JHGuitarFreak
Enlightened
*****
Offline Offline

Posts: 1374



View Profile WWW
Re: audio (preferably the music)
« Reply #2 on: February 19, 2006, 02:44:04 am »

thanks man Smiley
Logged

The artist once again known as Kohr-Ah Death 213.

Get your MegaMod HERE
JHGuitarFreak
Enlightened
*****
Offline Offline

Posts: 1374



View Profile WWW
Re: audio (preferably the music)
« Reply #3 on: February 19, 2006, 03:56:20 am »

i'm just gonna hijack my own post with another question...

 would it be possible to actually create my own stars?
and have star systems of my own?

of course i usually figure things out by trial and error (thats how i made the fmv mod) but this seems something that you guys would know for sure.

and if theres anything specific i might need to know, please tell.
Logged

The artist once again known as Kohr-Ah Death 213.

Get your MegaMod HERE
Michael Martin
Core Team
*Smell* controller
*****
Offline Offline

Posts: 387



View Profile
Re: audio (preferably the music)
« Reply #4 on: February 19, 2006, 04:03:46 am »

If you don't care about the contents of the systems, the plandata.c file holds the star information.  Moving stars around is pretty easy; you might have Issues with plot elements or the creation of new constellations, offhand.
Logged
JHGuitarFreak
Enlightened
*****
Offline Offline

Posts: 1374



View Profile WWW
Re: audio (preferably the music)
« Reply #5 on: February 19, 2006, 04:32:33 am »

i'm actually thinkin of adding my own system just for fun, to see what i could do and how far i could take it.

Like adding an earth starbase to other contellations for the benefit of not having to travel all the way back to sol for crew or fuel.

i would also love to find a way to edit the contents of the system and the mineral deposits too

or make a star full of rainbow worlds  Grin just for the hell of it
Logged

The artist once again known as Kohr-Ah Death 213.

Get your MegaMod HERE
JHGuitarFreak
Enlightened
*****
Offline Offline

Posts: 1374



View Profile WWW
Re: audio (preferably the music)
« Reply #6 on: February 19, 2006, 04:38:27 am »

or another reason to learn how to edit the systems is to add more moons to some of the planets in the sol system to reflect reality
Logged

The artist once again known as Kohr-Ah Death 213.

Get your MegaMod HERE
Bongo Bill
Zebranky food
*
Offline Offline

Gender: Male
Posts: 37


Maybe


View Profile WWW
Re: audio (preferably the music)
« Reply #7 on: February 20, 2006, 09:51:24 am »

Incidentally, I just had a crazy idea. The content of star systems is generated based on a pseudorandom number algorithm. Where is the seed that determines what kind of planets are where? If we change that seed, we might change the way the game is played in very profound ways. Imagine having to relearn all the best mining spots, for example.
Logged

...but is it art?
JonoPorter
Enlightened
*****
Offline Offline

Gender: Male
Posts: 656


Don't mess with the US.


View Profile WWW
Re: audio (preferably the music)
« Reply #8 on: February 20, 2006, 11:01:03 am »

Imagine having to relearn all the best mining spots, for example.
I do that every time I play the game!
Logged

There are none so blind as those who will not see. — Jonathan Swift

My Remake of UQM.
My 2D physics engine
Both are written in C#.
JHGuitarFreak
Enlightened
*****
Offline Offline

Posts: 1374



View Profile WWW
Re: audio (preferably the music)
« Reply #9 on: February 21, 2006, 05:08:06 am »

well i gave pluto a moon  Grin

and i tried to make it's information show up as correctly as i could, but incidently Charon and pluto share some of the same aspects, like day length, temperature, the mass is hard to get down but thats because i have no idea what "e.s." means.

i also removed earths slave shield and landed on a black surface  Shocked
aparently there is no planetmap for earth landings  Grin

i was thinkin about a way to remove the earth's slaveshield for after you beat the game, but that's too complicated for me to "code". i also slaveshielded a gas giant to see what it looked like  Grin

alot of things to keep me intersted for a long time...
and i dont think the stars are completely randomly generated, just the planets in them
cause in plandata.c it has the stars already written down, but so far the only things that are not generated are major areas like the mycon egg cases to the melnorme locations, to starbases to the vux beast.

i even tried making my own star, but the game crashed every time i tried to enter it, it showed up as "alpha sol" on the map. lol
i just love toying with things Grin
Logged

The artist once again known as Kohr-Ah Death 213.

Get your MegaMod HERE
Michael Martin
Core Team
*Smell* controller
*****
Offline Offline

Posts: 387



View Profile
Re: audio (preferably the music)
« Reply #10 on: February 21, 2006, 06:28:17 am »

Yeah, the stars are all hardcoded; the star's location is used as the seed, IIRC.
Logged
Bongo Bill
Zebranky food
*
Offline Offline

Gender: Male
Posts: 37


Maybe


View Profile WWW
Re: audio (preferably the music)
« Reply #11 on: February 21, 2006, 11:28:46 am »

Therefore: randomly shuffle all the non-plot-related stars, and you'll be left with a vastly different game. Infinite replay value!
Logged

...but is it art?
Pages: [1] 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!