LooneyMapVote v1.0

Раздел содержит плагины для Eventscripts.
LooneyMapVote v1.0

Этот скрип может быть использован в качестве VoteMap а также VoteMod. Вы можете выбрать один из пяти различных типов голосов:
No Vote (Auto-select a Map out of all maps on server)
Vote on All Maps
Random GamePlay is chosen, then Vote for Maps of that GamePlay type
Vote for GamePlay, then random Map is chosen from winning GamePlay
Vote for GamePlay, then Vote for Maps of winning GamePlay


Перевод:


Никто не проголосовал(Auto-выбрать карту из всех карт на сервере)
Голосовать на всех картах
Голосовать за случайные карты
Голосовать за мод, карта выбериться автоматом
Глоосовать за мод и карту


Требования:
EventScripts: 2.0 и выше .

Установка:

Скачиваем здесь ->
Внимание! У вас нет прав для просмотра скрытого текста.


1 - Распаковываем архив , вытаскиваем от туда папку addons, копируем, идем в (путь) папка сервера\cstrike и кидаем туда скопированную папку.

2 - Далее идем в (путь) папка сервера\cstrike\cfg ищем там файл autoexec.cfg открываем с помощью блокнота и вписываем строчку:
es_load looneymapvote


3 - Перезапускаем сервер.

Использование в игре:

Пишем в чате !vote


Настройка:

1 - идем в (путь) папка сервера/ cstrike/ Addons /eventscripts/ looneymapvote/ ищем файл lmv_config.cfg открываем с помощью блокнота и видим примерно такую картину:
// ***************************
// ** LooneyMapVote Options **
// ***************************

// 0 = No Vote (random map is just selected)
// 1 = Vote on ALL maps
// 2 = Random type of GamePlay is chosen and then Vote on those maps
// 3 = Vote on GamePlay and Random map chosen
// 4 = Vote on GamePlay then Vote on map
lmv_vote_style 1

// Add maps (separated by a comma) that you do not want to use
lmv_maps_to_not_use ""

// Command for players to get Vote popup
// To set to no command, set to ""
// If you choose to have no command, players will be sent the vote popup when the voting starts
lmv_command "!vote"

// Set to number of last X maps to store and not use in Votes
lmv_last_x_maps 6

// Set to number of seconds for Vote to last
lmv_time_to_vote 60

// Set to number of maps to randomly choose for Vote
lmv_maps_in_vote 7

// Enable/Disable randomizing options in vote per player
lmv_randomize_votes 1


// ************************
// ** Start Vote Options **
// ************************

// Minutes to wait after start of map to start map vote
lmv_minutes_to_vote 45

// Start vote when first player reaches this level
lmv_gg_vote_level 15

// 1 = Only use GG Level Up for Vote, 0 = Use time if time happens before any player reaches the GG Level
lmv_no_time_vote_for_gg 1


// *********************
// ** Message Options **
// *********************

// Set to message types to use when Vote is Started
// Available options are chat, center, hudhint, toptext
// Separate each with ONLY a comma (no spaces)
lmv_start_vote_message_types "chat,center,hudhint,toptext"

// Set to message types to use to announce Vote Winner
// Available options are chat, center, hudhint, toptext
// Separate each with ONLY a comma (no spaces)
lmv_end_vote_message_types "chat,center,hudhint,toptext"

// Enable/Disable announcing each players vote to all other players
lmv_announce_each_vote 1

// Set to message types to use to announce Time Left to Vote
// Available options are chat, center, hudhint, toptext
// Separate each with ONLY a comma (no spaces)
lmv_time_left_message_types "center,hudhint"

// Place all number of seconds left to remind players to vote
// Separate each with only a comma. Set to "" to disable
lmv_time_left_seconds "30,10,5"

// Set to Red value for TopText. Must be integer from 0 - 255
lmv_top_red 255

// Set to Green value for TopText. Must be integer from 0 - 255
lmv_top_green 0

// Set to Blue value for TopText. Must be integer from 0 - 255
lmv_top_blue 0

// Set to number of seconds for Vote Announcements to last for CenterText and TopText
lmv_announce_time 5


// *******************
// ** Sound Options **
// *******************

// For all of the following, set to the sounds path relative to the /sound/ folder
// So, if you want to use /sound/ui/buttonclick.wav, set to "ui/buttonclick.wav"

// Sound to play when GamePlay Vote starts
lmv_sound_gameplay_start ""

// Sound to play when GamePlay Vote ends
lmv_sound_gameplay_end ""

// Sound to play when MapVote Vote starts
lmv_sound_mapvote_start ""

// Sound to play when MapVote Vote ends
lmv_sound_mapvote_end ""

// Sound to play when set to just pick random map
lmv_sound_random_map ""


// ****************************
// ** Script Manager Options **
// ****************************

// With Script Manager, you can have scripts loaded based on the GamePlay that wins the vote.
// You can also have cfg files executed based on the winning GamePlay
// For each script to be loaded for "any" gameplay, make sure to es_unload the script in your server.cfg

// Enable/Disable use of Script Manager for GamePlay
lmv_scripts_for_gameplay 0

// Set this to one of your GamePlay types. This is only used when es_load'ing looneymapvote to start out with a specific GamePlay
lmv_default_gameplay ""

Настриваем по своему вкусу если вы хотите что то изменить конешно.

Список карт настраиваеться в файле maptypes.ini(открываеться с блокнота)
Пример:
[Hostage]
0 = 'cs_assault'
1 = 'cs_compound'
2 = 'cs_havana'
3 = 'cs_italy'
4 = 'cs_militia'
5 = 'cs_office'
[GunGame Hostage]
0 = 'cs_italy'
1 = 'cs_office'
2 = 'cs_militia'
[Bombing]
0 = 'de_aztec'
1 = 'de_cbble'
2 = 'de_chateau'
3 = 'de_dust'
4 = 'de_dust2'
5 = 'de_inferno'
[GunGame Bombing]
0 = 'de_nuke'
1 = 'de_piranesi'
2 = 'de_port'
3 = 'de_prodigy'
4 = 'de_tides'
5 = 'de_train'


Автор публикации Nissan3501 | Комментариев: 3 | Заглянули 1472 
Hаписал: SaNDeR, 2 декабря 2009 01:04
Комментариев: 0 Новостей: 0

Гости
ICQ: --
в архиве только файл looneymapvote.py. Нет никакого maptypes.ini и lmv_config.cfg
Hаписал: Nissan3501, 2 декабря 2009 15:18
Комментариев: 1516 Новостей: 310

VIP
ICQ: --
а ты сервер запускал ?? перед тем как открыть папку.
Услуги элитного форумного телепата. Выезд. Дорого.

В планах:
1. Узнавание проблемы по никнейму пользователя.
2. Мысленное расставление знаков прeпинания и нахождение смысла.
3. Распознавание и перевод каббалистических фраз "у меня тут не втыкается", "реально что то глючит", "у меня лаги, лоси и лочки"
Hаписал: yora, 30 января 2010 16:52
Комментариев: 0 Новостей: 0

Гости
ICQ: --
У меня не пошло! dontknow
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии в данной новости.