Changes

Jump to navigation Jump to search
4,618 bytes removed ,  16:02, 3 February 2020
no edit summary
Line 8: Line 8:  
|style="font-size:125%" | [[Code Modding]] is a separate page
 
|style="font-size:125%" | [[Code Modding]] is a separate page
 
|}
 
|}
Modding in Software Inc. is completely data driven. Software Inc. loads XML files found in the "Mods" folder of the root of the game when it launches.
+
Modding in Software Inc. is completely data driven. Software Inc. loads [[TyD|TyD]] files found in the "Mods" folder of the root of the game when it launches.
   −
A mod should be placed in its own folder in the "Mods" folder and can optionally contain each of the following folders: "[[Modding#Companies|Companies]]", "[[Modding#Company types|CompanyTypes]]", "[[Modding#Events|Events]]", "[[Modding#Name generators|NameGenerators]]", "[[Modding#Scenarios|Scenarios]]" and "[[Modding#Software types|SoftwareTypes]]".
+
A mod should be placed in its own folder in the "Mods" folder and can optionally contain each of the following folders: "[[Modding#Companies|Companies]]", "[[Modding#Company types|CompanyTypes]]", "[[Modding#Events|Events]]", "[[Modding#Name generators|NameGenerators]]" and "[[Modding#Software types|SoftwareTypes]]".
   −
The root of your mod can additionally include a Personalities.xml file to add new [[Modding#Personalities|personalities]] to the game.
+
The root of your mod can additionally include a Personalities.tyd file to add new [[Modding#Personalities|personalities]] to the game.
    
== Debugging console ==
 
== Debugging console ==
As of alpha 10.1.5, the debugging console is enabled by binding the console key at the bottom of the key binding menu in the options window.
+
The debugging console is enabled by binding the console key at the bottom of the key binding menu in the options window.
   −
=== Debugging console in Alpha 9 ===
+
===Helpful commands===
The debugging console can be enabled by using the "-debugconsole" launch parameter.
+
TBA
This can be accomplished in Steam by setting it as a launch option for the game, in Windows by making a shortcut to the game and appending the parameter to the end of the path or otherwise launching the game from a terminal/commandline but adding -debugconsole to the end.
  −
 
  −
The console can be opened in-game by using the Home button, which you can rebind in the options window.
      
== In-game content ==
 
== In-game content ==
Line 34: Line 31:  
[http://softwareinc.coredumping.com/wiki/Alpha11Data.zip Alpha 11.1.1 data - 22 KB]
 
[http://softwareinc.coredumping.com/wiki/Alpha11Data.zip Alpha 11.1.1 data - 22 KB]
   −
== Alpha 8 changes ==
+
== Alpha 11 changes ==
 
+
TBA
Needs are no longer needed, but will be inferred from feature dependencies.
  −
 
  −
Feature dependencies should no longer be in a separate tag, and you can completely omit the "Dependencies" tag from features without dependencies.
  −
 
  −
You can now have multiple SoftwareCategory tags for features, to limit them to more than one software category, with individual unlock dates, use "0" for no unlock date.
  −
 
  −
Example:
  −
<pre>
  −
<Feature Vital="TRUE">
  −
<Name>Multitasking</Name>
  −
<Category>System</Category>
  −
<Description>Let your users pretend they can multitask by having several applications open at any one time.</Description>
  −
<DevTime>6</DevTime>
  −
<Innovation>1</Innovation>
  −
<Usability>1</Usability>
  −
<Stability>0</Stability>
  −
<CodeArt>1</CodeArt>
  −
<SoftwareCategory Category="Computer">0</SoftwareCategory>
  −
<SoftwareCategory Category="Console">2000</SoftwareCategory>
  −
<SoftwareCategory Category="Phone">2000</SoftwareCategory>
  −
<Dependency Software="Operating System">Multithreading</Dependency>
  −
<Dependency Software="Operating System">Example</Dependency>
  −
</Feature></pre>
  −
 
  −
== Alpha 10 changes ==
  −
Scenarios have been deprecated and will be ignored by the game.
  −
 
  −
The IdealPrice tag has been added to SoftwareTypes to control the ideal price of a software category. This can be specified on a SoftwareType or SoftwareCategory level. If not specified, the game will use the old pricing system.
      
== Software types ==
 
== Software types ==
Line 366: Line 335:  
</Types>
 
</Types>
 
</CompanyType></pre>
 
</CompanyType></pre>
  −
== Scenarios (Deprecated) ==
  −
Scenarios can define the start conditions, goals and events in-game.
  −
A scenario type XML file should contain the following tags:
  −
  −
{|class="wikitable"
  −
|<b>Tag name</b>
  −
|<b>Description</b>
  −
|<b>Example</b>
  −
|-
  −
|Scenario
  −
|This is the root tag, which all tags should be a child to.
  −
|
  −
|-
  −
|Name
  −
|The name of the scenario as shown in the game.
  −
|
  −
|-
  −
|Money
  −
|The available amounts of money at the game start.
  −
|<pre><Money><Amount>1000</Amount><Amount>20000</Amount></Money></pre>
  −
|-
  −
|Goals
  −
|Goals define the "win" condition(s). There can be multiple goals, each defined its own Goal tag. Each goal can also have multiple conditions, separated by commas. Conditions are defined by their name followed by an argument. The only goals available at the moment are Money and Date.
  −
|<pre><Goals><Goal>Money 200000,Date 6-1980</Goal><Goal>Money 2000000,Date 4-1988</Goal></Goals></pre>
  −
|-
  −
|Years
  −
|The available start years at the start of a new game.
  −
|<pre><Years><Year>1976</Year><Year>1988</Year></Years></pre>
  −
|-
  −
|Events
  −
|Events are defined separately in the "Events" Folder. You can leave the tag empty to ignore it.
  −
|<pre><Events><Event>Test</Event><Event>Test2</Event></Events></pre>
  −
|-
  −
|Simulation
  −
|Whether the competition should be simulated. Relevant if you want the competition to be entirely controlled by your own events.
  −
|<pre><Simulation>TRUE</Simulation></pre>
  −
|-
  −
|Trees(Optional)
  −
|Whether to place trees in the world
  −
|<pre><Trees>TRUE</Trees></pre>
  −
|-
  −
|MinFloor(Optional)
  −
|The lowest floor the player can build on, between -1 and 9
  −
|<pre><MinFloor>0</MinFloor></pre>
  −
|-
  −
|MaxFloor(Optional)
  −
|The lowest floor the player can build on, between 0 and 10
  −
|<pre><MaxFloor>4</MaxFloor></pre>
  −
|-
  −
|CanExpand(Optional)
  −
|Whether the player can buy more plot.
  −
|<pre><CanExpand>FALSE</CanExpand></pre>
  −
|-
  −
|ForceEnvironment(Optional)
  −
|Whether the player should be forced to play in a specific environment. Between 0 and 3, for forest, city, tundra and desert.
  −
|<pre><ForceEnvironment>0</ForceEnvironment></pre>
  −
|-
  −
|StartingArea(Optional)
  −
|What the players starting plot should be. Defined as x,y,width,height. Will be clamped to match game limits.
  −
|<pre><StartingArea>9,128,32,32</StartingArea></pre>
  −
|-
  −
|}
  −
Example of a "scenario" file:
  −
  −
<pre><Scenario>
  −
<Name>Test scenario</Name>
  −
<Money>
  −
<Amount>500</Amount>
  −
<Amount>1000</Amount>
  −
</Money>
  −
<Goals>
  −
<Goal>Money 1337,Date 5-1995</Goal>
  −
<Goal>Money 1000000,Date 5-2012</Goal>
  −
</Goals>
  −
<Years>
  −
<Year>1980</Year>
  −
<Year>1985</Year>
  −
                <Year>2023</Year>
  −
</Years>
  −
<Events>
  −
<Event>Test</Event>
  −
</Events>
  −
<Simulation>TRUE</Simulation>
  −
</Scenario></pre>
  −
  −
=== Events ===
  −
Nothing here yet
  −
  −
=== Companies ===
  −
Nothing here yet
      
== Personalities ==
 
== Personalities ==

Navigation menu