RimWorld

RimWorld

Infinite Turrets
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
Knight  [udvikler] 20. apr. 2019 kl. 10:21
Issues, Conflicts and Bugs
Post all bugs and issues here!
< >
Viser 1-15 af 32 kommentarer
Virsa 4. maj 2019 kl. 12:59 
Hey! I found a little problem: When used together with Selected Reconnector and if Infinite Turrets is below Selected Reconnector in the load order it doesn't work, the turrets still use "ammo". If used above the other mod both mods seem to work fine.

PS: Thanks for your work and making this mod ;o)
Knight  [udvikler] 4. maj 2019 kl. 13:58 
That's interesting... that literally shouldn't happen. I can't possibly see how that mod would conflict with turret ammunition. Perhaps it's something else?
Virsa 4. maj 2019 kl. 21:32 
After ruling out (a ton of) other mods, I reduced it to those two only. For testing I started a new save and deactivated every other mod. So with only Core, Selected Reconnector and Infinite Turrets (in this order) I can reproduce the behaviour.

Unless there are other ways Mods leave a "residue" which is loaded somehow I think it's just that.
Knight  [udvikler] 5. maj 2019 kl. 5:43 
You're right - it does conflict. I just reproduced it. It's a really interesting bug;

Basically, my mod uses xpatching to remove a property of turrets in their .XML document. This property is labelled with a number and xpatching uses that number to know what it's looking for. For example, the property "refuelable" is [6] so we say, essentially, "delete property[6]".

Selected Reconnector adds another property to every item in the game that uses power. This means that the property at location [6] is no longer "refuelable" but something else. My mod deletes that and, since it's not the ammo replacement property, it doesn't work.

All I can say is put my mod before "Selected Reconnector" - that should completely fix it.
Knight  [udvikler] 5. maj 2019 kl. 5:46 
Also, sorry for doubting you. It's just such a bizarre conflict and I would've never had expected it from a completely unrelated mod.
Virsa 5. maj 2019 kl. 11:53 
No problem, Selected Reconnector was also one of the last mods I checked because I never saw a connection between those two. Thanks for looking it up.

You may want to put up a combapility note in your description so others wont run into the same troubles.
Len Kagamine 28. okt. 2019 kl. 11:00 
@Knight "Simple Turrets" Mod unsupported. No crash, but mod doesn't remove top up.
Knight  [udvikler] 28. okt. 2019 kl. 17:05 
@Len Kagamine Sorry, Steam went down for a while here... I actually posted saying that I was having trouble making the mod compatible for some odd reason and that I'd look more into it soon. Weirdly, only two of the turrets are accepting the patch whereas the others aren't (despite it being the exact same piece of 'code')
Shira 13. feb. 2020 kl. 9:48 
doesnt work with security expanded,could you fix it please?
Sidst redigeret af Shira; 13. feb. 2020 kl. 9:48
MarsMond 1. mar. 2020 kl. 11:01 
Doesn't seem to work with all vanilla furniture expanded - security turrets for me. It seems all turrets that use a durability that's called barrel durability work fine, if it's anything else, so for charge railgun, rocket turret, emp cannon, and flame turret, it doesn't work.
Probably good for the rocket turret, as it's more an automatic mortar, but others are more classic turrets.
I would figure the name is the problem, the only other mod i used that should affect turrets is ED-Enhanced Options with the turret control, incase it's not reproduceable.
Knight  [udvikler] 1. mar. 2020 kl. 11:17 
It's less-so the name and more the fact that they use different code to process their ammunition. I can't really do too much about that, sadly.
Reiquard 12. mar. 2020 kl. 13:38 
Started new game with:
-Core [1.1.2571]
-Royalty
-Infinite Turrets
A fresh-built mini-turret has 120/120 charges and loses them after each shot.
Sidst redigeret af Reiquard; 12. mar. 2020 kl. 13:41
Shadmark 20. mar. 2020 kl. 14:29 
none of my turrets get infinite ammo... even put this mod at the very top of my load order but it did not fix
Nouvi 28. mar. 2020 kl. 1:53 
For me this works with Vanilla turrets (at least autocannon and uranium slug) and More Vanilla Turrets 1.1, but does NOT work with Vanilla Furniture Expanded - Security (flamer at least) or Avali turrets.
Mantics 29. apr. 2020 kl. 2:48 
Uranium slug turret is not infinite,but every other turret is...
there are no other mods for turrets i use and debug log seems clear
Sidst redigeret af Mantics; 29. apr. 2020 kl. 2:51
< >
Viser 1-15 af 32 kommentarer
Per side: 1530 50