Правила форума Гаранты форума
Размещение рекламы AMX-X компилятор

Здравствуйте, гость Вход | Регистрация

Наши новости:

14-дек
24-апр
10-апр
11-апр

> Правила форума

Этот раздел, как вы могли заметить по названию, предназначен для решения вопросов по поводу уже существующих модов и плагинов.
Пожалуйста, если у вас проблема с написанием плагина, не путайте этот раздел с разделом по скриптингу.
Для поиска плагинов и модов существует соответствующий раздел.

Название темы должно соответствовать содержанию. Темы с названием типа "Помогите", "Вопрос", "парни подскажите..." - будут удалены.
Все темы, не относящиеся к "Вопросам по модам и плагинам", будут удалены или перемещены в соответствующий раздел.

Правила оформления темы:
1. Помимо заголовка не забудьте верно сформулировать свой вопрос.
2. Выложите исходник (в тег кода + ) или ссылку на плагин который вызывает у вас вопросы.
3. Выложите лог с ошибками (если имеется) под спойлер

Оружие Pod ботов, настройка

, HELP!
Статус пользователя qazzaq123
сообщение 13.6.2012, 18:18
Сообщение #1
Стаж: 13 лет

Сообщений: 6
Благодарностей: 1
Полезность: 0

Вообщем всем привет! Нужна ваша помощь.
Что мы имеем - Локальный сервер, CSDM 2.1.2, PodBot 3.0B15c.
При заходе на сервер создаются 20 Т ботов, я захожу за СТ собственно.
Цитата
pb_bot_quota_match 20
pb_bot_join_team "T"

Все вроде нормально, но: Как сделать ограничение на оружие, чтобы использовался только KNIFE в файле botweapons.cfg или по другому?
Цитата
# This File holds some Tables for buying of weapons
# and configuration of Weapon Prefs for Personalities
#
# The Tables start from the least desired Weapon
# to the best.
# BE EXTREMELY CAREFULL WITH THESE TABLES BECAUSE A WRONG NUMBER
# OF ENTRIES OR A SCREWED UP FORMAT CAN EASILY CRASH POD, THERE'S
# NO ERROR PARSING DONE!

# Numbering of the weapons:
# 0 - KNIFE
# 1 - USP
# 2 - GLOCK18
# 3 - DEAGLE
# 4 - P228
# 5 - ELITE
# 6 - FIVESEVEN
# 7 - M3
# 8 - XM1014
# 9 - MP5NAVY
# 10 - TMP
# 11 - P90
# 12 - MAC10
# 13 - UMP45
# 14 - AK47
# 15 - SG552
# 16 - M4A1
# 17 - GALIL
# 18 - FAMAS
# 19 - AUG
# 20 - SCOUT
# 21 - AWP
# 22 - G3SG1
# 23 - SG550
# 24 - M249
# 25 - SHIELD

# Following are Tables which specify which Team is allowed
# to buy a weapon on a Map. You can also use it to allow/disallow
# Weapons for a Team or a Map/Gamemode (remember that some
# Weapons are team-specific and can't be bought by another team).
# -1 = Disallow Buying for any Team
# 0 = Terrorist Team only
# 1 = CT Team only
# 2 = Can be bought by both Teams
# Standard Weapon Tab for CS & DE Maps
#0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
[STANDARD]
-1,-1,-1,02,02,00,01,02,02,02,01,02,00,02,00,00,01,00,01,01,02,02,00,01,02,01


# Weapon Tab for AS Maps
[AS]
#0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
-1,-1,-1,02,02,00,01,01,01,01,01,01,00,02,00,-1,01,00,01,01,00,00,-1,01,01,01

# Escape & Knife Arena Maps aren't supported by CS and
# so I don't care about them in POD-Bot neither !

# Some example Tables:
# Pistols Only
#-1,-1,-1,2,2,0,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
# Shotguns Only
#-1,-1,-1,-1,-1,-1,-1,2,2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
# SubMachine-Guns Only
#-1,-1,-1,-1,-1,-1,-1,-1,-1,2,1,2,0,2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1


# The following Tables stores the Weapon Priorities of the Bots depending on
# Personality (it affects buying & picking up better weapons from the
# ground).

# Weapon Priorities for a Normal Standard Bot
#0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
[NORMAL]
00,02,01,04,05,06,03,12,10,24,25,13,11,08,07,22,23,18,21,20,19,15,17,09,14,16

# Weapon Priorities for an Agressive Bot
#0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
[AGRESSIVE]
00,02,01,04,05,06,03,24,19,22,23,20,21,10,12,13,07,08,11,09,18,17,19,15,16,14

# Weapon Priorities for a Defensive Bot
#0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
[DEFENSIVE]
00,02,01,04,05,06,03,07,08,12,10,13,11,09,24,18,14,17,16,15,19,20,21,22,23,25


Вот как заполнил я:
Цитата
# This File holds some Tables for buying of weapons
# and configuration of Weapon Prefs for Personalities
#
# The Tables start from the least desired Weapon
# to the best.
# BE EXTREMELY CAREFULL WITH THESE TABLES BECAUSE A WRONG NUMBER
# OF ENTRIES OR A SCREWED UP FORMAT CAN EASILY CRASH POD, THERE'S
# NO ERROR PARSING DONE!

# Numbering of the weapons:
# 0 - KNIFE
# 1 - USP
# 2 - GLOCK18
# 3 - DEAGLE
# 4 - P228
# 5 - ELITE
# 6 - FIVESEVEN
# 7 - M3
# 8 - XM1014
# 9 - MP5NAVY
# 10 - TMP
# 11 - P90
# 12 - MAC10
# 13 - UMP45
# 14 - AK47
# 15 - SG552
# 16 - M4A1
# 17 - GALIL
# 18 - FAMAS
# 19 - AUG
# 20 - SCOUT
# 21 - AWP
# 22 - G3SG1
# 23 - SG550
# 24 - M249
# 25 - SHIELD

# Following are Tables which specify which Team is allowed
# to buy a weapon on a Map. You can also use it to allow/disallow
# Weapons for a Team or a Map/Gamemode (remember that some
# Weapons are team-specific and can't be bought by another team).
# -1 = Disallow Buying for any Team
# 0 = Terrorist Team only
# 1 = CT Team only
# 2 = Can be bought by both Teams
# Standard Weapon Tab for CS & DE Maps
#0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
[STANDARD]
2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1


# Weapon Tab for AS Maps
[AS]
#0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1

# Escape & Knife Arena Maps aren't supported by CS and
# so I don't care about them in POD-Bot neither !

# Some example Tables:
# Pistols Only
#-1,-1,-1,2,2,0,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
# Shotguns Only
#-1,-1,-1,-1,-1,-1,-1,2,2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
# SubMachine-Guns Only
#-1,-1,-1,-1,-1,-1,-1,-1,-1,2,1,2,0,2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1


# The following Tables stores the Weapon Priorities of the Bots depending on
# Personality (it affects buying & picking up better weapons from the
# ground).

# Weapon Priorities for a Normal Standard Bot
#0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
[NORMAL]
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00

# Weapon Priorities for an Agressive Bot
#0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
[AGRESSIVE]
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00

# Weapon Priorities for a Defensive Bot
#0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
[DEFENSIVE]
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   Цитировать сообщение
Статус пользователя qazzaq123
сообщение 13.6.2012, 19:43
Сообщение #2
Стаж: 13 лет

Сообщений: 6
Благодарностей: 1
Полезность: 0

up
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   + Цитировать сообщение
Статус пользователя C1_
сообщение 14.6.2012, 0:02
Сообщение #3


Стаж: 18 лет

Сообщений: 978
Благодарностей: 401
Полезность: 830

Цитата
# Weapons, equipment and ammo restriction (for buying)
# bit numbers meaning - the left one is the 0 in that string cvar
# Pistols restriction
# 0 - KNIFE
# 1 - USP
# 2 - GLOCK18
# 3 - DEAGLE
# 4 - P228
# 5 - ELITE
# 6 - FIVESEVEN
# Shotgun restrictions
# 7 - M3
# 8 - XM1014
# SMG restrictions
# 9 - MP5NAVY
# 10 - TMP
# 11 - P90
# 12 - MAC10
# 13 - UMP45
# Rifles restrictions
# 14 - AK47
# 15 - SG552
# 16 - M4A1
# 17 - GALIL
# 18 - FAMAS
# 19 - AUG
# 20 - SCOUT
# 21 - AWP
# 22 - G3SG1
# 23 - SG550
# Machine Gun restriction
# 24 - M249
# Shield restriction
# 25 - SHIELD
pb_restrweapons "00000000000000000000000000"


pb_restrweapons "01111111111111111111111111"

podbot.cfg
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   + Цитировать сообщение
Статус пользователя qazzaq123
сообщение 14.6.2012, 0:19
Сообщение #4
Стаж: 13 лет

Сообщений: 6
Благодарностей: 1
Полезность: 0

Не помогло...
podbot.cfg
Цитата
pb_wptfolder wptdefault
pb_welcomemsgs 0
pb_usespeech 0
pb_minbots 0
pb_maxbots 32
pb_bot_quota_match 20
pb_bot_join_team "T"
pb_timer_sound 0.5
pb_timer_pickup 0.3
pb_timer_grenade 0.5
pb_spray 0
pb_shootthruwalls 1
pb_passwordkey "_pbadm"
pb_password "qwerty"
pb_numfollowuser 5
pb_minbotskill 99
pb_maxbotskill 100
pb_maxweaponpickup 0
pb_mapstartbotdelay 0
pb_autokill 0
pb_autokilldelay 45
pb_jasonmode 0
pb_detailnames 0
pb_dangerfactor 800
pb_chat 0
pb_aim_type 1
# 1 = inhuman turns, 2 = constant angle velocity, 3 = botaim1, 4 = botaim2
bind "=" "pb menu"
pb_aim_spring_stiffness_x 13.0
pb_aim_spring_stiffness_y 13.0
pb_aim_damper_coefficient_x 0.22
pb_aim_damper_coefficient_y 0.22
pb_aim_deviation_x 2.0
pb_aim_deviation_y 1.0
pb_aim_influence_x_on_y 0.25
pb_aim_influence_y_on_x 0.17
pb_aim_offset_delay 1.2
pb_aim_notarget_slowdown_ratio 0.5
pb_aim_target_anticipation_ratio 2.2
# Weapons, equipment and ammo restriction (for buying)
# bit numbers meaning - the left one is the 0 in that string cvar
# Pistols restriction
# 0 - KNIFE
# 1 - USP
# 2 - GLOCK18
# 3 - DEAGLE
# 4 - P228
# 5 - ELITE
# 6 - FIVESEVEN
# Shotgun restrictions
# 7 - M3
# 8 - XM1014
# SMG restrictions
# 9 - MP5NAVY
# 10 - TMP
# 11 - P90
# 12 - MAC10
# 13 - UMP45
# Rifles restrictions
# 14 - AK47
# 15 - SG552
# 16 - M4A1
# 17 - GALIL
# 18 - FAMAS
# 19 - AUG
# 20 - SCOUT
# 21 - AWP
# 22 - G3SG1
# 23 - SG550
# Machine Gun restriction
# 24 - M249
# Shield restriction
# 25 - SHIELD
pb_restrweapons "01111111111111111111111111"
# 0 - vest
# 1 - vest and helmet
# 2 - flashbang
# 3 - he grenade
# 4 - smoke grenade
# 5 - defuser
# 6 - night vision googles
# 7 - primary ammo
# 8 - secondary ammo
pb_restrequipammo "000000000"
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   + Цитировать сообщение
Статус пользователя qazzaq123
сообщение 14.6.2012, 10:31
Сообщение #5
Стаж: 13 лет

Сообщений: 6
Благодарностей: 1
Полезность: 0

up
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   + Цитировать сообщение
Статус пользователя qazzaq123
сообщение 14.6.2012, 16:50
Сообщение #6
Стаж: 13 лет

Сообщений: 6
Благодарностей: 1
Полезность: 0

up
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   + Цитировать сообщение
Статус пользователя qazzaq123
сообщение 15.6.2012, 14:59
Сообщение #7
Стаж: 13 лет

Сообщений: 6
Благодарностей: 1
Полезность: 0

aп
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   + Цитировать сообщение
  Тема закрытаНачать новую тему
 
0 пользователей и 1 гостей читают эту тему: