Range indicator of spells

Everything about Illarion that fits nowhere else. / Alles über Illarion was inhaltlich in kein anderes Board passt.

Moderator: Gamemasters

Post Reply
User avatar
Pellandria
Posts: 2604
Joined: Fri Oct 04, 2002 6:06 pm
Location: Running around
Contact:

Range indicator of spells

Post by Pellandria »

It happens quiete often to me, that my teleportspells aren't reaching the edge of the client window and the messages "you can't see there" pops up once and now aswell, but as I just click and let go off the button I teleport somewhere completly wrong, is there a way to include some kind range/reach indication?
User avatar
Faladron
Posts: 1139
Joined: Thu May 05, 2005 3:52 pm
Location: Ich warte auf NIX

Post by Faladron »

That also happens if you try to drop something on those spots,
try to "auto-walk" there and alike, so it's no pure mage problem.
User avatar
Lrmy
Posts: 1263
Joined: Fri Jun 02, 2006 4:42 pm

Re: Range indicator of spells

Post by Lrmy »

Pellandria wrote:It happens quiete often to me, that my teleportspells aren't reaching the edge of the client window and the messages "you can't see there" pops up once and now aswell, but as I just click and let go off the button I teleport somewhere completly wrong, is there a way to include some kind range/reach indication?
Teleport to the second to last square? An actual indicator seems a bit unneeded.
User avatar
AlexRose
Posts: 4790
Joined: Sat Oct 22, 2005 8:18 pm
Location: Megajiggawhat?

Post by AlexRose »

You click and a marker appears where you're casting.. if it doesn't you need to target somewhere else. That's already ig.
User avatar
Pellandria
Posts: 2604
Joined: Fri Oct 04, 2002 6:06 pm
Location: Running around
Contact:

Post by Pellandria »

That only works for the "You can't see there", the "that is to far" range is showed up, when you actually try to cast the spell.
User avatar
AlexRose
Posts: 4790
Joined: Sat Oct 22, 2005 8:18 pm
Location: Megajiggawhat?

Post by AlexRose »

So just recast and learn the spell ranges.
User avatar
Faladron
Posts: 1139
Joined: Thu May 05, 2005 3:52 pm
Location: Ich warte auf NIX

Post by Faladron »

Please code that for weapons too, bows for example. :wink:
User avatar
Pellandria
Posts: 2604
Joined: Fri Oct 04, 2002 6:06 pm
Location: Running around
Contact:

Post by Pellandria »

AlexRose wrote:So just recast and learn the spell ranges.
The problem there is, that sometimes the range of the spell is at the client window and sometimes three squares off, for no obvious reason at all, this is why I asked if this is even possible.
User avatar
Taeryon Silverlight
Posts: 771
Joined: Fri Oct 20, 2006 10:35 pm
Contact:

Post by Taeryon Silverlight »

Faladron wrote:Please code that for weapons too, bows for example. :wink:
The problem is, as far as I understood, that you actually teleport to a completly wrong square when you targe an unreachable tile. But you don't shoot the grass, when you aim for enemey that is too far away, do you?
User avatar
Drethek
Posts: 7
Joined: Sun Feb 10, 2008 11:09 pm

Post by Drethek »

If the tile is too far away, you get a error sound aswell as a message.
Just don't let go of ALT untill the tile is right.
User avatar
Pellandria
Posts: 2604
Joined: Fri Oct 04, 2002 6:06 pm
Location: Running around
Contact:

Post by Pellandria »

Wrong, if the tile is too far away you get the message after you have released alt, only if you click on a tile you can't see, then you get the error sound and message.
User avatar
AlexRose
Posts: 4790
Joined: Sat Oct 22, 2005 8:18 pm
Location: Megajiggawhat?

Post by AlexRose »

Then, as I said, learn the spell ranges; it's not that hard.
User avatar
Nitram
Developer
Posts: 7638
Joined: Fri Oct 31, 2003 9:51 am
Contact:

Post by Nitram »

The server does not know the range of a spell before the script is triggered. And the script is triggered as soon as you cast the spell. So its absolutly impossible to show how far you can cast before you actually casted the spell.
Same for weapons.

Nitram
User avatar
Taeryon Silverlight
Posts: 771
Joined: Fri Oct 20, 2006 10:35 pm
Contact:

Post by Taeryon Silverlight »

So can be something implemented, that blocks the client from "doing" the spell after you did the spell... sorry, in german

Wenn der Server erst nach dem tatsächlichen Sprechen des Spells erkennt, ob es möglich ist dort hinzukommen, oder nicht, ginge es dann nicht durch einen wenn, dann code eine art blockade einzuführen?

sprich:

Ziel gewählt, Alt losgelassen, Tile erreichbar: Spell wird benützt

Ziel gewählt, Alt losgelassen, Tile nicht erreichbar: Spell wird "blockiert", Nachricht erscheint: Diese Strecke ist zu weit.

Oder etwas Ähnliches?
User avatar
Pellandria
Posts: 2604
Joined: Fri Oct 04, 2002 6:06 pm
Location: Running around
Contact:

Post by Pellandria »

Mit der Strecke zu weit passiert bereits, bloss das man den zauberspruch dann eben nochmal ausführen muss, im Gegensatz zu den "dahin kannst du nicht sehen", was darin endet das das Ziel abgewählt wird und wenn man dnan loslässt, der Zauberspruch natürlich auf die eigene Person zurückfällt.
User avatar
Faladron
Posts: 1139
Joined: Thu May 05, 2005 3:52 pm
Location: Ich warte auf NIX

Post by Faladron »

Do you two at times still do some RP or are you Magic-Engine Testers already? :lol:
User avatar
Pellandria
Posts: 2604
Joined: Fri Oct 04, 2002 6:06 pm
Location: Running around
Contact:

Post by Pellandria »

Do you allready know one thing about the magic engine or do you continue to talk crap about it?
User avatar
Arien Edhel
Posts: 6645
Joined: Fri Jun 27, 2003 3:08 pm
Location: Here, there and everywhere

Post by Arien Edhel »

Remind the Netiquette.
Post Reply