Classname: | worldspawn |
Purpose: | Holder of global map properties. |
H2 Code: | client.hc |
fields required: | message |
Defines global properties of map. Your map editor will surely
create it for you, but you might want to change its properties.
Especially, for a PoP map, make sure its spawnflag is set
to 1 (this enables some special behavior of PoP entities). Terata also says "Don't ever give an angle to the worldspawn." Well, I wouldn't dream of doing a thing like that, but some Raven employee in fact did (the author of keep3, tho the angle was 0 so maybe it didn't matter). |
message | Value is a number, indicating the title of the map as a message number. This title is displayed on the console when the map is entered, and as part of the label of a savegame. |
CD | Value is a number; CD track to play, unspecified means no music. |
midi | Value is a name; midi file to play if CD isn't in drive. |
worldtype | Value is a number; determines skins of certain objects
such as chests and jars, and maybe other stuff. Values are:
|
netname | (PoP only) Value is a string, name of map displayed on savegames, etc. (so message is no longer needed for PoP maps). |
spawnflags | A value of one will change the behavior of certain kinds of entities in maps if the Mission Pack .exe is being run, for example converting func_trains (ordinary H2 trains) into func_train_mps (Mission Pack trains). |