Jump to content

Recommended Posts

Howdy !

 

I am using a mod which have a regeneration spell from doctor who.

 

The spell itself is script based ( hope its the right word for it lol ), and at the end, it brings up the racemenu. I looked into it, it brings up the racemenu by :

Game.ShowRaceMenu()

Is there a way to change this to bringing up not this race menu but the race menu the face sculptor use ? The only reason I wish to do this because I have created a race which use that regeneration spell and it is useless to change race anyway lol plus I don't wish to retype my name every time. I hope you guys can help me, I have tried to look for the code in the internet but I just couldn't find how to refer to the face sculptor's racemenu instead of the basic racemenu.

 

Thanks for the help in advance.

 

 

Edit : I have found it, for anyone who have trouble with the same issues, it is

Game.ShowLimitedRaceMenu()
Edited by tabraz415
Link to comment
Share on other sites

Alright, uhm, I've run into a problem while trying to decompile the code.

 

Here is the original code :

Scriptname aaaTimeLordRegenScript extends activemagiceffect  
int instanceID
Sound Property RegenLoopSound  Auto  
Sound Property ValeDecem  Auto  
Import Game
Event OnEffectStart(Actor akTarget, Actor akCaster)
	ValeDecemMusic.Add();
	fakeForceBall1024.Play(akCaster, 48) 
	Utility.wait(41)
	Utility.wait(34)
	RegenFirstStage.play(akCaster, 43)
	instanceID = RegenLoopSound.play(GetPlayer())
	GrandHealing.cast(akCaster)
	Utility.wait(10)
	DragonHolesBitsMagic.Play(akCaster, 33)	
	Utility.wait(15)
	GrandHealing.cast(akCaster)
	FireStorm.cast(akCaster)
	RegenFinalStage.play(akCaster)
	Utility.wait(5)
	FireStorm.cast(akCaster)
	Utility.wait(8)
	GrandHealing.cast(akCaster)
	FireStorm.cast(akCaster)
	Utility.wait(3)
	FireStorm.cast(akCaster)
	Utility.wait(11)
	Sound.StopInstance(instanceID)
	DragonHolesBitsMagic.stop(akCaster)
	RegenFinalStage.stop(akCaster)
	fakeForceBall1024.stop(akCaster)
	RegenFirstStage.stop(akCaster)
	Game.ShowRaceMenu()
	
EndEvent
Light Property RegenLight  Auto  

MusicType Property ValeDecemMusic  Auto  

EffectShader Property fakeForceBall1024  Auto  

EffectShader Property DragonHolesBitsMagic  Auto  

SPELL Property FireStorm  Auto  

SPELL Property GrandHealing  Auto  

EffectShader Property RegenFinalStage  Auto  

EffectShader Property RegenFirstStage  Auto  

And here is the edited code :

Scriptname aaaTimeLordRegenScript extends activemagiceffect  
int instanceID
Sound Property RegenLoopSound  Auto  
Sound Property ValeDecem  Auto  
Import Game
Event OnEffectStart(Actor akTarget, Actor akCaster)
	ValeDecemMusic.Add();
	fakeForceBall1024.Play(akCaster, 48) 
	Utility.wait(41)
	Utility.wait(34)
	RegenFirstStage.play(akCaster, 43)
	instanceID = RegenLoopSound.play(GetPlayer())
	GrandHealing.cast(akCaster)
	Utility.wait(10)
	DragonHolesBitsMagic.Play(akCaster, 33)	
	Utility.wait(15)
	GrandHealing.cast(akCaster)
	FireStorm.cast(akCaster)
	RegenFinalStage.play(akCaster)
	Utility.wait(5)
	FireStorm.cast(akCaster)
	Utility.wait(8)
	GrandHealing.cast(akCaster)
	FireStorm.cast(akCaster)
	Utility.wait(3)
	FireStorm.cast(akCaster)
	Utility.wait(11)
	Sound.StopInstance(instanceID)
	DragonHolesBitsMagic.stop(akCaster)
	RegenFinalStage.stop(akCaster)
	fakeForceBall1024.stop(akCaster)
	RegenFirstStage.stop(akCaster)
	Game.ShowLimitedRaceMenu()
	
EndEvent
Light Property RegenLight  Auto  

MusicType Property ValeDecemMusic  Auto  

EffectShader Property fakeForceBall1024  Auto  

EffectShader Property DragonHolesBitsMagic  Auto  

SPELL Property FireStorm  Auto  

SPELL Property GrandHealing  Auto  

EffectShader Property RegenFinalStage  Auto  

EffectShader Property RegenFirstStage  Auto  

as you can see, only one line have been changed and it gives so much errors , here is the error message creation kit gives me :

Starting 1 compile threads for 1 files...
Compiling "aaatimelordregenscript"...
<unknown>(0,0): Unable to find flags file: TESV_Papyrus_Flags.flg
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(0,0): unable to locate script activemagiceffect
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(3,15): unknown type sound
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(4,15): unknown type sound
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(0,0): unable to locate script Game
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(6,26): unknown type actor
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(6,42): unknown type actor
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(7,16): musictype is not a known user-defined type
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(8,19): effectshader is not a known user-defined type
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(9,1): variable Utility is undefined
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(9,9): none is not a known user-defined type
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(10,1): variable Utility is undefined
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(10,9): none is not a known user-defined type
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(11,17): effectshader is not a known user-defined type
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(12,34): GetPlayer is not a function or does not exist
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(12,29): sound is not a known user-defined type
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(12,1): type mismatch while assigning to a int (cast missing or types unrelated)
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(13,14): spell is not a known user-defined type
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(14,1): variable Utility is undefined
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(14,9): none is not a known user-defined type
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(15,22): effectshader is not a known user-defined type
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(16,1): variable Utility is undefined
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(16,9): none is not a known user-defined type
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(17,14): spell is not a known user-defined type
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(18,11): spell is not a known user-defined type
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(19,17): effectshader is not a known user-defined type
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(20,1): variable Utility is undefined
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(20,9): none is not a known user-defined type
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(21,11): spell is not a known user-defined type
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(22,1): variable Utility is undefined
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(22,9): none is not a known user-defined type
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(23,14): spell is not a known user-defined type
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(24,11): spell is not a known user-defined type
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(25,1): variable Utility is undefined
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(25,9): none is not a known user-defined type
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(26,11): spell is not a known user-defined type
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(27,1): variable Utility is undefined
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(27,9): none is not a known user-defined type
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(28,1): variable Sound is undefined
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(28,7): none is not a known user-defined type
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(29,22): effectshader is not a known user-defined type
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(30,17): effectshader is not a known user-defined type
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(31,19): effectshader is not a known user-defined type
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(32,17): effectshader is not a known user-defined type
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(33,1): variable Game is undefined
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(33,6): none is not a known user-defined type
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(36,15): unknown type light
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(38,19): unknown type musictype
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(40,22): unknown type effectshader
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(42,22): unknown type effectshader
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(44,15): unknown type spell
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(46,15): unknown type spell
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(48,22): unknown type effectshader
C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts\Source\aaatimelordregenscript.psc(50,22): unknown type effectshader
No output generated for aaatimelordregenscript.psc, compilation failed.

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

Edited by tabraz415
Link to comment
Share on other sites

  • Recently Browsing   0 members

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