-
Posts
2 -
Joined
-
Last visited
Martneb's Achievements
Newbie (1/14)
0
Reputation
-
[LE] MCM Menu How to Reference Race Data
Martneb replied to Martneb's topic in Skyrim's Creation Kit and Modders
Here is What I could do until now: Scriptname NMUVL_MCMScript extends SKI_ConfigBase Race property DLC1VampireBeastRace auto ;Toggle Option Idint IRace ;StringString[] OptionList ;Chosen OptionInt Choice = 0 event OnConfigInit() Pages = New String[1]Pages [0]= "Race Appearence" EndEvent ;***************************************;*************************************** Event OnInit() parent.oninit()OptionList = new String[11]OptionList[0]= "Standard"OptionList[1]= "Altmer"OptionList[2]= "Argonian(Bugged)"OptionList[3]= "Bosmer"OptionList[4]= "Breton"OptionList[5]= "Dunmer"OptionList[6]= "Imperial"OptionList[7]= "Khajiit(Bugged)"OptionList[8]= "Nord"OptionList[9]= "Orc"OptionList[10]= "Redguard"endevent ;***************************************;*************************************** event OnPageReset(string page) IF(Page == "") LoadCustomContent("Lord Harkon") else UnloadCustomContent()endif ;************************************;************************************ if(Page == "Race Appearence")SetCursorFillMode(Top_to_Bottom)AddHeaderOption("Choose the Race your playing as:")AddEmptyOption()AddMenuOption("Choose Appearence",OptionList[Choice])Endif endEvent Event OnOptionMenuOpen(int Option)if(option == Irace)SetMenuDialogOptions(OptionList)SetMenuDialogStartIndex(Choice)SetMenuDialogDefaultIndex(0)endifendevent;*****************************;***************************** event optionmenuaccept (int option,int index)if (Option == IRace)Choice= IndexSetMenuoptionValue(IRace,OptionList[Choice])if Choice == 0 ;DefaultRaceDLC1VampireBeastRace.Morph_Race = "DefaulRace"Showmessage("Default Appearence",False,"Appearence kept") endifendif The part i am struggeling now with is:DLC1VampireBeastRace.Morph_Race = "DefaulRace" I want this line to change the Race Morph, which can be found in the General Data tab of the race properties.I just dont know how to access it per script.My Goal is that with the Menu i can e.g. Change the Morph Race reference from "DefaultRace" to "NordRace" I would be happy if anyone could show the Reference path to me. Sincerly, The Newbie Modder -
[LE] MCM Menu How to Reference Race Data
Martneb posted a topic in Skyrim's Creation Kit and Modders
I want to create a MCM for a mod that changes "Copied Data" of a race. Now my question is how to reference the race and "Copied Data" in the General Tab Sincerly, The Newbie Modder