CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.29k stars 4.12k forks source link

Inside of closed vehicle should not be accessible to zombies #48822

Closed matt32106 closed 3 years ago

matt32106 commented 3 years ago

Is your feature request related to a problem? Please describe.

Zombies can enter a perfectly closed vehicle as soon as it is not in a strict NS/EW direction.

Describe the solution you'd like

Zombies shoud not be able to enter closed vehicles just because of the orientation of the vehicle. Check if moving to a vehicle square is legit should be done by checking if the move is possible with a "examine vehicle" type of view (ie NS), not with the map view.

Describe alternatives you've considered

None

Igryn commented 3 years ago

Ah yes, this again. I propose forbidding diagonal movement through diagonal vehicle valls, treating wall tiles more like cubes with their edges touching so you could not squeeze through, thinck how such diagonal wall would work in minecraft, rimworld, any first person game or real life for that matter. Of all that i have seen this causes the least amount of side effects. guns

matt32106 commented 3 years ago

hola a mi-go! were you hitchhiking? :)

matt32106 commented 3 years ago

This would need to be true only for vehicles because it would break some labs if this was enforced everywhere.

Igryn commented 3 years ago

I think only applying it to vehicles is the way to go, that way it won't be needed to revise most of buildings mapgen.

GGgatherer commented 3 years ago

That would only band-aid the problem with hitchhikers. There would still be at least visibility issue - for example, turrets can shoot you while you're in "closed" vehicle.

Salty-Panda commented 3 years ago

This subject was talked upon many times. Issue is duplicate and PR fixing it (a third iteration of the fix) was made by mlangsdorf and awaits next experimentals: #42462

matt32106 commented 3 years ago

Ok good to know it is in progress. I am closing this issue.