gruppe-adler / Shoot_and_Scoot.Tanoa

TvT game mode - artillery vs. sound directionfinders vs. hunter-killer-teams
5 stars 1 forks source link

Container spawn randomisation #25

Closed NeutraleNull closed 11 months ago

NeutraleNull commented 11 months ago

Attempts to solve the issue with obvious container positions by randomise the container positions a bit. My thought is a good empty position is better to allow blending in with the terrain. If no position is found by the BIS function the default provided position is used.

Further thoughts:

Closes #23

b-mayr-1984 commented 11 months ago

Nice job @NeutraleNull 🙂 I made some minor changes to get it to work. Seems to work fine now. image

I once saw this glitch, but I think even with this sometimes happening the game mode is better than before. image image

NeutraleNull commented 11 months ago

watch out you removed this https://github.com/gruppe-adler/Shoot_and_Scoot.Tanoa/blob/3a56511d7e19fde1f4034a0f9e73051318cbb6fa/scripts/spot-randomizer/functions/fn_placeSupplyStation.sqf#L6C62-L6C76 without replacing the removed variable. You can replace _roadBlacklist with [].

b-mayr-1984 commented 11 months ago

watch out you removed this https://github.com/gruppe-adler/Shoot_and_Scoot.Tanoa/blob/3a56511d7e19fde1f4034a0f9e73051318cbb6fa/scripts/spot-randomizer/functions/fn_placeSupplyStation.sqf#L6C62-L6C76 without replacing the removed variable. You can replace _roadBlacklist with [].

Hm I wonder if this got lost during merge or me just fiddeling around too much. 😕 Anyways... thx for pointing it out. I'll fix it ASAP.