HowTo:MOD

From VsWiki
Revision as of 22:53, 5 October 2007 by legine (talk | contribs)
Jump to: navigation, search
arrow_left.png Add Warp Trails arrow_up.png HowTos Make Weapons arrow_right.png

For a list of available mods, see MODs. For more general information on creating content for use with the Vega Strike engine, see HowTos.


MOD support

VegaStrike has automatic support for MODs. You still have to specify ./vegastrike -Mmodname.

It works like that:

  • the MOD must have a directory structure just like data4.x containing only files that were modified or added compared to VS data files.
  • you just have to put the MOD directory structure in your (~ = home) ~/.vegastrike/mods/modname or in datadir/mods/modname.

The modstructure minimal setup consists of:

vegastrike.config
weapon_list.xml
and communications/ folder full of the faction speech to each other

If you add Files existing Files of VS to the Modstructure, Vegastrike loads your modded files instead of the original Vegastrike Files.

VS will be able to use all the found MOD files in a standard game (no -M option) but will start using the standard config file and weapon_list file. When specifying -Mmodname on the command line, VS will start and load the MOD config file and weapon_list.xml file automatically.

NOTE: sectors should be in a sectors subdir (Mods:Vega Trek has sectors in Sector01, but the right place is in sectors/Sector01).


Sources

Link

Questions on mod filesystem layout

placing Starting Location

The startlocation is saved as Hexnumber in a default savegame called "new_game" in the datadir/save Folder. Easist way to change the Starting location is to use another savegame.

Sources

starting location of the game


arrow_left.png Add Warp Trails arrow_up.png HowTos Make Weapons arrow_right.png