Files
assaultcube-/config
ac-stef e318ecd68e integrated automatic embedded map config files
This patch enables an option to keep the map config embedded in the map
file - with autogenerated content. Any changes to map config data will be
written with the map. This includes data by loadnotexture, loadsky,
mapmodel, texture, fog, fogcolour, mapsound and shadowyaw. Once enabled,
all changes with those commands become persistent to the map.

New variables:

mapsoundchanged
  Set to "1" with every command that changes mapsound slots. Should be
  used to trigger a rebuild of mapsound menus.

New/changed commands:

mapsound
  Now returns the number of the created slot.

mapmodel
  Now returns the number of the created slot.

texture
  Now returns the number of the created slot.

loadsky
  Is now a builtin string variable (instead of a command), which means,
  that the current value can easily be retrieved or edited.
  The skymap name in the argument is now required to start with
  "textures/skymaps/" - but that part of the path can be omitted.
  examples:
    loadsky steini/steini2 (loads textures/skymaps/steini/steini2_*)
    loadsky textures/skymaps/steini/steini2 (same)
    loadsky ../foo/bar (loads textures/foo/bar_*)
    echo $loadsky

getnotexture
  Returns the current "notexture" path. (Set by loadnotexture)

dumpmapconfig (available for debug binaries only)
  Writes the current automatically generated map config to
  dumpmapconfig.txt.

DOCREF mapsoundchanged mapsound mapmodel texture loadsky getnotexture
2015-05-18 14:46:03 +02:00
..
2015-04-03 23:44:22 +02:00
2014-05-14 22:54:37 +02:00
2014-05-14 22:54:37 +02:00
2015-04-03 23:44:22 +02:00
2014-05-14 22:54:37 +02:00
2014-05-14 22:54:37 +02:00
2011-08-21 11:32:08 +00:00
2011-08-21 09:58:29 +00:00
2013-02-16 01:43:47 +00:00
2014-05-14 22:54:37 +02:00
2014-05-14 22:54:37 +02:00
2014-05-14 22:54:37 +02:00
2014-12-13 22:35:55 +01:00
2013-11-10 00:19:03 +00:00
2014-05-14 22:54:37 +02:00
2015-05-17 00:24:39 +02:00
2013-03-17 02:55:48 +00:00
2008-11-15 21:28:55 +00:00
2014-05-14 22:54:37 +02:00
2014-05-14 22:54:37 +02:00
2011-04-25 23:24:36 +00:00
2008-08-28 14:42:30 +00:00