List of world settings: Difference between revisions

From Virtual Paradise Wiki
Jump to navigation Jump to search
GSK (talk | contribs)
No edit summary
Sleepy E (talk | contribs)
m Some minor changes, addition of "worldname" and some unknown settings
Line 19: Line 19:
|boolean
|boolean
|1
|1
|If true, allows the user to move through objects by holding the shift key
|If true, allows the user to move through objects and terrain by holding the shift key
|-
|avatar<NUMBER>
|string
|N/A
|Not used anymore
|-
|-
|avatars_file
|avatars_file
Line 25: Line 30:
|avatars
|avatars
|The name of the avatars list YAML file on the [[object path]], with the default value the file will be loaded from avatars/avatars.yml, this allows the same object path to be used with multiple different avatar list configurations
|The name of the avatars list YAML file on the [[object path]], with the default value the file will be loaded from avatars/avatars.yml, this allows the same object path to be used with multiple different avatar list configurations
|-
|avatars_update_interval
|???
|???
|Number of avatar state changes to be sent per second?
|-
|-
|entry_point
|entry_point
Line 34: Line 44:
|decimal
|decimal
|40.0
|40.0
|
|Far plane distance in decameters
|-
|-
|fog_begin
|fog_begin
Line 44: Line 54:
|color
|color
|FFFFFF
|FFFFFF
|
|Color of the fog rrggbb (rr, gg and bb are each a hexadecimal number between 00 and ff).
|-
|-
|fog_density
|fog_density
Line 74: Line 84:
|boolean
|boolean
|0
|0
|Center the ground object at the nearest point on a 30m grid
|If true, the ground object is tiled. Center the ground object at the nearest point on a 30m grid
|-
|-
|nearplane
|nearplane
Line 90: Line 100:
|http://objects.virtualparadise.org/vpbuild/
|http://objects.virtualparadise.org/vpbuild/
|Base URL of the object path (should include the trailing slash)
|Base URL of the object path (should include the trailing slash)
|-
|old_walking_speed
|???
|???
|???
|-
|-
|override_visibility
|override_visibility
Line 115: Line 130:
|0
|0
|Enable gradient sky
|Enable gradient sky
|-
|sky_color1
|vector4
|1 1 1 1
|Sky color 1 (RGBA)
|-
|sky_color2
|vector4
|1 1 1 1
|Sky color 2 (RGBA)
|-
|sky_color3
|vector4
|1 1 1 1
|Sky color 3 (RGBA)
|-
|sky_color4
|vector4
|1 1 1 1
|Sky color 4 (RGBA)
|-
|-
|sky_clouds1
|sky_clouds1
Line 175: Line 170:
|0 0
|0 0
|Movement of cloud layer 2
|Movement of cloud layer 2
|-
|sky_color1
|vector4
|1 1 1 1
|Sky color 1 (RGBA)
|-
|sky_color2
|vector4
|1 1 1 1
|Sky color 2 (RGBA)
|-
|sky_color3
|vector4
|1 1 1 1
|Sky color 3 (RGBA)
|-
|sky_color4
|vector4
|1 1 1 1
|Sky color 4 (RGBA)
|-
|-
|sky_srgb_colors
|sky_srgb_colors
Line 200: Line 215:
|boolean
|boolean
|0
|0
|Terrain
|If true, terrain is enabled.
|-
|-
|terrainoffset
|terrainoffset
|decimal
|decimal
| -0.02
| -0.02
|
|Offset the terrain height by this many meters
|-
|-
|terrainscale
|terrainscale
|decimal
|decimal
|1.0
|1.0
|
|Scales the size of terrain cells
|-
|-
|walk_speed
|walk_speed
Line 230: Line 245:
|vector3
|vector3
|1.0 1.0 1.0
|1.0 1.0 1.0
|
|Ambient light color
|-
|-
|worldlight_diffuse
|worldlight_diffuse
|vector3
|vector3
|1.0 1.0 1.0
|1.0 1.0 1.0
|
|Diffuse light color
|-
|-
|worldlight_position
|worldlight_position
|vector3
|vector3
|0.4 1.0 -0.8
|0.4 1.0 -0.8
|
|Directional light position
|-
|-
|worldlight_specular
|worldlight_specular
|vector3
|vector3
|1.0 1.0 1.0
|1.0 1.0 1.0
|
|Special light color
|-
|-
|worldlight_srgb_colors
|worldlight_srgb_colors
Line 251: Line 266:
|1
|1
|If true and if the user has sRGB rendering enabled in their client the world light settings (ambient, diffuse and specular) will be converted to linear color space before being used
|If true and if the user has sRGB rendering enabled in their client the world light settings (ambient, diffuse and specular) will be converted to linear color space before being used
|-
|worldname
|string
|
|Name of the world (used in default welcome message)
|}
|}


[[Category: Lists]]
[[Category: Lists]]

Revision as of 13:17, 24 July 2018

Key Type Default Value Description
allow_debug_menu boolean 1 If true, allows the debug menu to be used
allow_flying boolean 1 If true, allows the user to fly up and down by using the + and - keys.
allow_passthrough boolean 1 If true, allows the user to move through objects and terrain by holding the shift key
avatar<NUMBER> string N/A Not used anymore
avatars_file string avatars The name of the avatars list YAML file on the object path, with the default value the file will be loaded from avatars/avatars.yml, this allows the same object path to be used with multiple different avatar list configurations
avatars_update_interval ??? ??? Number of avatar state changes to be sent per second?
entry_point decimal 0 0 0 0 Defines the entry point, in coordinates (X Y Z Yaw), for a world.
farplane decimal 40.0 Far plane distance in decameters
fog_begin decimal 0.0 The distance at which fog starts (only applies to linear fog mode)
fog_color color FFFFFF Color of the fog rrggbb (rr, gg and bb are each a hexadecimal number between 00 and ff).
fog_density decimal 0.0 Fog density (only applies to exponential fog modes)
fog_end decimal 0.0 The distance at which fog ends (only applies to linear fog mode)
fog_mode string none Valid values are: none, linear, exp/exponential, exp2/exponential2 (exponential squared)
fov decimal 50 Field of view in degrees
ground string ground (or empty if terrain is enabled) Model name for the world "ground" object, a base object that is always rendered regardless of the user's distance from it
groundrepeats boolean 0 If true, the ground object is tiled. Center the ground object at the nearest point on a 30m grid
nearplane decimal 0.03 Near plane distance in decameters
objectpassword string Password for extracting password-protected ZIP files from the object path
objectpath string http://objects.virtualparadise.org/vpbuild/ Base URL of the object path (should include the trailing slash)
old_walking_speed ??? ??? ???
override_visibility decimal Force a fixed visibility value (specified in decameters, the visibility menu in the user's client will be disabled)
recommended_light_count decimal 0 If set, displays a warning in chat if the maximum light count in settings is not set to the world's recommended value.
recommended_per_pixel_lighting boolean 0 If true, displays a warning in chat if the user's graphical renderer in settings is not set to one that supports per-pixel lighting.
run_speed decimal 2.4 If set, changes the speed at which users run.
sky boolean 0 Enable gradient sky
sky_clouds1 string Texture file name for cloud layer 1
sky_clouds1_color vector4 1 1 1 0 Cloud layer 1 color (RGBA)
sky_clouds1_scale vector2 1 1 Texture coordinate scaling for cloud layer 1
sky_clouds1_velocity vector2 0 0 Movement of cloud layer 1
sky_clouds2 string Texture file name for cloud layer 2
sky_clouds2_color vector4 1 1 1 0 Cloud layer 1 color (RGBA)
sky_clouds2_scale vector2 1 1 Texture coordinate scaling for cloud layer 2
sky_clouds2_velocity vector2 0 0 Movement of cloud layer 2
sky_color1 vector4 1 1 1 1 Sky color 1 (RGBA)
sky_color2 vector4 1 1 1 1 Sky color 2 (RGBA)
sky_color3 vector4 1 1 1 1 Sky color 3 (RGBA)
sky_color4 vector4 1 1 1 1 Sky color 4 (RGBA)
sky_srgb_colors boolean 1 0: Sky colors are in linear color space

1: Sky colors are in sRGB color space

skybox string Base name of a set of skybox textures. A direction and a file extension is added to the file names for each of the skybox textures (_fr, _lf, _bk, _rt, _up or _bt). The files are downloaded from the textures folder of the world object path.
skybox_extension string jpg
skybox_swaplr boolean 0 If true, swap the _lf and _rt skybox faces
terrain boolean 0 If true, terrain is enabled.
terrainoffset decimal -0.02 Offset the terrain height by this many meters
terrainscale decimal 1.0 Scales the size of terrain cells
walk_speed decimal 0.3 If set, changes the speed at which users walk.
web_overlay string URL to a web page to be displayed on top of the 3D scene. The web page should have a transparent background so the 3D scene can still be seen
welcome string Welcome to <world>, <name>! World welcome message
worldlight_ambient vector3 1.0 1.0 1.0 Ambient light color
worldlight_diffuse vector3 1.0 1.0 1.0 Diffuse light color
worldlight_position vector3 0.4 1.0 -0.8 Directional light position
worldlight_specular vector3 1.0 1.0 1.0 Special light color
worldlight_srgb_colors boolean 1 If true and if the user has sRGB rendering enabled in their client the world light settings (ambient, diffuse and specular) will be converted to linear color space before being used
worldname string Name of the world (used in default welcome message)