[CSS/CSGO] Round Start Teleport Plugin - Multilocation
1 Attachment(s)
So I have a map that has a small extra area that is apart the main map layout.
I would like to make a mod that will teleport all players to that area if there is less then 10 players on server on round start and use normal spawns if more then 10 players on server. While i managed to make round start counter and i even teleported players on right sides depending on their team...i am unable however imitate real spawns. What i mean by real spawns is that when players are teleported they are teleported all ct-s at one same place [first teleport coords] and all t-s at one same place [second teleport coords]. What I would like to do is make space between teammates, space between teleport spots and use more of them. Making players teleport individually...making them placed next to eachother like in real spawns. Would be nice if i could choose teleport spots too for ct and t, like in cfg file or something but thats not necess...i can add spots manually in sp too and compile. Here is what i got so far: Code:
#pragma semicolon 1 |
Re: [CSS/CSGO] Round Start Teleport Plugin - Multilocation
Shouldn't this be in the scripting sub-forum?
|
Re: [CSS/CSGO] Round Start Teleport Plugin - Multilocation
yeah :( just saw i fucked up...well it is still a plugin and request kinda cause i cant finish it so if it ever ends up finished i think it can be under requests too? Moderator move?
|
Re: [CSS/CSGO] Round Start Teleport Plugin - Multilocation
Yeah just thinking you'll probably get a lot more help under the scripting section :)
|
Re: [CSS/CSGO] Round Start Teleport Plugin - Multilocation
if there are - than 10 players teleport to x place and if there are + than 10 players teleport to x place?
|
Re: [CSS/CSGO] Round Start Teleport Plugin - Multilocation
i did not really read your code carefully but regarding THIS there is no client index into round_start hook event so you probably have to loop though all clients into round_start and remove double job on player_spawn.
|
Re: [CSS/CSGO] Round Start Teleport Plugin - Multilocation
Quote:
Code:
for (new i = 1; i <= MaxClients; i++) Quote:
Quote:
Thanks for helping me out! |
Re: [CSS/CSGO] Round Start Teleport Plugin - Multilocation
I just want to throw out there you can use VScript and pack it into your map.
This way you dont need Sourcemod to acheive your outcome. https://developer.valvesoftware.com/wiki/VScript https://developer.valvesoftware.com/...ript_Functions https://developer.valvesoftware.com/...cript_Examples Edit: Your easiest method is to use trigger_teleports. On round start check your player count and enable the triggers if required. |
Re: [CSS/CSGO] Round Start Teleport Plugin - Multilocation
Quote:
Can you please expand on it and provide me with example of how to activate/deactivate trigger_teleports using sourcemod? I would place trigger teleport under spawns in hammer and activate them on round end so on round start player is teleported. Thants the idea if possible... |
Re: [CSS/CSGO] Round Start Teleport Plugin - Multilocation
I can provide examples tomorrow.
It's 100% possible. |
All times are GMT -4. The time now is 18:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.