|
Модострой:Вопросница
|
|
|
|
| Статус: |
 |
| Легенда: |
 |
| Сообщений: |
2258 |
| Награды: |
15 |
| Регистрация: |
05.04.2010 |
|
Задаем разные вопросы касательно создания модов.
|
|
Среда, 02.03.2011, 09:50
|
|
| Статус: |
 |
| Сообщений: |
666 |
| Регистрация: |
05.04.2010 |
|
|
|
|
|
|
XOBAH
Понедельник, 28.05.2012, 16:12 | Сообщение # 4591
Проект Смерти вопреки
| Статус: |
 |
| Неопытный: |
 |
| Сообщений: |
476 |
| Награды: |
0 |
| Регистрация: |
01.11.2010 |
|
Strel_ock, Путь нужно писать относительно папки meshes, т.б. meshes/ писать не нужно!
|
|
Понедельник, 28.05.2012, 16:12
|
|
| Статус: |
 |
| Сообщений: |
666 |
| Регистрация: |
01.11.2010 |
|
|
|
|
|
|
| Статус: |
 |
| Отмычка: |
 |
| Сообщений: |
160 |
| Награды: |
0 |
| Регистрация: |
23.05.2012 |
|
Quote (XOBAH) Путь нужно писать относительно папки meshes, т.б. meshes/ писать не нужно! ок,я сделал так:
//objects objects\dynamics\balon\balon_01 objects\dynamics\balon\bidon objects\dynamics\balon\balon_01 objects\dynamics\balon\bochka_close_1 objects\dynamics\balon\bochka_close_2 objects\dynamics\balon\bochka_close_3 objects\dynamics\balon\bochka_close_4 objects\dynamics\balon\bochka_fuel objects\dynamics\balon\bochka_open_1 objects\dynamics\balon\bochka_open_2 objects\dynamics\balon\bochka_open_3 objects\dynamics\balon\kanistra и опять же ничего((может у взрывных бочек/канистр другой путь?!
|
|
Понедельник, 28.05.2012, 16:31
|
|
| Статус: |
 |
| Сообщений: |
666 |
| Регистрация: |
23.05.2012 |
|
|
|
|
|
|
RICK
Понедельник, 28.05.2012, 16:53 | Сообщение # 4593
| Статус: |
 |
| Опытный: |
 |
| Сообщений: |
1205 |
| Награды: |
4 |
| Регистрация: |
10.05.2011 |
|
вылет когда пытаюсь заспавнить гг на припяти или перехожу с локации на припять
FATAL ERROR
[error]Expression : cross_table().header().game_guid() == game_graph().header().guid() [error]Function : CAI_Space::load [error]File : E:\stalker\patch_1_0004\xr_3da\xrGame\ai_space.cpp [error]Line : 121 [error]Description : graph doesn't correspond to the cross table
stack trace:
точки нетрогал раньше спокойно мог пройти мод по сюжету от начала до генераторов
|
|
Понедельник, 28.05.2012, 16:53
|
|
| Статус: |
 |
| Сообщений: |
666 |
| Регистрация: |
10.05.2011 |
|
|
|
|
|
|
| Статус: |
 |
| Бывалый: |
 |
| Сообщений: |
676 |
| Награды: |
1 |
| Регистрация: |
25.04.2012 |
|
Ребята, как сделать чтоб ГГ в ЗП если одеть противогаз, он в нем и т.д. вот скрипт, но не работает. -- Таблица секций брони, а также визуалов --[[ local visuals = { секция_брони = { секция_шлема = путь к моделе ... } ... } ]] -- Если шлем не нужен, то ничего не пишем
local visuals = { without_outfit = { helm_respirator = "actors\\stalker_hero\\dynamic_helmets\\without_outfit\\stalker_hero_without_outfit_respirator", helm_respirator_joker = "actors\\stalker_hero\\dynamic_helmets\\without_outfit\\stalker_hero_without_outfit_respirator", helm_hardhat = "actors\\stalker_hero\\dynamic_helmets\\without_outfit\\stalker_hero_without_outfit_hardhat", helm_hardhat_snag = "actors\\stalker_hero\\dynamic_helmets\\without_outfit\\stalker_hero_without_outfit_hardhat", helm_tactic = "actors\\stalker_hero\\dynamic_helmets\\without_outfit\\stalker_hero_without_outfit_tactic", helm_battle = "actors\\stalker_hero\\dynamic_helmets\\without_outfit\\stalker_hero_without_outfit_battle", helm_protective = "actors\\stalker_hero\\dynamic_helmets\\without_outfit\\stalker_hero_without_outfit_protective", }, novice_outfit = { helm_respirator = "actors\\stalker_hero\\dynamic_helmets\\black_cloak\\stalker_hero_black_cloak_respirator", helm_respirator_joker = "actors\\stalker_hero\\dynamic_helmets\\black_cloak\\stalker_hero_black_cloak_respirator", helm_hardhat = "actors\\stalker_hero\\dynamic_helmets\\black_cloak\\stalker_hero_black_cloak_hardhat", helm_hardhat_snag = "actors\\stalker_hero\\dynamic_helmets\\black_cloak\\stalker_hero_black_cloak_hardhat", helm_tactic = "actors\\stalker_hero\\dynamic_helmets\\black_cloak\\stalker_hero_black_cloak_tactic", helm_battle = "actors\\stalker_hero\\dynamic_helmets\\black_cloak\\stalker_hero_black_cloak_battle", helm_protective = "actors\\stalker_hero\\dynamic_helmets\\black_cloak\\stalker_hero_black_cloak_protective", }, stalker_outfit = { helm_respirator = "actors\\stalker_hero\\dynamic_helmets\\neutral_outfit\\stalker_hero_neutral_respirator", helm_respirator_joker = "actors\\stalker_hero\\dynamic_helmets\\neutral_outfit\\stalker_hero_neutral_respirator", helm_hardhat = "actors\\stalker_hero\\dynamic_helmets\\neutral_outfit\\stalker_hero_neutral_hardhat", helm_hardhat_snag = "actors\\stalker_hero\\dynamic_helmets\\neutral_outfit\\stalker_hero_neutral_hardhat", helm_tactic = "actors\\stalker_hero\\dynamic_helmets\\neutral_outfit\\stalker_hero_neutral_tactic", helm_battle = "actors\\stalker_hero\\dynamic_helmets\\neutral_outfit\\stalker_hero_neutral_battle", helm_protective = "actors\\stalker_hero\\dynamic_helmets\\neutral_outfit\\stalker_hero_neutral_protective", }, stalker_outfit_barge = { helm_respirator = "actors\\stalker_hero\\dynamic_helmets\\neutral_outfit\\stalker_hero_neutral_respirator", helm_respirator_joker = "actors\\stalker_hero\\dynamic_helmets\\neutral_outfit\\stalker_hero_neutral_respirator", helm_hardhat = "actors\\stalker_hero\\dynamic_helmets\\neutral_outfit\\stalker_hero_neutral_hardhat", helm_hardhat_snag = "actors\\stalker_hero\\dynamic_helmets\\neutral_outfit\\stalker_hero_neutral_hardhat", helm_tactic = "actors\\stalker_hero\\dynamic_helmets\\neutral_outfit\\stalker_hero_neutral_tactic", helm_battle = "actors\\stalker_hero\\dynamic_helmets\\neutral_outfit\\stalker_hero_neutral_battle", helm_protective = "actors\\stalker_hero\\dynamic_helmets\\neutral_outfit\\stalker_hero_neutral_protective", }, svoboda_light_outfit = { helm_respirator = "actors\\stalker_hero\\dynamic_helmets\\freedom_outfit\\stalker_hero_freedom_respirator", helm_respirator_joker = "actors\\stalker_hero\\dynamic_helmets\\freedom_outfit\\stalker_hero_freedom_respirator", helm_hardhat = "actors\\stalker_hero\\dynamic_helmets\\freedom_outfit\\stalker_hero_freedom_hardhat", helm_hardhat_snag = "actors\\stalker_hero\\dynamic_helmets\\freedom_outfit\\stalker_hero_freedom_hardhat", helm_tactic = "actors\\stalker_hero\\dynamic_helmets\\freedom_outfit\\stalker_hero_freedom_tactic", helm_battle = "actors\\stalker_hero\\dynamic_helmets\\freedom_outfit\\stalker_hero_freedom_battle", helm_protective = "actors\\stalker_hero\\dynamic_helmets\\freedom_outfit\\stalker_hero_freedom_protective", }, dolg_outfit = { helm_respirator = "actors\\stalker_hero\\dynamic_helmets\\dolg_outfit\\stalker_hero_dolg_respirator", helm_respirator_joker = "actors\\stalker_hero\\dynamic_helmets\\dolg_outfit\\stalker_hero_dolg_respirator", helm_hardhat = "actors\\stalker_hero\\dynamic_helmets\\dolg_outfit\\stalker_hero_dolg_hardhat", helm_hardhat_snag = "actors\\stalker_hero\\dynamic_helmets\\dolg_outfit\\stalker_hero_dolg_hardhat", helm_tactic = "actors\\stalker_hero\\dynamic_helmets\\dolg_outfit\\stalker_hero_dolg_tactic", helm_battle = "actors\\stalker_hero\\dynamic_helmets\\dolg_outfit\\stalker_hero_dolg_battle", helm_protective = "actors\\stalker_hero\\dynamic_helmets\\dolg_outfit\\stalker_hero_dolg_protective", }, cs_heavy_outfit = { helm_respirator = "actors\\stalker_hero\\dynamic_helmets\\cs_heavy_outfit\\stalker_hero_cs_heavy_respirator", helm_respirator_joker = "actors\\stalker_hero\\dynamic_helmets\\cs_heavy_outfit\\stalker_hero_cs_heavy_respirator", helm_hardhat = "actors\\stalker_hero\\dynamic_helmets\\cs_heavy_outfit\\stalker_hero_cs_heavy_hardhat", helm_hardhat_snag = "actors\\stalker_hero\\dynamic_helmets\\cs_heavy_outfit\\stalker_hero_cs_heavy_hardhat", helm_tactic = "actors\\stalker_hero\\dynamic_helmets\\cs_heavy_outfit\\stalker_hero_cs_heavy_tactic", helm_battle = "actors\\stalker_hero\\dynamic_helmets\\cs_heavy_outfit\\stalker_hero_cs_heavy_battle", helm_protective = "actors\\stalker_hero\\dynamic_helmets\\cs_heavy_outfit\\stalker_hero_cs_heavy_protective", }, svoboda_heavy_outfit = { helm_respirator = "actors\\stalker_hero\\dynamic_helmets\\freedom_heavy_outfit\\stalker_hero_freedom_heavy_respirator", helm_respirator_joker = "actors\\stalker_hero\\dynamic_helmets\\freedom_heavy_outfit\\stalker_hero_freedom_heavy_respirator", helm_hardhat = "actors\\stalker_hero\\dynamic_helmets\\freedom_heavy_outfit\\stalker_hero_freedom_heavy_hardhat", helm_hardhat_snag = "actors\\stalker_hero\\dynamic_helmets\\freedom_heavy_outfit\\stalker_hero_freedom_heavy_hardhat", helm_tactic = "actors\\stalker_hero\\dynamic_helmets\\freedom_heavy_outfit\\stalker_hero_freedom_heavy_tactic", helm_battle = "actors\\stalker_hero\\dynamic_helmets\\freedom_heavy_outfit\\stalker_hero_freedom_heavy_battle", helm_protective = "actors\\stalker_hero\\dynamic_helmets\\freedom_heavy_outfit\\stalker_hero_freedom_heavy_protective", }, specops_outfit = { helm_respirator = "actors\\stalker_hero\\dynamic_helmets\\specops_outfit\\stalker_hero_specops_respirator", helm_respirator_joker = "actors\\stalker_hero\\dynamic_helmets\\specops_outfit\\stalker_hero_specops_respirator", helm_hardhat = "actors\\stalker_hero\\dynamic_helmets\\specops_outfit\\stalker_hero_specops_hardhat", helm_hardhat_snag = "actors\\stalker_hero\\dynamic_helmets\\specops_outfit\\stalker_hero_specops_hardhat", helm_tactic = "actors\\stalker_hero\\dynamic_helmets\\specops_outfit\\stalker_hero_specops_tactic", helm_battle = "actors\\stalker_hero\\dynamic_helmets\\specops_outfit\\stalker_hero_specops_battle", helm_protective = "actors\\stalker_hero\\dynamic_helmets\\specops_outfit\\stalker_hero_specops_protective", }, military_outfit = { helm_respirator = "actors\\stalker_hero\\dynamic_helmets\\military_outfit\\stalker_hero_military_respirator", helm_respirator_joker = "actors\\stalker_hero\\dynamic_helmets\\military_outfit\\stalker_hero_military_respirator", helm_hardhat = "actors\\stalker_hero\\dynamic_helmets\\military_outfit\\stalker_hero_military_hardhat", helm_hardhat_snag = "actors\\stalker_hero\\dynamic_helmets\\military_outfit\\stalker_hero_military_hardhat", helm_tactic = "actors\\stalker_hero\\dynamic_helmets\\military_outfit\\stalker_hero_military_tactic", helm_battle = "actors\\stalker_hero\\dynamic_helmets\\military_outfit\\stalker_hero_military_battle", helm_protective = "actors\\stalker_hero\\dynamic_helmets\\military_outfit\\stalker_hero_military_protective", }, dolg_heavy_outfit = { helm_respirator = "actors\\stalker_hero\\dynamic_helmets\\dolg_heavy_outfit\\stalker_hero_dolg_heavy_respirator", helm_respirator_joker = "actors\\stalker_hero\\dynamic_helmets\\dolg_heavy_outfit\\stalker_hero_dolg_heavy_respirator", helm_hardhat = "actors\\stalker_hero\\dynamic_helmets\\dolg_heavy_outfit\\stalker_hero_dolg_heavy_hardhat", helm_hardhat_snag = "actors\\stalker_hero\\dynamic_helmets\\dolg_heavy_outfit\\stalker_hero_dolg_heavy_hardhat", helm_tactic = "actors\\stalker_hero\\dynamic_helmets\\dolg_heavy_outfit\\stalker_hero_dolg_heavy_tactic", helm_battle = "actors\\stalker_hero\\dynamic_helmets\\dolg_heavy_outfit\\stalker_hero_dolg_heavy_battle", helm_protective = "actors\\stalker_hero\\dynamic_helmets\\dolg_heavy_outfit\\stalker_hero_dolg_heavy_protective", }, }
local otf local helm local curent_vis local helm_tbl local new_model
function update() otf = db.actor:item_in_slot(7) helm = db.actor:item_in_slot(12) curent_vis = db.actor:get_visual_name()
if otf==nil and helm==nil then db.actor:set_visual_name("actors\\stalker_hero\\stalker_hero_degterev_sviter") return end
if otf~=nil and helm==nil then local otf_vis_name = str_explode(".", get_ltx(otf:section(), "actor_visual", "str"))[1] if otf_vis_name~=curent_vis then db.actor:set_visual_name(otf_vis_name) end else ------------------------------------- if otf==nil and helm~=nil then helm_tbl = visuals["without_outfit"] else helm_tbl = visuals[otf:section()] end if helm_tbl~=nil then new_model = helm_tbl[helm:section()] if new_model~=nil then if new_model~=curent_vis then db.actor:set_visual_name(new_model) end end end ------------------------------------- end
end
-- Получить строку из LTX файла function get_ltx(l_name,l_string,type) if system_ini():section_exist(l_name) and system_ini():line_exist(l_name, l_string) then
if type=="bol" then return system_ini():r_bool(l_name, l_string) end if type=="num" then -- целое число return tonumber(system_ini():r_u32(l_name, l_string)) end if type=="num_float" then -- число с запятой return tonumber(system_ini():r_float(l_name, l_string)) end if type=="str" then return tostring(system_ini():r_string(l_name, l_string)) end if type==nil then return system_ini():r_u32(l_name, l_string) end
end
return nil end
function str_explode(div,str,pos1,pos2,clear, conv) local t={} local cpt, pos
if pos1 == nil then pos1 = 1 end if pos2 == nil then pos2 = pos1 end
local cpt1 = string.find (str, div, pos1, true) local cpt2 = string.find (str, div, pos2, true)
if cpt1 and cpt2 then
if cpt2-cpt1 > 5 then cpt = cpt1 pos = pos1 else cpt = cpt2 pos = pos2 end
repeat if clear then table.insert( t, trim(string.sub(str, 1, cpt-1)) ) else table.insert( t, string.sub(str, 1, cpt-1) ) end str = string.sub( str, cpt+string.len(div) ) cpt = string.find (str, div, pos, true) until cpt==nil end if clear then table.insert(t, trim(str)) else table.insert(t, str) end
if conv then t = convert_tbl(t) end
return t end
|
|
Понедельник, 28.05.2012, 17:02
|
|
| Статус: |
 |
| Сообщений: |
666 |
| Регистрация: |
25.04.2012 |
|
|
|
|
|
|
| Статус: |
 |
| Отмычка: |
 |
| Сообщений: |
137 |
| Награды: |
0 |
| Регистрация: |
28.05.2012 |
|
Заранее извиняюсь за свой нубовопрос... Как я понимаю, некоторые из перечисленных тут программ(ниже ссылка) позволяют конвертить игровые уровни в .level формат: http://stalkerin.gameru.net/modules....cid=16? Качал, пытался запустить, но... У меня они почему-то не работают, то есть прога запускается и тут же закрывается, может это из-за Windows 7, я хз... Так вот какой у меня вопрос, есть ли действительно способ, например, конвертировать Лиманск таким образом, чтобы потом отредактировать его в LevelEditor'e, если да, то как? PS. Если для этого нужны проги, указанные в ссылке(а они у меня не работают), то может ли кто-нибудь выложить карты из ЧН на народе или еще где-нибудь? У кого вообще есть такая возможность: выкладывать уровни из S.T.S.L.K.E.R.'a? Кто протянет руку помощи бедному? Я не отказался бы и от локаций ТЧ(в дополнение к ЧН). Буду очень признателен за помощь в этом вопросе, даже за адекватный и полный ответ на мой вопрос.
Сообщение отредактировал Frank9945671 - Понедельник, 28.05.2012, 19:00
|
|
Понедельник, 28.05.2012, 18:52
|
|
| Статус: |
 |
| Сообщений: |
666 |
| Регистрация: |
28.05.2012 |
|
|
|
|
|
|
| Статус: |
 |
| Бывалый: |
 |
| Сообщений: |
676 |
| Награды: |
1 |
| Регистрация: |
25.04.2012 |
|
Frank9945671, проверь на вирусы комп, у меня из-за этого так бывает. Или установи фрэймворк последней версии. И вообще, проги не батники случаем?? Попробуй фаил в папку с прогой закинь и запусти прогу или на сам ярлык проги.
|
|
Понедельник, 28.05.2012, 19:16
|
|
| Статус: |
 |
| Сообщений: |
666 |
| Регистрация: |
25.04.2012 |
|
|
|
|
|
|
| Статус: |
 |
| Отмычка: |
 |
| Сообщений: |
137 |
| Награды: |
0 |
| Регистрация: |
28.05.2012 |
|
Novellus, там файл converter.exe, а вирусов быть не должно, ибо у меня стоит Касперский, файл конвертера уже пытался закинуть и в редактор, и в папку с игрой, и просто кинул на рабочий стол - все одна фигня - он вроде запускает файл, а потом типа закрывает его или там как-то настраивать специальным образом надо, я пока не догоняю технологию. А ты сам конвертил карты?
|
|
Понедельник, 28.05.2012, 19:36
|
|
| Статус: |
 |
| Сообщений: |
666 |
| Регистрация: |
28.05.2012 |
|
|
|
|
|
|
| Статус: |
 |
| Бывалый: |
 |
| Сообщений: |
676 |
| Награды: |
1 |
| Регистрация: |
25.04.2012 |
|
Frank9945671, попробуй converter.exe открыть блокнотом, если получится, скопируй что там и здесь вставь. Посмотрим что что сделать. Либо под семеркой не робит. Карты не конвертил, конвертил оллспавн и все такое, думаю принцип тот же. Конвертеры чьи, Бардака??
|
|
Понедельник, 28.05.2012, 19:47
|
|
| Статус: |
 |
| Сообщений: |
666 |
| Регистрация: |
25.04.2012 |
|
|
|
|
|
|
| Статус: |
 |
| Отмычка: |
 |
| Сообщений: |
137 |
| Награды: |
0 |
| Регистрация: |
28.05.2012 |
|
Novellus, конвертер Бардака. Вот содержимое файла будет проблематично выложить, так как там туча непонятных символов в перемешку с редкими названиями(типа язык программирования или что-то в этом роде, так что если я выложу содержимое, то боюсь, что это займет всю страницу на сайте). А можешь описать технологию, по которой ты конвертил оллспавн: куда копировал, как использовал и т.п.?
|
|
Понедельник, 28.05.2012, 19:56
|
|
| Статус: |
 |
| Сообщений: |
666 |
| Регистрация: |
28.05.2012 |
|
|
|
|
|
|
| Статус: |
 |
| Бывалый: |
 |
| Сообщений: |
676 |
| Награды: |
1 |
| Регистрация: |
25.04.2012 |
|
Frank9945671, погодь, качну твои проги, попробую.Добавлено (28.05.2012, 20:00) --------------------------------------------- Frank9945671, кинь проги сюды.
|
|
Понедельник, 28.05.2012, 20:00
|
|
| Статус: |
 |
| Сообщений: |
666 |
| Регистрация: |
25.04.2012 |
|
|
|
|
|
|
RICK
Понедельник, 28.05.2012, 20:03 | Сообщение # 4601
| Статус: |
 |
| Опытный: |
 |
| Сообщений: |
1205 |
| Награды: |
4 |
| Регистрация: |
10.05.2011 |
|
я спокойно декомпилировал карты в формат le если ты об этом
|
|
Понедельник, 28.05.2012, 20:03
|
|
| Статус: |
 |
| Сообщений: |
666 |
| Регистрация: |
10.05.2011 |
|
|
|
|
|
|
| Статус: |
 |
| Бывалый: |
 |
| Сообщений: |
676 |
| Награды: |
1 |
| Регистрация: |
25.04.2012 |
|
Kail, мне интересно что у него не получается, может у меня тоже не получится)) Пока подобных проблем не возникало.
Сообщение отредактировал Novellus - Понедельник, 28.05.2012, 20:05
|
|
Понедельник, 28.05.2012, 20:05
|
|
| Статус: |
 |
| Сообщений: |
666 |
| Регистрация: |
25.04.2012 |
|
|
|
|
|
|
| Статус: |
 |
| Отмычка: |
 |
| Сообщений: |
137 |
| Награды: |
0 |
| Регистрация: |
28.05.2012 |
|
Там, кстати говоря, инструкция есть, но не достаточно подробная, но, как я понял, нужно запустить конвертер и ввести специальную команду - тогда карта начнет конвертиться - а как я и сказал выше, конвертер запускается и тут же закрывается, словно какое-то прописанное действие выполнено или отменено.
|
|
Понедельник, 28.05.2012, 20:05
|
|
| Статус: |
 |
| Сообщений: |
666 |
| Регистрация: |
28.05.2012 |
|
|
|
|
|
|
| Статус: |
 |
| Бывалый: |
 |
| Сообщений: |
676 |
| Награды: |
1 |
| Регистрация: |
25.04.2012 |
|
Frank9945671, кинь мне свой конвертер.
|
|
Понедельник, 28.05.2012, 20:06
|
|
| Статус: |
 |
| Сообщений: |
666 |
| Регистрация: |
25.04.2012 |
|
|
|
|
|
|
| Статус: |
 |
| Отмычка: |
 |
| Сообщений: |
137 |
| Награды: |
0 |
| Регистрация: |
28.05.2012 |
|
http://stalkerin.gameru.net/modules....lid=284 - одна из ссылок, по которой я качал конвертер(я качал несколько версий с разных ссылок).Добавлено (28.05.2012, 20:12) --------------------------------------------- Другая ссылка: http://stalkerin.gameru.net/modules....lid=269 Добавлено (28.05.2012, 20:13) --------------------------------------------- Kail, то есть ты декомпилировал карты в формат .level и потом открывал их в LevelEditor'e?
|
|
Понедельник, 28.05.2012, 20:13
|
|
| Статус: |
 |
| Сообщений: |
666 |
| Регистрация: |
28.05.2012 |
|
|
|
|