marqdevx / mm-cs2-scrim

Metamod addon to be used in Counter Strike 2. Bringing the needed features for competitive team practice
GNU General Public License v3.0
68 stars 17 forks source link

Coach takes player spawns #14

Closed messioso closed 9 months ago

messioso commented 1 year ago

In scrim mode the coach spawns in normally, so they take up a spawn that would normally could be allocated to one of the 5 players, blocking them from having it. This effects the spawn randomisation making it different to a normal match.

A solution is to spawn the coach on a newly created spawn up in the air somewhere.

marqdevx commented 1 year ago

I know, I couldn't find how to do that yet. I'm still investigating

I did it like this, to minimize the impact, as in case there are 5 competitive spawns, maximum only one player will not be in one of them

enerbewow commented 1 year ago

In pracc.com the .coach command takes the player in a player position, but way above the sky (x axis or z axis? idk). maybe they create new spawn just for the coach slot, copying the default competitive slots and move up in the skies. Grap the player. Give him the new spawns. Make Player invisible. Take away money. Kill at start of the round.

ps. In Pracc.com if you type .uncoach while freezetime u can exploit the spawn and you can get a dropped gun and shoot and also depends on the spawn you could move and jump out of the map.

Just some information to further implementations

marqdevx commented 1 year ago

What I can do, is check all the spawns, and move the coach to a non-competitive spawn, then re-chech the players' spawns, in case some player is not in a competitive one, teleport him to a correct one.

Atleast we can make all the 5 players have the correct ones :)

marqdevx commented 9 months ago

Patch on new version