#RRF

1 messages ยท Page 1 of 1 (latest)

pine shadow
#

yo why do diagonal railguns have disconnected pipe connections

inner portal
#

don't worry about it ๐Ÿ˜ญ it just worksโ„ข

#

i put a note on the mod page that diagonal connections are WIP too, i'll figure it out eventually trianglepupper

keen flax
inner portal
#

I could easily switch pipe directions depending on the railguns direction, so I'll probably do that too

pine shadow
young pelican
#

making good progress ๐Ÿ‘

young pelican
young pelican
#

Also, something for the future: I noticed railguns cannot be rotated so luckily you wont have to deal with that after its been placed but if it is part of a blueprint (or copy-pasta) it can still be flipped/mirrored. Ultimately it would probably be nice to then also have the assembler be flipped with it. (I very much assume this is something you can check when the railgun entity is placed and you place your assembler)

inner portal
#

oh i think i set a not-blueprintable flag on the hidden assembler actually, so only the railgun will be a part of the blueprint. Haven't tried it yet, but when a blueprinted railgun is built, it should place its hidden assembler like normal

young pelican
#

Yea thats how it usually is with compound entities, you only have the actual entity in the blueprint and then when it is placed the usual code for placing the hidden assembler will run like normal

inner portal
#

that's good ๐Ÿ˜ธ ig the pipe connections cannot be flipped then

young pelican
#

Hmm, they can, since ultimately with a "north" connection it will still rotate according to the entities direction. Same with the flipped state, it should be enough to just read the mirroring from the railgun and then set mirroring on your assembler (it's a read/write property)

#

And again, since the railgun won't be rotating after it has been placed you don't have to worry about the assembler not aligning (or whatever) afterwards

#

(railguns also cannot be flipped after being placed)

#

Also, just looked at the code and saw "IHATEROTATIONSGODDAMN" ๐Ÿ˜„

#

I agree with that

#

Hmm, reading & writing mirroring won't work since the railgun (aka AmmoTurret) doesn't (need to) support fluids (and thus had no need to be flipped)

craggy scaffold
inner portal
#

Diagonals look a lot better now

#

Will push that update soonโ„ข It's out

young pelican
#

Ohhh I see you decided to just mirror the fluid boxes depending on the direction. That's a good idea. Also, I noticed inserters can take the new ammo out of both the hidden assembler and the railgun itself. You can disable this with the no-automated-item-removal flag.

inner portal
# young pelican Ohhh I see you decided to just mirror the fluid boxes depending on the direction...

Good catch. I'm half and half on adding that flag though; suppose a bot/decon planner removes a railgun (or a player mines one in space) with its ammo, then the ammo will be put in storage anyways. I suppose I could figure out how to destroy its inventory when destroyed though to make it somewhat cleaner - I'm actually working on how to destroy/lock inventories right now with my next mod lol so... wip ๐Ÿ˜ธ

...how many players remove ammo with inserters in space anyways? I hope not many ChibiHappy

young pelican
#

Well its more to prevent cheesing by just moving the finished ammo to other turrets , skipping their fluid requirements

inner portal
#

oooohhhhhh yea lol good point

inner portal
#

Updated ChibiSmug

young pelican
#

Oh, got an error whenever I try to deconstruct something:

#

I do not have Maraxsis installed (mentioning it since I saw the compat issue)

#

To clarify: it isnt just when decontructing the railguns and it happens even before placing any of those

inner portal
#

on it

young pelican
#

Aaaaaaaaaaaaaaaaaaand (I'm sorry for all the posts ๐Ÿ˜ญ ) was wondering why you have the diagonal connections the way they are, they feel inconsistent. Something like this may look better:

#

Was just a matter of changing the output fluid box connections from position = {-1, 1} to position = {0, 1}

inner portal
#

hotfix is out

young pelican
#

Hmmm, the error means I might have something else that also calls on_object_destroyed for all object, right?

inner portal
#

yea, another mod is improperly calling it

#

i've got a bunch of relatively common space age mods on rn to test compatibility (and also because i'm playing them lol) but it must be one i don't have becasue i only ever isolated Maraxsis as having that issue

inner portal
young pelican
#

To be honest the standard assembler pipe cover doesn't look too bad from most angles

keen flax
#

I think the main criteria for pipe connection placement should be how easy it is to get good coverage with railguns on your space ship.

inner portal
#

should have no problems with railgun coverage; I explicitly didn't want any passthrough cold-fk connections though, I think that would trivialize the pipe spaghetti i'm dreaming about.

I'll likely experiment with different layouts though, I'm thinking I could just let the user select which one they want in mod settings similar to how i'm letting them choose between new and old diagonal connections right now

inner portal
#

If you guys have any layouts you'd like to see, lmk, I think it'd be a cool feature to implement. Easy enough with the string-settings dropdown menu too