The Houndius Shootius (eyeturret prefab) isn't tagged with "structure". This has the effect that it's not considered when doing the klaussackspawner:SpawnKlausSack routine, and klaus_sack can spawn completely blocked (unreachable by player) in the middle of eyeturrets. That is, the eyeturrets aren't destroyed when the klaus_sack spawns on top of them (or in the middle of them).
The expected behavior is that the klaus_sack would not spawn on a tile blocked by eyeturrets when other tiles are empty with no structures nearby.
Tagging it with "structure" presumably has some other ramifications regarding giants being able to walk through it. My guess is that a fix would involve updating the SpawnKlausSack routine to also consider eyeturret in addition to entities tagged as "structure".
Can read the code to confirm. To test in a game, perform the following:
1. c_gonext("deerspawningground")
2. Build 4 eye turrets to completely cover the tile
3. Do this for every deerspawningground except for 1
4. c_skip(30)
5. Observe that the klaus sack probably spawned in the middle of eye turrets, and that if they were place properly, the klaus sack can't be reached by the player
- 1
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now