How to Start Skyrim from a Different Position?

Post » Mon Jun 18, 2012 9:37 pm

I was able to create a new worldspace and I was curious if anyone did or could change the position from which the player starts in Skyrim. Obviously, my objective here is to change that location into my new worldspace. I attempted it, but I don't understand how I'll be able to detach the player from the main quest or to get the player from not moving in the cart, to being player controlled. I also was unsure how I'll be able to conduct a character generation for the player in the new worldspace.

I thank anyone who can help me! :biggrin:
User avatar
Cassie Boyle
 
Posts: 3468
Joined: Sun Nov 05, 2006 9:33 am

Post » Mon Jun 18, 2012 1:14 pm

Heh. Seems like alot of people are doing something like this. Heres how I did it (With some advice from others) Open up the MQ101 script, and at the first index ( 0 ), create a new condition and check to see if a Global Variable is set. I used "MQQuickstart". Then attach some scripts to do a Game.Player().MoveTo() command.

Just remember to set the MQQuickstart variable to whatever you had checked for.

Edit:

Oh and
; Show the race/six menu to let the player customize their characterGame.ShowRaceMenu()

Its that simple.
User avatar
Jamie Lee
 
Posts: 3415
Joined: Sun Jun 17, 2007 9:15 am

Post » Mon Jun 18, 2012 6:05 pm

Wow! Thanks a lot! I'm make sure I'll try that! :biggrin:
User avatar
phil walsh
 
Posts: 3317
Joined: Wed May 16, 2007 8:46 pm

Post » Mon Jun 18, 2012 9:20 am

I tried creating a script, but I have little experience so far with Papyrus and whatever I do, I get error reports.

This is the script:

Game.Player().MoveTo(pSpawn)Game.ShowRaceMenu(); if not quickstarting, set stage 10; debug.trace("MQ101 stage 0 -- normal start");GameHour.SetValue(7);SetStage(10)


This is the error report:

Starting 1 compile threads for 1 files...Compiling "QF_MQ101_0003372B"...c:\program files (x86)\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\QF_MQ101_0003372B.psc(1066,5): Player is not a function or does not existc:\program files (x86)\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\QF_MQ101_0003372B.psc(1066,5): cannot call the member function Player alone or on a type, must call it on a variablec:\program files (x86)\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\QF_MQ101_0003372B.psc(1066,21): variable pSpawn is undefinedc:\program files (x86)\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\QF_MQ101_0003372B.psc(1066,14): none is not a known user-defined typeNo output generated for QF_MQ101_0003372B, compilation failed.Batch compile of 1 files finished. 0 succeeded, 1 failed.Failed on QF_MQ101_0003372B

The name of the object from which I want the player to spawn at is of a type called "XMarkerHeading" with its ID name being "pSpawn".

I hope someone can walk me through this. :wink_smile:
User avatar
Schel[Anne]FTL
 
Posts: 3384
Joined: Thu Nov 16, 2006 6:53 pm

Post » Mon Jun 18, 2012 12:56 pm

I believe it's "GetPlayer()".
Also, you need to create a property in order for the script to be able to access "pSpawn".
User avatar
Claire Jackson
 
Posts: 3422
Joined: Thu Jul 20, 2006 11:38 pm

Post » Mon Jun 18, 2012 4:07 pm

I believe it's "GetPlayer()".
Also, you need to create a property in order for the script to be able to access "pSpawn".

Thanks! But I have no clue how to make one, since that the script is part of a quest script, otherwise called a script fragment and I don't think I can set it up properly... :/
User avatar
Mel E
 
Posts: 3354
Joined: Mon Apr 09, 2007 11:23 pm

Post » Mon Jun 18, 2012 3:07 pm

Click the "Properties" button underneath the textbox where you type the fragment.
Or you can go to the Scripts tab and look at them there.
User avatar
FoReVeR_Me_N
 
Posts: 3556
Joined: Wed Sep 05, 2007 8:25 pm

Post » Mon Jun 18, 2012 9:06 pm

Mythic... I advise you to take a look at this: http://www.creationkit.com/Papyrus_Introduction as you still seem to be using the old scripting ways. Lots has changed since the previous games, and a brand new scripting language has been implemented.

Also that site has all the functions and events you could use. Have fun! :)
User avatar
Shae Munro
 
Posts: 3443
Joined: Fri Feb 23, 2007 11:32 am


Return to V - Skyrim