Aller au contenu

Photo

compiling scripts...


  • Veuillez vous connecter pour répondre
6 réponses à ce sujet

#1
WhiteTiger

WhiteTiger
  • Members
  • 479 messages

I would like to compile all files that have nw_o2_coninclude included (#include "nw_o2_coninclude"). I can see more than 5000 resources on my module witch 1500 scripts are customized and others 4000 are standard. I would like to access the standard scripts to compile all which has implemented the include I mentioned.

 

I need list all scripts I am looking for to compile them. Where can I find the folder that contains all standard scripts, folks? Is needed to extract them from somewhere?



#2
WhiZard

WhiZard
  • Members
  • 1 204 messages

Most of the treasure calling scripts are module specific to the standard campaign (e.g. quest rewards).  Recompiling them might not be worth the effort.  The main ones you should focus on are OnSpawn for creatures and the use and destruction for placeable containers.


  • WhiteTiger aime ceci

#3
Proleric

Proleric
  • Members
  • 2 359 messages

The Bioware scripts aren't all in one folder, but you can easily make one.

 

Using NWNExplorer, navigate to NWN Main Data > scripts.bif. Place the cursor on the Scripts heading, right-click > Export to your folder.

 

Repeat for SoU, HotU, HotU patch and 1.69 patch, in that order. The patches don't have a scripts.bif - simply export from the Scripts heading.

 

The order is important - you want expansions and patches to overwrite the OC in the correct sequence, so that you end up with the latest scripts.

 

If you don't have a tool that does text search within a folder, I recommend FreeCommander.

 

This approach excludes campaign-specific scripts, since most modders never use them.


  • WhiteTiger aime ceci

#4
WhiteTiger

WhiteTiger
  • Members
  • 479 messages

Well thanks WhiZard. nice tips  :)

I could find the scripts in standard containers and onspawns events. And thank you, Proleric, I tested it you said and worked well, I use "grep" to search for a text in multiple files, excellent program, you know?


  • meaglyn aime ceci

#5
meaglyn

meaglyn
  • Members
  • 812 messages

Well thanks WhiZard. nice tips  :)

I could find the scripts in standard containers and onspawns events. And thank you, Proleric, I tested it you said and worked well, I use "grep" to search for a text in multiple files, excellent program, you know?

 

Grep is a beautiful thing!


  • WhiteTiger aime ceci

#6
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages
use lilac soul's biosearcher.

#7
WhiteTiger

WhiteTiger
  • Members
  • 479 messages

ok I'll check soon

 

PGBVI.jpg