pb2menu 1

command "set menu_tempname $name$"

widget 
	type pic	
	xcent 0
	halign center	
	yabs 16
	pic "m_setup1s"



widget
	xcent 76
	y 64
	text "Name:"
	type field
	width 16
	limit 30
	nospace
	halign right
	valign center
	cvar menu_tempname

widget
	x 64
	yrel 14
	type text
	valign center
	text "Apply"
	command "set name $menu_tempname"

widget
	x 164
	type text
	valign center
	text "Advanced"
	command "set name $menu_tempname$; menu setup_funname"

widget
	xcent -128
	ycent -28
	type text
	text "Player Model"
	
widget
	yrel 12
	type select
	width 12
	height 4
	filedir "$game$/players/*"
	strip "$game$/players/"
	cvar menu_player_model
	command "set skin $menu_player_model$/$menu_player_skin$;menu_reload"

widget
	xcent 24
	ycent -28
	type text
	text "Player Skin"

widget
	yrel 12
	type select
	width 12
	height 4
	filedir "$game$/players/$menu_player_model$/*_i.pcx"
	strip "$game$/players/$menu_player_model$/"
	strip "_i.pcx"
	cvar menu_player_skin
	command "set skin $menu_player_model$/$menu_player_skin$;menu_refresh"

widget
	xcent -4
	ycent 0
	valign center
	halign center
	type pic
	width 32
	height 32
	pic "/players/$menu_player_model$/$menu_player_skin$_i.pcx"

widget
	xcent -128
	ybot -80
	type checkbox
	valign center
	text "Disable Custom Skins"
	cvar cl_noskins

widget
	yrel 10
	xcent -128
	type checkbox
	text "Downloads"
	cvar allow_download
widget
	xrel 16
	yrel 10
	type checkbox
	text "Skins"
	cvar allow_download_players
widget
	yrel 10
	type checkbox
	text "Maps"
	cvar allow_download_maps
widget
	yrel 10
	type checkbox
	text "Sounds"
	cvar allow_download_sounds
widget
	yrel 10
	type checkbox
	text "Models"
	cvar allow_download_models

widget
	ycent 48
	xcent 32
	text "Gender:"

widget
	yrel 10
	type select
	width 6
	begin list
		male
		female
	end
	cvar gender


include back_include