AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Spawn more than one at same point (https://forums.alliedmods.net/showthread.php?t=188485)

Misery 06-27-2012 03:52

Spawn more than one at same point
 
Hi,

Title mostly says it all... You know, there are maps where one of the two teams are limited to 1-2 players generally... like for example deathrun maps.
When we transfer a player there with say cs_set_user_team() and that the player count is greater than the maximum per team limit, the extra players die... or fall and go through the floor, thing like that.

Is there a way to prevent this? Is there a way to circumvent, to spawn 2 players or more at the same location/origin?

Thanks!

Cordially,
Misery

Exolent[jNr] 06-27-2012 12:05

Re: Spawn more than one at same point
 
Bad Spawns Preventer by xPaw.

Neeeeeeeeeel.- 06-27-2012 12:23

Re: Spawn more than one at same point
 
Map Spawns Editor v1.0

Misery 06-28-2012 04:51

Re: Spawn more than one at same point
 
Quote:

Originally Posted by Neeeeeeeeeel.- (Post 1737308)

No, I'm not asking this kind of stuff, do you really think I did not think about creating new spawn points before... the fact is that since I cannot predict on which map my script will run and don't want to harrass ppl using it with settings up spawn coords per map, not really useful to me.

As for spawn preventer, it's still nothing more than a hack, it doesn't fix the problem at its source. From what I see, your silence tells is no way to make it :[

I'll try to find some better solution... a memory hack or something based on disasm.

If anyone still think about something,
just tell.
Help really appreciated.

Cordially,
Misery

Arkshine 06-28-2012 07:40

Re: Spawn more than one at same point
 
Your problem is more a dumb plugin which does the job poorly.

If people die, it's most likely because there are only a limited spawn points for a specific team, like 3 info_player_deathmatch and 29 info_player_start. It would be the plugin you use to make sure to not switch more than necessary.

xPaw 06-28-2012 07:44

Re: Spawn more than one at same point
 
Quote:

Originally Posted by Misery (Post 1737923)
As for spawn preventer, it's still nothing more than a hack, it doesn't fix the problem at its source. From what I see, your silence tells is no way to make it :[

The problem at its source is not enough spawns. Bad Spawns Preventer perfectly does it's job by blocking engine's logic when there are not enough spawns.

Misery 06-29-2012 03:14

Re: Spawn more than one at same point
 
Quote:

Originally Posted by xPaw (Post 1738019)
The problem at its source is not enough spawns. Bad Spawns Preventer perfectly does it's job by blocking engine's logic when there are not enough spawns.

Huh, are we talking about the same plugin?
Quote:

If you get spawned in one of those - you will get killed thus leaving you dead waiting for next round. This plugin respawns the player if he got killed because of bad spawn position and respawns the player if he is stuck in the wall at spawn.
Sorry, but respawning a player, imho, does not attack the problem at its source... else I must miss something? You know, they'll still die, still very annoying for a player, and besides, the source problem, from my point of view, is more the damage occuring on those spawns (i.e. the deaths).

Arkshine, in fact it's not plugin side. It's map side, the plugin needs to make switches so it follows the game logic. However I noticed some maps suffer from the spawn problems. It's not a design error, but more how the game must go...

If you still have thoughts, tell me!

Thanks guy!

Misery

xPaw 06-29-2012 04:38

Re: Spawn more than one at same point
 
Quote:

Originally Posted by Misery (Post 1738769)
Huh, are we talking about the same plugin?


Sorry, but respawning a player, imho, does not attack the problem at its source... else I must miss something? You know, they'll still die, still very annoying for a player, and besides, the source problem, from my point of view, is more the damage occuring on those spawns (i.e. the deaths).

Arkshine, in fact it's not plugin side. It's map side, the plugin needs to make switches so it follows the game logic. However I noticed some maps suffer from the spawn problems. It's not a design error, but more how the game must go...

If you still have thoughts, tell me!

Thanks guy!

Misery

Ow, that description is a little bit incorrect. You can see sourcecode yourself, it blocks damage, and makes checks if player is stuck (in block or another player)


All times are GMT -4. The time now is 06:06.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.