ID:165523
![]() Dec 8 2006, 6:06 pm
|
|
I was wondering how I would lock a players screen and keep the person screen from moving left or right or up and down while walking?
|
client |
This is not what I want at all. My world screen size is 6 and I want it so that all they see is what they see and the screen does not move with them as they move.
|
Than you did not added the HUDs properly [as it should move along with you], please show us a snippet (and even a clearer explanation) >_>
- GhostAnime |
I know what ya looking for i think :S
Look up lazy.eye or just read this client lazy_eye = 5 This setting allows client.mob to move onto the entire 11x11 visible region without changing the value of client.eye. The moment it steps out of this region, the entire region will shift 5 tiles in the direction of motion. You can assign lazy_eye to any value valid as a view size, so, for example, if you have a non-square setting for client.view, say, "17x11", you could apply a similar setting to lazy_eye. You can even make one dimension lazy and the other one strictly centered: "0x5". Cheers. |
Here look at this...
http://i69.photobucket.com/albums/i75/LegendaryLCD/ untitled-1.jpg you see where it says veiw...thats what im talking about(sorry if i seem rude) I need it so that the screen does not move with the player when he is moving lik eon an rpg. The screen moves how he is moving i dont want that... I need it so the screen is locked as he or she is moving. |
You can do that via lazy eye the view your talking about sets how big the screen size on the client is.
|
Dbgtsuperfreak wrote:
http://i69.photobucket.com/albums/i75/LegendaryLCD/ untitled-1.jpg From that I can see that you set world/loop_checks=0. This is bad. It should always be set to 1 so it will alert you when there's a possible infinite loop. If you get a warning about such a message and it ends your loop, it simply means you setup the loop wrong. proc/loop() |
You want to have a temp. variable and modify the Move() for mobs (or client if you wish to)
- GhostAnime