![]() |
Показать все 22 сообщений этой темы на одной странице |
HLFX.Ru Forum (https://hlfx.ru/forum/index.php)
- Half-Life SDK (https://hlfx.ru/forum/forumdisplay.php?forumid=8)
-- Как адаптировать ботов у чужим модам? (https://hlfx.ru/forum/showthread.php?threadid=2681)
Как адаптировать ботов у чужим модам?
У меня есть мод Existence v1.4. Я поставил его под Half-Life 1.1.1.0. Сначала не хотел запускаться, потом поставил режим совместимости с 98-м и норм.
Играем с другом, но хотелось бы ботов добавить для мяса. Скачал Акимботов, поставил, а тут HUD пропал. И они заходят только за одну команду и висят в спектах. Один кое-как зашел, да и то бегает туда-сюда. Потому сделал вейпоинты, но он не особо реагирует на него - еле вышел из комнаты. Также ставил Паработов с метамодом, но он крепко висит в спектах, и не желает заходить в команды.
Собственно вопрос: возможно ли адаптировать какого-нибудь бота для чужого мода, чтобы он более-менее играл? Если да, то как?
Я вот подумал, что бот скорее всего не знает энтитей оружия, респавна игроков, патронов, и специально с помощью депенденси выдрал энтитишки. Я сам не кодер, а маппер, и из кодинга получилось только поменять цвет HUD'а и лазера мины. Очень прошу помочь реализовать это дело.
__________________
Спасибо за столь быстрый ответ, но для меня "пишешь недостающий код использования оружия" это целая эпопея получится. У меня с кодингом все настолько плохо, что без хорошего сэнсея и подробного объяснения никак. Но все таки попробую разобраться. Если пойму как нормально делать это, буду лепить их ко многим модам)
Чем его редактировать? Тем же 6-м студио? Или чем-то другим? Можно поподробнее? )
KorteZZ
Да, 6 студия.
Кодить оружие там не сложно, ибо там уже куча всего есть - из халфы, опфора и т.п. Остается только выбирать наиболее похожие пушки и делать по аналогии.
__________________
У меня тоже вопросик. Вот запилил ботов в Параною. Запустил - вылетело. Непонимаю, как могут играть боты, если мы заменяем Длл? И как вобщем к Параное прикрутить ботов?
__________________
How interesting, just look at that!
© Scientist
__________________
XaeroX Правда, я готовый бот скачал. Как на Параною ботов то поставить?
__________________
How interesting, just look at that!
© Scientist
__________________
My Projects: download page
F.A.Q по XashNT
Блог разработчика в телеграме
C:\DOCUME~1\C4C5~1\LOCALS~1\Temp\a33328if(72) : see declaration of 'size_t'
хм... насколько я понял, надо перенести монстров+оружие+изменения в дллку бота (простите если туплю, просто сорцы ботов в глаза не видел)
Просто перенести, я прав?
__________________
Ха, тюремный автомобиль!!!
Ιερά λάμδα
Quisque moritur Gordon sinistram. Alex Gordon.
__________________
My Projects: download page
F.A.Q по XashNT
Блог разработчика в телеграме
C:\DOCUME~1\C4C5~1\LOCALS~1\Temp\a33328if(72) : see declaration of 'size_t'
Дядя Миша ну поленился я чутка, простите. Щас уже глянул, да, так оно и есть
__________________
Ха, тюремный автомобиль!!!
Ιερά λάμδα
Quisque moritur Gordon sinistram. Alex Gordon.
для HPB и паработа сорцы есть 100%.
__________________
My Projects: download page
F.A.Q по XashNT
Блог разработчика в телеграме
C:\DOCUME~1\C4C5~1\LOCALS~1\Temp\a33328if(72) : see declaration of 'size_t'
А какой бот лучше? НРВ или Паработ? У кого что лучше получается? И кто под что заточен?
Мне паработ не понравился, очень уж тупит он в ОИ. Хотя, возможно, это мои косяки переноса или специфика другого движка. А в халфе я с паработом не играл.
ХПБ вполне годный бот для ДМ, в другиз режимах опять же не играл.
__________________
__________________
My Projects: download page
F.A.Q по XashNT
Блог разработчика в телеграме
C:\DOCUME~1\C4C5~1\LOCALS~1\Temp\a33328if(72) : see declaration of 'size_t'
Дядя Миша Чёт не найду таковых... А можно без адаптации - т.е. чтобы они были тупыми созданиями ходящими взад вперёд?
__________________
How interesting, just look at that!
© Scientist
__________________
My Projects: download page
F.A.Q по XashNT
Блог разработчика в телеграме
C:\DOCUME~1\C4C5~1\LOCALS~1\Temp\a33328if(72) : see declaration of 'size_t'
У меня что-то не получается. Скачал HPB10, а он играет только Half-Life. Он сам отдельно мод. По типу Jumbot. Потому скачал исходники HPB bot (которая плагин для метамода), визуалку, кое-что отредактировал, насколько мог, и жму F7. И внизу появляется:
--------------------Configuration: HPB_bot_mm - Win32 Release--------------------
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\waypoint.cpp(21): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\waypoint.cpp(22): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\waypoint.cpp(23): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\waypoint.cpp(24): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\util.cpp(28): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\util.cpp(29): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\util.cpp(30): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\util.cpp(31): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\util.cpp(33): Could not find the file usercmd.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\h_export.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\h_export.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\h_export.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\h_export.cpp(16): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\engine.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\engine.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\engine.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\engine.cpp(16): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\dll.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\dll.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\dll.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\dll.cpp(16): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\dll.cpp(17): Could not find the file entity_state.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_start.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_start.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_start.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_start.cpp(16): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_navigate.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_navigate.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_navigate.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_navigate.cpp(16): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_models.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_models.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_models.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_models.cpp(16): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_models.cpp(26): Could not find the file dirent.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_combat.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_combat.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_combat.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_combat.cpp(16): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_client.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_client.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_client.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_client.cpp(16): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_chat.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_chat.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_chat.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_chat.cpp(16): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot.cpp(16): Could not find the file meta_api.h.
Compiling...
bot.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_chat.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_chat.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_client.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_client.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_combat.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_combat.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_models.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_models.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_navigate.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_navigate.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_start.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_start.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
dll.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\dll.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
engine.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\engine.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
h_export.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\h_export.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
util.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\util.cpp(28) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
waypoint.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\waypoint.cpp(21) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
Error executing cl.exe.
HPB_bot_mm.dll - 12 error(s), 0 warning(s)
То же самое происходит и при попытке компиляции исходника без изменений.
Не хватает исходников метамода? Или я не так установил студио?
KorteZZ эээ. Ну у тебя он походу требует файлы из метамода.
Добавлено 11-03-2011 в 22:40:
Так и есть. Все ошибки о том что файл не найден.
__________________
-Brain is dead-
Такс, скачал исходники метамода и залвы, поставил, часть ошибок исчезла, но осталась нижняя часть:
--------------------Configuration: HPB_bot_mm - Win32 Release--------------------
Compiling...
bot.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_chat.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_chat.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_client.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_client.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_combat.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_combat.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_models.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_models.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_navigate.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_navigate.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_start.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_start.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
dll.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\dll.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
engine.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\engine.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
h_export.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\h_export.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
util.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\util.cpp(28) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
waypoint.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\waypoint.cpp(21) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
Error executing cl.exe.
HPB_bot_mm.dll - 12 error(s), 0 warning(s)
Я вот не понимаю, почему он ищет в файле? Ладно, если в папке. Всякое делал, но так и не смог устранить это дело. Как быть? Что посоветуете?
Пути к хлсдк ему надо прописать, видимо. Это в опциях, Additional Include Directories.
Либо ставить ботов в папку с хлсдк (но не факт, что они не перезапишут как-ие-то имеющиеся файлы, так что осторожнее).
__________________
Хмм, что-то не получается. Везде всякое прописывал, в переменных средах системы, в свойствах проекта в закладке MIDL, в С/С++ project options, в Tools\ Options\directories. Не помогает. Скорее всего я сам что-то не так пишу. Помогите плз. Очень уж охота сотворить что-нибудь дельное.
__________________
Killing Floor: Horzine Outbreak
Временная зона GMT. Текущее время 01:40. | Показать все 22 сообщений этой темы на одной странице |
На основе vBulletin версии 2.3.0
Авторское право © Jelsoft Enterprises Limited 2000 - 2002.
Дизайн и программирование: Crystice Softworks © 2005 - 2024