HowTo:MOD
Add Warp Trails | HowTos | Make Weapons |
For available mods see also MODs.
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 like this:
surfdargent@ewave:/home/public/vegadev/data4.x/mods/VegaTrek> l total 92 drwxr-xr-x 11 surfdargent users 4096 Sep 23 20:27 ./ drwxr-xr-x 4 surfdargent users 4096 Oct 4 13:17 ../ drwxr-xr-x 2 surfdargent users 4096 Sep 23 20:21 Sector_001/ drwxr-xr-x 3 surfdargent users 4096 Sep 23 20:24 ai/ drwxr-xr-x 9 surfdargent users 4096 Sep 23 20:25 animations/ drwxr-xr-x 2 surfdargent users 4096 Sep 23 20:21 mission/ drwxr-xr-x 2 surfdargent users 4096 Sep 23 20:26 modules/ drwxr-xr-x 2 surfdargent users 4096 Sep 23 20:26 sounds/ drwxr-xr-x 4 surfdargent users 4096 Sep 23 20:23 textures/ drwxr-xr-x 27 surfdargent users 4096 Sep 23 20:22 units/ drwxr-xr-x 2 surfdargent users 4096 Sep 23 20:22 universe/ -rw-r--r-- 1 surfdargent users 39330 Sep 18 21:50 vegastrike.config -rw-r--r-- 1 surfdargent users 5561 Sep 18 19:34 weapon_list.xml
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
Add Warp Trails | HowTos | Make Weapons |