mafi-games / captain-of-industry-modding Goto Github PK
View Code? Open in Web Editor NEWOfficial modding resource for video game Captain of Industry.
Home Page: https://www.captain-of-industry.com
License: MIT License
Official modding resource for video game Captain of Industry.
Home Page: https://www.captain-of-industry.com
License: MIT License
I will add a log file later on when i get to my PC at home.
I am playing on 4.11 with CoC 1.8.1
Two issues I saw with CoC are ๐
Hey MaFi Games Team,
I am interested in modding or maybe helping out with your game so I looked into your example code and found a red marked line: https://github.com/MaFi-Games/Captain-of-industry-modding/blob/main/src/ExampleMod/ExampleMachineData.cs#L39
Now my questen here is, if this code is valid syntax or if Github is right in marking it red and as an error ๐ค
Looking at the lines above I wouold assoume that Github wants it like that:
// Example of a new furnace recipe.
registrator.RecipeProtoBuilder
.Start(name: "Example smelting",
recipeId: ExampleModIds.Recipes.ExampleSmelting,
machineId: ExampleModIds.Machines.ExampleFurnace)
.AddInput(8, ExampleModIds.Products.ExampleLooseProduct)
.AddInput(2, Ids.Products.Coal)
.SetDuration(20, Seconds())
.AddOutput(8, ExampleModIds.Products.ExampleMoltenProduct)
.AddOutput(24, Ids.Products.Exhaust, outputAtStart: true)
.BuildAndAdd();
But what is correct and what not? Sometime it is correct and working incl. compiling the code but it could also be wrong and this confuses me a little bit. Would be nice to get feedback on this :)
Cheer and keep up the good work ๐ ๐ฅ
gettting access is denied (0x5) when i try to start the game. When i use the mine exe and i get windows cannot access the specified device,path,or file. you may not have the appropriate .
Solution targets .net v4.6
During build, other files are requiring .net 4.7.x
After installing these sdk versions
there is then a language version error
It looks like I was getting an error in unity using the Build Asset Bundles command due to not having "Unity.Postprocessing.Runtime.dll". I added this DLL and the error went away. Might be needed as well in the DLL list.
I followed the instructions and installed it. Noted that the new item appeared in the research tree.
When I closed it my power generation had stopped due to my LP turbine being full on both lines. It was going out a singe stack for each line through a Pipe 1 so should not have stopped. Also noted my Acid line had changed color from Red to Green in the sight glass.
Disabled Mod support and restarted and everything was working again.
Realise moding is extremely early but thought you might like to know.
Hi,
I tried to make my own "Zippers" by copying the Example mod and got to a certain point where my "machines" will appear in game, however when I try to add research for them, I get a cryptic error:
The source code to reproduce it is at https://github.com/NotoriousPyro/UnpoweredBalancers
Simply uncomment the line that adds the research in https://github.com/NotoriousPyro/UnpoweredBalancers/blob/main/UnpoweredBalancers.cs
Version 2019 or later?
Edit: I just updated 2019 (Version 16.11.16) to the latest build (Version 16.11.16). It works.
Please add a variable in the C# solution file
<PropertyGroup>
<COI_ROOT> <!-- Captain of Industry install dir --> </COI_ROOT>
</PropertyGroup>
This will not modify user's environment variable and does not require permission escalation.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.