The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
February 08, 2025, 08:46:27 pm
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

  Show Posts
Pages: [1]
1  The Ur-Quan Masters Re-Release / General UQM Discussion / Re: UQM stars/races relocation mod? on: November 05, 2015, 04:07:54 am
Quote
Your flagship's truespace and combat speeds are related
Though I agree with this from a world-building perspective it is not difficult to change this in the game.  It is kept in the RACE_HYPER_SPEED macro in races.h

Quote
something tells me that there are very strong assumptions in the code that every race has only one sphere of influence
Quote
If you have any clue or idea of how such assumptions might look like, or where (in which logics) to look for them - please share.   I'll put the check for such assumptions in early analysis TODO list. 

Each race is synonomous with a sphere of influence.  The game will iterate through the race queue and load the RACE_DESC data structure for each race.  In that data struct, for example, one is blackurq.c for the Kohr-ah it will definate a sphere of influence size.  So to add another one you'd have to create a new race data struct inside a new file (e.g. blackurq2.c) change the sphere of influence and add it to the make file.  I'd guess you'd also have to add it to the species_id data struct in races.h.  If you do that and it segfaults you probably need to add entries to the rest of races.h.

I'm still getting a handle on the different places where races and ships are used myself.  It is usually done via a mix of indexing and linked-list iteration in queues.  I've made a spreadsheet to help me understand the relationships between each datastructure and that has helped somewhat.
2  The Ur-Quan Masters Re-Release / General UQM Discussion / Re: Ok, now how do I save them? on: October 24, 2015, 08:03:50 pm
I believe it is the case that when they are wiped out you can't build their ships.  But when they are angry at you, you are still able to build their ships.
Pages: [1]


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!