RimWorld

RimWorld

Vanilla Fences (Read Desc.)
 This topic has been pinned, so it's probably important
Nif  [developer] 15 Jul, 2019 @ 4:36am
Conflicts/Problems
Found any errors? Please leave a log and explain what happened.
Last edited by Nif; 25 Jul, 2019 @ 10:30am
< >
Showing 1-15 of 30 comments
brightsideguy 15 Jul, 2019 @ 9:52pm 
So I'm not getting a log error, and I definitely have around 200 mods. So not sure if worth sharing. But it seems that I can't always shoot at someone who is behind a low fence. But if I move that same person around for a bit, then back to the same spot, I sometimes can. If they're targeting them and can't shoot at them for some odd reason, they will shoot once they move away from that low fence.

Its like body size is being replied randomly or something, not sure. Like I said, I use a lot of mods, including things like Combat Extended, which can change how things work.
Nif  [developer] 15 Jul, 2019 @ 10:43pm 
Originally posted by brightsideguy:
So I'm not getting a log error, and I definitely have around 200 mods. So not sure if worth sharing. But it seems that I can't always shoot at someone who is behind a low fence. But if I move that same person around for a bit, then back to the same spot, I sometimes can. If they're targeting them and can't shoot at them for some odd reason, they will shoot once they move away from that low fence.

Its like body size is being replied randomly or something, not sure. Like I said, I use a lot of mods, including things like Combat Extended, which can change how things work.

Closeboard and Brick fence (tall) is considered as a wall. If you're using those, that may just be the reason. If not, tell me the fence you're using. I may have botched one of the fences.
brightsideguy 16 Jul, 2019 @ 1:07am 
Short brick fence was the one. I know the coverage percent is too low to be a wall, which is why I thought there was an issue
Nif  [developer] 16 Jul, 2019 @ 1:40am 
I've tested all the low fences and checked the short brick fence's <fillPercent> and found nothing wrong. It's at 0.25 which is still possible to shoot through.

Can't say for sure, but it's likely that you have a mod that changes a pawn's perspective towards impassable buildings, or possibly the building's fill percent.

Last edited by Nif; 16 Jul, 2019 @ 1:41am
brightsideguy 16 Jul, 2019 @ 10:44am 
Yea, its why I wasn't sure if it was worth sharing or not. Thanks for getting back to me.
Nif  [developer] 16 Jul, 2019 @ 3:31pm 
Originally posted by brightsideguy:
Yea, its why I wasn't sure if it was worth sharing or not. Thanks for getting back to me.

No problem, I needed to recheck anyways since the release was a bit rushed. I didn't get a full field test on all fences, so it's good that you came up.
Temenat 22 Jul, 2019 @ 1:59pm 
Combat extended's page says as following:

Bullets track their height as part of their trajectory. When hitting a pawn this will affect where the bullet hits, i.e. someone crouching behind sandbags can only be shot in the head, so make sure you wear your protective helmet.

Do fences work nice with that?
Nif  [developer] 22 Jul, 2019 @ 10:27pm 
There shouldn't be any problems from what I know. It acts like a sandbag but with less cover, and impossible to walk through.
Ness 26 Sep, 2019 @ 6:10pm 
I don't have a log, but if a fence has had its Passability value changed, then any vertical gates will treat it as invalid and be rotated into a horizontal position when placed. This will continue to happen even if you manually change the value back to 1, however it will cease if the reset button is used to reset the values. It also looks like this will happen if vertical gates are placed out in the open or in between fence pieces that have had construction started. I tried this on a new game with this mod as the only enabled mod, to rule out any possible conflicts.

ETA: Aside from this little quirk, I love the mod. Thank you!
Last edited by Ness; 26 Sep, 2019 @ 6:11pm
Nif  [developer] 28 Sep, 2019 @ 2:54am 
@Ness

Thanks for notifying! It seems I've screwed up big time with the gates' code and may need to be remade. Hopefully I'll get it fixed by today or tomorrow.
Nif  [developer] 28 Sep, 2019 @ 5:58am 
@Ness

After some testing, I've come to a conclusion that those problems aren't something I can easily fix.

-Any object that is PassThroughOnly or Standable will not be able to connect to gates, even regular doors.
-Door types has a default of horizontal position, therefore it isn't something I can easily modify.

In order to fix those, I have to copy and modify some base building stuff that I'm not very familiar with. This problem is connected to the reason why doors can't be rotated and why gates have a vertical version.

Also, I checked if changing manually fixes it. After five retries, I've concluded that it does. Double check if the value you changed is saved before exiting.

I'm very sorry that I'm not able to fix it (at the moment). Hopefully, once vacation starts, I can look into it more further.
Ness 28 Sep, 2019 @ 5:50pm 
It's okay, thanks for taking a look, and don't worry about doing all that work to fix it. The gates (and fences) are mostly just decorative for me anyway, I don't mind just leaving openings in the fences. If something *really* needs to be kept in, I'll just use walls or the other fence types that I haven't modified to be pass through.
HAL-9000 31 Oct, 2019 @ 9:40pm 
Closeboard fence does not connect properly with a corner post when the post goes vertically.
https://prnt.sc/pqxu9w
Nif  [developer] 1 Nov, 2019 @ 1:17am 
Originally posted by HAL-9000:
Closeboard fence does not connect properly with a corner post when the post goes vertically.
https://prnt.sc/pqxu9w

Sadly, that's just how it works. It's the same with walls. It's just not visible on them because they fill the whole block. I'm not knowledgeable enough on the Core's code (or C# in that matter) to make a workaround. I'm sorry if it's not visually pleasing, even I'm annoyed with how it works.
HAL-9000 1 Nov, 2019 @ 4:58am 
Makes sense, just gotta make a new post a few tiles down for the a e s t h e t i c s
< >
Showing 1-15 of 30 comments
Per page: 1530 50