Page 2 of 2

Re: weapon spritesheet

Posted: 18 Feb 2012, 02:35
by var
o11c wrote:
var wrote:
Nami97 wrote:Great Idea!

Unfortunately this cannot be used (yet?) because there is no restrictions to what projectiles it can fire, so a player would be allowed to fire an arrow from it...same reason we could not have a crossbow.
according to this https://github.com/mana/mana/blob/maste ... nfo.h#L181 and this https://github.com/mana/mana/blob/maste ... b.cpp#L213 and this https://github.com/mana/mana/blob/maste ... es.txt#L13 since mana client 0.6 custom missile will be available.

*still waits for the custom drawing order of the equipments*
The client is irrelevant since it is the server that needs to prevent equipping mismatching "bow" and "arrow".

Jenalya and I worked on this today and it should work using only equip scripts, no code changes.
mmmm so when i shot my arrows the server tells the client which image to show for the shot? ;)

Re: weapon spritesheet

Posted: 18 Feb 2012, 02:58
by o11c
var wrote:mmmm so when i shot my arrows the server tells the client which image to show for the shot? ;)
My response was relevant to what Nami said and you quoted. Who cares how it look? :P

Or to put it another way: the server does tell the client where to download the updates which contain information about how to draw stuff. It's not my problem if the client ignores that and draws all "arrows" alike.

Re: weapon spritesheet

Posted: 18 Feb 2012, 03:55
by mistergrey
Hm, is it theoretically possible to use the slingshot, show the "projectile" in the attack animation, and just give it an increased range, to avoid needing arrows or custom missiles? Just curious.

Re: weapon spritesheet

Posted: 18 Feb 2012, 04:01
by o11c
mistergrey wrote:Hm, is it theoretically possible to use the slingshot, show the "projectile" in the attack animation, and just give it an increased range, to avoid needing arrows or custom missiles? Just curious.
Without consuming ammo, that should work...

EXCEPT for the graphical issue that it will fire straight, unless the client can do a two-point particle effect.

Re: weapon spritesheet

Posted: 18 Feb 2012, 11:26
by Crush
o11c wrote:EXCEPT for the graphical issue that it will fire straight, unless the client can do a two-point particle effect.
How would you expect it to fire? In a slight arc? I think that could be possible with the particle engine. But even when it isn't I believe that a straight line just like the arrows is sufficient.

Re: weapon spritesheet

Posted: 18 Feb 2012, 15:46
by o11c
Crush wrote:
o11c wrote:EXCEPT for the graphical issue that it will fire straight, unless the client can do a two-point particle effect.
How would you expect it to fire? In a slight arc? I think that could be possible with the particle engine. But even when it isn't I believe that a straight line just like the arrows is sufficient.
I mean (and I admit to talking supposition), if you don't use the arrow-specific drawing techniques, your weapon will always attack at a 90° angle even if the target is at a 45° or elsewhere.

Re: weapon spritesheet

Posted: 19 Jun 2013, 20:43
by ChefChelios
Degen/épée :alt-9:

needs a good name!

Re: weapon spritesheet

Posted: 19 Jun 2013, 21:49
by Nard
I Image it