RimWorld

RimWorld

Defensive Positions 1.6
44 kommentarer
Just 31. aug. kl. 12:43 
workaround is simple: remove these files (only these 3 dds). Because there are .png as replacement, should not be a problem
szmtex 31. aug. kl. 12:35 
same error
HighStandards 31. aug. kl. 7:12 
Having the same issues as Just, errors on load.
Just 29. aug. kl. 15:24 
Hi! There are some errors on game's startup: https://gist.github.com/HugsLibRecordKeeper/ca3cc77371c9d5a5d766ec07e96e01db

It's about unable to load dds textures ("Exception loading UnityEngine.Texture2D from file.").
lydocia 6. aug. kl. 0:30 
That is actually a very good point, in that case you might call it "forked" since you made improvements!
Captain Shitface  [ophavsmand] 5. aug. kl. 18:58 
Yeah I seen the original mod got updated. I'll be un-listing this at some point in the near future, but holding off due to the fact that in the original mod they never fixed the squad hotkey issue I fixed in this upload :/
Ghojo 5. aug. kl. 6:03 
Oh, interesting, in that case I will use the alternative version. Thanks for letting me know! :)
lydocia 4. aug. kl. 11:04 
BeeBro 3. aug. kl. 23:08 
Original Mod got updated. Thanks for your work!
Captain Shitface  [ophavsmand] 27. juli kl. 11:28 
@妄定 Interesting! Thanks for letting me know, I'll look into this when I have the time :)
Captain Shitface  [ophavsmand] 27. juli kl. 11:28 
@тетеря, блин 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  [ophavsmand] 27. juli kl. 11:26 
@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. juli kl. 7:59 
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. juli kl. 10:53 
@Captain ♥♥♥♥♥♥♥♥ 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. juli kl. 8:52 
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. juli kl. 6:57 
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. juli kl. 10:00 
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  [ophavsmand] 22. juli kl. 3:42 
@妄定 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. juli kl. 1:09 
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. juli kl. 10:55 
@Captain ♥♥♥♥♥♥♥♥: 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  [ophavsmand] 19. juli kl. 3:07 
@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. juli kl. 2:53 
@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  [ophavsmand] 19. juli kl. 2:12 
@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. juli kl. 2:06 
original hugslib got an update, you should switch dependency to original one.
Thels 19. juli kl. 0:51 
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://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1678847247

Tested with the following modlist:
Harmony
Core
HugsLib
Graphics Settings+
Defensive Positions 1.6
Captain Shitface  [ophavsmand] 18. juli kl. 18:51 
@elensia444 Fixed it, thanks again!
Captain Shitface  [ophavsmand] 18. juli kl. 14:43 
@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. juli kl. 13:34 
Previously assigned squads can be selected, but new squad assignments cannot be made.
The shortcut LCtrl + Num1~9 does not work.
1724607211 18. juli kl. 12:09 
Squad assignment is not functional on space platform maps.
Squad features are disabled on space platforms.
Captain Shitface  [ophavsmand] 17. juli kl. 11:29 
@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  [ophavsmand] 17. juli kl. 11:11 
@Elensia444 I see, I'll try to test this and patch it. Thanks for the message :)
elensia444 17. juli kl. 9:46 
Squad assignment is not functional on space platform maps.
Squad features are disabled on space platforms.
Captain Shitface  [ophavsmand] 17. juli kl. 3:49 
@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. juli kl. 22:14 
I’m using it for everything else and it works fine. Afaik whatever bug the OG has the alt might have to.
Spooky Star 16. juli kl. 22:07 
how did the hugslib test do?
Captain Shitface  [ophavsmand] 14. juli kl. 1:24 
@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. juli kl. 23:31 
Can you change your requirements to use the original Hugslibs as it has been updated to 1.6?
NuanKi 13. juli kl. 20:46 
Wish there was a no hugslib version :c
Captain Shitface  [ophavsmand] 13. juli kl. 6:37 
@SalzStange Ahh okay, No problem :) Cheers
SalzStange 13. juli kl. 4:50 
yes, i am using hughslib 1.6. Just wanted to ask. Thanks
Captain Shitface  [ophavsmand] 13. juli kl. 4:44 
@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. juli kl. 4:17 
thanks a lot, does it work with the newest update/add on? it does not seems to be updated
Gman 12. juli kl. 20:00 
Awesome thanks
тетеря, блин 11. juli kl. 14:16 
thanks.