Camera Boundaries

Status
Not open for further replies.
Level 11
Joined
Mar 28, 2015
Messages
632
I was attempting to make a map which consisted of several smaller distinct parts, basically I wanted the characters to only be able to view each smaller portion at a time, so I created a 224 x 244 map, then created 4 identically large regions within it, each 84 x 84 cells, however when I use the trigger

Camera - Set the camera bounds for Player 1 (Red) to Region 000 <gen>

the minimap which is displayed is that of the larger map, rather than the smaller section.

I tried to fix this problem however all I could think of was shrinking the camera boundaries to one of the smaller 84 x 84 area (menu>scenario>map and camera boundaries), which I thought worked at first, however when the trigger to go on to the next portion was executed ( Camera - Set the camera bounds for Player 1 (Red) to Region 006 <gen> ) although the game camera was set to the portion of the map I wanted it to be in, everything in it was dark, basically it was outside the camera boundaries even though I meant to change them. I thought that maybe I could fix this problem by initially setting the camera to one of the smaller regions then using the trigger to extend the camera
Camera - Extend the camera bounds for Player 1 (Red) west by 0.00, east by 17500.00, north by 0.00, and south by 17000.00

and then making the camera focus onto one of the smaller portion, but this essentially didn't work also.

I was wondering if anyone knows a solution or a workaround to this problem
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,241
That seems strange, setting camera bounds should also restrict the minimap.
This is not StarCraft II (where what the author wants works flawlessly)... Changing camera bounds with triggers in WC3 only changes the overlays, the underlying mini-map image (created on map save) remains unchanged.

One work around could be to use modified minimap overlays to display the desired image however I do not know how well this will work.
 
Status
Not open for further replies.
Top