How to fix a procedure

Started by GreensilverMega on

Topic category: Help with MCreator software

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to fix a procedure
Sat, 10/28/2023 - 16:34 (edited)

     So I am working on a mod that has nukes but the explosion size is to small and it caps at 100 I think. So I used structures instead and it loads but it makes the block when I right click in the corner when I want the explosion in the middle. I need help I think I have something but I don't think it will work but ill try

 

 

EDIT: so I found some tutorial on how to make a sphere for an explosion but NOW IT DOES NOT WORK! I can't select it on the when block right clicked it is so annoying :( I will never make a mod because you guys made everything so COMPLICATED to program a big explosion but nope it caps out at 100 so I can't THANKS ALOT. You gotta make us go on a wild goose chase JUST to find how to make actual good explosions.

Edited by GreensilverMega on Sat, 10/28/2023 - 16:34
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You ideally want the…
Sat, 10/28/2023 - 20:57

You ideally want the structures to generate without gaps between them, otherwise there will be a thin slice of blocks between them that are unaffected by the explosion. This is why the offsets have to be so exact if you want the shape to be correct. Also keep in mind the origin point is the bottom northwest corner, not the block itself, you don't want to be off by one.

...It's weird that you haven't been able to find any tutorials on this, to be honest. There's lots of mods out there that involve enormous explosions, and it seems like a pretty frequent question on the forums. My guess is it's just a pretty complicated thing to get working properly without totally breaking the game. 

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
...Thanks @klemen! I 'm not…
Sun, 10/29/2023 - 13:54

...Thanks @klemen! I 'm not sure totally if it's the best method though. I've been working with structures so long now I sort of default to them, but It might be more performance friendly to use some sort of function to target every block in a sphere. ...Math to target every block in a sphere is just a little above my paygrade though, and I kind of assume it wouldn't make a significant difference if you're trying to load stuff over multiple chunks anyways.

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@Mindthemoods thanks for the…
Mon, 10/30/2023 - 00:19

@Mindthemoods thanks for the tutorial but theres one last thing I can't figure out, how to get the mushroom cloud? I tried a block model in blockbench but it only allows a certain height and width and length so I tried particles but they were to small and moving everywhere so I made it spawn 1 I also changed the size to 48 AND put movement speed to 0.3 but now its just completely invisible and not showing? Do you know how to fix that?

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nevermind! I finaly got it…
Mon, 10/30/2023 - 00:29

Nevermind! I finaly got it working! I just need to fix something and it is ready!

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
after that im releasing…
Mon, 10/30/2023 - 00:32

after that im releasing version one of the mod! Thanks to you mindthemoods! ill be sure to credit you!