There are some areas whose bcs files I want to fix, but those areas only exist in some of the games. For instance, AR5600 is the road random encounter area in the first BG game, it doesn't exist or does it's refer to the correct area in BG2. I don't want to create two separate versions of the mod, one with fixes for BCS of areas that exist in the first game and the other for those in the second. Is there any way to tell Weidu to only extend scripts if they exist, going through the list and skipping the rest?
Skipping files with Weidu?
#1
Posted 29 August 2017 - 04:20 AM
#2
Posted 29 August 2017 - 05:40 AM
ACTION_IF FILE_EXISTS ~ar5600.bcs~ BEGIN COPY_EXISTING ~ar5600.bcs~ ~override~ //your patch to this file END
Edited by The Imp, 29 August 2017 - 05:42 AM.
Yep, Jarno Mikkola. my Mega Mod FAQ. Use of the BWS, and how to use it(scroll down that post a bit).
OK, desert dweller, welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand. Ouh, actually it was still snow then.. but anyways.
#3
Posted 29 August 2017 - 07:16 AM
Aha, now that's very useful.
#4
Posted 29 August 2017 - 12:16 PM
ACTION_IF FILE_EXISTS ~ar5600.bcs~ BEGIN COPY_EXISTING ~ar5600.bcs~ ~override~ //your patch to this file END
*FILE_EXISTS_IN_GAME for game resources (otherwise you're looking in the filesystem with FILE_EXISTS, which won't necessarily be the case for biffed files etc.)
Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle
#5
Posted 30 August 2017 - 09:03 AM
So IN_GAME is more comprehensive?
#6
Posted 30 August 2017 - 09:23 AM
Yep... a lot more, as in it covers what you want it to, while the one without it will likely not, ever.
Yep, Jarno Mikkola. my Mega Mod FAQ. Use of the BWS, and how to use it(scroll down that post a bit).
OK, desert dweller, welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand. Ouh, actually it was still snow then.. but anyways.
#7
Posted 30 August 2017 - 10:40 AM
FILE_EXISTS_IN_GAME and FILE_EXISTS serve different purpose and both have their use cases.
FILE_EXISTS_IN_GAME is used to look for in-game resources, i.e. compiled scripts, dialogues (DLG), creatures, areas etc
FILE_EXISTS is used to look for any file you want to find in the game directory, like additions to worldmap, tpa functions, uncompiled files (baf or d) or mod tra-files, markers left by other mods etc
Edited by Roxanne, 30 August 2017 - 10:49 AM.