offset and offset_deviation in create_entity and create_asteroid_chunk
Posted: Thu Feb 20, 2025 4:20 am
The noise in velocity and position of the resulting downsized asteroids when asteroids are destroyed appear to be accomplished by the offset and offset_deviation keys inside the dying_trigger_effects of the entity-type asteroids (used on both the create-entity and create-asteroid-chunk type effects).
So far as I can tell from the docs, neither Surface's create_entity() or SpacePlatform's create_asteroid_chunks() appear to take this as input, would it be possible to expose these on both methods?
My use case is spawning additional asteroid entities/chunks prior to asteroid destruction, and without this I think I'm restricted to noiseless/inorganic feeling methods to set the position and velocity for the new objects?
(Apologies if this duplicates another request, is documented somewhere I missed, or is a dumb ask that can be done another way, this is my first tiny mod to orient myself in the code)
So far as I can tell from the docs, neither Surface's create_entity() or SpacePlatform's create_asteroid_chunks() appear to take this as input, would it be possible to expose these on both methods?
My use case is spawning additional asteroid entities/chunks prior to asteroid destruction, and without this I think I'm restricted to noiseless/inorganic feeling methods to set the position and velocity for the new objects?
(Apologies if this duplicates another request, is documented somewhere I missed, or is a dumb ask that can be done another way, this is my first tiny mod to orient myself in the code)