Deleting scripts takes ages?

Moderator: Event DM

Post Reply
User avatar
Jonezie
Team Member; Retired with Honors
Posts: 3905
Joined: Wed Jun 09, 2004 7:05 am
Location: Melbourne (GMT +10)

Deleting scripts takes ages?

Post by Jonezie » Mon Mar 28, 2005 10:37 am

Is it just me, or does everyone else have to sit through a 5 minute pause after a script has been deleted?
The mod is 30 Mb, but this seems a bit...excessive. I'm running a 2.8Ghz P4 with 512Mb RAM on WinXP Pro.
User avatar
Tristan_Durst
Scholar of Fools
Posts: 384
Joined: Tue Nov 02, 2004 5:38 am
Location: Florida

Post by Tristan_Durst » Mon Mar 28, 2005 10:45 am

It takes about 10 mins with me and I am rumming a PIII 863 with 1 gig of ram. Forget about updateing props of an item that is across the entire mod, that takes all night long.
"The best way to start something, is to stop talking, and start doing." - Walter E. Disney
User avatar
Jonezie
Team Member; Retired with Honors
Posts: 3905
Joined: Wed Jun 09, 2004 7:05 am
Location: Melbourne (GMT +10)

Post by Jonezie » Mon Mar 28, 2005 10:48 am

*curses*

I was hoping that there was something I'd missed....oh well. Only 10 more to go.
Alustriel
Apprentice Scholar
Posts: 853
Joined: Mon Apr 07, 2003 12:08 pm
Location: GMT+1/+2 dst
Contact:

Post by Alustriel » Mon Mar 28, 2005 12:35 pm

use the export function, select the script and right click to delete it, goes much faster this way, same goes for all items that you want to remove from the mod.
or when a module is opened in the toolset all resources are listed in the module\temp0 folder. When you delete it there and save the module it should be gone as well.
User avatar
Sindol
Team Member; Retired with Honors
Posts: 6479
Joined: Mon Jan 06, 2003 4:23 pm
Location: Nijmegen - Netherlands (GMT+1)
Contact:

Post by Sindol » Mon Mar 28, 2005 3:06 pm

Scripts can be deleted in the blink of an eye really. When you click delete it asks two questions iirc:
1. Really delete this script? YES
2. Delete all applied instances of this script as well? NO

Exit script. Takes a few seconds at most for me. The important bit is answering "no" on the second question. The downside of this is that you'll have to manually remove the script from all places where you applied it. This usually takes less time than letting the toolset do it though. Asssuming that you know exactly where the script was applied, this works very well.

For the other resources, there's no such option: removing an NPC will always cause the toolset to check all areas and encounters for the use of this NPC... takes forever. Alustriel already posted some nice tricks for getting rid of those though.

When deleting from the temp0 folder while you have the mod open: Make a backup of your mod before you do this though, it's been known to corrupt the module on some rare occasions.
So much fun,
yet so little time to enjoy it.
- Sindol
User avatar
Nob
Lore Council Member
Lore Council Member
Posts: 7930
Joined: Mon Jun 30, 2003 1:19 am
DM Avatar: Dead but still a Dreamer

Post by Nob » Mon Mar 28, 2005 3:30 pm

Open the module with NWHak...and delete the nss and ncs files directly.

Works pretty well too. Though I see Alu's posted other tips, heh.
"Andrinor grant me the patience not to kill those who screw things up through stupidity, the power to incinerate those who screw things up on purpose, and the wisdom to distinguish between one and the other." -The War Mage's Serenity Prayer
User avatar
Gorgon
Father of Avlis EE
Posts: 6637
Joined: Fri Oct 17, 2003 10:14 pm
Timezone: PST -8
Location: Vancouver, BC, Canada

Post by Gorgon » Mon Mar 28, 2005 4:08 pm

Got any other useful tips? This one little thread probably could have saved me hours, and I'm a novice at the toolset.
"God not only plays dice, he throws them in the corner where you can't see them."
-- Stephen William Hawking (1942-2018) --


Sprucing up ye olde NWN | NWN:EE Wiki | ~Avlis Theme Song~
Post Reply