Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add dependencies network tutorial topic
- Loading branch information
Showing
6 changed files
with
170 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<!-- For this second example, let's make use of dependencies. | ||
Before starting the installation, dependencies | ||
make sure the things you specify are in place. | ||
--> | ||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="http://qconsulting.ca/fo3/ModConfig5.0.xsd"> | ||
|
||
<moduleName>Example Mod</moduleName> | ||
|
||
<!-- The "And" operator means that all dependencies | ||
below this tag must be true for it to be true | ||
as well. The other possible value is "Or". | ||
--> | ||
<moduleDependencies operator="And"> | ||
<!-- Make sure other_file exists! | ||
Another possible value for state is "Missing" | ||
--> | ||
<fileDependency file="other_file" state="Active"/> | ||
</moduleDependencies> | ||
|
||
<!-- Now before installing our lovely and empty | ||
data file in requiredInstallFiles, | ||
we need to make sure other_file exists | ||
--> | ||
<requiredInstallFiles> | ||
<file source="data_file" destination=""/> | ||
</requiredInstallFiles> | ||
|
||
</config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<!-- From now onwards, the info.xml will | ||
always be complete. Not much point | ||
in changing it as it is pretty simple | ||
to figure out. | ||
--> | ||
<fomod> | ||
<!-- The name of the mod --> | ||
<Name>Example Mod</Name> | ||
|
||
<!-- The author of the mod --> | ||
<Author>Example Author</Author> | ||
|
||
<!-- The version of the mod. | ||
Note that the attribute is | ||
optional and specifies | ||
a machine-readable version | ||
string, like "1.2.3". | ||
The version itself can be | ||
whatever the author wants | ||
--> | ||
<Version MachineVersion="1.2.3"> | ||
1.2.3 | ||
</Version> | ||
|
||
<!-- A description for the mod --> | ||
<Description> | ||
This is an example mod. | ||
</Description> | ||
|
||
<!-- The website for the mod --> | ||
<Website> | ||
https://example.website.com/example-mod | ||
</Website> | ||
</fomod> |