Mindustry

Mindustry

The Mindustry Workshop
Create and share maps and mods for Mindustry.
Some questions about Turrets
1. Do I need to make a .json for the base, and also for the turret, or do I make a sub-thingy in the same json for the turret as the block itself is. I ask because the wiki says that turret types only extend the block type, I'm kinda new to programming, so it's a bit confusing to me.

2. For the bullet graphic, I'm trying to make an anti-air-only Lancer turret for the look, but to have it single target, how would I go about doing it? How does the lancer's laser work? I can't find any sprites for it that isn't identical to the mining laser.

3. How do I make my turret only consume energy when it fires like an Arc or Lancer?

That's it for now. I have the wiki open and honestly it's not helpful to someone who's helped more by simply looking at other mods to see how it actually is typed out in practice in a file that works. Looking at the source code on github, I don't know if a mod would be able to use the same formatting, or even .java files instead of .json.

Some examples of each thing type would be useful to be added to the "guide" itself, or a real tutorial where it runs you through making something specific, while occasionally and briefly explaining what different things do, that you could add.

Sorry to bug, I'm just a clueless person with programming. I literally need my hand held. Math? All over that easily. Programming? Literally learning my first language as a 60 year old.
< >
Showing 1-2 of 2 comments
Prosta4ok_ua 3 17 Feb, 2020 @ 8:04am 
I recommend you to join to Officially Mindustry Discord.
discord.gg/mindustry
The_Great_ElRoyal 26 Feb, 2020 @ 8:14am 
tfgryurdtuhjr
du






< >
Showing 1-2 of 2 comments
Per page: 1530 50