albertz / openlierox

OpenLieroX - Liero clone / Worms realtime / 2D shooter
http://openlierox.net
Other
265 stars 60 forks source link

[Feature] controllable missiles #605

Open albertz opened 13 years ago

albertz commented 13 years ago

Converted from SourceForge issue 1822288, submitted by man4mac

I may have missed something somewhere, but I do not have controllable missiles like in the original liero. Is that normal? How do I get them, they were my favorite weapon, thanks.

albertz commented 13 years ago

Submitted by dark_charlie

Logged In: YES user_id=1624180 Originator: NO

It is in a long-term TODO list. Creating this weapon now is not possible due to backward compatibility to LieroX.

albertz commented 13 years ago

Submitted by pelya

Should we implement this for Beta9, along with new network engine? I suppose controllable missile would require another packet, for updating missile coordinates, also server should decide if missile exploded or not - would be pretty like SSH in current state then. Maybe clients allowed to decide that, if the missile hit the client on his screen.

albertz commented 13 years ago

Submitted by dark_charlie

I guess so, everything is ready for it - just add a new packet. Mods that would support it cannot be played on older versions anyway so no version check will be necessary.

albertz commented 13 years ago

Submitted by albertzeyer

It's not just a new package, there are more thinks which would have to be done for this.

I suggest not touching this for Beta9.

albertz commented 13 years ago

Submitted by dark_charlie

What things do you mean? I think we should make it because later it will be much harder - we will have to check if the mod contains controllable missisles and kick beta 9 clients then. Or create a new gamescript version. Neither of these options seems good to me.

Unless I missed something important, I suggest touching this for beta 9 :)

albertz commented 13 years ago

Submitted by albertzeyer

Why so complicated? We can just increase the GS version number. The current one would anyway not be able to handle such missiles (because there is just no attribute or anything else which can mark projectiles as controlable).

To make this, we need a whole new system which synchronises such projectiles, and give them netwrok unique identifiers. Also, I am still not sure how the handling should be. Just the arrow keys? Anything with jump/fire/ninja? And then, I would like to have this in a general form. If we would do it correct, also such stuff as controlable cars or other vehicles should be possible, perhaps with worm attached (but that is a minor detail then).

I have no idea how you would do that otherwise.

Also, these specified projectiles need to be updated in the same way as the worms, with speed+pos, angle and other stuff.

That is all a lot of work (at least to have it clean and to have it in a nice way) and it's just not that important right now.