Game Specific Installation?
Greener
Member Posts: 430
If I had three files and I wanted to use one tp2 file to install each one to a separate game what is the best way?
BEGIN ~my mod~
ACTION_IF GAME_IS ~bgee~ THEN BEGIN // bgee engine check
ACTION_IF FILE_EXISTS_IN_GAME ~enginest.2da~ BEGIN // possibly redundant?
File 1...
ACTION_IF FILE_EXISTS_IN_GAME ~bdcru112.cre~ THEN BEGIN // sod specific file
File 2...
ACTION_IF GAME_IS ~bg2ee~ THEN BEGIN // bg2ee engine check
ACTION_IF FILE_EXISTS_IN_GAME ~enginest.2da~ BEGIN // possibly redundant?
File 3...
The problem is I don't want File 1 or 3 installed in SoD just File 2...
BEGIN ~my mod~
ACTION_IF GAME_IS ~bgee~ THEN BEGIN // bgee engine check
ACTION_IF FILE_EXISTS_IN_GAME ~enginest.2da~ BEGIN // possibly redundant?
File 1...
ACTION_IF FILE_EXISTS_IN_GAME ~bdcru112.cre~ THEN BEGIN // sod specific file
File 2...
ACTION_IF GAME_IS ~bg2ee~ THEN BEGIN // bg2ee engine check
ACTION_IF FILE_EXISTS_IN_GAME ~enginest.2da~ BEGIN // possibly redundant?
File 3...
The problem is I don't want File 1 or 3 installed in SoD just File 2...
0
Comments
And if you don't want file 1 installed in SoD, use (GAME_IS ~bgee~ AND NOT GAME_INCLUDES ~sod~)