Reassembly

Reassembly

Reassembling Reassembly
Reassembly mods add new weapons, block types, ships, or complete playable factions to the game. They can also change sound effects, fonts, or modify many aspects of the game.
Learn More
Alternate term for collision? Ship collision detection?
Is it just too advanced to talk about in the workshop? What am I missing here? I did a search for collision, which should presumably return resulting discussions about how blocks react when they touch?? But besides my own use of the term, the dev uses it to refer to ID number errors.
(I don't use discord: mental health)

So, to fix the slowdown that happens when two ships/stations overlap permanently, a few things may be done.
The most simple desired fix would be to set *all* block overlap responses to what happens when they are enemies, eg, the blocks are selectively damaged until they are destroyed.
The second possibility is to have the two ships/stations move away from each other incrementally until they are no longer touching.
The third option is to create a timer that counts to a certain value, after which it is assumed that the two ships/stations are permanently stuck, and preferably destroys one of them. This could be done by making it an enemy, maybe?

For the first option, I looked through all of the modding docs, but I didn't notice any reference to defining how friendly overlapping blocks respond to each other. Did I miss it?

For the second and third options, you would presumably need a "collision detection" and a "move away from other" or a "direction to other" or even as simple as x and y ship positions, of which I didn't notice any of them in the docs??

I'm admittedly pretty bad at keyword searches, so if you know the correct terms that you guys like to use for this stuff, feel free to let me know. Feel free to necro comment if this gets no resolution, I am eternal. Thanks! :)
< >
Showing 1-1 of 1 comments
Reassembly modding unfortunately does not allow changing or adding mechanics as you suggest. It is limited to really just changing or adding blocks, factions, regions, etc etc

The closest thing to a solution for your issue that I know of, is taking the faction's blocks and giving them all the feature NOCLIP_ALLY (which will prevent them from colliding in the first place, but also allow them to clip over and move through each other, but not over enemies, debris or weapons fire). You may also need to keep some blocks as not NOCLIP_ALLY (e.g the command block would be a good choice) if you are using things such as healing lasers to allow them to hit the target ship.
< >
Showing 1-1 of 1 comments
Per page: 1530 50