Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I modded DLS to have mod support

A topic by Chazzwazzler created Nov 13, 2023 Views: 2,500 Replies: 18
Viewing posts 1 to 16
(+1)

Download here: https://www.mediafire.com/file/5adikl597f736g2/DLS_MODDABLE.zip/file

Resize/Pan viewport mod here: https://www.mediafire.com/file/f388mm1428afjxx/Expand_Pan_Mod.zip/file

The mod support is rudimentary, but it is a good start. To use the sample mod I provided, unzip the folder and put the folder in “Digital Logic Sim_Data/mods” in the game files. Scroll wheel to scale the viewport, Mouse3 to pan the camera.

There are instructions on how to create a mod in the game files. You will also need to take a look at the source files for this game on github and probably unity to know what functions and objects you have to work with. This modded version makes ALL variables and functions public as well as makes all monobehaviours able to be inherited from. I will later make documentation and some step by step guides on creating certain types of mods, but that probably won’t be for a long time unless people actually start using this and need help making mods.

This took a LOT of work, and many hours, so I hope that it proves useful! Thanks!

(1 edit)

If anyone needs help getting a mod working or getting the mod they are writing to work, let me know! If anyone also needs help figuring out how to port a modded version of the game they made into being a mod (so that it can be used with multiple other mods at once), I am eager to help with that as well.

Is there a way to write a mod where you could potentially nest multiple wires into a wire bundle? It would make routing data lines so much easier.

I am also currently working on mac and linux support. That might take another day or two.

(1 edit) (+1)

The Zoom function of your mod seems to break when, from the component design screen, you go Menu > New (Ctrl+N), or edit a part from Menu > Library (Ctrl+L) > Edit. It fixes itself when you quit to main and reload a project.

Additionally, when first opening a project, you can only pan the component design screen left or right, but when you choose to make a new chip or edit an existing chip, you gain the ability to pan in all directions.

(2 edits)

Thanks for letting me know. Here’s a fixed version of the mod: https://www.mediafire.com/file/6rz7koqqqb46sq6/Expand_Pan_Mod+(1).zip/file

You can also now press the Home key to reset the camera position and the End key to rest the camera size.

(1 edit)

Cool. I found another bug, though. Zooming around can cause the graphical shape and position of wires, as well as the positions of components to become messed up.

Yeah, definitely would love for this to be fixed soon.

Is there anywhere to get the source code in C# and not as a unity project?

GitHub?

(1 edit)

There is a description on how to quickly make new mods. but what if you lets say want to make a new built in chip? or anything else on that matter. there's not really much explenation. would love to add to this and make some mods of my own but there is just not enough documentation on this. I would love to collaborate and revive this game/application/simulation dont really know. 

if you want to reach out. here is my discord:"neonpog" 

I just downloaded the pan mod and it doesnt seem to be working. I followed the instructions and im not sure if this is just a hardware or software issue

wheres the mod folder

nvm I fixed it but thanks for the help anyways

turns out that I accidentaly forgot to get the actual folder out of the original folder after extracting it

@chazzwazzler Is your source code available? Is this something you'd like help merging with Sebastian's latest version?

my mouse wheel is broken, can you make that if i use ctrl + "+" then i can zoom in, but if i use ctrl + "-" i zoom out

How do i make a custom chip in the mod?

Deleted 65 days ago

When will the MacOS version be realised?