Jump to content

Increasing 3BA Racemenu Slider Range With Scripts


Recommended Posts

Posted

I know next to nothing about scripting. Anyone who has successfully increased the slider range in Racemenu for 3ba, your advice and any information on how I should proceed is greatly appreciated. Thank you for reading and giving the time to help. 

 

I read some older posts on this subject and followed the info they provided, changing 2 variables. Now, please forgive my ignorance on the matter but I'm flailing in the dark here with how to proceed. Trying to compile the script in CK throws errors and the official Bethesda wiki for CK documentation has been closed for maintenance for months now.

 

The only line I changed is, adding -4.0 and 4.0 in: AddSliderEx(displayNames[m], CATEGORY_KEY, CALLBACK_PART + morphs[m], -4.0, 4.0, 0.01, getBodyMorph(morphs[m]))
Here's how it looks:
 

Event OnSliderRequest(Actor player, ActorBase playerBase, Race actorRace, Bool isFemale)
    If isFemale && CheckNiOverride()
        AddSliderEx("Reset", CATEGORY_KEY, CALLBACK_PART + "Reset", 0.0, 2.0, 1.0, 0.0)

        If CheckPapyrusUtil() && CheckUIExtensions()
            addPresetSliders()
        EndIf

        Int m
        While m < morphs.Length
            AddSliderEx(displayNames[m], CATEGORY_KEY, CALLBACK_PART + morphs[m], -4.0, 4.0, 0.01, getBodyMorph(morphs[m]))
            m += 1
        EndWhile

        Version = RM_CBBE_VERSION
    Endif
EndEvent

 

And the errors I received are:

D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(0,0): unable to locate script RaceMenuBase
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(19,8): racemenubase is not a known user-defined type
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(24,8): variable SKSE is undefined
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(24,13): none is not a known user-defined type
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(24,38): cannot compare a none to a int (cast missing or types unrelated)
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(24,38): cannot relatively compare variables to None
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(24,57): variable NiOverride is undefined
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(24,68): none is not a known user-defined type
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(24,87): cannot compare a none to a int (cast missing or types unrelated)
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(24,87): cannot relatively compare variables to None
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(140,25): CreateBoolArray is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(140,25): cannot call the member function CreateBoolArray alone or on a type, must call it on a variable
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(158,16): CreateBoolArray is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(158,16): cannot call the member function CreateBoolArray alone or on a type, must call it on a variable
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(163,17): CreateBoolArray is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(163,17): cannot call the member function CreateBoolArray alone or on a type, must call it on a variable
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(177,25): CreateBoolArray is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(177,25): cannot call the member function CreateBoolArray alone or on a type, must call it on a variable
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(195,17): CreateBoolArray is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(195,17): cannot call the member function CreateBoolArray alone or on a type, must call it on a variable
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(206,17): CreateBoolArray is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(206,17): cannot call the member function CreateBoolArray alone or on a type, must call it on a variable
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(209,25): CreateBoolArray is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(209,25): cannot call the member function CreateBoolArray alone or on a type, must call it on a variable
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(225,16): CreateFloatArray is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(225,16): cannot call the member function CreateFloatArray alone or on a type, must call it on a variable
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(228,16): CreateIntArray is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(228,16): cannot call the member function CreateIntArray alone or on a type, must call it on a variable
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(231,16): CreateBoolArray is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(231,16): cannot call the member function CreateBoolArray alone or on a type, must call it on a variable
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(234,16): CreateStringArray is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(234,16): cannot call the member function CreateStringArray alone or on a type, must call it on a variable
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(237,16): CreateFormArray is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(237,16): cannot call the member function CreateFormArray alone or on a type, must call it on a variable
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(240,16): CreateAliasArray is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(240,16): cannot call the member function CreateAliasArray alone or on a type, must call it on a variable
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(244,16): ResizeFloatArray is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(244,16): cannot call the member function ResizeFloatArray alone or on a type, must call it on a variable
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(247,16): ResizeIntArray is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(247,16): cannot call the member function ResizeIntArray alone or on a type, must call it on a variable
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(250,16): ResizeStringArray is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(250,16): cannot call the member function ResizeStringArray alone or on a type, must call it on a variable
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(253,16): ResizeFormArray is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(253,16): cannot call the member function ResizeFormArray alone or on a type, must call it on a variable
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(256,16): ResizeAliasArray is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\PapyrusUtil.psc(256,16): cannot call the member function ResizeAliasArray alone or on a type, must call it on a variable
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(32,13): IsPluginInstalled is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(32,13): cannot call the member function IsPluginInstalled alone or on a type, must call it on a variable
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(238,1): AddCategory is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(245,2): AddSliderEx is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(253,3): AddSliderEx is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(288,1): variable NiOverride is undefined
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(288,30): variable _targetActor is undefined
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(288,12): none is not a known user-defined type
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(292,1): variable NiOverride is undefined
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(292,25): variable _targetActor is undefined
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(292,12): none is not a known user-defined type
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(300,8): variable NiOverride is undefined
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(300,32): variable _targetActor is undefined
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(300,19): none is not a known user-defined type
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(300,1): cannot return a none from getbodymorph, the types do not match (cast missing or types unrelated)
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(304,1): variable NiOverride is undefined
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(304,31): variable _targetActor is undefined
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(304,12): none is not a known user-defined type
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(309,32): CreateStringArray is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(309,32): cannot call the member function CreateStringArray alone or on a type, must call it on a variable
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(310,32): CreateFloatArray is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(310,32): cannot call the member function CreateFloatArray alone or on a type, must call it on a variable
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(311,29): CreateIntArray is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(311,29): cannot call the member function CreateIntArray alone or on a type, must call it on a variable
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(319,1): SetSliderParametersEx is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(322,1): SetSliderParameters is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\JsonUtil.psc(49,8): variable StringUtil is undefined
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\JsonUtil.psc(49,19): none is not a known user-defined type
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\JsonUtil.psc(49,43): cannot compare a none to a int (cast missing or types unrelated)
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(329,2): AddSliderEx is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(333,1): AddSliderEx is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBEUIMenuBase.psc(15,7): variable UI is undefined
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBEUIMenuBase.psc(15,10): none is not a known user-defined type
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBEUIMenuBase.psc(33,7): variable UI is undefined
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBEUIMenuBase.psc(33,10): none is not a known user-defined type
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBEUIListMenu.psc(142,1): RegisterForModEvent is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBEUIListMenu.psc(143,1): RegisterForModEvent is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBEUIListMenu.psc(144,1): RegisterForModEvent is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBEUIListMenu.psc(145,1): RegisterForModEvent is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBEUIListMenu.psc(148,1): variable UI is undefined
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBEUIListMenu.psc(148,4): none is not a known user-defined type
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBEUIListMenu.psc(181,1): variable UI is undefined
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBEUIListMenu.psc(181,4): none is not a known user-defined type
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBEUIListMenu.psc(184,2): variable UI is undefined
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBEUIListMenu.psc(184,5): none is not a known user-defined type
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBEUIListMenu.psc(187,1): variable UI is undefined
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBEUIListMenu.psc(187,4): none is not a known user-defined type
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBEUIListMenu.psc(191,1): UnregisterForModEvent is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBEUIListMenu.psc(192,1): UnregisterForModEvent is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBEUIListMenu.psc(193,1): UnregisterForModEvent is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(357,1): SetSliderParameters is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(366,33): CreateStringArray is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(366,33): cannot call the member function CreateStringArray alone or on a type, must call it on a variable
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(367,33): CreateFloatArray is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(367,33): cannot call the member function CreateFloatArray alone or on a type, must call it on a variable
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(368,30): CreateIntArray is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(368,30): cannot call the member function CreateIntArray alone or on a type, must call it on a variable
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(390,2): SetSliderParametersEx is not a function or does not exist
D:\Games\The Elder Scrolls - Skyrim - Special Edition\Data\Source\Scripts\RaceMenuMorphsCBBE.psc(424,1): SetSliderParameters is not a function or does not exist
No output generated for RaceMenuMorphsCBBE, compilation failed.

Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on RaceMenuMorphsCBBE

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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