Coder Social home page Coder Social logo

mafi-games / captain-of-industry-modding Goto Github PK

View Code? Open in Web Editor NEW
39.0 39.0 40.0 12.53 MB

Official modding resource for video game Captain of Industry.

Home Page: https://www.captain-of-industry.com

License: MIT License

C# 95.53% Batchfile 4.47%
game-development modding-games

captain-of-industry-modding's People

Contributors

mafi-games avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

captain-of-industry-modding's Issues

Terrain Change and God Mode in CoC

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 ๐Ÿ‘

  1. Terrain change does not work or i am not using it properly. Let's say my ground level is +3. I want to change the top layer from let's say rock to dirt, so i highlight the area i need changed (green to dump +3) choose dirt from the drop down under terrain and then click terrain change and nothing happens. The solution i did was to mine down to +2 and then dump back to +3 with dirt. I thought that change terrain would change it without having to mine and dump?
  2. When I click god mode in the bottom left of the UI everything freezes up and i cannot click on anything. I have to shut the game down and restart it.

False/Positive Check from Github or indeed a Bug?

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 ๐Ÿ‘‹ ๐Ÿฅ‚

access is denied

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 .

Multiple version errors on build

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

Build Asset Bundles 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.

Stopped Low Pressure Steam and Acid pipe color change

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.

COI_ROOT should not be set in system environmental variable

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.