1

Topic: SVN mapping?

I'm interested in the new features the SVN version has for mapping.  Is there a wiki or some documentation with specifications, ie the new size coins?

2 (edited by parasti 2007-10-21 11:16:14)

Re: SVN mapping?

I'm afraid there isn't any real documentation, but here's a summary:

  * Two new entities, "item_health_large" and "item_health_small", representing grow coins and shrink coins, respectively.  Coins are now also considered as items, so instead of a coin counter the mapc has an item counter.

  * An "invisible" attribute for "info_camp" entities.  (Invisible switches.)

  * Map "meta-data".  Most of the information that used to be stored in levels-*.txt and scores-*.txt now has to be specified directly in the map file, by adding attributes to the "worldspawn" entity.  One of them you already know of, it is "message".  The other recognised attributes are:

      * "back" for background;
      * "song";
      * "grad" for gradient;
      * "shot";
      * "goal" for the number of coins to unlock the goal;
      * "time";
      * "time_hs", "goal_hs" and "coin_hs" -- according to mym these are the "hard and medium times/coins to beat, the easy time/coin number is automatically set to the precedent 'time'/'goal' value".  The code seems to confirm that.
      * "version" for the version of the map -- the suggested (but not yet enforced) version scheme is "major_version.minor_version" (for example, 0.5), where the major_version is incremented every time map is changed in a way that breaks existing replays and minor_version is incremented for all other changes;
      * "author"
      * "bonus" -- a non-zero value indicates that this is a bonus level map.

  * The set information is stored in a set-*.txt file and all set-*.txt files are listed in sets.txt.  The format of set-*.txt file is

name of the set
description
internal ID (such "mym", "easy", etc. Used to construct the neverballhs file name.)
set screen-shot
set high-scores (six numbers -- hard, medium, easy for best times and most coins)

followed by a list of levels, one level per line.

  * A "--debug" option for mapc to speed up map compilation.  (See mapc help output for usage.)  It is a development feature and must not be used for released maps.

3

Re: SVN mapping?

parasti wrote:

I'm afraid there isn't any real documentation, but here's a summary:

  * Two new entities, "item_health_large" and "item_health_small", representing grow coins and shrink coins, respectively.  Coins are now also considered as items, so instead of a coin counter the mapc has an item counter.

  * An "invisible" attribute for "info_camp" entities.  (Invisible switches.)

  * Map "meta-data".  Most of the information that used to be stored in levels-*.txt and scores-*.txt now has to be specified directly in the map file, by adding attributes to the "worldspawn" entity.  One of them you already know of, it is "message".  The other recognised attributes are:

      * "back" for background;
      * "song";
      * "grad" for gradient;
      * "shot";
      * "goal" for the number of coins to unlock the goal;
      * "time";
      * "time_hs", "goal_hs" and "coin_hs" -- according to mym these are the "hard and medium times/coins to beat, the easy time/coin number is automatically set to the precedent 'time'/'goal' value".  The code seems to confirm that.
      * "version" for the version of the map -- the suggested (but not yet enforced) version scheme is "major_version.minor_version" (for example, 0.5), where the major_version is incremented every time map is changed in a way that breaks existing replays and minor_version is incremented for all other changes;
      * "author"
      * "bonus" -- a non-zero value indicates that this is a bonus level map.

  * The set information is stored in a set-*.txt file and all set-*.txt files are listed in sets.txt.  The format of set-*.txt file is

name of the set
description
internal ID (such "mym", "easy", etc. Used to construct the neverballhs file name.)
set screen-shot
set high-scores (six numbers -- hard, medium, easy for best times and most coins)

followed by a list of levels, one level per line.

  * A "--debug" option for mapc to speed up map compilation.  (See mapc help output for usage.)  It is a development feature and must not be used for released maps.

This is probably the only documentation of 1.5 mapping.  Thank you for supplying us with this information!

4

Re: SVN mapping?

The differences in entities are documented here as well.

Welcome... to the Nevergalaxy! Featuring Neverball Clockwork, and Neverputt Calendar

5

Re: SVN mapping?

I did know of that document, but it is not entirely up to date.  Otherwise I would have just linked to it.