Posted by: Ghreyfain
« on: November 06, 2004, 07:29:19 PM »j#swsoa.txt is the file I copy to override for SoA sensible weapons. For ToB it's J#ToBAoE.txt.
So if you want a component to require that universal weapons be installed, you'd put
REQUIRE_FILE ~override/j#swsoa.txt~ right after the BEGIN ~My Component Name~
If you want to make a different change in a given component if Universal Weapons is installed, then, like Andyr said, you'd use
ACTION_IF FILE_EXISTS ~override/j#swsoa.txt~
THEN BEGIN
Blah
ELSE BEGIN
OtherBlah
END
So if you want a component to require that universal weapons be installed, you'd put
REQUIRE_FILE ~override/j#swsoa.txt~ right after the BEGIN ~My Component Name~
If you want to make a different change in a given component if Universal Weapons is installed, then, like Andyr said, you'd use
ACTION_IF FILE_EXISTS ~override/j#swsoa.txt~
THEN BEGIN
Blah
ELSE BEGIN
OtherBlah
END