Jump to content

How do I open scripts?


Xodarap777

Recommended Posts

It seems like such an obvious question, but say I want to edit spell_singletarget.ncs/nss? From the toolset, how do I navigate to that script? I can't seem to find the "script editor" ANYwhere, and I'm frustrated to hair-pulling, here!

 

I don't know if I installed my toolset incorrectly or what, but I can't seem to find anything at all. It all looks blank. How do I open up the main campaign? How do I get a list of scripts or resources? I've gone to the wiki, but I'm at a loss for the first step...

Link to comment
Share on other sites

You can't edit NCS files, only uncompiled NSS files (the sources). To open the script editor, start up the toolset and click on the icon on the palette that... well... looks like a script. The palette is the menu on the right with all those colorful icons. The NSS files should all be there.

 

Love your FO3/NV mods, by the way. Hope you have something great planned for DA.

Edited by encinodude
Link to comment
Share on other sites

Indeed, you can't edit the .ncs files. I know of NO program that can open those :(

click on the scripts icon, then type in a search for the script that you're looking for.

Find it, right click on it, then choose either Open Local Copy to view it, or Export Without Dependancies to save the file to a location on your hard drive.

 

Now actually CHANGING Those scripts, I'm not sure about. I know that with UTI/UTC files that the TS will tell you that there's already a file like that being used, and won't let you create a second one for an override file.

I dont know if you can open local copy, edit, then save and compile. Not sure about that. BUT I'd export the script to have a backup copy before making any changes at all to it. Just in case.

 

Edit- Oh, and if you're looking at scripts in mod folders or extracted files, you can right click on them, choose Open With, and use notepad.exe on the .nss files.

Edited by DarkeWolf
added info
Link to comment
Share on other sites

Okay, that seems to explain my confusion: When I click on the script icon, nothing comes up.

 

What do I have to open first?

 

Say I want to open spell_singletarget.nss? Where *is* that file in the first place? I'm not talking about getting it from a mod, but finding it in the original campaign files. Is it in an erf that I have to open first? Is it in the singleplayer campaign file? From the point of double-clicking the toolset, what do I do?

 

Also, thank you, encinodude :) I hope to make some DA mods, but I disapprove so far of the way they make their "pointers" (eg, why can't I tell the 2da file for a new spell to "point" to the already-existing script entry for heal and then alter the values in the 2da/gda? It seems silly that I have to edit things in the *most* possible places instead of the fewest... :P)

Link to comment
Share on other sites

Bah - so somehow, magically, after I said it wasn't working, it just started working. I swear that before, clicking that icon did nothing and brought up nothing. However, now I have the very confusing task ahead of me of trying to get the toolset to look at the *DA2* core files. I tried copying it over to the directory, but I just don't know how to "point" the toolset. Since I'm sure it's possible to make campaigns with a totally new core, it has to be able to point elsewhere.

 

Anyone know how I point the toolset to another campaign? It doesn't seem to change when I open up a different campaign from file -> open...

Link to comment
Share on other sites

DA is a bit of a pain to mod (understatement).The Scripts.ERF should be in "Dragon Age\packages\core\data". Set it to automatically open with the ErfEditor (located in "Dragon Age/tools") and then extract the scripts. Also, you don't necessarily need to use the Toolset to edit every file. Many files can be opened with the GffEditor (also located in "Dragon Age/tools"), which takes a fraction of a second to load compared to the Toolset. It seems you have to edit scripts in the Toolset with the script editor, though, unfortunately.

 

EDIT: To point the TS to another campaign, you go to File>Manage Modules, though I always create a new module or use the DEMO module. In the past, there was a bug that would mess up your game if you worked on a project under the Single Player module. It's apparently been fixed, but this is where my knowledge on the subject ends, as I don't do any 'hard modding' in DA. You're going to have to wait for someone else with more expertise to come along.

Edited by encinodude
Link to comment
Share on other sites

  • Recently Browsing   0 members

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