Jump to content

Omod script problem


yanazake

Recommended Posts

I did an script for a friend, to try to make an omod for Robert's average male body. I got some other scripts for references, and after doing the whole thing, the OBMM script window said that there was no problem.

 

Thing is, when I tried installing the omod, it said that there was a problem on line 10 [the first select option]. Something about too many options or an unused one.

If anyone can tell what it is by looking at the script alone... here it is:

 

;Script created by Yanazake

If VersionLessThan 1.1.0
  Message "This mod must be installed by OBMM version 1.1.0 or later to prevent script errors."
  FatalError
EndIf

DontInstallAnyPlugins
DontInstallAnyDataFiles

SelectWithDescriptions "Choose clothed or naked",\
"Clothed" "Will install a body replacer with minimal clothing to prevent nudity in game.",\
"Naked" "Will install a body replacer without any clothing and exposed genitals."
Case Clothed
	SelectWithDescriptions "Choose the underwear type" ,\
	"type1" "A minimal underwear",\
	"type2" "A common underwear, covering some more skin",\
	"type3" "A shorts-like underwear",\
	"type4" "Another version of minimal underwear",\
	"type5" "An underwear with loincloth"
		Case type1
		CopyDataFile "lower body\\lowerbodyclothed1.nif" "meshes\\characters\\_male\\lowerbody.nif"
		CopyDataFile "all Textures\\clothes\\rt\\RTloincloth1b.dds" "Textures\\clothes\\rt\\RTloincloth1b.dds"
		CopyDataFile "all Textures\\clothes\\rt\\RTloincloth1b_n.dds" "Textures\\clothes\\rt\\RTloincloth1b_n.dds"
		CopyDataFolder "character models\\meshes" "Meshes" True
		Break
		Case type2
		CopyDataFile "lower body\\lowerbodyclothed2.nif" "meshes\\characters\\_male\\lowerbody.nif"
		CopyDataFile "all Textures\\clothes\\rt\\RTloincloth2.dds" "Textures\\clothes\\rt\\RTloincloth2.dds"
		CopyDataFile "all Textures\\clothes\\rt\\RTloincloth2_n.dds" "Textures\\clothes\\rt\\RTloincloth2_n.dds"
		CopyDataFolder "character models\\meshes" "Meshes" True
		Break
		Case type3
		CopyDataFile "lower body\\lowerbodyclothed3.nif" "meshes\\characters\\_male\\lowerbody.nif"
		CopyDataFile "all Textures\\clothes\\rt\\RTloincloth3.dds" "Textures\\clothes\\rt\\RTloincloth3.dds"
		CopyDataFile "all Textures\\clothes\\rt\\RTloincloth3_n.dds" "Textures\\clothes\\rt\\RTloincloth3_n.dds"
		CopyDataFolder "character models\\meshes" "Meshes" True
		break
		Case type4
		CopyDataFile "lower body\\lowerbodyclothed4.nif" "meshes\\characters\\_male\\lowerbody.nif"
		CopyDataFile "all Textures\\clothes\\rt\\RTloincloth1a.dds" "Textures\\clothes\\rt\\RTloincloth1a.dds"
		CopyDataFile "all Textures\\clothes\\rt\\RTloincloth1a_n.dds" "Textures\\clothes\\rt\\RTloincloth1a_n.dds"
		CopyDataFile "all Textures\\clothes\\rt\\RTloincloth1b.dds" "Textures\\clothes\\rt\\RTloincloth1b.dds"
		CopyDataFile "all Textures\\clothes\\rt\\RTloincloth1b_n.dds" "Textures\\clothes\\rt\\RTloincloth1b_n.dds"
		CopyDataFolder "character models\\meshes" "Meshes" True
		Break
		Case type5
		CopyDataFile "lower body\\lowerbodyclothed5.nif" "meshes\\characters\\_male\\lowerbody.nif"
		CopyDataFile "all Textures\\clothes\\rt\\RTloincloth1a.dds" "Textures\\clothes\\rt\\RTloincloth1a.dds"
		CopyDataFile "all Textures\\clothes\\rt\\RTloincloth1a_n.dds" "Textures\\clothes\\rt\\RTloincloth1a_n.dds"
		CopyDataFile "all Textures\\clothes\\rt\\RTloincloth1b.dds" "Textures\\clothes\\rt\\RTloincloth1b.dds"
		CopyDataFile "all Textures\\clothes\\rt\\RTloincloth1b_n.dds" "Textures\\clothes\\rt\\RTloincloth1b_n.dds"
		CopyDataFolder "character models\\meshes" "Meshes" True
		Break
	EndSelect
	Case Naked
	SelectWithDescriptions "Choose the penis type" ,\
	"Cut" "A circuncized version. There's no skin around the head",\
	"Uncut" "A natural version. There's skin covering the head"
		Case Cut
		CopyDataFile "lower body\\lowerbodycut.nif" "meshes\\characters\\_male\\lowerbody.nif"
		CopyDataFolder "character models\\meshes" "Meshes" True
		Break
		Case Uncut
		CopyDataFile "lower body\\lowerbodyuncut.nif" "meshes\\characters\\_male\\lowerbody.nif"
		CopyDataFolder "character models\\meshes" "Meshes" True
		Break
	EndSelect
	Break
EndSelect

SelectWithDescriptions "Install converted Stock clothing and armor? (Warning: read description for 'yes')",\
"Yes" "Will install clothing and armor compatible with Robert's male Average body. WARNING: This is a replacer, and will overwrite original files!",\
"No" "Will not install compatible clothing or armor and advance to the next step."
	Case Yes
	CopyDataFolder "stock armor\\meshes" "Meshes" True
	CopyDataFolder "stock clothes\\meshes" "Meshes" True
	Break
	Case No
	Break
EndSelect

SelectWithDescriptions "Choose skin for:",\
"Imperial" "The Imperial Race" 
Case Imperial
	SelectWithDescriptions "Choose amount of body hair",\
	"Smooth"  "There will be little to no hair in the body",\
	"Robert" "There will be some body hair" 
		Case Smooth
		CopyDataFile "all textures\\Skin\\Smooth\\footmaleimp.dds" "Textures\\characters\\Imperial\\male\\footmale.dds" 
		Break
		Case Robert
		CopyDataFile "all textures\\Skin\\Standard\\footmaleimp.dds" "Textures\\characters\\Imperial\\male\\footmale.dds" 
		Break
		EndSelect
	
	SelectWithDescriptions "Choose muscular tone",\
	"Smooth" "Muscles aren't so aparent",\
	"Robert" "Original Robert Male setting",\
	"Defined" "Muscles are more aparent",\
	"Vascular" "Muscles are aparent and some veins too"
		Case Smooth
		CopyDataFile "all textures\\Muscular tone\\footmale_nsmth.dds" "Textures\\characters\\Imperial\\male\\footmale_n.dds" 
		Break
		Case Robert
		CopyDataFile "all textures\\Muscular tone\\footmale_nstd.dds" "Textures\\characters\\Imperial\\male\\footmale_n.dds" 
		Break
		Case Defined
		CopyDataFile "all textures\\Muscular tone\\footmale_ndfn.dds" "Textures\\characters\\Imperial\\male\\footmale_n.dds" 
		Break
		Case Vascular
		CopyDataFile "all textures\\Muscular tone\\footmale_nvcl.dds" "Textures\\characters\\Imperial\\male\\footmale_n.dds" 
		Break
		EndSelect
	
	SelectWithDescriptions "Choose facial texture for Imperials, Bretons, High Elves, Nords, Redguards and Wood Elves",\
	"Robert" "Original Robert Male setting",\
	"Smooth" "Smoother version",\
	"Amazon" "Amazon face texture",\
	"Enayla1" "First version of texture created by Enayla",\
	"Enayla2" "Second version of texture created by Enayla",\
	"Enayla3" "Third version of texture created by Enayla",\
	"Ren" "Face texture by Ren"
		Case Robert
		CopyDataFile "all Textures\\Faces\\Imperial\\headhuman std.dds" "Textures\\characters\\Imperial\\Headhuman.dds"
		CopyDataFile "all Textures\\Faces\\Imperial\\headhuman_n std.dds" "Textures\\characters\\Imperial\\Headhuman_n.dds"
		Break
		Case Amazon
		CopyDataFile "all Textures\\Faces\\Imperial\\headhuman amz.dds" "Textures\\characters\\Imperial\\Headhuman.dds"
		CopyDataFile "all Textures\\Faces\\Imperial\\headhuman_n en.dds" "Textures\\characters\\Imperial\\Headhuman_n.dds"
		Break
		Case Smooth
		CopyDataFile "all Textures\\Faces\\Imperial\\headhuman smt.dds" "Textures\\characters\\Imperial\\Headhuman.dds"
		CopyDataFile "all Textures\\Faces\\Imperial\\headhuman_n smt.dds" "Textures\\characters\\Imperial\\Headhuman_n.dds"
		Break
		Case Enayla1
		CopyDataFile "all Textures\\Faces\\Imperial\\headhuman en1.dds" "Textures\\characters\\Imperial\\Headhuman.dds"
		CopyDataFile "all Textures\\Faces\\Imperial\\headhuman_n en.dds" "Textures\\characters\\Imperial\\Headhuman_n.dds"
		Break
		Case Enayla2
		CopyDataFile "all Textures\\Faces\\Imperial\\headhuman en2.dds" "Textures\\characters\\Imperial\\Headhuman.dds"
		CopyDataFile "all Textures\\Faces\\Imperial\\headhuman_n en.dds" "Textures\\characters\\Imperial\\Headhuman_n.dds"
		Break
		Case Enayla3
		CopyDataFile "all Textures\\Faces\\Imperial\\headhuman en3.dds" "Textures\\characters\\Imperial\\Headhuman.dds"
		CopyDataFile "all Textures\\Faces\\Imperial\\headhuman_n en.dds" "Textures\\characters\\Imperial\\Headhuman_n.dds"
		Break
		Case Ren
		CopyDataFile "all Textures\\Faces\\Imperial\\headhuman ren.dds" "Textures\\characters\\Imperial\\Headhuman.dds"
		CopyDataFile "all Textures\\Faces\\Imperial\\headhuman_n en.dds" "Textures\\characters\\Imperial\\Headhuman_n.dds"
		Break
	EndSelect
	Break
EndSelect

SelectWithDescriptions "Choose skin for:",\
"Breton" "The breton Race" 
Case Breton
	SelectWithDescriptions "Choose amount of body hair",\
	"Smooth"  "There will be little to no hair in the body",\
	"Robert" "There will be some body hair" 
		Case Smooth
		CopyDataFile "all textures\\Skin\\Smooth\\footmaleimp.dds" "Textures\\characters\\breton\\male\\footmale.dds" 
		Break
		Case Robert
		CopyDataFile "all textures\\Skin\\Standard\\footmale brt.dds" "Textures\\characters\\breton\\male\\footmale.dds" 
		Break
		EndSelect
	SelectWithDescriptions "Choose muscular tone",\
	"Smooth" "Muscles aren't so aparent",\
	"Robert" "Original Robert Male setting",\
	"Defined" "Muscles are more aparent",\
	"Vascular" "Muscles are aparent and some veins too"
		Case Smooth
		CopyDataFile "all textures\\Muscular tone\\footmale_nsmth.dds" "Textures\\characters\\breton\\male\\footmale_n.dds" 
		Break
		Case Robert
		CopyDataFile "all textures\\Muscular tone\\footmale_nstd.dds" "Textures\\characters\\breton\\male\\footmale_n.dds" 
		Break
		Case Defined
		CopyDataFile "all textures\\Muscular tone\\footmale_ndfn.dds" "Textures\\characters\\breton\\male\\footmale_n.dds" 
		Break
		Case Vascular
		CopyDataFile "all textures\\Muscular tone\\footmale_nvcl.dds" "Textures\\characters\\breton\\male\\footmale_n.dds" 
		Break
		EndSelect
	Break
EndSelect

SelectWithDescriptions "Choose skin for:",\
"HighElf" "The tall High Elf Race" 
Case HighElf
	SelectWithDescriptions "Choose amount of body hair",\
	"Smooth"  "There will be little to no hair in the body",\
	"Robert" "There will be some body hair" 
		Case Smooth
		CopyDataFile "all textures\\Skin\\Smooth\\footmaleimp.dds" "Textures\\characters\\highelf\\male\\footmale.dds" 
		Break
		Case Robert
		CopyDataFile "all textures\\Skin\\Standard\\footmale hge.dds" "Textures\\characters\\highelf\\male\\footmale.dds" 
		Break
		EndSelect
	SelectWithDescriptions "Choose muscular tone",\
	"Smooth" "Muscles aren't so aparent",\
	"Robert" "Original Robert Male setting",\
	"Defined" "Muscles are more aparent",\
	"Vascular" "Muscles are aparent and some veins too"
		Case Smooth
		CopyDataFile "all textures\\Muscular tone\\footmale_nsmth.dds" "Textures\\characters\\highelf\\male\\footmale_n.dds" 
		Break
		Case Robert
		CopyDataFile "all textures\\Muscular tone\\footmale_nstd.dds" "Textures\\characters\\highelf\\male\\footmale_n.dds" 
		Break
		Case Defined
		CopyDataFile "all textures\\Muscular tone\\footmale_ndfn.dds" "Textures\\characters\\highelf\\male\\footmale_n.dds" 
		Break
		Case Vascular
		CopyDataFile "all textures\\Muscular tone\\footmale_nvcl.dds" "Textures\\characters\\highelf\\male\\footmale_n.dds" 
		Break
		EndSelect
	Break
EndSelect


SelectWithDescriptions "Choose skin for:",\
"Nord" "The Nord Race" 
Case Nord
	SelectWithDescriptions "Choose amount of body hair",\
	"Smooth"  "There will be little to no hair in the body",\
	"Robert" "There will be some body hair" 
		Case Smooth
		CopyDataFile "all textures\\Skin\\Smooth\\footmaleimp.dds" "Textures\\characters\\nord\\male\\footmale.dds" 
		Break
		Case Robert
		CopyDataFile "all textures\\Skin\\Standard\\footmale nrd.dds" "Textures\\characters\\nord\\male\\footmale.dds" 
		Break
		EndSelect
	SelectWithDescriptions "Choose muscular tone",\
	"Smooth" "Muscles aren't so aparent",\
	"Robert" "Original Robert Male setting",\
	"Defined" "Muscles are more aparent",\
	"Vascular" "Muscles are aparent and some veins too"
		Case Smooth
		CopyDataFile "all textures\\Muscular tone\\footmale_nsmth.dds" "Textures\\characters\\nord\\male\\footmale_n.dds" 
		Break
		Case Robert
		CopyDataFile "all textures\\Muscular tone\\footmale_nstd.dds" "Textures\\characters\\nord\\male\\footmale_n.dds" 
		Break
		Case Defined
		CopyDataFile "all textures\\Muscular tone\\footmale_ndfn.dds" "Textures\\characters\\nord\\male\\footmale_n.dds" 
		Break
		Case Vascular
		CopyDataFile "all textures\\Muscular tone\\footmale_nvcl.dds" "Textures\\characters\\nord\\male\\footmale_n.dds" 
		Break
		EndSelect
	Break
EndSelect

SelectWithDescriptions "Choose skin for:",\
"Redguard" "The Redguard Race" 
Case Redguard
	SelectWithDescriptions "Choose amount of body hair",\
	"Smooth"  "There will be little to no hair in the body",\
	"Robert" "There will be some body hair" 
		Case Smooth
		CopyDataFile "all textures\\Skin\\Smooth\\footmaleimp.dds" "Textures\\characters\\redguard\\male\\footmale.dds" 
		Break
		Case Robert
		CopyDataFile "all textures\\Skin\\Standard\\footmale rgd.dds" "Textures\\characters\\redguard\\male\\footmale.dds" 
		Break
		EndSelect
	SelectWithDescriptions "Choose muscular tone",\
	"Smooth" "Muscles aren't so aparent",\
	"Robert" "Original Robert Male setting",\
	"Defined" "Muscles are more aparent",\
	"Vascular" "Muscles are aparent and some veins too"
		Case Smooth
		CopyDataFile "all textures\\Muscular tone\\footmale_nsmth.dds" "Textures\\characters\\redguard\\male\\footmale_n.dds" 
		Break
		Case Robert
		CopyDataFile "all textures\\Muscular tone\\footmale_nstd.dds" "Textures\\characters\\redguard\\male\\footmale_n.dds" 
		Break
		Case Defined
		CopyDataFile "all textures\\Muscular tone\\footmale_ndfn.dds" "Textures\\characters\\redguard\\male\\footmale_n.dds" 
		Break
		Case Vascular
		CopyDataFile "all textures\\Muscular tone\\footmale_nvcl.dds" "Textures\\characters\\redguard\\male\\footmale_n.dds" 
		Break
		EndSelect
	Break
EndSelect


SelectWithDescriptions "Choose skin for:",\
"WoodElf" "The Wood Elf Race" 
Case WoodElf
	SelectWithDescriptions "Choose amount of body hair",\
	"Smooth"  "There will be little to no hair in the body",\
	"Robert" "There will be some body hair" 
		Case Smooth
		CopyDataFile "all textures\\Skin\\Smooth\\footmaleimp.dds" "Textures\\characters\\woodelf\\male\\footmale.dds" 
		Break
		Case Robert
		CopyDataFile "all textures\\Skin\\Standard\\footmale wde.dds" "Textures\\characters\\woodelf\\male\\footmale.dds" 
		Break
		EndSelect
	SelectWithDescriptions "Choose muscular tone",\
	"Smooth" "Muscles aren't so aparent",\
	"Robert" "Original Robert Male setting",\
	"Defined" "Muscles are more aparent",\
	"Vascular" "Muscles are aparent and some veins too"
		Case Smooth
		CopyDataFile "all textures\\Muscular tone\\footmale_nsmth.dds" "Textures\\characters\\woodelf\\male\\footmale_n.dds" 
		Break
		Case Robert
		CopyDataFile "all textures\\Muscular tone\\footmale_nstd.dds" "Textures\\characters\\woodelf\\male\\footmale_n.dds" 
		Break
		Case Defined
		CopyDataFile "all textures\\Muscular tone\\footmale_ndfn.dds" "Textures\\characters\\woodelf\\male\\footmale_n.dds" 
		Break
		Case Vascular
		CopyDataFile "all textures\\Muscular tone\\footmale_nvcl.dds" "Textures\\characters\\woodelf\\male\\footmale_n.dds" 
		Break
		EndSelect
	Break
EndSelect

SelectWithDescriptions "Choose skin for:",\
"Darkelf" "The elves with dark skin"
Case Darkelf
	SelectWithDescriptions "Choose amount of body hair",\
	"Smooth"  "There will be little to no hair in the body",\
	"Robert" "There will be some body hair" 
		Case Smooth
		CopyDataFile "all textures\\Skin\\Smooth\\footmale dke.dds" "Textures\\characters\\darkelf\\male\\footmale.dds" 
		Break
		Case Robert
		CopyDataFile "all textures\\Skin\\Standard\\footmale dke.dds" "Textures\\characters\\darkelf\\male\\footmale.dds" 
		Break
		EndSelect
	SelectWithDescriptions "Choose muscular tone",\
	"Smooth" "Muscles aren't so aparent",\
	"Robert" "Original Robert Male setting",\
	"Defined" "Muscles are more aparent",\
	"Vascular" "Muscles are aparent and some veins too"
		Case Smooth
		CopyDataFile "all textures\\Muscular tone\\footmale_nsmth.dds" "Textures\\characters\\darkelf\\male\\footmale_n.dds" 
		Break
		Case Robert
		CopyDataFile "all textures\\Muscular tone\\footmale_nstd.dds" "Textures\\characters\\darkelf\\male\\footmale_n.dds" 
		Break
		Case Defined
		CopyDataFile "all textures\\Muscular tone\\footmale_ndfn.dds" "Textures\\characters\\darkelf\\male\\footmale_n.dds" 
		Break
		Case Vascular
		CopyDataFile "all textures\\Muscular tone\\footmale_nvcl.dds" "Textures\\characters\\darkelf\\male\\footmale_n.dds" 
		Break
		EndSelect
	SelectWithDescriptions "Choose facial texture",\
	"Robert" "Original Robert Male setting",\
	"Smooth" "Smoother version",\
	"Enayla1" "First version of texture created by Enayla",\
	"Enayla2" "Second version of texture created by Enayla"
		Case Robert
		CopyDataFile "all Textures\\Faces\\Dark Elf\\headdarkelf std.dds" "Textures\\characters\\darkelf\\Headdarkelf.dds"
		CopyDataFile "all Textures\\Faces\\Imperial\\headhuman_n std.dds" "Textures\\characters\\darkelf\\Headdarkelf_n.dds"
		Break
		Case Smooth
		CopyDataFile "all Textures\\Faces\\Dark Elf\\headdarkelf smt.dds" "Textures\\characters\\darkelf\\Headdarkelf.dds"
		CopyDataFile "all Textures\\Faces\\Imperial\\headhuman_n smt.dds" "Textures\\characters\\darkelf\\Headdarkelf_n.dds"
		Break
		Case Enayla1
		CopyDataFile "all Textures\\Faces\\Dark Elf\\headdarkelf en1.dds" "Textures\\characters\\darkelf\\Headdarkelf.dds"
		CopyDataFile "all Textures\\Faces\\Imperial\\headhuman_n en.dds" "Textures\\characters\\darkelf\\Headdarkelf_n.dds"
		Break
		Case Enayla2
		CopyDataFile "all Textures\\Faces\\Dark Elf\\headdarkelf en2.dds" "Textures\\characters\\darkelf\\Headdarkelf.dds"
		CopyDataFile "all Textures\\Faces\\Imperial\\headhuman_n en.dds" "Textures\\characters\\darkelf\\Headdarkelf_n.dds"
		Break
	EndSelect
	Break
EndSelect

SelectWithDescriptions "Choose skin for:",\
"Orc" "The green-skinned orc race" 
Case Orc
	SelectWithDescriptions "Choose amount of body hair",\
	"Smooth"  "There will be little to no hair in the body",\
	"Robert" "There will be some body hair" 
		Case Smooth
		CopyDataFile "all textures\\Skin\\Smooth\\footmale orc.dds" "Textures\\characters\\orc\\male\\footmale.dds" 
		Break
		Case Robert
		CopyDataFile "all textures\\Skin\\Standard\\footmale orc.dds" "Textures\\characters\\orc\\male\\footmale.dds" 
		Break
		EndSelect
	SelectWithDescriptions "Choose muscular tone",\
	"Smooth" "Muscles aren't so aparent",\
	"Robert" "Original Robert Male setting",\
	"Defined" "Muscles are more aparent",\
	"Vascular" "Muscles are aparent and some veins too"
		Case Smooth
		CopyDataFile "all textures\\Muscular tone\\footmale_nsmth.dds" "Textures\\characters\\orc\\male\\footmale_n.dds" 
		Break
		Case Robert
		CopyDataFile "all textures\\Muscular tone\\footmale_n orc.dds" "Textures\\characters\\orc\\male\\footmale_n.dds" 
		Break
		Case Defined
		CopyDataFile "all textures\\Muscular tone\\footmale_ndfn.dds" "Textures\\characters\\orc\\male\\footmale_n.dds" 
		Break
		Case Vascular
		CopyDataFile "all textures\\Muscular tone\\footmale_nvcl.dds" "Textures\\characters\\orc\\male\\footmale_n.dds" 
		Break
		EndSelect
	SelectWithDescriptions "Choose facial texture",\
	"Robert" "Original Robert Male setting",\
	"Smooth" "Smoother version",\
	"Enayla1" "First version of texture created by Enayla",\
	"Enayla2" "Second version of texture created by Enayla",\
	"Enayla3" "Third version of texture created by Enayla",\
	"Ren" "Face texture by Ren"
		Case Robert
		CopyDataFile "all Textures\\Faces\\orc\\headorc std.dds" "Textures\\characters\\orc\\headorc.dds"
		CopyDataFile "all Textures\\Faces\\orc\\headorc_n std.dds" "Textures\\characters\\orc\\headorc_n.dds"
		Break
		Case Smooth
		CopyDataFile "all Textures\\Faces\\orc\\headorc smt.dds" "Textures\\characters\\orc\\headorc.dds"
		CopyDataFile "all Textures\\Faces\\orc\\headorc_n smt.dds" "Textures\\characters\\orc\\headorc_n.dds"
		Break
		Case Enayla1
		CopyDataFile "all Textures\\Faces\\orc\\headorc en1.dds" "Textures\\characters\\orc\\headorc.dds"
		CopyDataFile "all Textures\\Faces\\orc\\headorc_n en.dds" "Textures\\characters\\orc\\headorc_n.dds"
		Break
		Case Enayla2
		CopyDataFile "all Textures\\Faces\\orc\\headorc en2.dds" "Textures\\characters\\orc\\headorc.dds"
		CopyDataFile "all Textures\\Faces\\Imperial\\headhuman_n en.dds" "Textures\\characters\\orc\\headorc_n.dds"
		Break
		Case Enayla3
		CopyDataFile "all Textures\\Faces\\orc\\headorc en3.dds" "Textures\\characters\\orc\\headorc.dds"
		CopyDataFile "all Textures\\Faces\\Imperial\\headhuman_n en.dds" "Textures\\characters\\orc\\headorc_n.dds"
		Break
	EndSelect
	Break
EndSelect

SelectWithDescriptions "Choose skin for:",\
"Argonian" "The reptilian race"
Case Argonian
	SelectWithDescriptions "Choose amount of body hair",\
	"Robert" "There is only this setting for Argonians right now" 
		Case Robert
		CopyDataFile "all textures\\Skin\\Standard\\footmale arg.dds" "Textures\\characters\\argonian\\male\\footmale.dds" 
		Break
		EndSelect
	SelectWithDescriptions "Choose muscular tone",\
	"Robert" "Original Robert Male setting - only this setting for argonians right now"
		Case Robert
		CopyDataFile "all textures\\Muscular tone\\footmale_n arg.dds" "Textures\\characters\\argonian\\male\\footmale_n.dds" 
		Break
		EndSelect
	Break
EndSelect

SelectWithDescriptions "Choose skin for:",\
"Khajiit" "The feline race"
Case Khajiit
	SelectWithDescriptions "Choose amount of body hair",\
	"Robert" "There is only this setting for Khajiits right now" 
		Case Robert
		CopyDataFile "all textures\\Skin\\Standard\\footmale kjt.dds" "Textures\\characters\\khajiit\\male\\footmale.dds" 
		Break
	EndSelect
	SelectWithDescriptions "Choose muscular tone",\
	"Robert" "Original Robert Male setting - only this setting for khajiits right now"
		Case Robert
		CopyDataFile "all textures\\Muscular tone\\footmale_n kjt.dds" "Textures\\characters\\khajiit\\male\\footmale_n.dds" 
		Break
	EndSelect
	SelectWithDescriptions "Choose facial texture",\
	"Robert" "Original Robert Male setting"
		Case Robert
		CopyDataFile "all Textures\\Faces\\Khajiit\\headkhajiit.dds" "Textures\\characters\\khajiit\\Headkhajiit.dds"
		CopyDataFile "all Textures\\Faces\\Khajiit\\headkhajiit_n.dds" "Textures\\characters\\khajiit\\headkhajiit_n.dds"
		Break
	EndSelect
	Break
EndSelect

SelectWithDescriptions "Choose skin for:",\
"DarkSeducer" "The dark guards of Shivering Isles",\
"Skip" "Choose this in case you don't have SI"
Case DarkSeducer
	SelectWithDescriptions "Choose amount of body hair",\
	"Smooth"  "There will be little to no hair in the body",\
	"Robert" "There will be some body hair" 
		Case Smooth
		CopyDataFile "all textures\\Skin\\Smooth\\footmale dks.dds" "Textures\\characters\\darkseducer\\male\\footmale.dds" 
		Break
		Case Robert
		CopyDataFile "all textures\\Skin\\Standard\\footmale dks.dds" "Textures\\characters\\darkseducer\\male\\footmale.dds" 
		Break
		EndSelect
	SelectWithDescriptions "Choose muscular tone",\
	"Smooth" "Muscles aren't so aparent",\
	"Robert" "Original Robert Male setting",\
	"Defined" "Muscles are more aparent",\
	"Vascular" "Muscles are aparent and some veins too"
		Case Smooth
		CopyDataFile "all textures\\Muscular tone\\footmale_nsmth.dds" "Textures\\characters\\darkseducer\\male\\footmale_n.dds" 
		Break
		Case Robert
		CopyDataFile "all textures\\Muscular tone\\footmale_nstd.dds" "Textures\\characters\\darkseducer\\male\\footmale_n.dds" 
		Break
		Case Defined
		CopyDataFile "all textures\\Muscular tone\\footmale_ndfn.dds" "Textures\\characters\\darkseducer\\male\\footmale_n.dds" 
		Break
		Case Vascular
		CopyDataFile "all textures\\Muscular tone\\footmale_nvcl.dds" "Textures\\characters\\darkseducer\\male\\footmale_n.dds" 
		Break
	EndSelect
	SelectWithDescriptions "Choose facial texture",\
	"Robert" "Original Robert Male setting",\
	"Smooth" "Smoother version"
		Case Robert
		CopyDataFile "all Textures\\Faces\\Dark Seducer\\headdarkseducer std.dds" "Textures\\characters\\darkseducer\\Headdarkseducer.dds"
		CopyDataFile "all Textures\\Faces\\Imperial\\headhuman_n std.dds" "Textures\\characters\\darkseducer\\headdarkseducer_n.dds"
		Break
		Case Smooth
		CopyDataFile "all Textures\\Faces\\Dark Seducer\\headdarkseducer smt.dds" "Textures\\characters\\darkseducer\\headdarkseducer.dds"
		CopyDataFile "all Textures\\Faces\\Imperial\\headhuman_n smt.dds" "Textures\\characters\\darkseducer\\headdarkseducer_n.dds"
		Break
	EndSelect
	Break
Case Skip
EndSelect

SelectWithDescriptions "Choose skin for:",\
"GoldenSaint" "The golden guards of Shivering Isles",\
"Skip" "Choose this in case you don't have SI"
Case GoldenSaint
	SelectWithDescriptions "Choose amount of body hair",\
	"Smooth"  "There will be little to no hair in the body",\
	"Robert" "There will be some body hair" 
		Case Smooth
		CopyDataFile "all textures\\Skin\\Smooth\\footmale gds.dds" "Textures\\characters\\goldensaint\\male\\footmale.dds" 
		Break
		Case Robert
		CopyDataFile "all textures\\Skin\\Standard\\footmale gds.dds" "Textures\\characters\\goldensaint\\male\\footmale.dds" 
		Break
		EndSelect
	SelectWithDescriptions "Choose muscular tone",\
	"Smooth" "Muscles aren't so aparent",\
	"Robert" "Original Robert Male setting",\
	"Defined" "Muscles are more aparent",\
	"Vascular" "Muscles are aparent and some veins too"
		Case Smooth
		CopyDataFile "all textures\\Muscular tone\\footmale_nsmth.dds" "Textures\\characters\\goldensaint\\male\\footmale_n.dds" 
		Break
		Case Robert
		CopyDataFile "all textures\\Muscular tone\\footmale_nstd.dds" "Textures\\characters\\goldensaint\\male\\footmale_n.dds" 
		Break
		Case Defined
		CopyDataFile "all textures\\Muscular tone\\footmale_ndfn.dds" "Textures\\characters\\goldensaint\\male\\footmale_n.dds" 
		Break
		Case Vascular
		CopyDataFile "all textures\\Muscular tone\\footmale_nvcl.dds" "Textures\\characters\\goldensaint\\male\\footmale_n.dds" 
		Break
		EndSelect
	SelectWithDescriptions "Choose facial texture",\
	"Robert" "Original Robert Male setting",\
	"Smooth" "Smoother version"
		Case Robert
		CopyDataFile "all Textures\\Faces\\Golden Saint\\headsaint std.dds" "Textures\\characters\\goldensaint\\headsaint.dds"
		CopyDataFile "all Textures\\Faces\\Imperial\\headhuman_n std.dds" "Textures\\characters\\goldensaint\\headsaint_n.dds"
		Break
		Case Smooth
		CopyDataFile "all Textures\\Faces\\Golden Saint\\headsaint smt.dds" "Textures\\characters\\goldensaint\\headsaint.dds"
		CopyDataFile "all Textures\\Faces\\Imperial\\headhuman_n smt.dds" "Textures\\characters\\goldensaint\\headsaint_n.dds"
		Break
	EndSelect
	Break
Case Skip
EndSelect

SelectWithDescriptions "Choose skin for:",\
"Dremora" "The demons from the oblivion plane"
Case Dremora
	SelectWithDescriptions "Choose amount of body hair",\
	"Robert" "The dremora only have one skin texture" 
		Case Robert
		CopyDataFile "all textures\\Skin\\Standard\\footmale drm.dds" "Textures\\characters\\dremora\\male\\footmale.dds" 
		Break
		EndSelect
	SelectWithDescriptions "Choose muscular tone",\
	"Smooth" "Muscles aren't so aparent",\
	"Robert" "Original Robert Male setting",\
	"Defined" "Muscles are more aparent",\
	"Vascular" "Muscles are aparent and some veins too"
		Case Smooth
		CopyDataFile "all textures\\Muscular tone\\footmale_nsmth.dds" "Textures\\characters\\dremora\\male\\footmale_n.dds" 
		Break
		Case Robert
		CopyDataFile "all textures\\Muscular tone\\footmale_n drm.dds" "Textures\\characters\\dremora\\male\\footmale_n.dds" 
		Break
		Case Defined
		CopyDataFile "all textures\\Muscular tone\\footmale_ndfn.dds" "Textures\\characters\\dremora\\male\\footmale_n.dds" 
		Break
		Case Vascular
		CopyDataFile "all textures\\Muscular tone\\footmale_nvcl.dds" "Textures\\characters\\dremora\\male\\footmale_n.dds" 
		Break
		EndSelect
	SelectWithDescriptions "Choose facial texture",\
	"Robert" "Original Robert Male setting",\
	"Enayla" "version of texture created by Enayla"
		Case Robert
		CopyDataFile "all Textures\\Faces\\Dremora\\headdremora std.dds" "Textures\\characters\\dremora\\headdremora.dds"
		CopyDataFile "all Textures\\Faces\\Dremora\\headdremora_n std.dds" "Textures\\characters\\dremora\\headdremora_n.dds"
		Break
		Case Enayla
		CopyDataFile "all Textures\\Faces\\Dremora\\headdremora en.dds" "Textures\\characters\\dremora\\headdremora.dds"
		CopyDataFile "all Textures\\Faces\\Dremora\\headdremora_n en.dds" "Textures\\characters\\dremora\\headdremora_n.dds"
		Break
	EndSelect
	Break
EndSelect

SelectWithDescriptions "Please choose head for human",\
"Robert" "improved default head with smoother morphs",\
"Ren1" "Version 1 of the human head by Ren",\
"Ren2" "Version 2 of the human head by Ren"
	Case Robert
	CopyDataFolder "HEAD REPLACERS\\ROBERT" "Meshes\\characters\\imperial" True
	Break
	Case Ren1
	CopyDataFolder "HEAD REPLACERS\\REN1" "Meshes\\characters\\imperial" True
	Break
	Case Ren2
	CopyDataFolder "HEAD REPLACERS\\REN2" "Meshes\\characters\\imperial" True
	Break
EndSelect

InstallPlugin "AMB.esp"

Link to comment
Share on other sites

You are lucky.

OBMM scripting doesn't allow that structure,

 

SelectWithDescriptions "Choose clothed or naked",\
       "Clothed" "Will install a body replacer with minimal clothing to prevent nudity in game.",\
       "Naked" "Will install a body replacer without any clothing and exposed genitals."
[...]

Unless you add at the start: AllowRunOnLines

 

AllowRunOnLines

[...]

SelectWithDescriptions "Choose clothed or naked",\
       "Clothed" "Will install a body replacer with minimal clothing to prevent nudity in game.",\
       "Naked" "Will install a body replacer without any clothing and exposed genitals."
[...]

 

Use OBMMEx to simplify the use of scripts, you can save these predefined structures -to not forgot those details-:

http://www.tesnexus.com/downloads/file.php?id=32277

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...