Camera Lock...?

Do you need World Editor help? Ask here!
Forum rules
Before making a new topic:
First, check if your question has already been answered in the Tutorials section.
If you didn't find a solution, use the search function.
If searching didn't help either, you can make a new topic.

Topic title & content:
You must use a descriptive title. (Help plz is not good) (Need help with Dialog buttons is good)
Go into much detail when posting. You should post attachments. Like screenshots of the problem, the map you are making, replays of the error. Or you could even make a screencast (video) of your problem and upload it here.

Spelling:
Grammar seems to be a serious problem amongst teenagers, so use a spell checker or you will get no love.
Read your posts twice, before pressing the reply button.
And do not use profanity. Chatspeak (y r u nub) and Leetspeak (1 C4N S33 H4X) are not welcome here either.

Only World Editor related questions are allowed here!
(Click for Battle.net help) (Click for World Editor help)
FighterofHoly
Posts: 46
Joined: Mon Mar 03, 2008 2:32 am
Realm: US East
Account: FighterofHoly
Location: Fort Walton Beach, FL. 300 Miracle Stripe PKWY SW Unit 2F. 32548-5251
Contact:

Camera Lock...?

Unread post by FighterofHoly »

I would like to know how to get the camera to "Lock" into an area.

Not onto a specific unit
But more like an area, that way that you cant view other areas without leaving.


It would bevery helpful in my current map project
I quit logging on 2 days after i say im back and here to stay :P

3rd User to register and half-friend of 3ice! Woo

FighterofHoly
Posts: 46
Joined: Mon Mar 03, 2008 2:32 am
Realm: US East
Account: FighterofHoly
Location: Fort Walton Beach, FL. 300 Miracle Stripe PKWY SW Unit 2F. 32548-5251
Contact:

Re: Camera Lock...?

Unread post by FighterofHoly »

~~~EDITTT~~~


I think i found it, its in Actions for setting camera bounds to -Region- right?
I quit logging on 2 days after i say im back and here to stay :P

3rd User to register and half-friend of 3ice! Woo

User avatar
3ICE
Admin
Posts: 2629
Joined: Sat Mar 01, 2008 11:34 pm
Realm: Europe
Account: 3ICE
Clan: 3ICE
Location: Hungary
Contact:

Re: Camera Lock...?

Unread post by 3ICE »

Much easier to have an invisible unit and lock the camera on that.
ImageImageImageImageImage
Image
ImageImage

FighterofHoly
Posts: 46
Joined: Mon Mar 03, 2008 2:32 am
Realm: US East
Account: FighterofHoly
Location: Fort Walton Beach, FL. 300 Miracle Stripe PKWY SW Unit 2F. 32548-5251
Contact:

Re: Camera Lock...?

Unread post by FighterofHoly »

I meant in the region, not where you cant move the camera at all
I quit logging on 2 days after i say im back and here to stay :P

3rd User to register and half-friend of 3ice! Woo

User avatar
3ICE
Admin
Posts: 2629
Joined: Sat Mar 01, 2008 11:34 pm
Realm: Europe
Account: 3ICE
Clan: 3ICE
Location: Hungary
Contact:

Re: Camera Lock...?

Unread post by 3ICE »

Right. Well boundaries will fuck up your minimap, but if you don't care about that, then yeah, that's he easy way.

EDIT: I'd make a system that periodically checks the camera's x and y coordinates and compares it to the region in question. If the coordinates are no longer in the region, the system finds the closest valid point and snaps the camera there. This way people can't scroll out of the region, but still see a working minimap.

EDIT2: I use a similar system in Maze Designer to prevent players sliding out of their areas or messing with somebody else's maze by drawing over it.
ImageImageImageImageImage
Image
ImageImage

FighterofHoly
Posts: 46
Joined: Mon Mar 03, 2008 2:32 am
Realm: US East
Account: FighterofHoly
Location: Fort Walton Beach, FL. 300 Miracle Stripe PKWY SW Unit 2F. 32548-5251
Contact:

Re: Camera Lock...?

Unread post by FighterofHoly »

Personally, I really wouldnt care if there was or wasnt a Minimap lol.

I want to make it so you cant memorize areas as easy by just looking at the map.

And i literally mean, Can Not leave that area unless you go to a different area.

Sorta like this is a text map with dashed lines being what you can see and Q being everything else that you cant see unless you enter that region/areas

QQQQQQQQQQQQQ
QQQ----QQQQQQQQ
QQQl lQQQQQQQQ
QQQ-----QQQQQQQQ
QQQQQQQQQQQQQQ

Poor quality but i think you get the point :3
I quit logging on 2 days after i say im back and here to stay :P

3rd User to register and half-friend of 3ice! Woo

Post Reply

Who is online

Users browsing this forum: No registered users and 146 guests