Also, I know this isn't exactly what your talking about but it is possible to make a player a collision? Like if me and Printer are fighting Flatlander on tibia and he goes to ewave me and Printer is standing in front of me. Could Printer take the hit and keep it from going past him?
I mean, why cant we help people like that? Just more food for thought.. trying to help give some interesting ideas.
I already have this on my server.
My projectiles have a 'Max Distance'.
For example:
Heavy Magic Missile:
Projectile Speed: 100ms (time it takes to progress one tile)
Max Distance: 8 (Will travel 8 tiles, unless it hits a object (wall, player, other projectile, etc)
So if you shoot a Heavy magic Missile 2 sqm north, and 1 sqm west. It would look like this:
(3 is player position, 2 is target position)
{0, 0, 0, 0, 0}
{0, 0, 0, 0, 0}
{0, 2, 0, 0, 0}
{0, 0, 0, 0, 0}
{0, 0, 3, 0, 0}
Since it has a max distance of 8, it would calculate the trail, which would be as follows:
{0, 0, 0, 0, 0}
{1, 0, 0, 0, 0} Turn 8
{0, 1, 0, 0, 0} Turn 7
{0, 1, 0, 0, 0} Turn 6
{0, 0, 1, 0, 0} Turn 5
{0, 0, 1, 0, 0} Turn 4
{0, 0, 0, 1, 0} Turn 3
{0, 0, 0, 1, 0} Turn 2
{0, 0, 0, 0, 1} Turn 1
{0, 0, 0, 0, 3}
It would progress each row per turn each 100 ms, the projectile is slowed down so it is a fluid slow-moving projectile over those tiles.
The projectile does not go perfectly straight (When at a diagonal like this), but it will 100% hit the tile you clicked on as long as it is within the max distance.
It will be easier to see when I have the video.
The issues that arise from these projectiles are as follows:
- The slower projectiles are incredibly easy to dodge.
- If your projectile has no width to it (You can make bigger projectiles to fix this) it will look like it is skipping around/through objects when going over corner-wise paths.
- Since the projectile stops only at max distance, if it was a Great Fireball or something it would be incredibly hard to make it land where you wanted it to. (You could always make the max-distance be your target location to fix this)
Cool things you can do with these projectiles are:
- You can have "Tracking Projectiles" that follow creatures. (It is funny and scary to literally be running away from a Projectile that is following you, as it turns and tracks you)
- You can have projectiles have a % chance to hit trees or bushes if they are in between you and your target.
- You can make "Live Projectiles" that follow your character, then when you target something, they fly towards it.
Of course, some players won't like that they have to "lead" their targets, "aim" their spells, or actually use human thought while doing combat.
But the server I am making is not for those people, they can play one of the hundreds of other Tibia Servers.
My server (and probably also whitevo's server, and maybe Printer's future servers if there are any) are for people who want something new, exciting, and challenging.