Periapsis / aphelion

2D spaceship mmog in java with an authoritative server model. Inspired by subspace.
GNU Affero General Public License v3.0
10 stars 2 forks source link

Portal #27

Open Joris-van-der-Wel opened 11 years ago

Joris-van-der-Wel commented 11 years ago

Portal, just like subspace.

Only the client who lays it and the server should know about the portal.

Joris-van-der-Wel commented 11 years ago

A nice way to implement this would be:

Introduce the game setting "projectile-portal: true", if a player warps he is sent to the newest projectile with this attribute. The projectile then (optionally) looses this attribute. Additional settings such as energy cost, how it is affected by antiwarp, maximum distance, etc are also nice.

This would be very interesting in combination with weapon chaining, for example by lobbing a portal over a wall like a grenade.

A traditional subspace portal would be like a mine with a limit of 1, but it would not hit anything. After the projectile expires, the portal can no longer be used.

A new weapon setting called "weapon-local" might also be useful for certain types of portals. This would keep the weapon local to the client that fired the weapon and the server. Other clients would not know about the portal. This does mean certain other config values have to be overridden to maintain consistency (damage always 0, no emp, no weapon switch delay, etc)