Nythrun Posted December 11, 2007 Share Posted December 11, 2007 Copy ~blah~ ~override/druid_remix_installed.g3~ etc for version 6? the Bigg's already said no to ACTION_IF COMPONENT_IS_INSTALLED foo tp2 THEN BEGIN predicates. Link to comment
Nythrun Posted December 11, 2007 Author Share Posted December 11, 2007 Thanks For now I'll stick with ACTION_IF !(FILE_EXISTS ~Divine_Remix/Setup-Divine_Remix.tp2~) THEN BEGIN Link to comment
Miloch Posted December 11, 2007 Share Posted December 11, 2007 the Bigg's already said no to ACTION_IF COMPONENT_IS_INSTALLED foo tp2 THEN BEGIN predicates.Bah. Isn't there a way to detect if components are installed without cramming the override with more useless junk? Link to comment
Nythrun Posted December 11, 2007 Author Share Posted December 11, 2007 Yeah, you explicitly look for unique known changes to existing game files. It's a lot more work, and zero byte files don't cause game stutter. Hopefully all the flag files are getting stuffed into biffs anyway. Biffing is totally sweet. Link to comment
Miloch Posted December 11, 2007 Share Posted December 11, 2007 So ACTION_IF MOD_IS_INSTALLED ~Setup-Divine_Remix.tp2~ ~200~ doesn't work? If not, what about ACTION_IF FILE_EXISTS_IN_GAME ~cdalcrn.spl~ THEN BEGIN? It's a core component spell. Edit: though if you're checking specifically for Druid Remix, it doesn't seem to have any unique files added. I don't like ACTION_IF !(FILE_EXISTS ~Divine_Remix/Setup-Divine_Remix.tp2~) THEN BEGIN, because I often have the mod sitting around in the game directory but it's not installed. So if, for example, L1NPCs is checking for DR that way, it might have issues. Link to comment
Nythrun Posted December 11, 2007 Author Share Posted December 11, 2007 That's hilarious if he added the predicate after saying he wouldn't, I'll have to check. If not I guess I can slap together a few dozen more lines of patch code to cater to readmephobes. You really should consider biffing the override a lot though. It's going in V1 of Level One NPCs for sure. Maybe after every component. Link to comment
Miloch Posted December 11, 2007 Share Posted December 11, 2007 Yeah, a lot of people have tried to get me to biff, but I'm holding out for that special someone. Edit: It works, apparently. This: ACTION_IF MOD_IS_INSTALLED bg1npc.tp2 10 THEN BEGIN //Branwen Romance COPY_EXISTING ~_branwe.cre~ ~override~ WRITE_BYTE 0x273 0xb BUT_ONLY_IF_IT_CHANGES END Made Branwen a druid and did nothing when I reversed the logic. Link to comment
Nythrun Posted December 11, 2007 Author Share Posted December 11, 2007 Hey Cam? Feature request: no redundant flag files for V6? Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.