Форумы на Наша-Life
Home user CP  
Календарь событий Найти других пользователей Часто задаваемые Вопросы Поиск  
Автор
Тема
Создать Новую Тему    Ответить
Alf-Life II
(Senior Member)

Зарегистрирован: Mar 2008
Проживает: Россия/
Написал: 2097 сообщений

Оценка: 51 Votes 51 чел.

Сообщение #1105606
Цитата:
А сильно отличается, если так запихивать?

Ну почти ничем, не считая того что приконнектиться к серверу решительно невозможно, несмотря на то что он виден в сервербраузере.
Спасибо, выручил!
Запрещается смотреть солдатам в глаза. Наносить ущерб собственности Альянса. Убивать комбайнов. Всегда носите при себе документы. Не поднимать шума после шести. И до шести, кстати, тоже.
Old Post 07-08-2015 20:53
Alf-Life II отсутствует Посмотреть данные 'Alf-Life II' Отправить Приватное Сообщение для 'Alf-Life II' Найти другие сообщения 'Alf-Life II' Добавить Alf-Life II в Список Друзей
Править/Удалить Сообщение Ответить с Цитированием
KekC (CS)
(Member)

Зарегистрирован: May 2013
Проживает: /
Написал: 61 сообщений

Оценка: 0 Votes

Сообщение #1106905
В Source sdk 2013 не распознаются собственные vpk файлы.
Папка test с модом лежит в Steam\steamapps\sourcemods\test.
В этой же папке test_dir.vpk и test_000.vpk

Gameinfo.txt такой:
Цитата:
"GameInfo"
{
game "test"
title "test"
title2 " "
type singleplayer_only
FileSystem
{
SteamAppId 243730 // This will mount all the GCFs we need (240=CS:S, 220=HL2).

// The code that loads this file automatically does a few things here:
//
// 1. For each "Game" search path, it adds a "GameBin" path, in <dir>\bin
// 2. For each "Game" search path, it adds another "Game" path in front of it with _<langage> at the end.
// For example: c:\hl2\cstrike on a french machine would get a c:\hl2\cstrike_french path added to it.
// 3. For the first "Game" search path, it adds a search path called "MOD".
// 4. For the first "Game" search path, it adds a search path called "DEFAULT_WRITE_PATH".
//

//
// Search paths are relative to the base directory, which is where hl2.exe is found.
//
// |gameinfo_path| points at the directory where gameinfo.txt is.
// We always want to mount that directory relative to gameinfo.txt, so
// people can mount stuff in c:\mymod, and the main game resources are in
// someplace like c:\program files\valve\steam\steamapps\half-life 2.
//
SearchPaths
{
// Now search loose files. We'll set the directory containing the gameinfo.txt file
// as the first "mod" search path (after any user customizations). This is also the one
// that's used when writing to the "mod" path.
game+mod+mod_write+default_write_path |gameinfo_path|.
gamebin |gameinfo_path|bin

// First, mount all user customizations. This will search for VPKs and subfolders
// and mount them in alphabetical order. The easiest way to distribute a mod is to
// pack up the custom content into a VPK. To "install" a mod, just drop it in this
// folder.
//
// Note that this folder is scanned only when the game is booted.
//game+mod sourcetest/custom/*

// We search VPK files before ordinary folders, because most files will be found in
// VPK and we can avoid making thousands of file system calls to attempt to open files
// in folders where they don't exist. (Searching a VPK is much faster than making an operating
// system call.)
game_lv hl2/hl2_lv.vpk
//game+mod ep2/ep2_sound_vo_english.vpk
//game+mod ep2/ep2_pak.vpk
//game |all_source_engine_paths|episodic/ep1_sound_vo_english.vpk
//game |all_source_engine_paths|episodic/ep1_pak.vpk
game+mod test/test_dir.vpk
game |all_source_engine_paths|hl2/hl2_sound_vo_english.vpk
game |all_source_engine_paths|hl2/hl2_pak.vpk
game |all_source_engine_paths|hl2/hl2_textures.vpk
game |all_source_engine_paths|hl2/hl2_sound_misc.vpk
game |all_source_engine_paths|hl2/hl2_misc.vpk
platform |all_source_engine_paths|platform/platform_misc.vpk

// Add the HL2 directory as a game search path. This is also where where writes
// to the "game" path go.
game+game_write test

// Where the game's binaries are
gamebin test/bin

// Last, mount in shared HL2 loose files
game |all_source_engine_paths|test
//game |all_source_engine_paths|sourcetest
game |all_source_engine_paths|hl2
platform |all_source_engine_paths|platform
}
}
}

Мой сайт, блог, видео карт: http://mapping-is.ru/html/BLOG.html
Мои карты: http://www.gamebanana.com/members/s...ons/maps/685265
Old Post 05-12-2015 10:17
KekC (CS) отсутствует Посмотреть данные 'KekC (CS)' Отправить Приватное Сообщение для 'KekC (CS)' Посетить домашнюю страничку KekC (CS) Найти другие сообщения 'KekC (CS)' Добавить KekC (CS) в Список Друзей
Править/Удалить Сообщение Ответить с Цитированием
HASL
(Telegram user)

Зарегистрирован: Mar 2011
Проживает: Россия/
Написал: 236 сообщений

Оценка: 8 Votes 8 чел.

Сообщение #1106906
Там ведь должно быть так:
game+mod |gameinfo_path|test_dir.vpk
Твой вариант может тоже будет работать. Однако этот вариант используют все моды, в которые я играл.
Old Post 05-12-2015 10:56
HASL отсутствует Посмотреть данные 'HASL' Отправить Приватное Сообщение для 'HASL' Найти другие сообщения 'HASL' Добавить HASL в Список Друзей
Править/Удалить Сообщение Ответить с Цитированием
KekC (CS)
(Member)

Зарегистрирован: May 2013
Проживает: /
Написал: 61 сообщений

Оценка: 0 Votes

Сообщение #1106909
Спасибо, заработало.

Как сделать и какая энтитя в source sdk 2013 служит для создания динамичных теней от солнца, как в ксго.
Мой сайт, блог, видео карт: http://mapping-is.ru/html/BLOG.html
Мои карты: http://www.gamebanana.com/members/s...ons/maps/685265
Old Post 05-12-2015 11:47
KekC (CS) отсутствует Посмотреть данные 'KekC (CS)' Отправить Приватное Сообщение для 'KekC (CS)' Посетить домашнюю страничку KekC (CS) Найти другие сообщения 'KekC (CS)' Добавить KekC (CS) в Список Друзей
Править/Удалить Сообщение Ответить с Цитированием
Sten
(Сеньёр Мембер)

Зарегистрирован: Oct 2007
Проживает: Далека/
Написал: 1829 сообщений

Оценка: 32 Votes 32 чел.

Developer Старожил 
Сообщение #1106917
сорс 2013 в принципе далек от ксго, есть глобальная тень Shadow_control, она сама по-себе.
Old Post 05-12-2015 18:33
Sten отсутствует Посмотреть данные 'Sten' Отправить Приватное Сообщение для 'Sten' Посетить домашнюю страничку Sten Найти другие сообщения 'Sten' Добавить Sten в Список Друзей
Править/Удалить Сообщение Ответить с Цитированием
Все время в GMT . Сейчас 22:13.
Создать Новую Тему    Ответить

Быстрый ответ
Ваше Имя:
Хотите Зарегистрироваться?
Ваш Пароль:
Забыли свой Пароль?
Вы можете оставлять свои комментарии анонимно, просто введя свои имя и оставив пустым поле пароля.
Ваш ответ:

[проверить размер]
[транслит в win] | [?]
[русская клавиатура]

Дополнительно: Подтверждение по E-Mail


Быстрый переход:
 
Оцените эту Тему:
 

Правила форума:
Создание Тем не разрешено
Создание Сообщений разрешено
Создавать Вложения не разрешено
Редактирование Сообщений не разрешено
Коды HTML запрещены
Коды форума разрешены
Смайлики разрешены
Коды [IMG] запрещены