Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Zooming out (https://forums.graalonline.com/forums/showthread.php?t=75956)

coreys 07-30-2007 09:59 PM

Zooming out
 
Does anyone know if there's any way to zoom out the level, like what the flying technology does, but without actually using flying technology?

Twinny 07-30-2007 10:04 PM

Quote:

Originally Posted by coreys (Post 1335605)
Does anyone know if there's any way to zoom out the level, like what the flying technology does, but without actually using flying technology?

*waits for Zero*

bscharff 07-31-2007 04:30 AM

On Clientside, use player.zoom = .5;
That will give you half the size.
I'm not quite sure but I'm pretty sure it will.

DustyPorViva 07-31-2007 04:31 AM

No way, or else they wouldn't need to introduce flying technology.

I tried messing around with level stuff yesterday, and was sadly disappointed that you couldn't rotate the level :(

killerogue 07-31-2007 05:44 AM

Quote:

Originally Posted by bscharff (Post 1335743)
On Clientside, use player.zoom = .5;
That will give you half the size.
I'm not quite sure but I'm pretty sure it will.

Err, Vash wants to know how to zoom out a level my friend. No the player. :p

zokemon 08-03-2007 05:57 AM

Twinny haha.
Yeah, this is my sole reason for wanting flying tech because I want to do an entire canvas zoom rather then zooming individual objects (a tilelayer.zoom would be nice too but would probably need like an offsetx/offsety or so to not look funny at times).

If you are wondering how I "did it", I really didn't do anything on my server other then make the player smaller. The graphics I use just are all 32x32 so it gives the illusion that everything is zoomed out. I want flying tech so I can reverse this process and zoom everything back to normal size while keep the integrity of 1024 icons per level ^_^.

Oh and, I guess this is a "hi I'm back from my 3 week graal-made-me-mad escapade".

smirt362 08-03-2007 07:00 AM

Quote:

Originally Posted by zokemon (Post 1336805)
Oh and, I guess this is a "hi I'm back from my 3 week graal-made-me-mad escapade".

Good cause the Gileada Inventory window is broke :[
And...people cant get past the first room of the tutorial!

zokemon 08-03-2007 07:08 AM

Quote:

Originally Posted by smirt362 (Post 1336821)
Good cause the Gileada Inventory window is broke :[
And...people cant get past the first room of the tutorial!

Yeah, v5 really messed a bunch of things up for my server but I think I fixed all of it (except the horrible lag I now get around particle and light effects which I can't seem to do anything about). The inventory I didn't fix though (that was a problem with v4 too, I dunno what is causing it but reconnecting or resizing the Graal window usually fixes it).

coreys 08-03-2007 07:19 AM

I've heard rumors that Flying Technology won't be available for all servers. Anyone know if this is true? Because Maniaman honestly expects me and Stan to make our own. :<

zokemon 08-03-2007 08:39 AM

Good luck with that... Unless you plan to entirely emulate tiles, you won't be able to do it. You should just tell Mania to ask Stefan himself if Maloria can include that in their planning or if the idea should just be scrapped all together.

coreys 08-03-2007 08:48 AM

Quote:

Originally Posted by zokemon (Post 1336843)
Good luck with that... Unless you plan to entirely emulate tiles, you won't be able to do it. You should just tell Mania to ask Stefan himself if Maloria can include that in their planning or if the idea should just be scrapped all together.

Well he knows we can't zoom out without new script features, but he wants us to just make the flying vehicles invisible (except for a shadow) for people on the ground when it's above a certain z height. It's possible, I suppose, but I can't think anyone who would want to script that.

zokemon 08-04-2007 07:30 AM

That's easily only a few lines of code...

coreys 08-04-2007 07:54 AM

Quote:

Originally Posted by zokemon (Post 1337178)
That's easily only a few lines of code...

The whole thing isn't.

zokemon 08-04-2007 08:01 AM

I mean hiding an object that is above a certain z height (but keeping the shadow).

coreys 08-04-2007 11:22 PM

Quote:

Originally Posted by zokemon (Post 1337193)
I mean hiding an object that is above a certain z height (but keeping the shadow).

Yeah, but what about hiding the players that are ON the flying object. Although, I guess that could be done easily with the player.alpha that we now have.

zokemon 08-05-2007 01:05 AM

Change gani, adjust player.zoom or as you say, adjust player.alpha. There are tons of solutions and many of them are easily just a few lines of text.

coreys 08-05-2007 04:51 AM

Quote:

Originally Posted by zokemon (Post 1337451)
Change gani, adjust player.zoom or as you say, adjust player.alpha. There are tons of solutions and many of them are easily just a few lines of text.

Okay. I still don't find it appealing to script that whole thing. lol
Plus it doesn't look that great for height to be represented merely by being a several tiles above where you really are. Increasing z looks the same as decreasing y. Which is sad.

zokemon 08-05-2007 06:33 AM

You could always increase player.zoom and decrease player.alpha when player.z is increased.

coreys 08-05-2007 08:53 AM

I guess...although player.zoom looks real crappy, but I don't imagine flying technology would change that anyways

Inverness 08-05-2007 10:20 AM

Who cares about what crap you can do to emulate flying technology, that is simply not an appropriate substitute for the actual technology to zoom the map out as if you were very high above it.

zokemon 08-05-2007 10:32 AM

Quote:

Originally Posted by Inverness (Post 1337550)
Who cares about what crap you can do to emulate flying technology, that is simply not an appropriate substitute for the actual technology to zoom the map out as if you were very high above it.

This is true. Canvas zoom will rock. Now if we could only edit the canvas in other ways such as extending the "level borders" so that you could see the black-space around the edges of a level (so that with a high z don't just disappear off your screen).


All times are GMT +2. The time now is 05:12 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.