RimWorld

RimWorld

Portal Gun
71 Comments
MessersSchneide Feb 22 @ 7:00am 
still has the same issue. At first i thought this might be an issue with "minify everything"
My game is even throwing null reference errors. and something about blueprints.
Sir James Brick Dec 26, 2024 @ 3:27pm 
in 1.5 not working. the portal gun just vanishes after installing. only left is a blank space. sad :(
Grannybasher Jul 23, 2024 @ 2:15am 
Doesn't work in 1.5. Installing the Blueprint just leaves a blank space on the ground that nobody can interact with.
Diddily  [author] May 4, 2024 @ 9:31am 
1.5 support added
Chevy Chase Dec 1, 2023 @ 12:56pm 
any know if this mod is still functional?\
Diddily  [author] Jun 5, 2023 @ 8:14pm 
Right click the upgrade, choose the appropriate option and then select the gun to apply it to.
SilDaBirb May 13, 2023 @ 11:40am 
how do i apply the upgrades?
莫名某某 Feb 8, 2023 @ 9:56pm 
Thank you for your reply. Looking forward to the architectural version of "Portal".
Diddily  [author] Feb 8, 2023 @ 7:45pm 
Portals allow for the exchange of air freely, so the temps should balance.
莫名某某 Feb 6, 2023 @ 2:43am 
Can it be used to build an insulated cold storage? Or: Will two connected portals balance the ambient temperature?
g_BonE Feb 2, 2023 @ 2:08pm 
Absolutely underrated mod. Thanks a lot for making it!
Diddily  [author] Nov 2, 2022 @ 3:22pm 
@( σ'ω')σ Thank you for the kind words. I'm rather proud of the path finding changes, it wasn't trivial to implement that's for sure.

As for your suggestions, I did try to balance the mod to some degree against the power draw. Being able to reconfigure them willy-nilly seemed a bit too powerful. That being said, if you make a gun, setup the portals where you want them and leave the gun by a charger, they do become semi-permanent (as long as they have power). I think having construct-able doors would be better served in it's own mod.
( σ'ω')σ Nov 2, 2022 @ 6:38am 
AMAZING MOD! By the way, do you have any plans to create a real DOOR? Your algorithm for finding the shortest path with a portal is really amazing, I think it would be great to copy it on a door as well.

Some suggestions: Portals are directly connected to the power grid and can be linked to other portals at any time and can also control one-way or two-way transmission. The part of power consumption remains the same, high power but adjustable. Regarding whether to support cross-map, I don't think it is necessary. It is good that the portal is limited to the current map.

Anyway, thank you very much for making this mod.:Mirro_love:
Diddily  [author] Nov 1, 2022 @ 8:01pm 
1.4 support added.
marccharlton4 Oct 26, 2022 @ 11:09am 
1.4 please. In any case, thanks for the mod
Shard Jul 2, 2022 @ 3:36am 
It appears that the portal gun breaks simple sidearms, as it does not show up in the list, and requires dropping and re-equipping if you want to switch to it. Other than that, it is a great mod, thanks for making and sharing it.
Diddily  [author] May 14, 2022 @ 6:44am 
@Robo7988143 I had the same idea, the issue is the scope of such a system. But if I ever get around to world spanning portals then raids from the portal will totally be a thing.
Robo May 13, 2022 @ 5:54pm 
Will raiders use the portals? Would be funny leaving a portal somewhere then suddenly having a whole bunch of murderous tribals appear inside of your base from a portal.
Diddily  [author] Apr 18, 2022 @ 5:23am 
@lazycat It looks like you forbid use of the portal in that screenshot, if that's the case they won't use it. Can you confirm if that's the case or if you were seeing this issue without forbidding anything?
lazycat Apr 17, 2022 @ 4:00am 
https://i.postimg.cc/qv83tBwc/Snipaste-2022-04-17-18-58-22.png
It seems that animals cannot pass through the portal properly
Lama man Mar 24, 2022 @ 12:36am 
ok
Diddily  [author] Mar 23, 2022 @ 5:21pm 
It only works within a single map tile currently
Lama man Mar 23, 2022 @ 1:03pm 
does it work cross map
Diddily  [author] Jan 26, 2022 @ 5:09pm 
@Tsunatus They are intended to be saved in your save game, do you mind sharing a game log with me after loading a save game with portals?
Tsunatus Jan 20, 2022 @ 11:55pm 
are the portals persistent, every time I load my save the portals disappear?
Tsunatus Jan 3, 2022 @ 6:10pm 
Very nice, now i can make my central hub
Diddily  [author] Jan 2, 2022 @ 2:58pm 
@Tsunatus each portal gun you craft allows one pair of portals, so if you make 100 guns you can have 200 portals, there is no limit beyond power requirements and materials.
Tsunatus Jan 1, 2022 @ 3:08am 
How many portals can i use, want to link specific parts of my base together and make a central hub where they can move to anywhere in the base. Will this mod allow that?
D4egon Nov 3, 2021 @ 11:49pm 
I can imagine the amount of coding required for that would also be significant. I wonder if the portals from Rim of Magic has something you can use as inspiration for code. :) anyway. Really nice work. Looking forward to trying it!
Diddily  [author] Nov 3, 2021 @ 4:50pm 
@D4egon, for the sake of balance (and partially my sanity), it's only within a single map currently. Long distance travel is on the roadmap at some point.
D4egon Nov 3, 2021 @ 3:30pm 
Does this allow for travel between colonies aswell, or is there a limit to it ?
Diddily  [author] Aug 28, 2021 @ 6:03pm 
I’m building a list of requests for my next update, might be a bit before I get to it but it will happen.
Grannybasher Aug 27, 2021 @ 8:58pm 
Ah ok, yeah that actually makes perfect sense. They are buildings, which would be how SOS2 defines what is a "Ship" and what is not.

If you could look into some sort of a work-around that would be awesome, but as I said, I can just use walls wherever I need a portal.

Either way, great mod.

And thank-you for being so active with it. A lot of mods here seem to be dead or at least stagnant when it comes to updates/improvements etc
Diddily  [author] Aug 26, 2021 @ 5:52am 
Grannybashar, that likely means the walls aren’t technically setup as walls and instead are buildings. There is some property of walls that is missing from their defs. I can look into it though.
Grannybasher Aug 25, 2021 @ 10:24pm 
Any chance you could make this compatible with the "Save our Ship" hull wall tiles?

If you attempt to place a portal on these tiles it replies with "Surface incompatible, already occupied"

Not a big deal really, I can just build wooden walls wherever I need a portal, but it would be nice to not have to.
Neidhardt Aug 19, 2021 @ 3:19pm 
Okay, cool. I also found out that O21 Shield Generators has a color change gizmo, maybe that can help.
Diddily  [author] Aug 19, 2021 @ 9:17am 
Allowing the link to change via gizmo sounds a bit too powerful to me, you could leave most of them off and just link them as needed to save power. If they were built in place linked I could see it working, I'd just have to figure out how that'd work. Could be doable. Also note that the glados module prevents solar flares from killing portals created by a gun. Color swapping seems viable, just some amount of work. I'll add it to my list.
Neidhardt Aug 15, 2021 @ 7:38pm 
Although, I'm not well versed on how this mod works behind the scenes, so I'm not sure how much of this is possible.
Neidhardt Aug 15, 2021 @ 7:28pm 
For the emitters, I was thinking of an earlier available, more restrictive, and/or more "permanent" portal. Both ends would need to be powered, an emitter could only connect to another emitter, but it would be easier to reconnect following power fluctuations or solar flares, making large portal networks for giant bases more viable. You could have a gizmo on the frame that prompts you to select a "receiving" emitter, and make all the associations to the "sending" emitter, as opposed to a portal gun.

As for the colors, I was thinking of a gizmo on the portal gun that cycles through a preset list of combinations, with the possible ability to define more combinations through sliders or RGB values in the mod settings.
Diddily  [author] Aug 15, 2021 @ 5:00pm 
@ptcon for the stationary portals that could be done, but it’s a lot easier to properly associate both ends with the portal gun. You can use a gun to setup the portals the drop it next to a charger and as long as you have enough power the portals will stay open off the grid. Does that work?

As for colors the portals are setup in grayscale and tinted to blue and orange so adding customization is totally doable, it’s mostly a matter of getting good UI for a color picker. If you have examples of other mods with customizable colors shoot them my way. Also are you thinking global color overrides or per gun?
Neidhardt Aug 13, 2021 @ 10:53pm 
Would it be possible to add a portal emitter like the ones at the beginning of the game, for a stationary portal that needs power at both ends but doesn't require a gun to maintain? Also, would it be possible to add an option to change portal colors, or have a series of preset colors to choose from?
Diddily  [author] Aug 12, 2021 @ 11:37pm 
@Grannybasher I actually had plans to add that (violence core mod you can craft), hits would force pawn to portal. Hit some snags and dropped it but I could revisit it. I agree it sounds fun!
Grannybasher Aug 11, 2021 @ 4:53pm 
Would it be possible for you to PLEASE add the ability to use it as a weapon.

Say, I have a portal setup in a room I wish to trap a certain pawn, then I shoot said pawn with the portal gun and viola!, now he's locked in a room... :D

It would really make prison breaks a lot more entertaining to deal with... "You're trying to escape?!!, That's it, you're going in the hole!"
marccharlton4 Jul 26, 2021 @ 1:23pm 
thanks for the update!
Diddily  [author] Jul 26, 2021 @ 9:35am 
1.3 support added. Likely won't be compatible with 1.2 saves, sorry!
Diddily  [author] Jul 24, 2021 @ 10:17am 
@Lekiritanta Today or tomorrow
Lekiritanta Jul 24, 2021 @ 6:42am 
when will this be updated, does anyone know?
Diddily  [author] Apr 25, 2021 @ 8:17am 
@operationXX You are likely getting some kind of errors. If you turn on Dev mode you might get some warning you can send me and I might be able to help.
operationXX Apr 24, 2021 @ 12:02pm 
Having a issue where when I equip the portal gun I can't draft a pawn. Odd right if I start with the pawn drafted then equip the poirtal gun I can still move him around but all ui interface options are gone.
Jungle Jim Aug 29, 2020 @ 8:47pm 
I like the lore-ish description but can you add more detail of how to use and what you can do with it in the description?