Repository navigation
Put Haven's spawn barriers where VALORANT has them - #560
Conversation
One attacker barrier stood upright on a wall instead of lying across its corridor, and two more sat about 3 m from their openings. All nine are now placed from the SpawnBarrier actors in the game files (13.09), ends run on to the drawn walls. The frame is 393 x 473 to match the map art. tool/drive/scripts/haven-spawn-barriers.json shows them in the editor on both sides and in a saved screenshot.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
A player (THINKII, Discord, Nov 13) reported that one of Haven's spawn barriers is drawn in the wrong place. It stood upright on a wall beside the corridor it should close. This PR puts it across the corridor, and fixes the other Haven barriers that were off.
Before.
assets/maps/haven_spawn_walls.svgwas drawn by hand in 94858c5 and never changed. One file serves both sides: the editor, the saved screenshot and the replay viewer draw it over the map and turn it 180° on defense.Now. All nine bars are placed from the game's own data: the nine
SpawnBarrier_Cactors inTriad_Gameplay.umap(13.09 game files), each one's position, facing and width, taken through the same game-to-map transform the view cones use.Cyan is where VALORANT has each barrier, the bars are what Icarus drew.
Art only. Barriers are not items, so nothing saved changes and nothing a user placed moves.
Seen in a running build. Windows release driver build of main, same exe for both runs, only this file swapped.
tool/drive/scripts/haven-spawn-barriers.json(new) turns the barriers on, shoots both sides and saves a screenshot. Both runs finished clean.Defense side:
Saved screenshot:
Not checked. The replay viewer: there is no Haven replay on the PC. It loads the same file with the same turn for defense. Web was not run either, it is the same asset.
For the Figma source. Drop-in file: haven_spawn_walls.svg. Frame 393 x 473, every bar 4 thick, no rotation. Numbers follow the file's order:
Old positions are the box each bar covered on screen. In the old file the rotated ones are stored as 4 wide and N tall at (x, y + 4), turned -90 about that point, which Figma shows as 90.
ci: skip
Summary by CodeRabbit