thorwin99 / SEWorldGenPlugin

A world generation plugin for space engineers
36 stars 8 forks source link

Asteroids Not Generating #157

Open LunamOdium opened 1 year ago

LunamOdium commented 1 year ago

I took a look into the other threads and noticed yall talking about the asteroid generation, but couldnt really follow the convo so not sure if this is already stated.

I've tried all 3 ways (Plugin, Vanilla, Combined) for asteroid generation and cannot get any to generate. The ring in the system generator gets created instantly(no loading) but no real asteroids.

thorwin99 commented 1 year ago

You need to go there with your character, for them to spawn. They only generate in a radius around the player, when you are inside the zones (Ring). If you are just flying your spectator cam there, you wont see any

LunamOdium commented 1 year ago

I did. I used the "Teleport to Ring" button. Nothing

thorwin99 commented 1 year ago

Does it work with asteroid belts? Maybe the Ring is too small, or density to low? I just tested it in a new world with default settings, and it works fine for me.

Also, Asteroid rings etc. only work with Plugin or Combined asteroid generation.

LunamOdium commented 1 year ago

Ive tried both. System belts and planet rings. I tried "Ring" and the "Field" asteroid type, both nothing. I have density set at 0.3 (as I saw you said 0.1 is equivalent to vanilla)

And the ring i make is huge, at least a few thousand km wide, at least 20 km tall. If it were actually generating i would expect there to be some lag when actually creating the ring, no? But it spawns instantly and says the "Asteroid Generation was successful"

LunamOdium commented 1 year ago

I did start in the "Empty World" custom game, not sure if that would effect anything. I have a couple mods enabled, but I did try it with just planet mods and still nothing. Let me try with no mods at all and see what happens

thorwin99 commented 1 year ago

It instantly creates the ring, since it doesnt generate asteroids until you are in range, and even then, only around you. Try creating and empty world with default settings, the plugin enabled with default settings, no mods. If it works there, then there is another issue entirely

LunamOdium commented 1 year ago

Yup. Default settings, no mods worked. Maybe I should create an empty system with only belts, save and exit, enable mods and then hand generate the system with the modded planets?

Edit: My god I've never seen so many asteroids LMAO

LunamOdium commented 1 year ago

P.S. Freaking great plugin bro. For real. This should be a vanilla mechanic for sure!

Edit: There a way to make the belt UI element more visible? Its really hard to see

LunamOdium commented 1 year ago

Found the issue. Ares at War 2/3 mod. The part of the mod that has holds the planets. That sucks. I really wanted to use Agaris in my system

LunamOdium commented 1 year ago

Ok sorry for the multi-post but I have a question. I spawn in a belt, perfect. It works, yay. Check the entity list, tons of asteroids. I teleport away, recheck entity list, no asteroids... This has me a little worried that asteroids are regenerated everytime you leave and return, is this the case? and if so, if I mine an asteroid, leave and come back, will the voxels still be gone? Will the same asteroid even be in the same location or is it all completely regenerated every time?

Edit: figured it out. Mined/built on asteroids are saved. Got it.

thorwin99 commented 1 year ago

I dont know why the mod would cause such issues. Does it only contain planets?

Otherwise, yes, the asteroid generation is intendetd to only keep the entities in memory, if you are in the asteroid ring / belt, and only those around you. When you leave, they despawn. Otherwise your RAM would quickly fill up. When you mine an asteroid, it is saved and will stay permanently.

LunamOdium commented 1 year ago

It also contains custom spawn locations as well. The mod was made with MES(?) or something, not sure if that effects anything. I commented on the mod page to state this and ask for a Planet-Only reupload

thorwin99 commented 1 year ago

Could be, that there was some issue with MES, but i am not sure. If there was, it was documented in the comments of the Steam page of this plugin, but that got removed by Steam, when Keen wanted plugins removed from the workshop.