Scripting Uh-OH

Post » Mon Jun 18, 2012 1:19 pm

So I have been doing some scripting recently. I edit the scripting files, and I thought that since I save my changes as an .esp file, my main Skyrim file would remain uneffected. That is NOT the case! The changes have effected my main file. Why is this so, and how can I change and fix this?
User avatar
Suzie Dalziel
 
Posts: 3443
Joined: Thu Jun 15, 2006 8:19 pm

Post » Mon Jun 18, 2012 6:04 am

Delete the scripts, and then have steam verify game files?
User avatar
Assumptah George
 
Posts: 3373
Joined: Wed Sep 13, 2006 9:43 am

Post » Mon Jun 18, 2012 11:04 am

So I have been doing some scripting recently. I edit the scripting files, and I thought that since I save my changes as an .esp file, my main Skyrim file would remain uneffected. That is NOT the case! The changes have effected my main file. Why is this so, and how can I change and fix this?
This happens because Skyrim doesn't store scripts in .esp/.esm files.
User avatar
Aman Bhattal
 
Posts: 3424
Joined: Sun Dec 17, 2006 12:01 am

Post » Mon Jun 18, 2012 8:10 pm

So how can I prevent script modifications from effecting my original game? Sometimes I must edit scripts to make a something work, but I don't always want the effect to be permanent....
User avatar
michael danso
 
Posts: 3492
Joined: Wed Jun 13, 2007 9:21 am

Post » Mon Jun 18, 2012 2:51 pm

New scripting system unfortunately comes with this caveat.

The recommendation is to ONLY make new scripts, never to modify existing ones.
I have found that when you stick a modified existing one into a bsa, it doesn't even work.

If you're modifying a quest script, you can "rename" the script to turn it into a new one.
("Quest Stages" Tab, "Advanced" tab near the fragment, "Rename Script" button)

EDIT:
So how can I prevent script modifications from effecting my original game? Sometimes I must edit scripts to make a something work, but I don't always want the effect to be permanent....
You can make a backup of the source code file you want to change, then restore. If yo ustuff up anywhere, getting steam to "Validate Tool Cache Files" will redownload any scripts you have modified.

Also, changes to the source code files will not affect your game, the changes will only take effect if you compile the script. Removing the compiled script file (*.pex) will remove its effects, though if you want to modify the script later for a different mod you'd want to have the original source file again.
User avatar
Arrogant SId
 
Posts: 3366
Joined: Sat May 19, 2007 11:39 am

Post » Mon Jun 18, 2012 9:59 am

See this post:

http://www.gamesas.com/topic/1344036-warning-about-the-new-way-scripts-work
User avatar
Sandeep Khatkar
 
Posts: 3364
Joined: Wed Jul 18, 2007 11:02 am

Post » Mon Jun 18, 2012 11:21 am

Create new scripts?
User avatar
Blackdrak
 
Posts: 3451
Joined: Thu May 17, 2007 11:40 pm


Return to V - Skyrim