Author Topic: Starshatter Open discussion thread  (Read 19645 times)

0 Members and 1 Guest are viewing this topic.

Offline hostas

  • 22
Re: Starshatter Open discussion thread
"I wonder what the D means"

Now i see, it must be about the Debug mode build, since I haven't changed that. The game with the resulted exe got slower too , maybe some optimizaztion is turned on only in release mode.
« Last Edit: May 12, 2015, 05:49:42 pm by hostas »


Offline hostas

  • 22
Re: Starshatter Open discussion thread
How can you debug Starshatter with Visual Studio? I have attached the *_D.exe to the debugger, but the game is running in full screen and I can't alt+tab back to the IDE properly. I can reach breakpoints and use the keyboard shortcuts like F5, but the screen is blocked by the stucked black window of the game.


Offline hostas

  • 22
Re: Starshatter Open discussion thread
I have found the solution in the Starshatter.cpp sourcefile, game must be started with the -dbg parameter and it will force it into window mode.

In the meantime I have tryed out some tweaks here and there and now some of the possibilties are:
- elliptic orbits (a quick iterative solution of Kepler's equation for mean to eccentric anomaly inside each time step)**
- true inclinated orbits by absolute value or relative to axial tilt (it was defined not for orbits, but only for regions, by rotating the direction of the sun, counts in cases like Saturn with spectacular rings and many small moons)
- synchron rotation (Moon-Earth) with a phase offset
- phase offset to emulate same radius resonant orbits
- simple Lagrange point orbits
- zero radius orbit to place a small (~20km) moon into the origo (there is no collosion detection you can't hide behind it)***

A side effect of inclinated orbits are that quantum jumps have some random z component now, which might be fun, but I have to investigate this more.

Besides the celestial ones there are some other changes too, like the hud of the weaponview now writes out the name and status of the next and preveous subsystem targets. During the heat of the battle it's hard to keep cool and cycle to the corect subtarget and this enhanced feedback helps a bit. Right now I would like to change the fighter AI to aim different subsystem with each missile and see how it changes the ballance. With debug in hand, I'm going to to work a bit on the mutiplayer part too.

These are just 1st steps, (each line of code introduces new bugs, refactoring, etc.), but in the long run I would like to submit some of my changes back to the main version.

** It's not that much useful since most orbits have small eccentricity and realtively slow in terms of play time. A funy exception is around the zolon home planet, where they must have a neutron star in core.  ;)
***Maybe sometimes (when I touch the thruster part of the game) I will try out gravity and virtual frame forces too and see how the AI gets completly messed up.  :D

Re: Starshatter Open discussion thread
Hello. Hope I'm posting this in the right spot.

Trying to get into this game, but the interface is feeling a bit . . . uncooperative. I'm particularly having difficulty mapping keys and buttons to my satisfaction. It feels as though a number of the keys are not actually available for remapping, such as the retro-thrusters, and others. I really would like to try and play this game out a bit more extensively, but until I can figure out how to get the control setup in a comfortable configuration, I can't really move forward.

Can anyone lend me a hand?


Offline procdrone

  • Formerly TheHound
  • 29
  • Balance breaker! Thats me!
    • Steam
Re: Starshatter Open discussion thread
Im on the other hand, cannot download the thing because freespacemod links are dead for me... :/
--Did it! It's RELEASED! VeniceMirror Thread--

Re: Starshatter Open discussion thread
Heartwarming to notice that Hard Light took Starshatter under it's wing. I ported most of Freespace ships, weapons and stuff on top of Starshatter around 2006. I called it "Freespace Tactics" back then. :)
Freespace Tactics (Freespace port to StarShatter)


Offline Thaeris

  • Can take his lumps
  • 211
  • Away in Limbo
Re: Starshatter Open discussion thread
It's good to see you around again, Matt. I was really looking forward to Tactics - I'm sorry it didn't quite come together. But then, we never can quite tell, eh?
"trolls are clearly social rejects and therefore should be isolated from society, or perhaps impaled."


"Look on the bright side, how many release dates have been given for Doomsday, and it still isn't out yet.

It's the Duke Nukem Forever of prophecies..."

"Jesus saves.

Everyone else takes normal damage.


"pirating software is a lesser evil than stealing but its still evil. but since i pride myself for being evil, almost anything is fair game."

"i never understood why women get the creeps so ****ing easily. i mean most serial killers act perfectly normal, until they kill you."