AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   Reserve Starting Position (https://forums.alliedmods.net/showthread.php?t=314424)

karaulov 02-18-2019 01:38

Reserve Starting Position
 
2 Attachment(s)
Reserve Spawn Position

Description:
  • say "savespawn" to reserve for you nearest spawn position and starting view angle
    (To gain some advantage over other players.)
  • Can be used for VIP/Admin user to reserve better spawn point for map.
    (but need add check for VIP/Admin in code)


    At next round you will be started from selected spawn (info_player_start/deathmatch) point, with selected view angle.

Test and debug:
  • install bot_api and replace use_bot_api 0 to use_bot_api 1, and use_debug 0 to use_debug 1

    WARNING! NEED TEST IT IN MULTIPLAYER. I TESTED IT ONLY WITH BOTS.

If use semiclip: (or another used for player solid_not when collided)
  • replace use_semiclip 0 to use_semiclip 1

Changelog:
  • Version 1.2
    Now angles saves for every player
    (Fixed problem 1.1 version)
  • Version 1.1
    In this version one spawn point can be used by multiple players (with one angle, need fix it in 1.2 version)
    (added const bool:use_onespawn_oneplayer = false)
  • Version 1.0 : Initial release
    In this version one spawn point can be used only by one player

Video:

thEsp 02-18-2019 05:42

Re: Reserve Starting Position
 
Is it your plugin or the server/game that is sending player 20 colliding with player 12 ?

karaulov 02-18-2019 05:46

Re: Reserve Starting Position
 
No ) Please read description or see video, or read plugin code)))

say "savespawn" to reserve for you nearest spawn position and starting view angle
(To gain some advantage over other players.)



In next rounds you started from selected spawn (info_player_start/deathmatch) point, with selected view angle.

karaulov 02-18-2019 05:57

Re: Reserve Starting Position
 
thEsp, I fixed plugin links, now plugin compiled and can be download. :)


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

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