RimWorld

RimWorld

Defensive Positions 1.6
38 Comments
Ghojo 5 hours ago 
Oh, interesting, in that case I will use the alternative version. Thanks for letting me know! :)
lydocia 4 Aug @ 11:04am 
BeeBro 3 Aug @ 11:08pm 
Original Mod got updated. Thanks for your work!
Captain Shitface  [author] 27 Jul @ 11:28am 
@妄定 Interesting! Thanks for letting me know, I'll look into this when I have the time :)
Captain Shitface  [author] 27 Jul @ 11:28am 
@тетеря, блин If you're looking for an alternative, Colony Groups has a similar function. Though not as intuitive or easy to use like Defensive Positions, it still has the same function. In order to drop HugsLib dependency, it would require almost a whole re-write of this due to this being originally created by Hugs as well, and it being very integrated with it.
Captain Shitface  [author] 27 Jul @ 11:26am 
@Ghojo @KaosityReign You can use either Hugsli freely. Both will work fine :) The reason why I have this as the fork is because it's more stable and functional than the original hugslib upload.Hugs did not update the OG himself, but was given the update by someone else, and it has a few stability issues. There's been no update to it afterwards neither to address the bugs, etc.

So for now until it gets update to address the many issues it has, I'm keeping the dependency on DawnsGlow's fork, since that's the most stable and functional Hugslib upload currently.
тетеря, блин 27 Jul @ 7:59am 
is it possible to ditch HugsLib dependency? I heard it hits performance a lot. Not that many mods left that need it and I try to find a replacement for all those that left. thanks for the mod!
妄定 25 Jul @ 10:53am 
@Captain Shitface Thank you for your reply, I have made a new discovery.
On the Odyssey spacecraft, I set the reverse weight board to have no houses. When I arrived at the new map, the setting was still in place, but the surrounding terrain without reverse weight boards was automatically covered with roofs. The little people would come to build roofs automatically. Perhaps in the Odyssey, reverse weight boards are all independent and unique?
If the position is set to the reverse weight plate, perhaps you can try:)
KaosityReign 25 Jul @ 8:52am 
If I have the original Hugslib installed, that has now been updated to 1.6 will this mod work? I'm not trying to have two different Hugslib installed
Ghojo 25 Jul @ 6:57am 
Could you please make it dependend on the original HugsLib? It has been updated to 1.6, and I would like to only use one version to avoid conflicts.
Steelixian 22 Jul @ 10:00am 
Hello, can you help me understand this error and it its a problem with your this mod.

The Defensive Positions mod has textures (assign_squad.dds, keypad.dds, send_everyone.dds) with dimensions not divisible by 4, preventing compression and causing the game to fall back to PNGs. This can lead to performance degradation or UI glitches, especially in scenarios involving defensive assignments. The other texture errors (e.g., (769 x 769)) may also include Defensive Positions textures or assets from other mods.

It might not be your mod, but im trying to troubleshoot, Using AI ( Experimenting )
Captain Shitface  [author] 22 Jul @ 3:42am 
@妄定 That's not so much of a problem, rather than it's just how this mod functions. It saves positional data on the map, depending on the map. Even if they persisted, if you moved the ship to a different map & was even 1 tile off from the exact location it was on the other map, it would break your preferred position.

The only way I could see it being possible is if I added an Odyssey patch to base any positional data saved on an Odyssey ship foundation to persist and adjust based off each map, though that might be difficult to implement, and could be a performance issue. I'll have to look into that in the future, when I have time. For now, I'm sorry but it won't be possible anytime soon ):
妄定 21 Jul @ 1:09am 
Hello
I've encountered an issue while playing the Odyssey DLC using this mod
When defense positions are set on one map, after the ship flies to and lands on a different map, the defense position data is lost. Colonists display "No Defense Position Set". Could you fix this problem? With great appreciation!
​​
Thels 19 Jul @ 10:55am 
@Captain Shitface: Apologies for the mixup.

However, I did some more digging, and apparently, .dds files are supposed to have resolutions that are multiples of 4. assign_squad.dds, keypad.dds and send_everyone.dds either have a height or a width (or both) that are not a multiple of 4, which seems to be the cause of the problem.

Would it be possible to pad the images with transparent pixels, so that they properly comply with the .dds format? That should prevent any incompatibilities with other mods.
Captain Shitface  [author] 19 Jul @ 3:07am 
@Thels They were not responding to you, that comment was intended for me.

Your issue is a Graphic Settings+ issue, not abproblem with Defensive Positions
Thels 19 Jul @ 2:53am 
@Siklembik: I've just tried, but I'm getting the issue with either HugsLib version. I also get the same issue with one other mod, which doesn't require HugsLib, and I can replicate the issue without HugsLib being installed, so I'm fairly sure it's not related to HugsLib.
Captain Shitface  [author] 19 Jul @ 2:12am 
@Siklembik This works with either one, so if you prefer the original upload, you can use it. I'm very much aware that it's been updated, and I've been checking it daily actually, but the problem is that it wasn't done by Hugslib but instead by a third party, and it's very buggy. If you check the comments, you'll see that it's more unstable than the upload by Dawnsglow.

Once those bugs get addressed & the original is stable, or Dawnsglow takes down their upload permanently, I'll swap it.
Siklembik 19 Jul @ 2:06am 
original hugslib got an update, you should switch dependency to original one.
Thels 19 Jul @ 12:51am 
I'm getting the errors "Exception loading UnityEngine.Texture2D from file.
absFilePath: C: SteamLibrary\steamapps\workshop\content\294100\3519114948\Textures\KeysTutor\assign_squad.png / keypad.png / send_everyone.png
Exception: UnityEngine.UnityException: Failed to create texture because of invalid parameters.", but only when used in combination with Graphics Settings+: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1678847247

Tested with the following modlist:
Harmony
Core
HugsLib
Graphics Settings+
Defensive Positions 1.6
Captain Shitface  [author] 18 Jul @ 6:51pm 
@elensia444 Fixed it, thanks again!
Captain Shitface  [author] 18 Jul @ 2:43pm 
@Elensia444 @1724607211 Ahh now I understand, thanks for letting me know! I'll see what I can do about that now that I can actually see the problem in-game myself :)
elensia444 18 Jul @ 1:34pm 
Previously assigned squads can be selected, but new squad assignments cannot be made.
The shortcut LCtrl + Num1~9 does not work.
1724607211 18 Jul @ 12:09pm 
Squad assignment is not functional on space platform maps.
Squad features are disabled on space platforms.
Captain Shitface  [author] 17 Jul @ 11:29am 
@Elensia444 I tested both Space Platforms, and was unable to replicate your issue. Can you give me some more context? Or the stacktrace error perhaps?

Anyone else having similar issues?
Captain Shitface  [author] 17 Jul @ 11:11am 
@Elensia444 I see, I'll try to test this and patch it. Thanks for the message :)
elensia444 17 Jul @ 9:46am 
Squad assignment is not functional on space platform maps.
Squad features are disabled on space platforms.
Captain Shitface  [author] 17 Jul @ 3:49am 
@Otoya I've been paying attention to both uploads. It seems that Dawnsglow's fork is a bit more stable still, while the original was actually done by someone other than Hugslib, and has many issues from what I can tell. Ofcourse, some may have issues, while others do not. Just seems the fork is more stable for now.
Otoya 16 Jul @ 10:14pm 
I’m using it for everything else and it works fine. Afaik whatever bug the OG has the alt might have to.
scared star 16 Jul @ 10:07pm 
how did the hugslib test do?
Captain Shitface  [author] 14 Jul @ 1:24am 
@Otoya From the comments, it seems like the original Hugslib is very buggy & undtable, let me test it first to make sure.

@NuanKi Same, unfortunately it's very ingrained & dependent on huglib unfortunately so would require a lot of rewriting to remove it. Possibly could try too at some point though :)
Otoya 13 Jul @ 11:31pm 
Can you change your requirements to use the original Hugslibs as it has been updated to 1.6?
NuanKi 13 Jul @ 8:46pm 
Wish there was a no hugslib version :c
Captain Shitface  [author] 13 Jul @ 6:37am 
@SalzStange Ahh okay, No problem :) Cheers
SalzStange 13 Jul @ 4:50am 
yes, i am using hughslib 1.6. Just wanted to ask. Thanks
Captain Shitface  [author] 13 Jul @ 4:44am 
@SalzStange Yeah it's working for me, and I've yet to hear about any bugs so far. Are you using this mod (Not the original Hugslib upload), and the 1.6 Hugslib fork?
SalzStange 13 Jul @ 4:17am 
thanks a lot, does it work with the newest update/add on? it does not seems to be updated
Gman 12 Jul @ 8:00pm 
Awesome thanks
тетеря, блин 11 Jul @ 2:16pm 
thanks.