Changes

Jump to navigation Jump to search
1,274 bytes added ,  16:10, 15 May 2015
no edit summary
Line 164: Line 164:  
#Hi, you.
 
#Hi, you.
 
It works by starting from the first node "start" (nodes are the ones with a hyphen in front of the name), it appends a random string from the list of strings below it (in this case there’s nothing to pick), it then picks a random node from the parenthesis of the current node (which can only be "base" in this case), and then it continues until it reaches the node stop. There is a limit to how far it will go, depending on how many nodes there are, to avoid an infinite loop.
 
It works by starting from the first node "start" (nodes are the ones with a hyphen in front of the name), it appends a random string from the list of strings below it (in this case there’s nothing to pick), it then picks a random node from the parenthesis of the current node (which can only be "base" in this case), and then it continues until it reaches the node stop. There is a limit to how far it will go, depending on how many nodes there are, to avoid an infinite loop.
 +
 +
== Company types ==
 +
Company types are the types of company that the game will simulate. If you don't define company types for your new software types, the software will not be released by the AI.
 +
 +
=== Tags ===
 +
 +
{|class="wikitable"
 +
|CompanyType
 +
|This is the root tag, which all tags should be a child to.
 +
|-
 +
|Specialization
 +
|The name/tag of the company type. If you pick a name of one of the built-in company types, you can override it. Note that this only works for Alpha 4.5+
 +
|-
 +
|Chance
 +
|There is a 25% chance of a company launching each month and it's type will be chosen randomly, based on this number weighted between other company types. In-game this is 15 for a game companies and 2 for an OS companies.
 +
|-
 +
|Types
 +
|The types of software this company will develop. Should have children Type tags with a Name = "SoftwareTypeName" attribute and a chance value between 0 and 1. A random software type will be chosen randomly, but weighted based on this number. Afterwards this number will also decide whether the company actually decides to release the software. OS companies only have Operating System defined here, with a value of 0.1, which means they will only release operating systems, and there is a 90% chance they will decide against releasing it each month.
 +
|}

Navigation menu