<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.coigame.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vdd</id>
	<title>Captain of Industry Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.coigame.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vdd"/>
	<link rel="alternate" type="text/html" href="http://wiki.coigame.com/Special:Contributions/Vdd"/>
	<updated>2026-04-22T15:06:44Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>http://wiki.coigame.com/index.php?title=Modding&amp;diff=9086</id>
		<title>Modding</title>
		<link rel="alternate" type="text/html" href="http://wiki.coigame.com/index.php?title=Modding&amp;diff=9086"/>
		<updated>2023-01-17T10:34:37Z</updated>

		<summary type="html">&lt;p&gt;Vdd: /* Quick Start */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;PAGE IS WIP AND UNDER CONSTRUCTION!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Modding is an exciting endeavor! Hopefully this page can serve as a quick-start on how you can do it to!&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
- .NET Framework - https://dotnet.microsoft.com/en-us/download/dotnet-framework/net462&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Quick Start ==&lt;br /&gt;
&lt;br /&gt;
- Clone https://github.com/MaFi-Games/Captain-of-industry-modding into a directory (&amp;lt;code&amp;gt;git clone https://github.com/MaFi-Games/Captain-of-industry-modding.git&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
- Navigate to the directory and into &amp;lt;code&amp;gt;src/ExampleMod&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- Run &amp;lt;code&amp;gt;dotnet build /p:LangVersion=10.0&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We&#039;re using &amp;lt;code&amp;gt;/p:LangVersion=10.0&amp;lt;/code&amp;gt; for building mod, as otherwise it&#039;ll throw errors about too new language features being used. You can also edit &amp;lt;code&amp;gt;ExampleMod.csproj&amp;lt;/code&amp;gt; to contain &amp;lt;code&amp;gt;&amp;lt;LangVersion&amp;gt;10.0&amp;lt;/LangVersion&amp;gt;&amp;lt;/code&amp;gt; in the first &amp;lt;code&amp;gt;PropertyGroup&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Layouts / EntityLayoutParams / EntityLayoutParser  ==&lt;br /&gt;
&lt;br /&gt;
Layouts of structures such as machines or storages are based on a ASCII format passed as list of strings.&lt;br /&gt;
&lt;br /&gt;
Example furnace:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   [2][2][2][3][3][3][3][3][2]&amp;gt;~Y&lt;br /&gt;
   [2][2][3][5][5][7][7][4][3]&amp;gt;&#039;O&lt;br /&gt;
A~&amp;gt;[2][2][3][5][5][7][7][4][3]&amp;gt;&#039;V&lt;br /&gt;
B~&amp;gt;[2][2][3][5][5][7][7][4][3]&amp;gt;&#039;W&lt;br /&gt;
   [2][2][2][3][3][7][7][4][3]&amp;gt;&#039;P&lt;br /&gt;
   [2][2][2][2][2][2][2][2][3]&amp;gt;@E&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can use the in-game console command &amp;lt;code&amp;gt;print_entity_layout &amp;lt;string&amp;gt;&amp;lt;/code&amp;gt; to print the entity layout of a structure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Notice: Some structures in the game use a &amp;quot;old&amp;quot; format of the layout, rather than the current format.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References / Samples ==&lt;br /&gt;
&lt;br /&gt;
- https://github.com/MaFi-Games/Captain-of-industry-modding - Official quick-start template&lt;br /&gt;
&lt;br /&gt;
- https://github.com/altmank/CaptainOfCheats - Example mod using a lot of functionality as a sort of cheat engine&lt;/div&gt;</summary>
		<author><name>Vdd</name></author>
	</entry>
</feed>