Page 1 of 1

How to change the beginning ship

Posted: Sun Mar 07, 2010 5:40 pm
by esgaroth
Over there in the vegatrek team we are encountering a strange "freezing" problem that we havent been able to overcome - and, even worse, even have no idea how to overcome it (the game isnt really freezing, framerate is still displayed and changes, you still can regularly exit via Q-escape, but nothing in the universe moves anymore...). I am therefore thinking seriously about moving the whole stuff over to the newest engine etc, that is, taking a up-to-date vegastrike install and just add our universe, weapons, ships etc. and change and remove some factions etc. A lot of work, but hopefully doable. However, i already encountered the first problem: how to change the starting ship ? In the good old times, you simply had to change the ship in the explore_universe file, but obviously, this doesnt work anymore. So where is the starting ship defined ?

Re: How to change the beginning ship

Posted: Mon Mar 08, 2010 5:46 pm
by klauss
The main menu (coded in main_menu.py) starts a new game by loading a "new game template" savegame.

That's New_Game IIRC, or something like that.

All you have to do is fire up vegastrike with your campaign mission (ie: vegastrike explore_universe.mission), and set things up the way you want them to be at the beginning of a campaign, save the game, and rename everything in the savegame to New_Game (ie: the game itself and the folder with the csv describing the starting ship).

EDIT:

A good rule of thumb, though, is to strip from the savegame anything related to the dynamic universe, so that new games spawned from that save game get randomized universes. It is quite a deed, though, it requires intimate knowledge of the savegame format.

You can hardcode your campaign script not to initialize the dynamic universe for that operation instead, I think it's in campaign.py or something like that. When you have your New_Game created you can revert that change.

Re: How to change the beginning ship

Posted: Tue Jul 13, 2010 2:04 pm
by toanphuc
Can we integrate VS engine with other API like OSG or other render engine like Delta3d and Ogre?

Re: How to change the beginning ship

Posted: Tue Aug 31, 2010 7:28 am
by Gungnir
toanphuc wrote:Can we integrate VS engine with other API like OSG or other render engine like Delta3d and Ogre?
There's been an ongoing attempt to port to Ogre, but it's an enormous amount of work.