Workshop Requirements

From Nuclear Dawn Wiki
Jump to: navigation, search

To-do: Merge this article into the My First Nuclear Dawn Map tutorial.

This page is still a work-in-progress. Please bear with us

Contents

Intro

Map files can be uploaded to the Nuclear Dawn Steam Workshop via the Workshop option on the main menu in-game.


The following files must be packed inside your map for submission to Steam Workshop.

This can be done with BSPZIP that ships with the Nuclear Dawn Authoring Tools.

If any are missing, the in-game Workshop upload tool will reject the submission.


Map loading screen background

(see Custom_Loading_Image)

materials/console/map_images/yourmapname.vmt
materials/console/map_images/yourmapname_widescreen.vmt

(the vtf file referenced in each must also exist)


Map script file

scripts/maps/yourmapname.txt

Example:

"yourmapname"
{
        "name" "Map Name"
        "description" "Map description for loading screen goes right here."

	// Properties for RTS camera
	"rts_camera"
	{
		"zoffset"		"75"		// offset the z height for maps way-off
		"default_height" 	"1000"		// Default height of the rts camera
		"max_height"		"1600"		// Max height above the adjusted zoffset the camera can go
		"min_height"		"800"		// Min height above the adjusted zoffset the camera can go
		"low_pitch"		"50"		// Angle of pitch when camera is at min_height
		"high_pitch"		"80"		// Angle of pitch when camera is at max_height
		"low_fov"		"0"		// FOV angle difference when camera is at min_height	(MUST BE >= 0)
		"high_fov"		"10"		// FOV angle difference when camera is at max_height
	}
}

See RTS_Commander_camera for details on the rts_camera section. The name and description keys are also required. Note that name and description inside a separate maps/yourmapname.txt is still supported for non-Workshop maps, but adding them to scripts/maps/yourmapname.txt instead allows you one less file to manage.


Map overview

(see Overview)

materials/overviews/yourmapname.vmt
resource/overviews/yourmapname.txt

(again, the vtf referenced in the vmt must also exist)


These requirements are for maps submitted to Steam Workshop. You don't necessarily have to have all of these files when testing your map, and they can also be loose on the disk for ease of testing. The BSPZIP is a workshop requirement and also a convenience for server operators even when not using Workshop.

Personal tools
Namespaces

Variants
Actions
Navigation
SERVERS
COMMUNITY
Toolbox
vBSSO Login Form

Register
Reset Password
Single Sign On provided by vBSSO