aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xActions/StartingActions.xml9
-rw-r--r--ExtensionInfo.xml92
-rwxr-xr-xFactions/StartingFaction.xml7
-rwxr-xr-xLogo.pngbin0 -> 22737 bytes
-rwxr-xr-xMissions/StartingMission.xml25
-rwxr-xr-xNodes/TestNode.xml13
-rwxr-xr-xThemes/Backgrounds/RiptideGreen.pngbin0 -> 547024 bytes
-rwxr-xr-xThemes/ExampleTheme.xml51
8 files changed, 197 insertions, 0 deletions
diff --git a/Actions/StartingActions.xml b/Actions/StartingActions.xml
new file mode 100755
index 0000000..7e93db8
--- /dev/null
+++ b/Actions/StartingActions.xml
@@ -0,0 +1,9 @@
+<ConditionalActions>
+
+ <Instantly>
+ <AddAsset FileName="RTSPCrack.exe" FileContents="#RTSP_EXE#" TargetComp="playerComp" TargetFolderpath="bin" />
+ <RunFunction FunctionName="setFaction:introfac" FunctionValue="0" />
+
+ </Instantly>
+
+</ConditionalActions> \ No newline at end of file
diff --git a/ExtensionInfo.xml b/ExtensionInfo.xml
new file mode 100644
index 0000000..e4412c9
--- /dev/null
+++ b/ExtensionInfo.xml
@@ -0,0 +1,92 @@
+<HacknetExtension>
+ <!-- Max name length is 128 characters -->
+ <Name>Blank Extension</Name>
+ <AllowSaves>true</AllowSaves>
+
+ <!-- a coma separated list of notes that start out as being visible-->
+ <StartingVisibleNodes></StartingVisibleNodes>
+
+ <!-- the mission (if any) that loads in as soon as the player starts -->
+ <StartingMission>Missions/StartingMission.xml</StartingMission>
+
+ <!-- Conditional action set that is loaded in as soon as a new session is created
+ This is useful to do setup stuff, like giving the player programs, assigning them a faction etc.
+ If you don't need this, set it to "NONE", or just delete the tag.-->
+ <StartingActions>Actions/StartingActions.xml</StartingActions>
+
+ <!-- Description that appears within Hacknet -->
+ <Description> --- Blank Extension ---
+Edit this with your own extension info and start building!</Description>
+
+ <!-- Factions involved in this extension! You can define as many or as few as you like -->
+ <Faction>Factions/StartingFaction.xml</Faction>
+
+ <StartsWithTutorial>False</StartsWithTutorial>
+
+ <!-- this makes the extension start with the standard restart bootup sequence -->
+ <HasIntroStartup>false</HasIntroStartup>
+
+ <StartingTheme>Themes/ExampleTheme.xml</StartingTheme>
+ <!--
+ Base Themes are named:
+ TerminalOnlyBlack, HacknetBlue, HacknetTeal, HacknetYellow, HackerGreen, HacknetWhite, HacknetPurple, HacknetMint
+ -->
+
+ <!-- You can reference songs from the original game here, or your own .ogg files by path.
+ To reference original songs, use their name in the files! You don't need the path, just the filename. This works for any songs in these folders:
+ Content/Music
+ Content/DLC/Music
+
+ To Play your own songs, use the path to that song in your extension.
+ For example, try changing the song name below to "Music/Chemical_Burns.ogg" - it'll start with that instead for new saves! -->
+ <IntroStartupSong>The_Quickening</IntroStartupSong>
+
+ <!-- Sequencer stuff. You won't need this till later.-->
+ <!--
+ <SequencerTargetID>advExamplePC</SequencerTargetID>
+ <SequencerSpinUpTime>10.5</SequencerSpinUpTime>
+ <SequencerFlagRequiredForStart>testFlag</SequencerFlagRequiredForStart>
+ <ActionsToRunOnSequencerStart>Actions/ThemeSwapActions.xml</ActionsToRunOnSequencerStart>
+ -->
+
+ <!-- Steam workshop fields -->
+ <!--
+ public string WorkshopDescription;
+ public string WorkshopLanguage;
+ public byte WorhsopVisibility = 2;
+ public string WorkshopTags;
+ public string WorkshopPreviewImagePath;
+ -->
+ <WorkshopDescription>This is the description of the extension that will appear in Steam Workshop and any other mod platforms this gets ported to. Max 8000 characters.
+You can use newlines in this as normal etc.</WorkshopDescription>
+
+ <!-- Language that this is set to. -->
+ <WorkshopLanguage>English</WorkshopLanguage>
+
+ <!-- Sets the visibility of this item on the workshop.
+ 0 = public
+ 1 = friends only
+ 2 = private (self only)-->
+ <WorkshopVisibility>2</WorkshopVisibility>
+
+ <!-- Comma separated list of tags that this should be listed under in the workshop. This is not currently used, as the only category
+ of workshop item in Hacknet is "Extension", so leave this as-is for now.-->
+ <WorkshopTags>Extension</WorkshopTags>
+
+ <!-- Path to the preview image used on the steam workshop for your extension.
+ This must be within your mod folder, be 16x9 aspect ratio and less than 1MB in size.
+ I recommend the highest resolution you can provide that fits that criteria,
+ though steam will likely use a version less than 512x512 in size, and will auto resize it for you.
+
+ This can be different to the provided Logo.png if you want, as this will not be transparently backed on steam.
+ Supported formats are .png, .jpg and .gif
+ -->
+ <WorkshopPreviewImagePath>Logo.png</WorkshopPreviewImagePath>
+
+ <!-- This is the workshop publish ID. The first time your extension is published to Steam, this will be automatically populated with the ID that steam assigns it.
+ When this happens, make sure that you keep that version of the file and store the ID somewhere - without it, you wont be able to push out updates to your extension,
+ and if it's removed, publishing to the workshop will submit it as a new entry, and you'll lose all of your subscribers. Be careful!
+ Do not manually modify this unless you already know your Publish ID from a previous submission. A new ID will only be generated if this says "NONE"-->
+ <WorkshopPublishID>NONE</WorkshopPublishID>
+
+</HacknetExtension> \ No newline at end of file
diff --git a/Factions/StartingFaction.xml b/Factions/StartingFaction.xml
new file mode 100755
index 0000000..4b56e8a
--- /dev/null
+++ b/Factions/StartingFaction.xml
@@ -0,0 +1,7 @@
+<CustomFaction name="Starting Faction" id="startingfac" playerVal="0">
+
+ <Action ValueRequired="1">
+ <AddAsset FileName="FTPBounce.exe" FileContents="#FTP_CRACK#" TargetComp="playerComp" TargetFolderpath="bin" />
+ </Action>
+
+</CustomFaction> \ No newline at end of file
diff --git a/Logo.png b/Logo.png
new file mode 100755
index 0000000..1d6533a
--- /dev/null
+++ b/Logo.png
Binary files differ
diff --git a/Missions/StartingMission.xml b/Missions/StartingMission.xml
new file mode 100755
index 0000000..cac2a4f
--- /dev/null
+++ b/Missions/StartingMission.xml
@@ -0,0 +1,25 @@
+<?xml version = "1.0" encoding = "UTF-8" ?>
+<mission id="startingMission">
+ <goals>
+ <!-- Goals here -->
+ </goals>
+ <!--
+ Add your mission start and end items here
+ missionStart val="0">loadConditionalActions:Actions/TestActions.xml</missionStart>
+ missionEnd val="1">addRank</missionEnd>
+ -->
+ <nextMission>NONE</nextMission>
+ <!--
+ <posting title="startingMission">This would be the post on a message board if it was on them.</posting>
+ -->
+ <email>
+ <sender>SENDER NAME HERE</sender>
+ <subject>This is an example email for Blank Extension</subject>
+ <body>You should add the body of the email here.
+Multiple lines etc.
+</body>
+ <attachments>
+ <!-- Add attachments like links and notes here -->
+ </attachments>
+ </email>
+</mission> \ No newline at end of file
diff --git a/Nodes/TestNode.xml b/Nodes/TestNode.xml
new file mode 100755
index 0000000..455e4c1
--- /dev/null
+++ b/Nodes/TestNode.xml
@@ -0,0 +1,13 @@
+<?xml version = "1.0" encoding = "UTF-8" ?>
+<Computer id="testNode" name="Test Node" type="empty">
+
+ <portsForCrack val="3" />
+ <ports>22, 21, 25</ports>
+ <trace time="-1" />
+
+ <file path="home" name="example.txt">This is a file!
+You can write whatever you want here.</file>
+
+ <file path="bin" name="ThemeChanger.exe">#THEMECHANGER_EXE#</file>
+
+</Computer> \ No newline at end of file
diff --git a/Themes/Backgrounds/RiptideGreen.png b/Themes/Backgrounds/RiptideGreen.png
new file mode 100755
index 0000000..f635861
--- /dev/null
+++ b/Themes/Backgrounds/RiptideGreen.png
Binary files differ
diff --git a/Themes/ExampleTheme.xml b/Themes/ExampleTheme.xml
new file mode 100755
index 0000000..292eb02
--- /dev/null
+++ b/Themes/ExampleTheme.xml
@@ -0,0 +1,51 @@
+<CustomTheme>
+ <!-- This defines the layout of the windows. The valid choices are:
+ blue, green, white, mint, greencompact, riptide, colamaeleon and riptide2 - corresponding to the themes of those colors in the base game-->
+ <themeLayoutName>mint</themeLayoutName>
+
+ <!-- This is a path to the background image file. It should be 1920x1080, and a .jpg or .png file.
+ If this is left out, the theme will automatically generate a dynamic background for the theme-->
+ <backgroundImagePath>Themes/Backgrounds/RiptideGreen.png</backgroundImagePath>
+
+ <!-- Main Colors - these will define the main feel of the theme -->
+ <!-- Color of nodes on the netmap, and many other derived colors. -->
+ <defaultHighlightColor>255,41,63</defaultHighlightColor>
+ <defaultTopBarColor>74,7,14,255</defaultTopBarColor>
+ <!-- This is used for the outlines of the module windows -->
+ <moduleColorSolidDefault>0,204,132</moduleColorSolidDefault>
+ <moduleColorStrong>14,40,25,80</moduleColorStrong>
+ <moduleColorBacking>5,7,6,10</moduleColorBacking>
+
+ <exeModuleTopBar>130,65,27,80</exeModuleTopBar>
+ <exeModuleTitleText>155,85,37,0</exeModuleTitleText>
+
+ <!-- Extra Options -->
+ <warningColor>255,0,0</warningColor>
+ <subtleTextColor>90,90,90</subtleTextColor>
+ <darkBackgroundColor>8,8,8</darkBackgroundColor>
+ <indentBackgroundColor>12,12,12</indentBackgroundColor>
+ <outlineColor>68,68,68</outlineColor>
+ <lockedColor>65,16,16,200</lockedColor>
+ <brightLockedColor>160,0,0</brightLockedColor>
+ <brightUnlockedColor>0,160,0</brightUnlockedColor>
+ <unlockedColor>39,65,36</unlockedColor>
+ <lightGray>180,180,180</lightGray>
+ <shellColor>222,201,24</shellColor>
+ <shellButtonColor>105,167,188</shellButtonColor>
+ <semiTransText>120,120,120,0</semiTransText>
+ <terminalTextColor>213,245,255</terminalTextColor>
+ <topBarTextColor>126,126,126,100</topBarTextColor>
+ <superLightWhite>2,2,2,30</superLightWhite>
+ <connectedNodeHighlight>222,0,0,195</connectedNodeHighlight>
+ <netmapToolTipColor>213,245,255,0</netmapToolTipColor>
+ <netmapToolTipBackground>0,0,0,70</netmapToolTipBackground>
+ <topBarIconsColor>255,255,255</topBarIconsColor>
+ <thisComputerNode>95,220,83</thisComputerNode>
+ <scanlinesColor>255,255,255,15</scanlinesColor>
+
+ <!-- AlienFX Colors used for Alienware (and other) hardware with variable LED lights that Hacknet can set dynamically -->
+ <AFX_KeyboardMiddle>0,120,255</AFX_KeyboardMiddle>
+ <AFX_KeyboardOuter>255,150,0</AFX_KeyboardOuter>
+ <AFX_WordLogo>0,120,255</AFX_WordLogo>
+ <AFX_Other>0,100,255</AFX_Other>
+</CustomTheme> \ No newline at end of file