Jump to content

New starting Location Script?


Adf

Recommended Posts

Hello.. i have been made my own TC, and now i want to try it out. so i need to made a new starting location.. My location is just right out the starting house were Seyda neen was.. so i need to get a quick CharGen with race, name, class, birthsign and all that stuff. and then i'm ready to play.. so i tried maked this one:

 

Begin TCCharGen

short state
float timer

if ( MenuMode == 1 ) 
Return 
endif 

if ( state == 0 ) 
DisablePlayerControls 
DisablePlayerJumping 
DisablePlayerViewSwitch 
DisableVanityMode 
DisablePlayerFighting 
DisablePlayerMagic 

;Syntax: 
;Player->Position -10426 -70828 293 0
set state to 1 
elseif ( state == 1 ) 

; pick name 

Set timer to ( timer + GetSecondsPassed ) 
if ( timer < 1.2 ) 
Return 
endif 
Set timer to 0 
EnableNameMenu 
Set state to 2 

elseif ( state == 2 ) 
; pick race 
Set timer to ( timer + GetSecondsPassed ) 
if ( timer < 1.2 ) 
Return 
endif 
Set timer to 0 
EnableRaceMenu 
Set state to 3 
elseif ( state == 3 ) 
;class 
Set timer to ( timer + GetSecondsPassed ) 
if ( timer < 1.2 ) 
Return 
endif 
Set timer to 0 
EnableClassMenu 
Set state to 4 
elseif ( state == 4 ) 
;birth sign 
Set timer to ( timer + GetSecondsPassed ) 
if ( timer < 1.2 ) 
Return 
endif 
Set timer to 0 
EnableBirthMenu 
Set state to 5 
elseif ( state == 5 ) 
;review stats 
Set timer to ( timer + GetSecondsPassed ) 
if ( timer < 1.2 ) 
Return 
endif 
Set timer to 0 
EnableStatReviewMenu 
Set state to 6 
elseif ( state == 6 ) 
;enable stats, finish 
Set timer to ( timer + GetSecondsPassed ) 
if ( timer < 1.2 ) 
Return 
endif 
Set timer to 0 
EnableStatsMenu 
EnableInventoryMenu 
EnableMapMenu 
EnableMagicMenu 
EnableRest 
EnablePlayerMagic 
EnablePlayerFighting 
EnablePlayerJUmping 
EnablePlayerControls 
EnablePlayerViewSwitch 
EnableVanityMode 
Set CharGenState to -1 
StartScript RaceCheck 
StopScript CharGen 

endif 

End TCCharGen

then i set it to Start script under Start Scripts in CS i try played it in morrowind but right after the CHargens end i'm somewhere there is only grey and i cant move i cant see my map, inventor nothing and my Screen is just flashing beetween Grey and black slowly i cant even press Escape or open op the console.. :(

so if any can see whats wrong and write it to me, then i will be really thank full

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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