wedragon Posted January 29, 2017 Share Posted January 29, 2017 Adapting Mod for personal use at this moment in time and to test if functioning fine.Will seek permission from original mod author and release. Mod being Adapted Classic Classes and Birthsigns by Kearsage ( /skyrim/mods/16736/? ) Scriptname _CCMenuScript extends Quest ;Table of Contents - USe Search to Jump to Section;Mod Initialization Section;Classic Classes Section;Birthsign Main Menu Section ;Third Era Birthsign Section;Fourth Era Birthsign Section;Custom Class Section Spell Property _CCUnarmedBonus AutoSpell Property OakFlesh AutoSpell Property MageLight AutoSpell Property RaiseZombie AutoSpell Property SoulTrap AutoSpell Property BoundSword AutoSpell Property Flames AutoSpell Property FrostRune AutoSpell Property Clairvoyance AutoSpell Property Calm AutoSpell Property Healing AutoSpell Property TurnlesserUndead AutoSpell Property HealingHands AutoSpell Property Courage Auto Spell Property _CCAthleticsAbility AutoSpell Property _CCMysticismAbility AutoSpell Property _CCAcrobaticsAbility AutoSpell Property _CCUnarmoredAbility Auto Spell Property _CCAcrobaticsStaAbility AutoSpell Property _CCAthleticsStaAbility Auto Spell Property _CCArcherAbility AutoSpell Property _CCBarbarianAbility AutoSpell Property _CCCrusaderAbility AutoSpell Property _CCKnightAbility AutoSpell Property _CCRogueAbility AutoSpell Property _CCScoutAbility AutoSpell Property _CCWarriorAbility AutoSpell Property _CCAcrobatAbilityFirFro AutoSpell Property _CCAcrobatAbilityMagSho AutoSpell Property _CCAgentAbility AutoSpell Property _CCAssassinAbility AutoSpell Property _CCBardAbility AutoSpell Property _CCMonkAbility AutoSpell Property _CCPilgrimAbilityMagicka AutoSpell Property _CCPilgrimAbilityHealth AutoSpell Property _CCPilgrimAbilityStamina AutoSpell Property _CCThiefAbility AutoSpell Property _CCBattlemageAbility AutoSpell Property _CCHealerAbility AutoSpell Property _CCMageAbility AutoSpell Property _CCNightbladeAbility AutoSpell Property _CCSorcererAbility AutoSpell Property _CCSpellswordAbility AutoSpell Property _CCWitchhunterAbility Auto message property _CCTopMenu automessage property _CCAdventurerMenu automessage property _CCSpecializationMenu automessage property _CCCombatSpecializationMenu automessage property _CCStealthSpecializationMenu automessage property _CCMagicSpecializationMenu automessage property _CCArcherMenu automessage property _CCArcherSelected automessage property _CCBarbarianMenu Automessage property _CCBarbarianSelected Automessage property _CCCrusaderMenu Automessage property _CCCrusaderSelected Automessage property _CCKnightMenu Automessage property _CCKnightSelected Automessage property _CCRogueMenu Automessage property _CCRogueSelected Automessage property _CCScoutMenu Automessage property _CCScoutSelected Automessage property _CCWarriorMenu Automessage property _CCWarriorSelected Automessage property _CCAcrobatMenu automessage property _CCAcrobatSelected automessage property _CCAgentMenu Automessage property _CCAgentSelected Automessage property _CCAssassinMenu Automessage property _CCAssassinSelected Automessage property _CCBardMenu Automessage property _CCBardSelected Automessage property _CCMonkMenu Automessage property _CCMonkSelected Automessage property _CCPilgrimMenu Automessage property _CCPilgrimSelected Automessage property _CCThiefMenu Automessage property _CCThiefSelected Automessage property _CCBattlemageMenu automessage property _CCBattlemageSelected automessage property _CCHealerMenu Automessage property _CCHealerSelected Automessage property _CCMageMenu Automessage property _CCMageSelected Automessage property _CCNightbladeMenu Automessage property _CCNightbladeSelected Automessage property _CCSorcererMenu Automessage property _CCSorcererSelected Automessage property _CCSpellswordMenu Automessage property _CCSpellswordSelected Automessage property _CCWitchhunterMenu Automessage property _CCWitchhunterSelected Auto Spell Property doomApprenticeAbility AutoSpell Property doomApprenticeNegativeAbility AutoSpell Property doomAtronachAbility AutoSpell Property doomLadyAbility AutoSpell Property doomLordAbility AutoSpell Property doomLoverAbility AutoSpell Property doomMageAbility AutoSpell Property doomRitualAbility AutoSpell Property doomSerpentAbility AutoSpell Property doomShadowAbility AutoSpell Property doomSteedAbility AutoSpell Property doomThiefAbility AutoSpell Property doomTowerAbility AutoSpell Property doomWarriorAbility AutoSpell Property _BSWarriorSign AutoSpell Property _BSMageSign AutoSpell Property _BSThiefSign AutoSpell Property _BSSerpentSign AutoSpell Property _BSSerpentAbility AutoSpell Property _BSLadySignHealth AutoSpell Property _BSLadySignMagicka AutoSpell Property _BSSteedSign AutoSpell Property _BSLordSign AutoSpell Property _BSLordSignAbility AutoSpell Property _BSApprenticeSign AutoSpell Property _BSApprenticeSignNegativeAbility AutoSpell Property _BSAtronachSign AutoSpell Property _BSRitualSignHealAbility AutoSpell Property _BSRitualSignTurnAbility AutoSpell Property _BSLoverSign AutoSpell Property _BSShadowSign AutoSpell Property _BSTowerSign Auto message property _BSBirthsignMenu Automessage property _BSBirthsignChoiceMenu Automessage property _BSApprenticeMenu Automessage property _BSAtronachMenu Automessage property _BSLadyMenu Automessage property _BSLordMenu Automessage property _BSLoverMenu Automessage property _BSMageSignMenu Automessage property _BSMageChargesMenu Automessage property _BSRitualMenu Automessage property _BSSerpentMenu Automessage property _BSShadowMenu Automessage property _BSSteedMenu Automessage property _BSThiefSignMenu Automessage property _BSThiefChargesMenu Automessage property _BSTopMenu Automessage property _BSTowerMenu Automessage property _BSTravelerMenu Automessage property _BSWarriorSignMenu Automessage property _BSWarriorChargesMenu Automessage property _BSWarriorSignMenu3E Automessage property _BSMageSignMenu3E Automessage property _BSThiefSignMenu3E Automessage property _BSSerpentMenu3E Automessage property _BSLadyMenu3E Automessage property _BSSteedMenu3E Automessage property _BSLordMenu3E Automessage property _BSApprenticeMenu3E Automessage property _BSAtronachMenu3E Automessage property _BSRitualMenu3E Automessage property _BSLoverMenu3E Automessage property _BSShadowMenu3E Automessage property _BSTowerMenu3E Auto message property _CCCurrentCharacter Automessage property _CCCurrentBirthsignMenu Auto GlobalVariable property SpeechEasy AutoGlobalVariable property SpeechAverage AutoGlobalVariable property SpeechHard AutoGlobalVariable property SpeechVeryHard Auto ;-------------------------------------------------------------------------;MOD INITIALIZATION SECTION;------------------------------------------------------------------------- Event OnInit() ;SCRIPT INITIALIZATIONint playerlevel = Game.GetPlayer().GetLevel()if playerlevel == 1StartMod()ElseCurrentClassStart()EndIfEndEvent Function StartMod()Actor player = Game.GetPlayer(); debug.MessageBox(player.GetEquippedItemType(0))bool hasequipped = (player.GetEquippedItemType(0) > 0) || (player.GetEquippedItemType(1) > 0)if hasequipped == falseStartMod()ElseTopMenu()EndIfEndFunction ;-------------------------------------------------------------------------;CURRENT CLASS SECTION;------------------------------------------------------------------------- Function CurrentClassStart()int ibutton = _CCCurrentCharacter.Show()if ibutton == 0SpecializationMenu()elseif ibutton == 1CurrentBirthsignMenu()EndIfEndFunction Function CurrentBirthsignMenu()int ibutton = _CCCurrentBirthsignMenu.Show()if ibutton == 0BSTopMenu()elseif ibutton == 1EndIfEndFunction ;-------------------------------------------------------------------------;CLASSIC CLASS SECTION;-------------------------------------------------------------------------Function TopMenu() ;TOP MENUif (!Utility.IsInMenuMode())int ibutton = _CCTopMenu.Show()if ibutton == 0AdventurerMenu()elseif ibutton == 1SpecializationMenu()elseif ibutton == 2CustomClassMenu()EndIfElseTopMenu()EndIfEndFunction Function AdventurerMenu() ;ADVENTURER MENUint ibutton = _CCAdventurerMenu.Show()if ibutton == 1TopMenu()ElseBSTopMenu()EndIfEndFunction Function SpecializationMenu() ;SPECIALIZATION MENUint ibutton = _CCSpecializationMenu.Show()if ibutton == 0CombatSpecializationMenu()elseif ibutton == 1StealthSpecializationMenu()elseif ibutton == 2MagicSpecializationMenu()Elseif ibutton == 3int playerlevel = Game.GetPlayer().GetLevel()if playerlevel == 1TopMenu()ElseCurrentClassStart()EndIfEndIfEndFunction ;COMBAT CLASSES BELOW Function CombatSpecializationMenu() ;COMBAT SPECIALIZATION MENUint ibutton = _CCCombatSpecializationMenu.Show()if ibutton == 0ArcherMenu() elseif ibutton == 1BarbarianMenu()elseif ibutton == 2CrusaderMenu()elseif ibutton == 3KnightMenu()elseif ibutton == 4RogueMenu()elseif ibutton == 5ScoutMenu()elseif ibutton == 6WarriorMenu()elseif ibutton == 7SpecializationMenu()EndIfEndFunction Function ArcherMenu() ;ARCHER MENUint ibutton = _CCArcherMenu.Show()Actor player = Game.GetPlayer()if ibutton == 0int sbutton = _CCArcherSelected.Show()if sbutton == 1CombatSpecializationMenu()Else;Set the Class Skillsplayer.AddPerk(_CCCustomArchery)player.AddPerk(_CCCustomBlock)player.AddPerk(_CCCustomOneHanded)player.AddPerk(_CCCustomSmithing)player.AddPerk(_CCCustomLightArmor)player.AddPerk(_CCCustomSneak) ;Set Secondary Skillplayer.AddPerk(_CCCustomAthletics) ;Class Abilitiesplayer.AddSpell(_CCArcherAbility) ;Run Class Build FunctionBuildClass() EndIfElseif ibutton == 1CombatSpecializationMenu()EndIf EndFunction Function BarbarianMenu() ;BARBARIAN MENUint ibutton = _CCBarbarianMenu.Show()Actor player = Game.GetPlayer()if ibutton == 0int sbutton = _CCBarbarianSelected.Show()if sbutton == 1CombatSpecializationMenu()Else;Set the Class Skillsplayer.AddPerk(_CCCustomArchery)player.AddPerk(_CCCustomOneHanded)player.AddPerk(_CCCustomSmithing)player.AddPerk(_CCCustomTwoHanded)player.AddPerk(_CCCustomLightArmor)player.AddPerk(_CCCustomBlock) ;Set Secondary Skillplayer.AddSpell(_CCUnarmedBonus) ;Barbarian Class Abilityplayer.AddSpell(_CCBarbarianAbility) ;Run Class Build FunctionBuildClass()EndIfElseif ibutton == 1CombatSpecializationMenu()EndIf EndFunction Function CrusaderMenu() ;CRUSADER MENUint ibutton = _CCCrusaderMenu.Show()Actor player = Game.GetPlayer()if ibutton == 0int sbutton = _CCCrusaderSelected.Show()if sbutton == 1CombatSpecializationMenu()Else;Set the Class Skillsplayer.AddPerk(_CCCustomBlock)player.AddPerk(_CCCustomHeavyArmor)player.AddPerk(_CCCustomOneHanded)player.AddPerk(_CCCustomTwoHanded)player.AddPerk(_CCCustomDestruction)player.AddPerk(_CCCustomRestoration) ;Set Secondary Skillplayer.AddSpell(_CCUnarmedBonus) ;Set Crusader Class Bonus:player.AddSpell(_CCCrusaderAbility) ;Run Class Build Function BuildClass()EndIfElseif ibutton == 1CombatSpecializationMenu()EndIf EndFunction Function KnightMenu() ;KNIGHT MENUint ibutton = _CCKnightMenu.Show()Actor player = Game.GetPlayer()if ibutton == 0int sbutton = _CCKnightSelected.Show()if sbutton == 1CombatSpecializationMenu()Else;Set the Class Skillsplayer.AddPerk(_CCCustomBlock)player.AddPerk(_CCCustomHeavyArmor)player.AddPerk(_CCCustomTwoHanded)player.AddPerk(_CCCustomOneHanded)player.AddPerk(_CCCustomIllusion)player.AddPerk(_CCCustomSpeech) ;Set Secondary Skillplayer.AddSpell(_CCMysticismAbility) ;Knight Class Bonus:player.AddSpell(_CCKnightAbility)player.AddSpell(Courage) ;Run Class Build Function BuildClass()EndIfElseif ibutton == 1CombatSpecializationMenu()EndIf EndFunction Function RogueMenu() ;ROGUE MENUint ibutton = _CCRogueMenu.Show()Actor player = Game.GetPlayer()if ibutton == 0int sbutton = _CCRogueSelected.Show()if sbutton == 1CombatSpecializationMenu()Else;Set the Class Skillsplayer.AddPerk(_CCCustomBlock)player.AddPerk(_CCCustomOneHanded)player.AddPerk(_CCCustomIllusion)player.AddPerk(_CCCustomAlchemy)player.AddPerk(_CCCustomLightArmor)player.AddPerk(_CCCustomSpeech) ;Set Secondary Skillplayer.AddPerk(_CCCustomAthletics) ;Rogue Class Bonus:player.AddSpell(_CCRogueAbility) ;Run Class Build FunctionBuildClass()EndIfElseif ibutton == 1CombatSpecializationMenu()EndIf EndFunction Function ScoutMenu() ;SCOUT MENUint ibutton = _CCScoutMenu.Show()Actor player = Game.GetPlayer()if ibutton == 0int sbutton = _CCScoutSelected.Show()if sbutton == 1CombatSpecializationMenu()Else;Set the Class Skillsplayer.AddPerk(_CCCustomBlock)player.AddPerk(_CCCustomOneHanded)player.AddPerk(_CCCustomSmithing)player.AddPerk(_CCCustomAlchemy)player.AddPerk(_CCCustomLightArmor)player.AddPerk(_CCCustomSneak) ;Set Secondary Skillplayer.AddPerk(_CCCustomAthletics) ;Scout Class Bonus:player.AddSpell(_CCScoutAbility) ;Run Class Build Function BuildClass()EndIfElseif ibutton == 1CombatSpecializationMenu()EndIf EndFunction Function WarriorMenu() ;WARRIOR MENUint ibutton = _CCWarriorMenu.Show()Actor player = Game.GetPlayer()if ibutton == 0int sbutton = _CCWarriorSelected.Show()if sbutton == 1CombatSpecializationMenu()Else;Set the Class Skillsplayer.AddPerk(_CCCustomArchery)player.AddPerk(_CCCustomBlock)player.AddPerk(_CCCustomHeavyArmor)player.AddPerk(_CCCustomOneHanded)player.AddPerk(_CCCustomSmithing)player.AddPerk(_CCCustomTwoHanded) ;Set Secondary Skillplayer.AddPerk(_CCCustomAthletics) ;Warrior Class Bonusplayer.AddSpell(_CCWarriorAbility) ;Run Class Build Function BuildClass()EndIfElseif ibutton == 1CombatSpecializationMenu()EndIf EndFunction ;STEALTH CLASSES BELOW Function StealthSpecializationMenu() ;STEALTH SPECIALIZATION MENUint ibutton = _CCStealthSpecializationMenu.Show()if ibutton == 0AcrobatMenu() elseif ibutton == 1AgentMenu()elseif ibutton == 2AssassinMenu()elseif ibutton == 3BardMenu()elseif ibutton == 4MonkMenu()elseif ibutton == 5PilgrimMenu()elseif ibutton == 6ThiefMenu()elseif ibutton == 7SpecializationMenu()EndIfEndFunction Function AcrobatMenu() ;ACROBAT MENUint ibutton = _CCAcrobatMenu.Show()Actor player = Game.GetPlayer()if ibutton == 0int sbutton = _CCAcrobatSelected.Show()if sbutton == 1StealthSpecializationMenu()Else;Set the Class Skillsplayer.AddPerk(_CCCustomArchery)player.AddPerk(_CCCustomOneHanded)player.AddPerk(_CCCustomLockpicking)player.AddPerk(_CCCustomPickpocket)player.AddPerk(_CCCustomSneak)player.AddPerk(_CCCustomSpeech) ;Set Secondary Skillplayer.AddPerk(_CCCustomAcrobatics) ;Acrobat Class Bonusplayer.AddSpell(_CCAcrobatAbilityFirFro)player.AddSpell(_CCAcrobatAbilityMagSho) ;Run Class Build Function BuildClass()EndIfElseif ibutton == 1StealthSpecializationMenu()EndIf EndFunction Function AgentMenu() ;AGENT MENUint ibutton = _CCAgentMenu.Show()Actor player = Game.GetPlayer()if ibutton == 0int sbutton = _CCAgentSelected.Show()if sbutton == 1StealthSpecializationMenu()Else;Set the Class Skillsplayer.AddPerk(_CCCustomArchery)player.AddPerk(_CCCustomIllusion)player.AddPerk(_CCCustomLockpicking)player.AddPerk(_CCCustomPickpocket)player.AddPerk(_CCCustomSneak)player.AddPerk(_CCCustomSpeech) ;Set Secondary Skillplayer.AddSpell(_CCUnarmoredAbility) ;Agent Class Abilityplayer.AddSpell(_CCAgentAbility)SpeechEasy.SetValue(70)SpeechAverage.SetValue(70)SpeechHard.SetValue(70)SpeechVeryHard.SetValue(70) ;Run Class Build Function BuildClass()EndIfElseif ibutton == 1StealthSpecializationMenu()EndIf EndFunction Function AssassinMenu() ;ASSASSIN MENUint ibutton = _CCAssassinMenu.Show()Actor player = Game.GetPlayer()if ibutton == 0int sbutton = _CCAssassinSelected.Show()if sbutton == 1StealthSpecializationMenu()Else;Set the Class Skillsplayer.AddPerk(_CCCustomArchery)player.AddPerk(_CCCustomOneHanded)player.AddPerk(_CCCustomAlchemy)player.AddPerk(_CCCustomLightArmor)player.AddPerk(_CCCustomPickpocket)player.AddPerk(_CCCustomSneak) ;Set Secondary Skillplayer.AddPerk(_CCCustomAcrobatics) ;Assassin Class Bonusplayer.AddSpell(_CCAssassinAbility) ;Run Class Build Function BuildClass()EndIfElseif ibutton == 1StealthSpecializationMenu()EndIf EndFunction Function BardMenu() ;BARD MENUint ibutton = _CCBardMenu.Show()Actor player = Game.GetPlayer()if ibutton == 0int sbutton = _CCBardSelected.Show()if sbutton == 1StealthSpecializationMenu()Else;Set the Class Skillsplayer.AddPerk(_CCCustomOneHanded)player.AddPerk(_CCCustomEnchanting)player.AddPerk(_CCCustomIllusion)player.AddPerk(_CCCustomAlchemy)player.AddPerk(_CCCustomLightArmor)player.AddPerk(_CCCustomSpeech) ;Set Secondary Skillplayer.AddSpell(_CCMysticismAbility) ;Bard Class Bonusplayer.AddSpell(_CCBardAbility) ;Run Class Build FunctionBuildClass()EndIfElseif ibutton == 1StealthSpecializationMenu()EndIf EndFunction Function MonkMenu() ;MONK MENUint ibutton = _CCMonkMenu.Show()Actor player = Game.GetPlayer()if ibutton == 0int sbutton = _CCMonkSelected.Show()if sbutton == 1StealthSpecializationMenu()Else;Set the Class Skillsplayer.AddPerk(_CCCustomArchery)player.AddPerk(_CCCustomAlteration)player.AddPerk(_CCCustomAlchemy)player.AddPerk(_CCCustomLockpicking)player.AddPerk(_CCCustomPickpocket)player.AddPerk(_CCCustomSneak) ;Set Secondary Skillplayer.AddSpell(_CCUnarmoredAbility) ;Monk Class Bonusplayer.AddSpell(_CCMonkAbility) ;Run Class Build FunctionBuildClass()EndIfElseif ibutton == 1StealthSpecializationMenu()EndIf EndFunction Function PilgrimMenu() ;PILGRIM MENUint ibutton = _CCPilgrimMenu.Show()Actor player = Game.GetPlayer()if ibutton == 0int sbutton = _CCPilgrimSelected.Show()if sbutton == 1StealthSpecializationMenu()Else;Set the Class Skillsplayer.AddPerk(_CCCustomBlock)player.AddPerk(_CCCustomOneHanded)player.AddPerk(_CCCustomSmithing)player.AddPerk(_CCCustomRestoration)player.AddPerk(_CCCustomLightArmor) player.AddPerk(_CCCustomSpeech) ;Set Secondary Skillplayer.AddSpell(_CCMysticismAbility) ;Pilgrim Class Bonus:player.AddSpell(_CCPilgrimAbilityMagicka)player.AddSpell(_CCPilgrimAbilityHealth)player.AddSpell(_CCPilgrimAbilityStamina) ;Run Class Build FunctionBuildClass()EndIfElseif ibutton == 1StealthSpecializationMenu()EndIf EndFunction Function ThiefMenu() ;THIEF MENUint ibutton = _CCThiefMenu.Show()Actor player = Game.GetPlayer()if ibutton == 0int sbutton = _CCThiefSelected.Show()if sbutton == 1StealthSpecializationMenu()Else;Set the Class Skillsplayer.AddPerk(_CCCustomArchery)player.AddPerk(_CCCustomLightArmor)player.AddPerk(_CCCustomLockpicking)player.AddPerk(_CCCustomPickpocket)player.AddPerk(_CCCustomSneak)player.AddPerk(_CCCustomSpeech) ;Set Secondary Skillplayer.AddPerk(_CCCustomAthletics) ;Thief Class Bonusplayer.AddSpell(_CCThiefAbility) ;Run Class Build Function BuildClass()EndIfElseif ibutton == 1StealthSpecializationMenu()EndIf EndFunction ;MAGIC CLASSES BELOW Function MagicSpecializationMenu() ;MAGIC SPECIALIZATION MENUint ibutton = _CCMagicSpecializationMenu.Show()if ibutton == 0BattlemageMenu() elseif ibutton == 1HealerMenu()elseif ibutton == 2MageMenu()elseif ibutton == 3NightbladeMenu()elseif ibutton == 4SorcererMenu()elseif ibutton == 5SpellswordMenu()elseif ibutton == 6WitchhunterMenu()elseif ibutton == 7SpecializationMenu()EndIfEndFunction Function BattlemageMenu() ;BATTLEMAGE MENUint ibutton = _CCBattlemageMenu.Show()Actor player = Game.GetPlayer()if ibutton == 0int sbutton = _CCBattlemageSelected.Show()if sbutton == 1MagicSpecializationMenu()Else;Set the Class Skillsplayer.AddPerk(_CCCustomOneHanded)player.AddPerk(_CCCustomAlteration)player.AddPerk(_CCCustomConjuration)player.AddPerk(_CCCustomDestruction)player.AddPerk(_CCCustomEnchanting)player.AddPerk(_CCCustomAlchemy) ;Set Secondary Skillplayer.AddSpell(_CCUnarmoredAbility) ;Battlemage Class Bonusplayer.AddSpell(_CCBattlemageAbility) ;Run Class Build FunctionBuildClass()EndIfElseif ibutton == 1MagicSpecializationMenu()EndIf EndFunction Function HealerMenu() ;HEALER MENUint ibutton = _CCHealerMenu.Show()Actor player = Game.GetPlayer()if ibutton == 0int sbutton = _CCHealerSelected.Show()if sbutton == 1MagicSpecializationMenu()Else;Set the Class Skillsplayer.AddPerk(_CCCustomAlteration)player.AddPerk(_CCCustomDestruction)player.AddPerk(_CCCustomIllusion)player.AddPerk(_CCCustomRestoration)player.AddPerk(_CCCustomAlchemy)player.AddPerk(_CCCustomSpeech) ;Set Secondary Skillplayer.AddSpell(_CCMysticismAbility) ;Healer Class Bonus:player.AddSpell(_CCHealerAbility)player.AddSpell(HealingHands) ;Run Class Build FunctionBuildClass()EndIfElseif ibutton == 1MagicSpecializationMenu()EndIf EndFunction Function MageMenu() ;MAGE MENUint ibutton = _CCMageMenu.Show()Actor player = Game.GetPlayer()if ibutton == 0int sbutton = _CCMageSelected.Show()if sbutton == 1MagicSpecializationMenu()Else;Set the Class Skillsplayer.AddPerk(_CCCustomAlteration)player.AddPerk(_CCCustomConjuration)player.AddPerk(_CCCustomDestruction)player.AddPerk(_CCCustomEnchanting)player.AddPerk(_CCCustomIllusion)player.AddPerk(_CCCustomRestoration) ;Set Secondary Skillplayer.AddSpell(_CCUnarmoredAbility) ;Mage Class Bonusplayer.AddSpell(_CCMageAbility) ;Run Class Build FunctionBuildClass()EndIfElseif ibutton == 1MagicSpecializationMenu()EndIf EndFunction Function NightbladeMenu() ;NIGHTBLADE MENUint ibutton = _CCNightbladeMenu.Show()Actor player = Game.GetPlayer()if ibutton == 0int sbutton = _CCNightbladeSelected.Show()if sbutton == 1MagicSpecializationMenu()Else;Set the Class Skillsplayer.AddPerk(_CCCustomOneHanded)player.AddPerk(_CCCustomDestruction)player.AddPerk(_CCCustomIllusion)player.AddPerk(_CCCustomRestoration)player.AddPerk(_CCCustomLightArmor)player.AddPerk(_CCCustomSneak) ;Set Secondary Skillplayer.AddPerk(_CCCustomAcrobatics) ;Nightblade Class Bonusplayer.AddSpell(_CCNightbladeAbility) ;Run Class Build FunctionBuildClass()EndIfElseif ibutton == 1MagicSpecializationMenu()EndIf EndFunction Function SorcererMenu() ;SORCERER MENUint ibutton = _CCSorcererMenu.Show()Actor player = Game.GetPlayer()if ibutton == 0int sbutton = _CCSorcererSelected.Show()if sbutton == 1MagicSpecializationMenu()Else;Set the Class Skillsplayer.AddPerk(_CCCustomHeavyArmor)player.AddPerk(_CCCustomConjuration)player.AddPerk(_CCCustomDestruction)player.AddPerk(_CCCustomEnchanting)player.AddPerk(_CCCustomRestoration)player.AddPerk(_CCCustomAlchemy) ;Set Secondary Skillplayer.AddSpell(_CCMysticismAbility) ;Sorcerer Class Bonusplayer.AddSpell(_CCSorcererAbility)player.AddSpell(BoundSword) ;Run Class Build FunctionBuildClass()EndIfElseif ibutton == 1MagicSpecializationMenu()EndIf EndFunction Function SpellswordMenu() ;SPELLSWORD MENUint ibutton = _CCSpellswordMenu.Show()Actor player = Game.GetPlayer()if ibutton == 0int sbutton = _CCSpellswordSelected.Show()if sbutton == 1MagicSpecializationMenu()Else;Set the Class Skillsplayer.AddPerk(_CCCustomHeavyArmor)player.AddPerk(_CCCustomOneHanded)player.AddPerk(_CCCustomAlteration)player.AddPerk(_CCCustomDestruction)player.AddPerk(_CCCustomEnchanting)player.AddPerk(_CCCustomRestoration) ;Set Secondary Skillplayer.AddSpell(_CCMysticismAbility) ;Spellsword Class Bonusplayer.AddSpell(_CCSpellswordAbility) ;Run Class Build FunctionBuildClass()EndIfElseif ibutton == 1MagicSpecializationMenu()EndIf EndFunction Function WitchhunterMenu() ;WITCHHUNTER MENUint ibutton = _CCWitchhunterMenu.Show()Actor player = Game.GetPlayer()if ibutton == 0int sbutton = _CCWitchhunterSelected.Show()if sbutton == 1MagicSpecializationMenu()Else;Set the Class Skillsplayer.AddPerk(_CCCustomArchery)player.AddPerk(_CCCustomDestruction)player.AddPerk(_CCCustomEnchanting)player.AddPerk(_CCCustomConjuration)player.AddPerk(_CCCustomAlchemy)player.AddPerk(_CCCustomLockpicking) ;Set Secondary Skillplayer.AddSpell(_CCMysticismAbility) ;Witchhunter Class Bonusplayer.AddSpell(_CCWitchhunterAbility) ;Run Class Build FunctionBuildClass()EndIfElseif ibutton == 1MagicSpecializationMenu()EndIfEndFunction ;-------------------------------------------------------------------------;BIRTHSIGN MAIN MENU SECTION;-------------------------------------------------------------------------Function BSTopMenu() ;BIRTHSIGN TOP MENUint ibutton = _BSTopMenu.Show()if ibutton == 0TravelerMenu()elseif ibutton == 1BirthsignChoice()EndIfEndFunction Function TravelerMenu() ;TRAVELER MENUint ibutton = _BSTravelerMenu.Show()if ibutton == 1BSTopMenu()ElseEndIfEndFunction Function BirthsignChoice() ;BIRTHSIGN ERA CHOICEint ibutton = _BSBirthsignChoiceMenu.Show()if ibutton == 0BirthsignMenu3E()Elseif ibutton == 1BirthsignMenu()Elseif ibutton == 2BSTopMenu()EndIfEndFunction ;-------------------------------------------------------------------------;THIRD ERA BIRTHSIGN SECTION;-------------------------------------------------------------------------Function BirthsignMenu3E() ;BIRTHSIGNS MENUSint ibutton = _BSBirthsignMenu.Show()if ibutton == 0BSWarriorChargesMenu3e()Elseif ibutton == 1BSMageChargesMenu3e()Elseif ibutton == 2BSThiefChargesMenu3e()Elseif ibutton == 3SerpentMenu3e()Elseif ibutton == 4BirthsignChoice()EndIfEndFunction Function BSWarriorSignMenu3E() ;WARRIOR SIGN MENUint ibutton = _BSWarriorSignMenu3E.Show()if ibutton == 1BSWarriorChargesMenu3E()ElseActor player = Game.GetPlayer()player.AddSpell(_BSWarriorSign)EndIfEndFunction Function BSWarriorChargesMenu3E() ;WARRIOR CHARGES MENUint ibutton = _BSWarriorChargesMenu.Show()if ibutton == 0BSWarriorSignMenu3E()Elseif ibutton == 1LadyMenu3E()Elseif ibutton == 2SteedMenu3E()Elseif ibutton == 3LordMenu3E()Elseif ibutton == 4BirthsignMenu3E()EndIfEndFunction Function BSMageSignMenu3E() ;MAGE SIGN MENUint ibutton = _BSMageSignMenu3E.Show()if ibutton == 1BSMageChargesMenu3E()ElseActor player = Game.GetPlayer()player.AddSpell(_BSMageSign)EndIfEndFunction Function BSMageChargesMenu3E() ;MAGE CHARGES MENUint ibutton = _BSMageChargesMenu.Show()if ibutton == 0BSMageSignMenu3E()Elseif ibutton == 1ApprenticeMenu3E()Elseif ibutton == 2AtronachMenu3E()Elseif ibutton == 3RitualMenu3E()Elseif ibutton == 4BirthsignMenu3E()EndIfEndFunction Function BSThiefSignMenu3E() ;THIEF SIGN MENUint ibutton = _BSThiefSignMenu3E.Show()if ibutton == 1BSThiefChargesMenu3E()ElseActor player = Game.GetPlayer()player.AddSpell(_BSThiefSign)EndIfEndFunction Function BSThiefChargesMenu3E() ;THIEF CHARGES MENUint ibutton = _BSThiefChargesMenu.Show()if ibutton == 0BSThiefSignMenu3E() elseif ibutton == 1LoverMenu3E()Elseif ibutton == 2ShadowMenu3E()Elseif ibutton == 3TowerMenu3E()Elseif ibutton == 4BirthsignMenu3E()EndIfEndFunction Function SerpentMenu3E() ;SERPENT MENUint ibutton = _BSSerpentMenu3E.Show()if ibutton == 1BirthsignMenu3E()ElseActor player = Game.GetPlayer()player.AddSpell(_BSSerpentSign)player.AddSpell(_BSSerpentAbility) EndIfEndFunction Function LadyMenu3E() ;LADY MENUint ibutton = _BSLadyMenu3E.Show()if ibutton == 1BSWarriorChargesMenu3E()ElseActor player = Game.GetPlayer()player.AddSpell(_BSLadySignHealth)player.AddSpell(_BSLadySignMagicka)EndIfEndFunction Function SteedMenu3E() ;STEED MENUint ibutton = _BSSteedMenu3E.Show()if ibutton == 1BSWarriorChargesMenu3E()ElseActor player = Game.GetPlayer()player.AddSpell(_BSSteedSign)EndIfEndFunction Function LordMenu3E() ;LORD MENUint ibutton = _BSLordMenu3E.Show()if ibutton == 1BSWarriorChargesMenu3E()ElseActor player = Game.GetPlayer()player.AddSpell(_BSLordSign)player.AddSpell(_BSLordSignAbility)EndIfEndFunction Function ApprenticeMenu3E() ;APPRENTICE MENUint ibutton = _BSApprenticeMenu3E.Show()if ibutton == 1BSMageChargesMenu3E()ElseActor player = Game.GetPlayer()player.AddSpell(_BSApprenticeSign)player.AddSpell(_BSApprenticeSignNegativeAbility)EndIfEndFunction Function AtronachMenu3E() ;ATRONACH MENUint ibutton = _BSAtronachMenu3E.Show()if ibutton == 1BSMageChargesMenu3E()ElseActor player = Game.GetPlayer()player.AddSpell(_BSAtronachSign)EndIfEndFunction Function RitualMenu3E() ;RITUAL MENUint ibutton = _BSRitualMenu3E.Show()if ibutton == 1BSMageChargesMenu3E()ElseActor player = Game.GetPlayer()player.AddSpell(_BSRitualSignHealAbility)player.AddSpell(_BSRitualSignTurnAbility)EndIfEndFunction Function LoverMenu3E() ;LOVER MENUint ibutton = _BSLoverMenu3E.Show()if ibutton == 1BSThiefChargesMenu3E()ElseActor player = Game.GetPlayer()player.AddSpell(_BSLoverSign)EndIfEndFunction Function ShadowMenu3E() ;SHADOW MENUint ibutton = _BSShadowMenu3E.Show()if ibutton == 1BSThiefChargesMenu3E()ElseActor player = Game.GetPlayer()player.AddSpell(_BSShadowSign)EndIfEndFunction Function TowerMenu3E() ;TOWER MENUint ibutton = _BSTowerMenu3E.Show()if ibutton == 1BSThiefChargesMenu3E()ElseActor player = Game.GetPlayer()player.AddSpell(_BSTowerSign)EndIfEndFunction ;-------------------------------------------------------------------------;FOURTH ERA BIRTHSIGN SECTION;-------------------------------------------------------------------------Function BirthsignMenu() ;BIRTHSIGNS MENUSint ibutton = _BSBirthsignMenu.Show()if ibutton == 0BSWarriorChargesMenu()Elseif ibutton == 1BSMageChargesMenu()Elseif ibutton == 2BSThiefChargesMenu()Elseif ibutton == 3SerpentMenu()Elseif ibutton == 4BirthsignChoice()EndIfEndFunction Function BSWarriorSignMenu() ;WARRIOR SIGN MENUint ibutton = _BSWarriorSignMenu.Show()if ibutton == 1BSWarriorChargesMenu()ElseCleanUpSigns()Actor player = Game.GetPlayer()player.AddSpell(doomWarriorAbility)EndIfEndFunction Function BSWarriorChargesMenu() ;WARRIOR CHARGES MENUint ibutton = _BSWarriorChargesMenu.Show()if ibutton == 0BSWarriorSignMenu()Elseif ibutton == 1LadyMenu()Elseif ibutton == 2SteedMenu()Elseif ibutton == 3LordMenu()Elseif ibutton == 4BirthsignMenu()EndIfEndFunction Function BSMageSignMenu() ;MAGE SIGN MENUint ibutton = _BSMageSignMenu.Show()if ibutton == 1BSMageChargesMenu()ElseCleanUpSigns()Actor player = Game.GetPlayer()player.AddSpell(doomMageAbility)EndIfEndFunction Function BSMageChargesMenu() ;MAGE CHARGES MENUint ibutton = _BSMageChargesMenu.Show()if ibutton == 0BSMageSignMenu()Elseif ibutton == 1ApprenticeMenu()Elseif ibutton == 2AtronachMenu()Elseif ibutton == 3RitualMenu()Elseif ibutton == 4BirthsignMenu()EndIfEndFunction Function BSThiefSignMenu() ;THIEF SIGN MENUint ibutton = _BSThiefSignMenu.Show()if ibutton == 1BSThiefChargesMenu()ElseCleanUpSigns()Actor player = Game.GetPlayer()player.AddSpell(doomThiefAbility)EndIfEndFunction Function BSThiefChargesMenu() ;THIEF CHARGES MENUint ibutton = _BSThiefChargesMenu.Show()if ibutton == 0BSThiefSignMenu() elseif ibutton == 1LoverMenu()Elseif ibutton == 2ShadowMenu()Elseif ibutton == 3TowerMenu()Elseif ibutton == 4BirthsignMenu()EndIfEndFunction Function SerpentMenu() ;SERPENT MENUint ibutton = _BSSerpentMenu.Show()if ibutton == 1BirthsignMenu()ElseCleanUpSigns()Actor player = Game.GetPlayer()player.AddSpell(doomSerpentAbility)EndIfEndFunction Function LadyMenu() ;LADY MENUint ibutton = _BSLadyMenu.Show()if ibutton == 1BSWarriorChargesMenu()ElseCleanUpSigns()Actor player = Game.GetPlayer()player.AddSpell(doomLadyAbility)EndIfEndFunction Function SteedMenu() ;STEED MENUint ibutton = _BSSteedMenu.Show()if ibutton == 1BSWarriorChargesMenu()ElseCleanUpSigns()Actor player = Game.GetPlayer()player.AddSpell(doomSteedAbility)EndIfEndFunction Function LordMenu() ;LORD MENUint ibutton = _BSLordMenu.Show()if ibutton == 1BSWarriorChargesMenu()ElseCleanUpSigns()Actor player = Game.GetPlayer()player.AddSpell(doomLordAbility)EndIfEndFunction Function ApprenticeMenu() ;APPRENTICE MENUint ibutton = _BSApprenticeMenu.Show()if ibutton == 1BSMageChargesMenu()ElseCleanUpSigns()Actor player = Game.GetPlayer()player.AddSpell(doomApprenticeAbility)player.AddSpell(doomApprenticeNegativeAbility)EndIfEndFunction Function AtronachMenu() ;ATRONACH MENUint ibutton = _BSAtronachMenu.Show()if ibutton == 1BSMageChargesMenu()ElseCleanUpSigns()Actor player = Game.GetPlayer()player.AddSpell(doomAtronachAbility)EndIfEndFunction Function RitualMenu() ;RITUAL MENUint ibutton = _BSRitualMenu.Show()if ibutton == 1BSMageChargesMenu()ElseCleanUpSigns()Actor player = Game.GetPlayer()player.AddSpell(doomRitualAbility)EndIfEndFunction Function LoverMenu() ;LOVER MENUint ibutton = _BSLoverMenu.Show()if ibutton == 1BSThiefChargesMenu()ElseCleanUpSigns()Actor player = Game.GetPlayer()player.AddSpell(doomLoverAbility)EndIfEndFunction Function ShadowMenu() ;SHADOW MENUint ibutton = _BSShadowMenu.Show()if ibutton == 1BSThiefChargesMenu()ElseCleanUpSigns()Actor player = Game.GetPlayer()player.AddSpell(doomShadowAbility)EndIfEndFunction Function TowerMenu() ;TOWER MENUint ibutton = _BSTowerMenu.Show()if ibutton == 1BSThiefChargesMenu()ElseCleanUpSigns()Actor player = Game.GetPlayer()player.AddSpell(doomTowerAbility)EndIfEndFunction Function CleanUpSigns()Actor player = Game.GetPlayer()player.RemoveSpell(doomApprenticeAbility)player.RemoveSpell(doomApprenticeNegativeAbility)player.RemoveSpell(doomAtronachAbility)player.RemoveSpell(doomLadyAbility)player.RemoveSpell(doomLordAbility)player.RemoveSpell(doomLoverAbility)player.RemoveSpell(doomMageAbility)player.RemoveSpell(doomRitualAbility)player.RemoveSpell(doomSerpentAbility)player.RemoveSpell(doomShadowAbility)player.RemoveSpell(doomSteedAbility)player.RemoveSpell(doomThiefAbility)player.RemoveSpell(doomTowerAbility)player.RemoveSpell(doomWarriorAbility)EndFunction ;-------------------------------------------------------------------------;CUSTOM CLASS SECTION;-------------------------------------------------------------------------message property _CCCustomTopMenu automessage property _CCCustomSpecialist automessage property _CCCustomCombatSkillAdded automessage property _CCCustomStealthSkillAdded automessage property _CCCustomMagicSkillAdded automessage property _CCCustomCombatSkills automessage property _CCCustomStealthSkills automessage property _CCCustomMagicSkills automessage property _CCCustomViewClass automessage property _CCCustomViewCombatSkills automessage property _CCCustomViewStealthSkills automessage property _CCCustomViewMagicSkills automessage property _CCCustomSpecError automessage property _CCCustomRemoveSpec automessage property _CCCustomSpecRemoved automessage property _CCCustomCombatSkillRemoved automessage property _CCCustomStealthSkillRemoved automessage property _CCCustomMagicSkillRemoved automessage property _CCCustomSkillsFull automessage property _CCCustomCancelMenu automessage property _CCCustomConfirmErrorSpec automessage property _CCCustomConfirmErrorSkills automessage property _CCCustomClassConfirm automessage property _CCCustomSecondaryError automessage property _CCCustomSecondarySkillRemoved automessage property _CCCustomSecondarySkills automessage property _CCCustomViewSecondarySkills automessage property _CCCustomConfirmErrorSecondary auto Perk Property _CCCustomCombatSpec AutoPerk Property _CCCustomStealthSpec AutoPerk Property _CCCustomMagicSpec AutoPerk Property _CCCustomArchery AutoPerk Property _CCCustomBlock AutoPerk Property _CCCustomHeavyArmor AutoPerk Property _CCCustomOneHanded AutoPerk Property _CCCustomSmithing AutoPerk Property _CCCustomTwoHanded AutoPerk Property _CCCustomAlchemy AutoPerk Property _CCCustomLightArmor AutoPerk Property _CCCustomLockpicking AutoPerk Property _CCCustomPickpocket AutoPerk Property _CCCustomSneak AutoPerk Property _CCCustomSpeech AutoPerk Property _CCCustomAlteration AutoPerk Property _CCCustomConjuration AutoPerk Property _CCCustomDestruction AutoPerk Property _CCCustomEnchanting AutoPerk Property _CCCustomIllusion AutoPerk Property _CCCustomRestoration AutoPerk Property _CCCustomHandtoHand AutoPerk Property _CCCustomAthletics AutoPerk Property _CCCustomAcrobatics AutoPerk Property _CCCustomUnarmored AutoPerk Property _CCCustomMysticism Auto int skillcount = 0int secondary = 0 Function CustomClassMenu() ;CUSTOM CLASS TOP MENUint ibutton = _CCCustomTopMenu.Show()if ibutton == 0SpecializationBonusMenu()elseif ibutton == 1 CombatSkillsMenu()elseif ibutton == 2 StealthSkillsMenu()elseif ibutton == 3 MagicSkillsMenu()elseif ibutton == 4 if secondary < 1SecondarySkillsMenu()ElseSecondaryChosen()EndIfelseif ibutton == 5ViewCustomClass()elseif ibutton == 6CancelMenu()EndIfEndFunction Function CancelMenu() ;CANCEL CUSTOMIZATIONint ibutton = _CCCustomCancelMenu.Show()Actor player = Game.GetPlayer()if ibutton == 0player.RemovePerk(_CCCustomCombatSpec)player.RemovePerk(_CCCustomStealthSpec)player.RemovePerk(_CCCustomMagicSpec)player.RemovePerk(_CCCustomArchery)player.RemovePerk(_CCCustomBlock)player.RemovePerk(_CCCustomHeavyArmor)player.RemovePerk(_CCCustomOneHanded)player.RemovePerk(_CCCustomSmithing)player.RemovePerk(_CCCustomTwoHanded)player.RemovePerk(_CCCustomAlchemy)player.RemovePerk(_CCCustomLightArmor)player.RemovePerk(_CCCustomLockpicking)player.RemovePerk(_CCCustomPickpocket)player.RemovePerk(_CCCustomSneak)player.RemovePerk(_CCCustomSpeech)player.RemovePerk(_CCCustomAlteration)player.RemovePerk(_CCCustomConjuration)player.RemovePerk(_CCCustomDestruction)player.RemovePerk(_CCCustomEnchanting)player.RemovePerk(_CCCustomIllusion)player.RemovePerk(_CCCustomRestoration)player.RemovePerk(_CCCustomHandtoHand)player.RemovePerk(_CCCustomAthletics)player.RemovePerk(_CCCustomAcrobatics)player.RemovePerk(_CCCustomUnarmored)player.RemovePerk(_CCCustomMysticism) skillcount = 0TopMenu()elseif ibutton == 1CustomClassMenu()EndIfEndFunction Function SpecializationBonusMenu() ;SPECIALIZATION BONUS MENUint ibutton = _CCCustomSpecialist.Show()Actor player = Game.GetPlayer()bool SpecError = (player.HasPerk(_CCCustomCombatSpec) || player.HasPerk(_CCCustomStealthSpec) || player.HasPerk(_CCCustomMagicSpec))if SpecError == TrueSpecError()elseif ibutton == 0player.AddPerk(_CCCustomCombatSpec)CustomClassMenu()elseif ibutton == 1 player.AddPerk(_CCCustomStealthSpec)CustomClassMenu()elseif ibutton == 2 player.AddPerk(_CCCustomMagicSpec)CustomClassMenu()elseif ibutton == 3CustomClassMenu()EndIfEndFunction Function SpecError() ;SPECIALIZATION ERRORint ibutton = _CCCustomSpecError.Show()if ibutton == 0CustomClassMenu()EndIfEndFunction Function CombatSkillsMenu() ;COMBAT SKILL SELECTIONint ibutton = _CCCustomCombatSkills.Show()Actor player = Game.GetPlayer()if ibutton == 0 if (skillcount < 7)player.AddPerk(_CCCustomArchery)skillcount += 1CombatSkillAdded()ElseSkillsFull()Endifelseif ibutton == 1if (skillcount < 7)player.AddPerk(_CCCustomBlock)skillcount += 1CombatSkillAdded()ElseSkillsFull()Endifelseif ibutton == 2if (skillcount < 7)player.AddPerk(_CCCustomHeavyArmor)skillcount += 1CombatSkillAdded()ElseSkillsFull()Endifelseif ibutton == 3if (skillcount < 7)player.AddPerk(_CCCustomOneHanded)skillcount += 1CombatSkillAdded()ElseSkillsFull()Endif elseif ibutton == 4if (skillcount < 7)player.AddPerk(_CCCustomSmithing)skillcount += 1CombatSkillAdded()ElseSkillsFull()Endif elseif ibutton == 5if (skillcount < 7)player.AddPerk(_CCCustomTwoHanded)skillcount += 1CombatSkillAdded()ElseSkillsFull()Endifelseif ibutton == 6CustomClassMenu()EndIfEndFunction Function CombatSkillAdded() ;SKILL (COMBAT) ADDED NOTIFICATIONint ibutton = _CCCustomCombatSkillAdded.Show()if ibutton == 0CombatSkillsMenu()EndIfEndFunction Function StealthSkillsMenu() ;STEALTH SKILL SELECTIONint ibutton = _CCCustomStealthSkills.Show()Actor player = Game.GetPlayer()if ibutton == 0 if skillcount < 7player.AddPerk(_CCCustomAlchemy)skillcount += 1StealthSkillAdded()ElseSkillsFull()Endifelseif ibutton == 1if skillcount < 7player.AddPerk(_CCCustomLightArmor)skillcount += 1StealthSkillAdded()ElseSkillsFull()Endifelseif ibutton == 2if skillcount < 7player.AddPerk(_CCCustomLockpicking)skillcount += 1StealthSkillAdded()ElseSkillsFull()Endifelseif ibutton == 3if skillcount < 7player.AddPerk(_CCCustomPickpocket)skillcount += 1StealthSkillAdded()ElseSkillsFull()Endif elseif ibutton == 4if skillcount < 7player.AddPerk(_CCCustomSneak)skillcount += 1StealthSkillAdded()ElseSkillsFull()Endif elseif ibutton == 5if skillcount < 7player.AddPerk(_CCCustomSpeech)skillcount += 1StealthSkillAdded()ElseSkillsFull()Endifelseif ibutton == 6CustomClassMenu()EndIfEndFunction Function StealthSkillAdded() ;SKILL (STEALTH) ADDED NOTIFICATIONint ibutton = _CCCustomStealthSkillAdded.Show()if ibutton == 0StealthSkillsMenu()EndIfEndFunction Function MagicSkillsMenu() ;MAGIC SKILL SELECTIONint ibutton = _CCCustomMagicSkills.Show()Actor player = Game.GetPlayer()if ibutton == 0 if skillcount < 7player.AddPerk(_CCCustomAlteration)skillcount += 1MagicSkillAdded()ElseSkillsFull()Endifelseif ibutton == 1if skillcount < 7player.AddPerk(_CCCustomConjuration)skillcount += 1MagicSkillAdded()ElseSkillsFull()Endifelseif ibutton == 2if skillcount < 7player.AddPerk(_CCCustomDestruction)skillcount += 1MagicSkillAdded()ElseSkillsFull()Endifelseif ibutton == 3if skillcount < 7player.AddPerk(_CCCustomEnchanting)skillcount += 1MagicSkillAdded()ElseSkillsFull()Endif elseif ibutton == 4if skillcount < 7player.AddPerk(_CCCustomIllusion)skillcount += 1MagicSkillAdded()ElseSkillsFull()Endif elseif ibutton == 5if skillcount < 7player.AddPerk(_CCCustomRestoration)skillcount += 1MagicSkillAdded()ElseSkillsFull()Endifelseif ibutton == 6CustomClassMenu()EndIfEndFunction Function MagicSkillAdded() ;SKILL (MAGIC) ADDED NOTIFICATIONint ibutton = _CCCustomMagicSkillAdded.Show()if ibutton == 0MagicSkillsMenu()EndIfEndFunction Function SecondarySkillsMenu()Actor player = Game.GetPlayer()int ibutton = _CCCustomSecondarySkills.Show()if ibutton == 0player.AddPerk(_CCCustomHandtoHand)secondary += 1SecondarySkillAdded()elseif ibutton == 1player.AddPerk(_CCCustomAthletics)secondary += 1SecondarySkillAdded()elseif ibutton == 2player.AddPerk(_CCCustomAcrobatics)secondary += 1SecondarySkillAdded()elseif ibutton == 3player.AddPerk(_CCCustomUnarmored)secondary += 1SecondarySkillAdded()elseif ibutton == 4player.AddPerk(_CCCustomMysticism)secondary += 1SecondarySkillAdded()elseif ibutton == 5CustomClassMenu()EndifEndFunction Function SecondarySkillAdded() ;SKILL (SECONDARY) ADDED NOTIFICATIONint ibutton = _CCCustomMagicSkillAdded.Show()if ibutton == 0CustomClassMenu()EndIfEndFunction Function SecondaryChosen() ;SECONDARY CHOSEN ERRORint ibutton = _CCCustomSecondaryError.Show()if ibutton == 0CustomClassMenu()EndIfEndFunction Function SkillsFull() ;SKILL FULL ERRORint ibutton = _CCCustomSkillsFull.Show()if ibutton == 0CustomClassMenu()EndIfEndFunction Function ViewCustomClass() ;VIEW CUSTOM CLASSint ibutton = _CCCustomViewClass.Show()Actor player = Game.GetPlayer()bool SpecError = (player.HasPerk(_CCCustomCombatSpec) || player.HasPerk(_CCCustomStealthSpec) || player.HasPerk(_CCCustomMagicSpec))bool SecSkillError = (player.HasPerk(_CCCustomHandtoHand) || player.HasPerk(_CCCustomAthletics) || player.HasPerk(_CCCustomAcrobatics)) || player.HasPerk(_CCCustomUnarmored) || player.HasPerk(_CCCustomMysticism) if ibutton == 0RemoveSpecialization()elseif ibutton == 1RemoveSpecialization()elseif ibutton == 2RemoveSpecialization()elseif ibutton == 3ViewCombatSkills()elseif ibutton == 4ViewStealthSkills() elseif ibutton == 5ViewMagicSkills()elseif ibutton == 6ViewSecondarySkills() elseif ibutton == 7if SpecError == FalseConfirmErrorSpec()elseif skillcount < 7ConfirmErrorSkills()elseif secondary < 1ConfirmErrorSecondary()elseConfirmCustomClass()endifelseif ibutton == 8CustomClassMenu()EndIfEndFunction Function RemoveSpecialization() ;REMOVE SPECIALIZATIONint ibutton = _CCCustomRemoveSpec.Show()Actor player = Game.GetPlayer()if ibutton == 0player.RemovePerk(_CCCustomCombatSpec)player.RemovePerk(_CCCustomStealthSpec)player.RemovePerk(_CCCustomMagicSpec)SpecRemoved()elseif ibutton == 1ViewCustomClass()EndIfEndFunction Function SpecRemoved() ;SPEC REMOVED NOTIFICATIONint ibutton = _CCCustomSpecRemoved.Show()if ibutton == 0ViewCustomClass()EndIfEndFunction Function ViewCombatSkills() ;REMOVE COMBAT SKILL MENUint ibutton = _CCCustomViewCombatSkills.Show()Actor player = Game.GetPlayer()if ibutton == 0player.RemovePerk(_CCCustomArchery)skillcount -= 1CombatSkillRemoved()elseif ibutton == 1player.RemovePerk(_CCCustomBlock)skillcount -= 1CombatSkillRemoved()elseif ibutton == 2player.RemovePerk(_CCCustomHeavyArmor)skillcount -= 1CombatSkillRemoved()elseif ibutton == 3player.RemovePerk(_CCCustomOneHanded)skillcount -= 1CombatSkillRemoved()elseif ibutton == 4player.RemovePerk(_CCCustomSmithing)skillcount -= 1CombatSkillRemoved()elseif ibutton == 5player.RemovePerk(_CCCustomTwoHanded)skillcount -= 1CombatSkillRemoved()elseif ibutton == 6ViewCustomClass()EndIfEndFunction Function CombatSkillRemoved() ;SKILL (COMBAT) REMOVED NOTIFICATIONint ibutton = _CCCustomCombatSkillRemoved.Show()if ibutton == 0ViewCombatSkills()EndIfEndFunction Function ViewStealthSkills() ;REMOVE STEALTH SKILL MENUint ibutton = _CCCustomViewStealthSkills.Show()Actor player = Game.GetPlayer()if ibutton == 0player.RemovePerk(_CCCustomAlchemy)skillcount -= 1StealthSkillRemoved()elseif ibutton == 1player.RemovePerk(_CCCustomLightArmor)skillcount -= 1StealthSkillRemoved()elseif ibutton == 2player.RemovePerk(_CCCustomLockpicking)skillcount -= 1StealthSkillRemoved()elseif ibutton == 3player.RemovePerk(_CCCustomPickpocket)skillcount -= 1StealthSkillRemoved()elseif ibutton == 4player.RemovePerk(_CCCustomSneak)skillcount -= 1StealthSkillRemoved()elseif ibutton == 5player.RemovePerk(_CCCustomSpeech)skillcount -= 1StealthSkillRemoved()elseif ibutton == 6ViewCustomClass()EndIfEndFunction Function StealthSkillRemoved() ;SKILL (STEALTH) REMOVED NOTIFICATIONint ibutton = _CCCustomStealthSkillRemoved.Show()if ibutton == 0ViewStealthSkills()EndIfEndFunction Function ViewMagicSkills() ;REMOVE MAGIC SKILL MENUint ibutton = _CCCustomViewMagicSkills.Show()Actor player = Game.GetPlayer()if ibutton == 0player.RemovePerk(_CCCustomAlteration)skillcount -= 1MagicSkillRemoved()elseif ibutton == 1player.RemovePerk(_CCCustomConjuration)skillcount -= 1MagicSkillRemoved()elseif ibutton == 2player.RemovePerk(_CCCustomDestruction)skillcount -= 1MagicSkillRemoved()elseif ibutton == 3player.RemovePerk(_CCCustomEnchanting)skillcount -= 1MagicSkillRemoved()elseif ibutton == 4player.RemovePerk(_CCCustomIllusion)skillcount -= 1MagicSkillRemoved()elseif ibutton == 5player.RemovePerk(_CCCustomRestoration)skillcount -= 1MagicSkillRemoved()elseif ibutton == 6ViewCustomClass()EndIfEndFunction Function MagicSkillRemoved() ;SKILL (MAGIC) REMOVED NOTIFICATIONint ibutton = _CCCustomMagicSkillRemoved.Show()if ibutton == 0ViewMagicSkills()EndIfEndFunction Function ViewSecondarySkills() ;REMOVE SECONDARY SKILL MENUint ibutton = _CCCustomViewSecondarySkills.Show()Actor player = Game.GetPlayer()if ibutton == 0player.RemovePerk(_CCCustomHandtoHand)secondary -= 1SecondarySkillRemoved()elseif ibutton == 1player.RemovePerk(_CCCustomAthletics)secondary -= 1SecondarySkillRemoved()elseif ibutton == 2player.RemovePerk(_CCCustomAcrobatics)secondary -= 1SecondarySkillRemoved()elseif ibutton == 3player.RemovePerk(_CCCustomUnarmored)secondary -= 1SecondarySkillRemoved()elseif ibutton == 4player.RemovePerk(_CCCustomMysticism)secondary -= 1SecondarySkillRemoved()elseif ibutton == 5ViewCustomClass()EndIfEndFunction Function SecondarySkillRemoved() ;SKILL (MAGIC) REMOVED NOTIFICATIONint ibutton = _CCCustomSecondarySkillRemoved.Show()if ibutton == 0ViewCustomClass()EndIfEndFunction Function ConfirmErrorSkills() ;NO SKILLS CONFIRM ERRORint ibutton = _CCCustomConfirmErrorSkills.Show()if ibutton == 0ViewCustomClass()EndIfEndfunction Function ConfirmErrorSecondary() ;NO SECONDARY CONFIRM ERRORint ibutton = _CCCustomConfirmErrorSecondary.Show()if ibutton == 0ViewCustomClass()EndIfEndfunction Function ConfirmErrorSpec() ;NO SPEC CONFIRM ERRORint ibutton = _CCCustomConfirmErrorSpec.Show()if ibutton == 0ViewCustomClass()EndIfEndfunction Function ConfirmCustomClass() ;CONFIRM CUSTOM CLASSint ibutton = _CCCustomClassConfirm.Show()if ibutton == 0BuildClass()elseif ibutton == 1ViewCustomClass()EndifEndFunction Function BuildClass() ;BUILD CUSTOM CLASS;Define variables and add starting spellsActor player = Game.GetPlayer()int CCOneHanded = 0int CCTwoHanded = 0int CCMarksman = 0int CCBlock = 0int CCSmithing = 0int CCHeavyArmor = 0int CCLightArmor = 0int CCLockpicking = 0int CCPickpocket = 0int CCSneak = 0int CCAlchemy = 0int CCSpeechcraft = 0int CCAlteration = 0int CCConjuration = 0int CCDestruction = 0int CCIllusion = 0int CCRestoration = 0int CCEnchanting = 0if player.HasPerk(_CCCustomOneHanded) == TrueCCOneHanded = 20EndIfif player.HasPerk(_CCCustomTwoHanded) == TrueCCTwoHanded = 20EndIfif player.HasPerk(_CCCustomArchery) == TrueCCMarksman = 20EndIfif player.HasPerk(_CCCustomBlock) == TrueCCBlock = 20EndIfif player.HasPerk(_CCCustomSmithing) == TrueCCSmithing = 20EndIfif player.HasPerk(_CCCustomHeavyArmor) == TrueCCHeavyArmor = 20EndIfif player.HasPerk(_CCCustomLightArmor) == TrueCCLightArmor = 20EndIfif player.HasPerk(_CCCustomLockpicking) == TrueCCLockpicking = 20EndIfif player.HasPerk(_CCCustomPickpocket) == TrueCCPickpocket = 20EndIfif player.HasPerk(_CCCustomSneak) == TrueCCSneak = 20EndIfif player.HasPerk(_CCCustomAlchemy) == TrueCCAlchemy = 20EndIfif player.HasPerk(_CCCustomSpeech) == TrueCCSpeechcraft = 20endif if player.HasPerk(_CCCustomAlteration) == TrueCCAlteration = 20player.AddSpell(Oakflesh) player.AddSpell(Magelight)EndIf if player.HasPerk(_CCCustomConjuration) == TrueCCConjuration = 20player.AddSpell(RaiseZombie) player.AddSpell(SoulTrap)EndIfif player.HasPerk(_CCCustomDestruction) == TrueCCDestruction = 20player.AddSpell(Flames) player.AddSpell(FrostRune)endif if player.HasPerk(_CCCustomIllusion) == TrueCCIllusion = 20player.AddSpell(Clairvoyance) player.AddSpell(Calm)endifif player.HasPerk(_CCCustomRestoration) == TrueCCRestoration = 20player.AddSpell(Healing) player.AddSpell(TurnLesserUndead)EndIf if player.HasPerk(_CCCustomEnchanting) == TrueCCEnchanting = 20EndIf ;Add specialization bonusesif player.HasPerk(_CCCustomCombatSpec) == Trueplayer.SetActorValue("Stamina", 120)EndIfif player.HasPerk(_CCCustomStealthSpec) == Trueplayer.SetActorValue("Health", 120)EndIfif player.HasPerk(_CCCustomMagicSpec) == Trueplayer.SetActorValue("Magicka", 120)EndIf ;Add Secondary Skillsif player.HasPerk(_CCCustomHandtoHand) == Trueplayer.AddSpell(_CCUnarmedBonus)EndIfif player.HasPerk(_CCCustomAthletics) == Trueplayer.AddSpell(_CCAthleticsAbility)player.AddSpell(_CCAthleticsStaAbility)EndIfif player.HasPerk(_CCCustomAcrobatics) == Trueplayer.AddSpell(_CCAcrobaticsAbility)player.AddSpell(_CCAcrobaticsStaAbility)EndIfif player.HasPerk(_CCCustomUnarmored) == Trueplayer.AddSpell(_CCUnarmoredAbility)EndIfif player.HasPerk(_CCCustomMysticism) == Trueplayer.AddSpell(_CCMysticismAbility)EndIf ;Define the Racial Bonusesint OneHandedRaceBonus = (player.GetActorValue("OneHanded") - 15) as Intint TwoHandedRaceBonus = (player.GetActorValue("TwoHanded") - 15) as Intint MarksmanRaceBonus = (player.GetActorValue("Marksman") - 15) as Intint BlockRaceBonus = (player.GetActorValue("Block") - 15) as Intint SmithingRaceBonus = (player.GetActorValue("Smithing") - 15) as Intint HeavyArmorRaceBonus = (player.GetActorValue("HeavyArmor") - 15) as Intint LightArmorRaceBonus = (player.GetActorValue("LightArmor") - 15) as Intint LockpickingRaceBonus = (player.GetActorValue("Lockpicking") - 15) as Intint PickpocketRaceBonus = (player.GetActorValue("Pickpocket") - 15) as Intint SneakRaceBonus = (player.GetActorValue("Sneak") - 15) as Intint AlchemyRaceBonus = (player.GetActorValue("Alchemy") - 15) as Intint SpeechcraftRaceBonus = (player.GetActorValue("Speechcraft") - 15) as Intint AlterationRaceBonus = (player.GetActorValue("Alteration") - 15) as Intint ConjurationRaceBonus = (player.GetActorValue("Conjuration") - 15) as Intint DestructionRaceBonus = (player.GetActorValue("Destruction") - 15) as Intint IllusionRaceBonus = (player.GetActorValue("Illusion") - 15) as Intint RestorationRaceBonus = (player.GetActorValue("Restoration") - 15) as Intint EnchantingRaceBonus = (player.GetActorValue("Enchanting") - 15) as Int int playerlevel = Game.GetPlayer().GetLevel()if playerlevel == 1;Set the Class Skillsplayer.SetActorValue("OneHanded", 5+OneHandedRaceBonus+CCOneHanded)player.SetActorValue("TwoHanded", 5+TwoHandedRaceBonus+CCTwoHanded)player.SetActorValue("Marksman", 5+MarksmanRaceBonus+CCMarksman)player.SetActorValue("Block", 5+BlockRaceBonus+CCBlock)player.SetActorValue("Smithing", 5+SmithingRaceBonus+CCSmithing)player.SetActorValue("HeavyArmor", 5+HeavyArmorRaceBonus+CCHeavyArmor)player.SetActorValue("LightArmor", 5+LightArmorRaceBonus+CCLightArmor)player.SetActorValue("Lockpicking", 5+LockpickingRaceBonus+CCLockpicking)player.SetActorValue("Pickpocket", 5+PickpocketRaceBonus+CCPickpocket)player.SetActorValue("Sneak", 5+SneakRaceBonus+CCSneak)player.SetActorValue("Alchemy", 5+AlchemyRaceBonus+CCAlchemy)player.SetActorValue("Speechcraft", 5+SpeechcraftRaceBonus+CCSpeechcraft)player.SetActorValue("Alteration", 5+AlterationRaceBonus+CCAlteration)player.SetActorValue("Conjuration", 5+ConjurationRaceBonus+CCConjuration)player.SetActorValue("Destruction", 5+DestructionRaceBonus+CCDestruction)player.SetActorValue("Illusion", 5+IllusionRaceBonus+CCIllusion)player.SetActorValue("Restoration", 5+RestorationRaceBonus+CCRestoration)player.SetActorValue("Enchanting", 5+EnchantingRaceBonus+CCEnchanting)Endif ;Remove invisible perksplayer.RemovePerk(_CCCustomCombatSpec)player.RemovePerk(_CCCustomStealthSpec)player.RemovePerk(_CCCustomMagicSpec)player.RemovePerk(_CCCustomArchery)player.RemovePerk(_CCCustomBlock)player.RemovePerk(_CCCustomHeavyArmor)player.RemovePerk(_CCCustomOneHanded)player.RemovePerk(_CCCustomSmithing)player.RemovePerk(_CCCustomTwoHanded)player.RemovePerk(_CCCustomAlchemy)player.RemovePerk(_CCCustomLightArmor)player.RemovePerk(_CCCustomLockpicking)player.RemovePerk(_CCCustomPickpocket)player.RemovePerk(_CCCustomSneak)player.RemovePerk(_CCCustomSpeech)player.RemovePerk(_CCCustomAlteration)player.RemovePerk(_CCCustomConjuration)player.RemovePerk(_CCCustomDestruction)player.RemovePerk(_CCCustomEnchanting)player.RemovePerk(_CCCustomIllusion)player.RemovePerk(_CCCustomRestoration)player.RemovePerk(_CCCustomHandtoHand)player.RemovePerk(_CCCustomAthletics)player.RemovePerk(_CCCustomAcrobatics)player.RemovePerk(_CCCustomUnarmored)player.RemovePerk(_CCCustomMysticism) ;Run Birthsign Menuif playerlevel == 1BSTopMenu()else CurrentBirthsignMenu()EndIfEndFunction  Link to comment Share on other sites More sharing options...
steve40 Posted February 7, 2017 Share Posted February 7, 2017  http://blog.fpweb.net/media/2013/02/Say-NO-to-SPAM-325x321.png Link to comment Share on other sites More sharing options...
Recommended Posts