Need a good way to handle players dropping before game start

Need a good way to handle players dropping before game start

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Need a good way to handle players dropping before game start

Post by YokoZar »

Assuming the remaining players want to continue, we currently don't handle dropped players before start well at all. This is especially the case with choose in game positions.

One (bad) solution is to just spawn the commander in the upper left corner. This usually breaks the game, unless he happens to be able to walk out and the dropped player happens to come from a team starting near there anyway.

One even worse solution seems to be the current behavior, at least on autohosts - the dropped player is given a fixed position starting point. This frequently results in the commander appearing in the enemy team's startbox, completely breaking the game.


What's really needed is some way for the remaining players to indicate where the commander should spawn. Maybe this means one player being able to place multiple start points (and take before game); maybe it means being able to place an ally's start point for him and then take at the beginning.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Need a good way to handle players dropping before game start

Post by AF »

I think perhaps a lua widget allowing a box or panel with start position icons which can be dragged on to and around the map could be a solution in this case.

But if a player drops, unless there's a mechanism for the commander to be claimed, it shouldn't be spawned
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Need a good way to handle players dropping before game start

Post by lurker »

/take is such a mechanism
Theyre supposed to spawn in the box.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Need a good way to handle players dropping before game start

Post by AF »

In which case someone needs to create a lua version of /take with a GUI, as /take is effectively a hidden feature, and if its not visible, it doesnt exist as far as the user is concerned.

Its just like the /curecancer command
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Re: Need a good way to handle players dropping before game start

Post by BrainDamage »

AF wrote:In which case someone needs to create a lua version of /take with a GUI, as /take is effectively a hidden feature, and if its not visible, it doesnt exist as far as the user is concerned.

Its just like the /curecancer command
which exists already in the form of a widget, which is already included in most mods and on by default
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Re: Need a good way to handle players dropping before game start

Post by REVENGE »

Just have a gadget/system that allows a teammate to do a /take before the game starts AND place the dropped player's start point.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Need a good way to handle players dropping before game start

Post by AF »

Brain Damage wrote:
AF wrote:In which case someone needs to create a lua version of /take with a GUI, as /take is effectively a hidden feature, and if its not visible, it doesnt exist as far as the user is concerned.

Its just like the /curecancer command
which exists already in the form of a widget, which is already included in most mods and on by default
If its not in the main install then it effectively doesnt exist
tombom
Posts: 1933
Joined: 18 Dec 2005, 20:21

Re: Need a good way to handle players dropping before game start

Post by tombom »

AF wrote:If its not in the main install then it effectively doesnt exist

why? what nonsense.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Need a good way to handle players dropping before game start

Post by imbaczek »

"main install" should be thought as "included in the mod".
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Need a good way to handle players dropping before game start

Post by Tobi »

It's the game developer's responsibility to include any widgets he thinks are suitable for his game yeah.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Need a good way to handle players dropping before game start

Post by AF »

In that case this isn't an engine issue and is a content development issue and we need not bother with more discussion?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Need a good way to handle players dropping before game start

Post by Tobi »

Well TBH making /take work properly before game start, allowing the taking player to place 2 or more start positions, could be considered an engine feature.
Post Reply

Return to “Engine”