Raised This Month: $154 Target: $400
 38% 

[CS:S/CS:GO] Deathrun


Post New Thread Reply   
 
Thread Tools Display Modes
Author
selax
SourceMod Donor
Join Date: Apr 2008
Location: Moscow
Plugin ID:
1626
Plugin Version:
2.0.dev11
Plugin Category:
Gameplay
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    11 
    Plugin Description:
    Select random choosens on deathrun server
    Old 04-29-2010 , 16:07   [CS:S/CS:GO] Deathrun
    Reply With Quote #1

    Description
    --------------------------------
    Players must overcome all the traps and choose the ending, in which he will fight the choosens. Choosens must not allow players to pass map for that they have the ability to activate the trap. In case of failure, the choosens have to try to kill the players on the ending.

    Supported Games
    --------------------------------
    • Counter-Strike: Source (I recommend 1.x branch)
    • Counter-Strike: Global offensive (Work only in 2.x branch)

    Links
    --------------------------------
    Features
    --------------------------------
    • Score Bonuses. Gravitation, speed, health, color, model change, glow effect (smooth invisible to visible and visible to invisible change). Bonuses fully configurable.
    • Auto-Force. Automatic force player on join and when he change command.
    • Terrorist randomization. Automatic random terrorist selection every round. Fully configurable.
    • Auto-ban terrorist on disconnect. If terrorist disconnected he banned. Not ban if kick, timeout, etc. Full SourceBans support.
    • Scouts. Giving scouts for players without ammo. Fully configurable.
    • Save scores. Save scores if restart, etc.
    • Frag for win. If terrorist win he take a frag. If want you can enable for ct's.
    • Auto respawn. In default disabled. Respawn after X seconds after round start.
    • Auto round end. Round ended if time is 0:00 (Fixing).
    • Antisuicide for terrorist, multilang, fully configurable, and many other features.


    Good plugins for deathrun
    --------------------------------

    Commands and Cvars
    --------------------------------
    Quote:
    • sm_deathrun_enabled. Enable or disable Deathrun Manager; 0 - disabled, 1 - enabled; default - 1.
    • sm_deathrun_autoforce. Enable or disable auto force players; 0 - disabled, 1 - enabled; default - 1.
    • sm_deathrun_antisuicide. Enable or disable antisuicide for terrorists; 0 - disabled, 1 - enabled; default - 1.
    • sm_deathrun_randomizing. Enable or disable randomizing players; 0 - disabled, 1 - enabled; default - 1.
    • sm_deathrun_randplayers. Number of randomizing players; default - 0.
    • sm_deathrun_randplayersteam. Randomizing players from team; 0 - all, 2 - terrorists, 3 - couter-terrorists; default - 3.
    • sm_deathrun_scouts. Enable or disable scouts module; 0 - disabled, 1 - enabled
    • sm_deathrun_scteam. Which team can get scouts?; 0 - all, 2 - terrorists, 3 - couter-terrorists
    • sm_deathrun_snum. Max scouts in round for all players; 0 - unlimited.
    • sm_deathrun_smax. Max scouts in round per player; 0 - unlimited.
    • sm_deathrun_fixfrags. Enable or disable frag fixing on death; 0 - disabled, 1 - enabled; default - 1.
    • sm_deathrun_bonuses. Enable or disable bonuses; 0 - disabled, 1 - enabled; default - 1.
    • sm_deathrun_bonuses_speed. Enable or disable bonus speed; 0 - disabled, 1 - enabled; default - 1.
    • sm_deathrun_bonuses_gravity. Enable or disable bonus gravity; 0 - disabled, 1 - enabled; default - 1.
    • sm_deathrun_bonuses_health. Enable or disable bonus health; 0 - disabled, 1 - enabled; default - 1.
    • sm_deathrun_bonuses_model. Enable or disable bonus model; 0 - disabled, 1 - enabled; default - 1.
    • sm_deathrun_bonuses_glow. Enable or disable bonus glow; 0 - disabled, 1 - enabled; default - 1.
    • sm_deathrun_bonuses_color. Enable or disable bonus color; 0 - disabled, 1 - enabled; default - 1.
    • sm_deathrun_savescores. Enable or disable save scores; 0 - disabled, 1 - enabled.
    • sm_deathrun_autoban. Enable or disable auto banning terrorist for disconnect; 0 - disabled, 1 - enabled.
    • sm_deathrun_autoban_time. Time for ban terrorist, in minutes; 0 - permanent.
    Quote:
    • scout (in console), !scout and /scout (in chat). After write this command you get a scout withoit ammo.

    Requirements
    --------------------------------
    Attached Files
    File Type: zip deathrun-1.7.2.zip (43.1 KB, 373 views)
    File Type: zip deathrun-2.0.dev11.zip (47.9 KB, 580 views)

    Last edited by selax; 03-12-2016 at 07:26. Reason: Add new versions
    selax is offline
    bluechester
    AlliedModders Donor
    Join Date: Nov 2008
    Old 04-30-2010 , 01:41   Re: Deathrun Manager
    Reply With Quote #2

    Nice
    bluechester is offline
    selax
    SourceMod Donor
    Join Date: Apr 2008
    Location: Moscow
    Old 05-02-2010 , 09:34   Re: Deathrun Manager
    Reply With Quote #3

    Plugin updated to 1.3.3
    selax is offline
    {123}
    New Member
    Join Date: Apr 2010
    Old 05-02-2010 , 11:04   Re: Deathrun Manager
    Reply With Quote #4

    Класный плагин, спасибо)
    {123} is offline
    I'mSane
    Member
    Join Date: Apr 2010
    Location: SPb, Russia
    Old 05-02-2010 , 14:18   Re: Deathrun Manager
    Reply With Quote #5

    Надо добавить изменение цвета игрока в зависимости от кол-ва фрагов.
    __________________
    Sorry for noob questions.
    Sorry for bad english.
    I'mSane is offline
    Send a message via Skype™ to I'mSane
    selax
    SourceMod Donor
    Join Date: Apr 2008
    Location: Moscow
    Old 05-03-2010 , 14:32   Re: Deathrun Manager
    Reply With Quote #6

    Quote:
    Originally Posted by I'mSane View Post
    Надо добавить изменение цвета игрока в зависимости от кол-ва фрагов.
    Уже есть в плагине, смотри внимательней.
    selax is offline
    Someone78
    Junior Member
    Join Date: Mar 2009
    Location: Russia
    Old 05-03-2010 , 18:30   Re: Deathrun Manager
    Reply With Quote #7

    понравилась функция выбора рандомного человека, не идеал но неплохо) у меня это было реализовано через array

    но...
    1. в OnGameFrame сувать проверку бонусов полнейшее извращение, сунуть это в player_spawn было бы лучше намного

    2. какой смысл проверять GetConVarBool(deathrun_cfg_enabled) и GetConVarBool(deathrun_cfg_bonuses)
    внутри for, но при этом clientfrags и Team создавать всего 1 раз, что за опять же извращенная оптимизация)

    3. FindSendPropInfo("CBaseCombatWeapon", "m_iClip1") можно искать при OnPluginStart, эффект будет тот же

    4. for (new i=1; i<=MAXPLAYERS; i++)
    почему в одном месте MaxClients а в другом MAXPLAYERS?

    5. можно юзать CS_TEAM_T и CS_TEAM_T подключив cstrike в include

    6. вместо if(strcmp(text[startidx], "2", false) == 0) есть StringtoInt

    7. в new PlayerList[MAXPLAYERS]; тоже можно юзать MaxClients, а вместо
    Quote:
    PlayerList[PlayerCount] = i;
    PlayerCount++;
    Quote:
    PlayerList[PlayerCount++] = i;
    8. еще можно %N юзать вместо GetClientName

    ну и бонусы настраиваемые через файл

    Last edited by Someone78; 05-03-2010 at 18:35.
    Someone78 is offline
    selax
    SourceMod Donor
    Join Date: Apr 2008
    Location: Moscow
    Old 05-04-2010 , 06:41   Re: Deathrun Manager
    Reply With Quote #8

    1. Это будет хуже намного, попробуй поставить гравитацию при player_spawn, а потом полазить на лестницах, увидишь неожиданный эффект.

    3. Ой, а мы и не знали...
    4. Захотелось, плагин на скорую руку писал.
    5. Я знаю, но циферкой короче.
    6. Справочником все умеют пользоваться
    7. На скорую руку писал...
    8. Это походу единственное чего я не знал.

    Я же написал, что плагин будет переписан, эту версию я написал менее, чем за 20 минут, так как потерял нормальный исходник.
    Я еще думаю перенести его на Си++.
    Что это индусский код я и сам понимаю.

    Last edited by selax; 05-04-2010 at 06:43.
    selax is offline
    Someone78
    Junior Member
    Join Date: Mar 2009
    Location: Russia
    Old 05-04-2010 , 12:40   Re: Deathrun Manager
    Reply With Quote #9

    пробовал, и как ни странно работает без проблем) ставлю через SetEntityGravity
    Someone78 is offline
    selax
    SourceMod Donor
    Join Date: Apr 2008
    Location: Moscow
    Old 05-05-2010 , 11:20   Re: Deathrun Manager
    Reply With Quote #10

    Quote:
    Originally Posted by Someone78 View Post
    пробовал, и как ни странно работает без проблем) ставлю через SetEntityGravity
    Ну гнать то тут не надо, это всем давно известный баг.
    selax is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


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


    Powered by vBulletin®
    Copyright ©2000 - 2017, vBulletin Solutions, Inc.
    Theme made by Freecode