27 ratings
Workshop Requirements
By Viper
A Simple instruction guide on how Map files can be uploaded to the Nuclear Dawn Steam Workshop via the Workshop option on the main menu in-game.
Rate  
Favorite
Favorited
Unfavorite
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
To add a custom loading image to your map you need to make two .vtf files named as your map, for example if your map is named test name the files "test.vtf" and "test_widescreen.vtf". The .vtf files have to be placed here materials/console/map_images.

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
}}

The RTS Camera in Nuclear Dawn is fully rotatable ingame either by holding down the middle mouse button and moving the mouse, or holding Alt key and moving the mouse.

By default the Camera will position itself above your Bunker with the top of the screen facing the direction of the enemy bunker.

Code:

"silo"
{
// 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
"ct_starting_rotation" "315" // initial camera rotation for consorsium commander
"emp_starting_rotation" "135" // initial camera rotation for empire commander
}
}

No Signal Warnings

The "No Signal" warning is generated when the Commander scrolls his camera out of the map. To designate the "seeable" area of the map, you must place brushes tied to the entity "nd_trigger_commander_cam_area". Using the "toolsrtscamera" texture is always a good idea. Place them with their edges not quite touching the playable area of the map - if they touch, the commander will still be able to get a glimpse of the void before it gives him the error.

Map 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.
5 Comments
< >
psychonic  [developer] Apr 11, 2014 @ 5:50am 
It could also be that the map is too large, triggering a certain bug that was later fixed. Try opting into the "workshop_upload_fixes" beta and uploading from there.
psychonic  [developer] Apr 11, 2014 @ 4:56am 
Result 16 is a timeout. It was likely a temporary Steam issue.
balek jae Apr 10, 2014 @ 8:05pm 
i keep trying to publish a map to the workshop. i have all the requirements. yet it says Failed to publish! (Result 16) or just Failed to Publish!. any idea what the cause of this could be?
SLAK Apr 4, 2014 @ 8:17pm 
hola atodos como estas causas
Maxi Feb 23, 2014 @ 4:43am 
lol i dont understand a flying single f