Перейти к контенту

[SoC] Вопросы по SDK


faniloko

Рекомендуемые сообщения

@Купер, попробывал просто заменить этот файл на оригинальный, теперь такое выкидывает.

Скрытый текст

* Detected CPU: GenuineIntel P3 family, F6/M14/S10, 2304.00 mhz, 29-clk 'rdtsc'
* CPU Features: RDTSC, MMX, SSE, SSE2

Initializing File System...
'xrCore' build 0, (null)

RegisterCommand: command '(null)' overridden by command '(null)'.
* ImageLibrary version: 3.10.0
* 26 supported formats
Starting RENDER device...
* GPU [vendor:10DE]-[device:1D10]: NVIDIA GeForce MX150
* GPU driver: 27.21.14.5749
* CREATE: DeviceREF: 1
* Vertex Processor: PURE HARDWARE
*     Texture memory: 4094 M
*          DDI-level: 9.0
* GPU shading: vs(fffe0300/3.0/30), ps(ffff0300/3.0/30)
* GPU vertex cache: unrecognized, 16
* DVB created: 2048K
* DIB created: 2048K
! Version conflict in shader 'def_shaders\def_vertex'
! Version conflict in shader 'def_shaders\def_vertex_hm'
! Version conflict in shader 'def_shaders\def_vertex_pn'
! Version conflict in shader 'def_shaders\def_vertex_pn_hm'
! Version conflict in shader 'default'
! Version conflict in shader 'default_hm'
! Version conflict in shader 'default_pn'
! Version conflict in shader 'default_pn_hm'
! Version conflict in shader 'effects\lightplanes'
! Version conflict in shader 'models\lightplanes'
! Version conflict in shader 'models\model'
! Version conflict in shader 'models\model_aref'
! Version conflict in shader 'models\model_fur'
! Version conflict in shader 'models\model_hm'
! Version conflict in shader 'models\model_pn'
! Version conflict in shader 'models\model_pn_hm'
! Version conflict in shader 'models\pautina'
! Version conflict in shader 'models\selflight'
! Version conflict in shader 'models\selflight_det'
! Version conflict in shader 'models\selflightl'
! Version conflict in shader 'models\transparent'
! Version conflict in shader 'models\xanomaly'
! Version conflict in shader 'models\xdistort'
! Version conflict in shader 'models\xdistortcolor'
! Version conflict in shader 'models\xdistortcolorl'
! Version conflict in shader 'models\xdistortinv'
! Version conflict in shader 'models\xmonolith'
! Version conflict in shader 'models\xwindows'
! Version conflict in shader 'selflight'
count of .thm files=13
load time=597 ms
D3D: initialized
Starting INPUT device...
DirectSound: Create device successfully.
* sound: EAX 2.0 extension: absent
* sound: EAX 2.0 deferred: absent
* sound : cache: 32773 kb, 3805 lines, 8820 bpl
Scene: initialized
* DVB created: 2048K
* DIB created: 2048K
* GPU shading: vs(fffe0300/3.0/30), ps(ffff0300/3.0/30)
* GPU vertex cache: recognized, 24
*** RESET [314 ms]
* Loaded: gamedata\textures\ui\ui_font_hud_01.dds[16512]b
 
FATAL ERROR
 
[error]Expression    : fatal error
[error]Function      : D:\xray_engine\xray-svn-trunk\xrCore\Xr_ini.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\xrCore\Xr_ini.cpp
[error]Line          : 349
[error]Description   : <no expression>
[error]Arguments     : Can't open section 'reduce_lod_texture_list'
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]File          : D:\xray_engine\xray-svn-trunk\editors\ECore\Editor\Device.cpp
[error]Line          : 306
[error]Description   : FALSE==g_bRendering
 

stack trace:

 
FATAL ERROR
 

Не хочет SDK с gamedata от OGSR Engine работать. Думаю просто локации и текстуры в SDK перекинуть.

Открыл локацию нажимаю validate и там очень много красных строк. 

Скрытый текст

Object 'levels\l01_escape_decompiled\l01_escape_decompiled_part2626': engine shader 'flora\leaf_wave' not compatible with static objects
Object 'levels\l01_escape_decompiled\l01_escape_decompiled_part2626': engine shader 'flora\leaf_wave' not compatible with static objects
Object 'levels\l01_escape_decompiled\l01_escape_decompiled_part2626': engine shader 'flora\trunk_wave' not compatible with static objects
Object 'levels\l01_escape_decompiled\l01_escape_decompiled_part2626': engine shader 'flora\leaf_wave' not compatible with static objects
Object 'levels\l01_escape_decompiled\l01_escape_decompiled_part2627': engine shader 'flora\trunk_wave' not compatible with static objects
Object 'levels\l01_escape_decompiled\l01_escape_decompiled_part2627': engine shader 'flora\leaf_wave' not compatible with static objects
Object 'levels\l01_escape_decompiled\l01_escape_decompiled_part2627': engine shader 'flora\leaf_wave' not compatible with static objects
Object 'levels\l01_escape_decompiled\l01_escape_decompiled_part2627': engine shader 'flora\leaf_wave' not compatible with static objects
Object 'levels\l01_escape_decompiled\l01_escape_decompiled_part2627': engine shader 'flora\trunk_wave' not compatible with static objects
Object 'levels\l01_escape_decompiled\l01_escape_decompiled_part2628': engine shader 'flora\trunk_wave' not compatible with static objects
Object 'levels\l01_escape_decompiled\l01_escape_decompiled_part2628': engine shader 'flora\leaf_wave' not compatible with static objects
Object 'levels\l01_escape_decompiled\l01_escape_decompiled_part2628': engine shader 'flora\leaf_wave' not compatible with static objects
Object 'levels\l01_escape_decompiled\l01_escape_decompiled_part2628': engine shader 'flora\leaf_wave' not compatible with static objects
Object 'levels\l01_escape_decompiled\l01_escape_decompiled_part2628': engine shader 'flora\trunk_wave' not compatible with static objects
*ERROR: Scene has non compatible shaders. See log.
 

Но это не все, их тысячи. Что это значит? Может ли это быть из за того что автор текстурного пака, не назначил материал текстурам а точнее намеренно убрал его?

Всем приветик!

Решение по ошибке:

! [LUA] 0 : [C] [C](-1) :
! [LUA] 1 : [Lua] gamedata\scripts\se_zones.script(6) : is_single_player_game
! [LUA] 2 : [Lua] gamedata\scripts\se_zones.script(51) :
* trying to access variable alife, which doesn't exist, or to load script alife.script, which doesn't exist too

Сама по себе ошибка никак не влияет на игру, но тем кому не нравится что такая ошибка существует в сборке - нужно просто немного поправить скрипт-файл: se_zones.script

Берём скрипт из gamedata SDK и комментируем некоторые строчки (выделил полужирным).

Скрипт из оригинала Сталкер ТЧ.
 

Скрытый текст

 

--[[
local not_spawn_levels = {
    l05_bar = true
}

function is_single_player_game    ()
    if (_G.alife == nil) then
        return    (true)
    end
    
    if (alife() ~= nil) then
        return    (true)
    end
    
    if (_G.IsGameTypeSingle == nil) then
        return    (true)
    end

    if (IsGameTypeSingle() == true) then
        return    (true)
    end

    return        (false)
end
]]--

class "se_zone_anom" (cse_anomalous_zone)
function se_zone_anom:__init (section) super (section)    
end
function se_zone_anom:on_register()
    cse_anomalous_zone.on_register(self)
    
    self.artefact_spawn_idle = 60*60*1000*utils.cfg_get_number(system_ini(), self:section_name(), "artefact_spawn_idle", self, false, 24)
    self.artefact_spawn_rnd = utils.cfg_get_number(system_ini(), self:section_name(), "artefact_spawn_rnd", self, false, 100)    
end
function se_zone_anom:update()
    cse_anomalous_zone.update(self)

    if self.last_spawn_time == nil then
        self.last_spawn_time = game.get_game_time()
    end

    if game.get_game_time():diffSec(self.last_spawn_time) >= self.artefact_spawn_idle then
        self.last_spawn_time = game.get_game_time()
        if math.random(100) <= self.artefact_spawn_rnd then
            self:spawn_artefacts()
        end
    end    
end
function se_zone_anom:STATE_Write(packet)
    cse_anomalous_zone.STATE_Write(self, packet)
--[[
    if (is_single_player_game() == false) then
        return
    end
]]--

    if self.last_spawn_time == nil then
        packet:w_u8(0)
    else
        packet:w_u8(1)
        utils.w_CTime(packet, self.last_spawn_time)
    end    
end
-- восстановление
function se_zone_anom:STATE_Read( packet, size )
    cse_anomalous_zone.STATE_Read( self, packet, size )
--[[
    if editor() then
        return
    end
    
    if (is_single_player_game() == false) then
        return
    end
]]--

    local flag = packet:r_u8()
    if flag == 1 then
        self.last_spawn_time = utils.r_CTime(packet)
    end
end


class "se_zone_visual" (cse_zone_visual)
function se_zone_visual:__init (section) super (section)
end
function se_zone_visual:on_register()
    cse_zone_visual.on_register(self)
    
    self.artefact_spawn_idle = 60*60*1000*utils.cfg_get_number(system_ini(), self:section_name(), "artefact_spawn_idle", self, false, 24)
    self.artefact_spawn_rnd = utils.cfg_get_number(system_ini(), self:section_name(), "artefact_spawn_rnd", self, false, 100)    
end
function se_zone_visual:update()
    cse_zone_visual.update(self)

    if self.last_spawn_time == nil then
        self.last_spawn_time = game.get_game_time()
    end

    if game.get_game_time():diffSec(self.last_spawn_time) >= self.artefact_spawn_idle then
        self.last_spawn_time = game.get_game_time()
        if math.random(100) <= self.artefact_spawn_rnd then
            self:spawn_artefacts()
        end
    end    
end

function se_zone_visual:STATE_Write(packet)
    cse_zone_visual.STATE_Write(self, packet)
--[[
    if (is_single_player_game() == false) then
        return
    end
]]--

    if self.last_spawn_time == nil then
        packet:w_u8(0)
    else
        packet:w_u8(1)
        utils.w_CTime(packet, self.last_spawn_time)
    end    
end
-- восстановление
function se_zone_visual:STATE_Read( packet, size )
    cse_zone_visual.STATE_Read( self, packet, size )
--[[
    if editor() then
        return
    end
    
    if (is_single_player_game() == false) then
        return
    end
]]--

    local flag = packet:r_u8()
    if flag == 1 then
        self.last_spawn_time = utils.r_CTime(packet)
    end
end

 

--' Рестрикторы
class "se_restrictor" (cse_alife_space_restrictor)
function se_restrictor:__init (section) super (section)
end
function se_restrictor:keep_saved_data_anyway()
    return true
end

 

Правленный скрипт можно вставить в gamedata игры (мода), или не вставлять...

Это никаким образом не повлияет на игру.

Так что решайте сами - вставлять правленный файл в игру (в мод) или не вставлять.

Удачи в модостроении!!!

  • Спасибо 1

Ребят, у меня появилась проблема, когда я пытаюсь открыть чужой декомпилированый уровень Сдк 0.7 просто вырубаеться, как тогда открывать уровни? (и я уже заметил что написал не в той теме)

Изменено пользователем vladvexa

@aka_sektor ну не знаю я логи проверил ничего нету, может быть я неправильный декомпилятор использывал.

@vladvexa, похоже декомпилировал в формат СДК ТЧ. СДК ЗП при открытии такой локации должен вылетать.

@abramcumner возможно.

Вот настройки батника: 

converter -level cop:vladvexa_test_defence -out vladvexa_test_defence -mode le -with_lods 
pause

А ну вот ещё я нашол лог конвертора:

Скрытый текст

log started (console and converter.log)
level name: vladvexa_test_defence
loading level.ltx
loading level.geom
loading level
...visuals
...shaders/textures
...sectors
...portals
...lights
...glows
loading level.cform
loading level.hom
loading level.details
...texture
loading level.ai
loading level.game
loading level.spawn
bad section reference '' at prefetch_mp.ltx:129
ignoring trailing garbage at m_dog.ltx:402
ignoring trailing garbage at m_pseudodog.ltx:323
ignoring trailing garbage at m_poltergeist.ltx:352
ignoring trailing garbage at w_sig550_up.ltx:183
ignoring trailing garbage at w_vintorez_up.ltx:100
loading level.wallmarks
loading level.ps_static
loading level.env_mod
loading level.fog_vol
loading build.lights
loading level_lods.dds
loading level_lods_nm.dds
loading gamemtl.xr
scene name: vladvexa_test_defence
substituting shaders/textures
re-indexing shaders/textures
building detail_object.part
saving det\det_vladvexa_test_defence
building sector.part
selected sector #0 (of 1) as default
building portal.part
building scene_object.part
calculating subdivisions
calculating external meshes
collecting subdivisions
collecting external meshes
splitting level_lods.dds/level_lods_nm.dds
compacting 1169940 verts, 1046844 faces
got 547122 points, 80606 normals, 117309 uvs in 0.486s
cleaning geometry
removed 0 duplicate faces in 0.071s
removed 181163 back faces in 0.180s
cleaning cform
mapping 274957 CFORM verts to 547122 visual
got 267748 matches
matching edges/faces
no edge path from 285512 (2.973206, 6.689679, 178.755035) to 285513 (2.973206, 6.703670, 178.755066)
no edge path from 285518 (2.973328, 6.262527, 177.714996) to 285516 (2.973328, 6.248538, 177.714996)
propagating game materials
restoring fake colliders
separating models (by merged edge-linked groups)
building edge-connected submeshes
immediate fake/MU joins: 92
submeshes (MU): 300
submeshes (fake): 513
submeshes (regular): 5132
reordering faces
accounting submeshes
creating collision models (MU)
creating collision models (fake)
merging fake/MU submeshes
non-fake (residue) submeshes: 0
cross-merging fake submeshes
assigning contact groups (fake)
total groups (fake): 2
creating collision models (regular)
merging submeshes (regular)
contacts (with redundancy): 21150
assigning contact groups (regular)
total groups (regular): 121
building regular models
exporting visuals
materials\fake -> prop\prop_fake_kollision, def_shaders\def_vertex, def_shaders\def_kolizion
materials\tree_trunk -> trees\trees_bark_a_01, def_shaders\def_trans, flora\flora_collision
materials\bush -> trees\trees_fuflo, def_shaders\def_trans, flora\flora_collision
materials\bush -> trees\trees_fuflo, def_shaders\def_trans, flora\flora_collision
materials\bush -> trees\trees_fuflo, def_shaders\def_trans, flora\flora_collision
materials\tree_trunk -> trees\trees_bark_a_01, def_shaders\def_trans, flora\flora_collision
materials\bush -> trees\trees_fuflo, def_shaders\def_trans, flora\flora_collision
materials\bush -> trees\trees_fuflo, def_shaders\def_trans, flora\flora_collision
materials\tree_trunk -> trees\trees_bark_a_01, def_shaders\def_trans, flora\flora_collision
materials\bush -> trees\trees_fuflo, def_shaders\def_trans, flora\flora_collision
materials\bush -> trees\trees_fuflo, def_shaders\def_trans, flora\flora_collision
materials\tree_trunk -> trees\trees_bark_a_01, def_shaders\def_trans, flora\flora_collision
materials\bush -> trees\trees_fuflo, def_shaders\def_trans, flora\flora_collision
materials\bush -> trees\trees_fuflo, def_shaders\def_trans, flora\flora_collision
materials\bush -> trees\trees_fuflo, def_shaders\def_trans, flora\flora_collision
materials\bush -> trees\trees_fuflo, def_shaders\def_trans, flora\flora_collision
materials\bush -> trees\trees_fuflo, def_shaders\def_trans, flora\flora_collision
materials\bush -> trees\trees_fuflo, def_shaders\def_trans, flora\flora_collision
materials\bush -> trees\trees_fuflo, def_shaders\def_trans, flora\flora_collision
materials\tree_trunk -> trees\trees_bark_a_01, def_shaders\def_trans, flora\flora_collision
materials\bush -> trees\trees_fuflo, def_shaders\def_trans, flora\flora_collision
materials\bush -> trees\trees_fuflo, def_shaders\def_trans, flora\flora_collision
materials\bush -> trees\trees_fuflo, def_shaders\def_trans, flora\flora_collision
materials\bush -> trees\trees_fuflo, def_shaders\def_trans, flora\flora_collision
materials\bush -> trees\trees_fuflo, def_shaders\def_trans, flora\flora_collision
materials\tree_trunk -> trees\trees_bark_a_01, def_shaders\def_trans, flora\flora_collision
materials\bush -> trees\trees_fuflo, def_shaders\def_trans, flora\flora_collision
saving error list
building HOM object
building ai_map.part
found 126 (of 232711) no-return nodes
building glow.part
building light.part
building ps.part
building wallmark.part
building spawn.part (entities)
building spawn.part ($rpoints)
saving scene
total time: 44.240s

Не знаю что я сделал но щас я кое-чо в конвертере поменял и теперь всё декомпилировалось успешно.

Изменено пользователем HellRatz
Лог под спойлер

Ребят, не знаю в каком разделе задать свой вопрос, но он про локации, а локации, как я понял, это вотчина SDK

Скрытый текст

 

Мне нужен просто общий ответ, я сейчас ничего с локациями делать не буду, просто хочу немного войти в курс дела

 

Итак, суть: насколько я понял, в ТЧ нам показан лишь один из секторов Зоны. По идеи, ЧАЭС - это не крайняя точка игрового мира, а центральная. Был взрыв, а ЧАЭС - это эпицентр (точнее Генераторы)

 

Я хочу в своём моде так и сделать. Чтобы ЧАЭС была локацией, которая находится в Центре. И к ней можно подойти с разных сторон, а не только с юга, как в ТЧ

 

Допустим, я беру Лиманск, Госпиталь, Рыжий лес из ЧН и ставлю эти локации за ЧАЭС. Потом ещё какие-нибудь локации добавляю и вот у меня ещё один сектор. Теперь к ЧАЭС можно подойти не только с юга, но и с севера

 

Тоже самое делаю с востока и с запада

 

Вопрос: локации в ТЧ - это технически просто отдельные области или они реально расположены на некой невидимой сетке в определённом порядке?

 

Вот взял я Лиманск. Мне нужно будет просто добавить переход с ЧАЭС на Лиманск и как-то отобразить расположение новой локации на карте Зоны или его надо будет ещё как-то реально располагать за ЧАЭС на этой невидимой сетке (если она реально есть)?

 

Надеюсь я корректно сформулировал вопрос))

 

 

@John Doe 2023 загадки пишешь какие-то.
Тебе нужно будет добавить локацию в игру, вшить её в game.graph (через слк), добавить переход между локациями (это спавн), расположить её на карте в пда (текстуры и конфиги).

  • Полезно 1

Нужен 3D-артист для правок геометрии локаций.
Кто может помочь - пишите в ЛС.

Приветсвую, вопрос такой у меня, компилирую локу: 
Начал с: @start bins\compiler\xrLC_bardak_macron_extra.exe -f l10_radar
прошло все хорошо, закончилось. Дальше перехожу к: 

@start bins\compilers\xrAI.exe -draft -f l10_radar 

@start bins\compilers\xrAI.exe -g l10_radar

@start bins\compilers\xrAI.exe -m

@start bins\compilers\xrAI.exe -no_separator_check -s

и ни одно из них не запускается. Сам xrAI в процессах висит, но не запускается. Подскажите в чем дело

upd: отбой, забыл игровой архив db0 удалить, прошу прощения

God save Hatsune Miku!

Народ, подскажите в чем дело? 
запускаю батник: 
@start bins\compilers\xrAI.exe -m

и оно выдаёт мне вылет. Уже вообще не понимаю в чём проблема. 
 

Expression    : assertion failed
Function      : CGraphMerger::CGraphMerger
File          : .\xr_graph_merge.cpp
Line          : 646
Description   : M != (*K).second->m_tVertexMap.end()
Скрытый текст
* Detected CPU: GenuineIntel P3 family, F6/M10/S8, 1094.00 mhz, 9-clk 'rdtsc'
* CPU Features: RDTSC, MMX, SSE, SSE2

Initializing File System...
using fs-ltx fsgame.ltx
FS: 69367 files cached, 10199Kb memory used.
Init FileSystem 2.955520 sec
'xrCore' build 0, (null)

Loading DLL: xrSE_Factory.dll
'xrCore' build 0, (null)

"LevelBuilder v4.1" beta build
Compilation date: Sep 10 2014

Startup time: 22:37:14
 
* New phase started: Processing level graphs
! There is no ai-map for the level monster_tests! (level is not included into the game graph)
! There is no ai-map for the level jim_agro! (level is not included into the game graph)
! There is no ai-map for the level stohe_selo! (level is not included into the game graph)
! There is no ai-map for the level ai_test! (level is not included into the game graph)
! There is no ai-map for the level ai_test2! (level is not included into the game graph)
! There is no ai-map for the level jim_dark! (level is not included into the game graph)
! There is no ai-map for the level chugai_test! (level is not included into the game graph)
! There is no ai-map for the level $debug$\y_selo! (level is not included into the game graph)
! There is no ai-map for the level slipch_al_test! (level is not included into the game graph)
! There is no ai-map for the level slipch_al_test2! (level is not included into the game graph)
! There is no ai-map for the level krondor_selo! (level is not included into the game graph)
! There is no ai-map for the level zmey_selo2! (level is not included into the game graph)
! There is no ai-map for the level zmey_test2! (level is not included into the game graph)
! There is no ai-map for the level slipch_lab! (level is not included into the game graph)
! There is no ai-map for the level slipch_selo! (level is not included into the game graph)
! There is no ai-map for the level chugai_ai_test! (level is not included into the game graph)
! There is no ai-map for the level ivan_test! (level is not included into the game graph)
! There is no ai-map for the level l01_escape_ph_test! (level is not included into the game graph)
! There is no ai-map for the level l02_garbage_ai! (level is not included into the game graph)
! There is no ai-map for the level l03u_agroprom_ai! (level is not included into the game graph)
! There is no ai-map for the level l04u_labx18_proba! (level is not included into the game graph)
! There is no ai-map for the level l07_military_proba! (level is not included into the game graph)
! There is no ai-map for the level l17_radar_underground_ai! (level is not included into the game graph)
! There is no ai-map for the level l12_stancia_2ch_proba! (level is not included into the game graph)
! There is no ai-map for the level l12_stancia_1ch_proba! (level is not included into the game graph)
! There is no ai-map for the level l18_pripyat_ai! (level is not included into the game graph)
! There is no ai-map for the level selo2! (level is not included into the game graph)
! There is no ai-map for the level vovan_test! (level is not included into the game graph)
! There is no ai-map for the level l04u_labx18_oles! (level is not included into the game graph)
! There is no ai-map for the level l04u_labx18_test! (level is not included into the game graph)
! There is no ai-map for the level k01_darkscape_ct! (level is not included into the game graph)
! There is no ai-map for the level l24_sarcofag_mental! (level is not included into the game graph)
! There is no ai-map for the level chugai_test1! (level is not included into the game graph)
! There is no ai-map for the level chugai_test2! (level is not included into the game graph)
! There is no ai-map for the level selo3! (level is not included into the game graph)
! There is no ai-map for the level wik_selo! (level is not included into the game graph)
! There is no ai-map for the level l08u_brainlab_ai! (level is not included into the game graph)
! There is no ai-map for the level l04_darkvalley_ai! (level is not included into the game graph)
! There is no ai-map for the level agro_under! (level is not included into the game graph)
! There is no ai-map for the level l23_soznanie_ai! (level is not included into the game graph)
! There is no ai-map for the level doc_test! (level is not included into the game graph)
! There is no ai-map for the level plecha_selo! (level is not included into the game graph)
! There is no ai-map for the level l04_darkvalley_ct! (level is not included into the game graph)
! There is no ai-map for the level ai_test_new! (level is not included into the game graph)
! There is no ai-map for the level stason_test! (level is not included into the game graph)
! There is no ai-map for the level bar_arena! (level is not included into the game graph)
! There is no ai-map for the level koan_test! (level is not included into the game graph)
! There is no ai-map for the level l07_military_test! (level is not included into the game graph)
! There is no ai-map for the level haron_selo_towers! (level is not included into the game graph)
! There is no ai-map for the level l17_radar_underground_r! (level is not included into the game graph)
! There is no ai-map for the level l06_rostok_demo! (level is not included into the game graph)
! There is no ai-map for the level l05_bar_hw! (level is not included into the game graph)
! There is no ai-map for the level l03_agroprom_hw! (level is not included into the game graph)
! There is no ai-map for the level l03u_agr_underground_hw! (level is not included into the game graph)
    level  1 l01_escape
* loading script _G.script
* loading script class_registrator.script
* loading script smart_terrain.script
* loading script se_respawn.script
* loading script se_switcher.script
* loading script se_stalker.script
* loading script se_car.script
* loading script se_zones.script
* loading script se_item.script
* loading script se_artefact.script
* loading script se_monster.script
* loading script game_registrator.script
    level  2 l02_garbage
    level  3 l03_agroprom
    level  4 l03u_agr_underground
    level  5 l04_darkvalley
    level  6 l04u_labx18
    level  7 l05_bar
    level  8 l06_rostok
    level  9 l08_yantar
    level 10 l08u_brainlab
    level 11 l07_military
    level 13 l10_radar
    level 14 l11_pripyat
    level 15 l12_stancia
    level 16 l12u_sarcofag
    level 17 l12u_control_monolith
    level 19 l12_stancia_2
    level 20 l10u_bunker
    level 22 dead_city
 
* New phase started: Adding interconnection points
Cannot find level with level_id -1. Connection point will not be generated!
Cannot find level with level_id -1. Connection point will not be generated!
Cannot find level with level_id -1. Connection point will not be generated!
Cannot find level with level_id -1. Connection point will not be generated!
Cannot find level with level_id -1. Connection point will not be generated!
Level l02_garbage with id 2 has VALID connection point l02_garbage_graph_point_256,
which references to graph point l04_darkvalley_graph_point_816 on the level l04_darkvalley with id 5

Cannot find level with level_id -1. Connection point will not be generated!
Cannot find level with level_id -1. Connection point will not be generated!
Level l03_agroprom with id 3 has VALID connection point l03_agroprom_graph_point_654,
which references to graph point l03u_agr_underground_graph_point_718 on the level l03u_agr_underground with id 4

Cannot find level with level_id -1. Connection point will not be generated!
Cannot find level with level_id -1. Connection point will not be generated!
Cannot find level with level_id -1. Connection point will not be generated!
Cannot find level with level_id -1. Connection point will not be generated!
Level l04u_labx18 with id 6 has VALID connection point l04u_labx18_graph_point_1167,
which references to graph point l04_darkvalley_graph_point_811 on the level l04_darkvalley with id 5

Cannot find level with level_id -1. Connection point will not be generated!
Cannot find level with level_id -1. Connection point will not be generated!
Cannot find level with level_id 166. Connection point will not be generated!
Cannot find level with level_id -1. Connection point will not be generated!
Cannot find level with level_id -1. Connection point will not be generated!
Level l06_rostok with id 8 has VALID connection point l06_rostok_graph_point_1409,
which references to graph point l08_yantar_graph_point_1460 on the level l08_yantar with id 9

Cannot find level with level_id 166. Connection point will not be generated!
Level l08_yantar with id 9 has VALID connection point l08_yantar_graph_point_1461,
which references to graph point l08u_brainlab_graph_point_1540 on the level l08u_brainlab with id 10

Level l08_yantar with id 9 has an INVALID connection point l08_yantar_graph_point_1528,
which references to graph point l10_radar_graph_point_2116 on the level l10_radar with id 13

 
FATAL ERROR
 
[error]Expression    : assertion failed
[error]Function      : CGraphMerger::CGraphMerger
[error]File          : .\xr_graph_merge.cpp
[error]Line          : 646
[error]Description   : M != (*K).second->m_tVertexMap.end()
 

stack trace:

0023:00D3CE31 xrCore.dll, xrDebug::backend()
0023:00D54DF4 xrCore.dll, IReaderBase<CStreamReader>::`vftable'()

 

 

God save Hatsune Miku!

2 часа назад, Labadal сказал:
Cannot find level with level_id -1. Connection point will not be generated!

Проверять графпоинты с ии-связью, часть ведёт на несуществующий уровень.

2 часа назад, Labadal сказал:
Level l08_yantar with id 9 has an INVALID connection point l08_yantar_graph_point_1528,
which references to graph point l10_radar_graph_point_2116 on the level l10_radar with id 13

Здесь графпоинт янтаря связан с несуществующим графпоинтом радара, поменялось его имя / был удалён вручную или при компиле с ключом -g, если тот не на ии-сетке.

2 часа назад, Labadal сказал:
! There is no ai-map for the level ivan_test! (level is not included into the game graph)

Не ошибка, просто при компиле game.graph туда добавляются все уровни, которые есть в game_levels.ltx. Можно удалить этот хлам.

  • Полезно 1
30.04.2023 в 01:04, h0N0r сказал:
29.04.2023 в 22:42, Labadal сказал:

Level l08_yantar with id 9 has an INVALID connection point l08_yantar_graph_point_1528, which references to graph point l10_radar_graph_point_2116 on the level l10_radar with id 13

Level l08_yantar with id 9 has an INVALID connection point l08_yantar_graph_point_1528,
which references to graph point l10_radar_graph_point_2116 on the level l10_radar with id 13

Здесь графпоинт янтаря связан с несуществующим графпоинтом радара, поменялось его имя / был удалён вручную или при компиле с ключом -g, если тот не на ии-сетке.

Хорошо, допустим. Я изменял локацию Радар, и такое в принципе могло произойти. А с остальными что? 
Вот, допустим, это: 
 

Level l08_yantar with id 9 has VALID connection point l08_yantar_graph_point_1461,
which references to graph point l08u_brainlab_graph_point_1540 on the level l08u_brainlab with id 10

Я не трогал ни Янтарь, ни X-16.  Или тут главное последняя ошибка? 

God save Hatsune Miku!

15 часов назад, Labadal сказал:

Или тут главное последняя ошибка?

Ага. Для понимания, переведи на рус. строки с INVALID и VALID.

  • Спасибо 1

@h0N0r черт, я даже не заметил этого. :biggrin: 

01.05.2023 в 17:19, h0N0r сказал:

Ага. Для понимания, переведи на рус. строки с INVALID и VALID.

 

God save Hatsune Miku!

Доброго времени суток.
У меня тут довольно странный лог. - собрал радар в сдк с некоторыми изменениями, при попытке спавна гг на радаре происходит такой вылет. 

Expression    : assertion failed
Function      : InventoryUtilities::UpdateWeight
File          : E:\stalker\sources\trunk\xr_3da\xrGame\ui\UIInventoryUtilities.cpp
Line          : 305
Description   : pInvOwner

Ни разу такой не видел, интересно с чем связан. Подскажите, кто в теме. Спасибо.  

upd: 
Вылет возникает только при попытке начала новый игры на радаре, как я и сказал. Вылета нет, если попасть на радар обычно, переходом. 

God save Hatsune Miku!

10.05.2023 в 14:17, Labadal сказал:

UIInventoryUtilities.cpp
Description   : pInvOwner

В строке 305 этого файла идёт обновление веса (InventoryUtilities::UpdateWeight). Вот здесь ссылка на функцию. Возможно, поможет при поиске причин вылета.

  • Спасибо 1

Z690 GAMING X DDR4, 12th Gen Intel(R) Core(TM) i7-12700KF, NVIDIA GeForce RTX 2060 SUPER, Windows 11.

Доброго времени суток, знаю, что если поставить сталкера на локацию в сдк и в его кастом дате прописать

 

[spawner]
cond = {+поршень}

 

то сталкер появится, только после получения поршня. А как сделать так же для предмета? Хочу заспавнить пда, но только после поршня. пробовал так же - не работает. Или это только скриптом нужно? Спасибо

God save Hatsune Miku!

Привет модмейкерскому комьюнити :)

 

Возник вопрос по поводу сглаживания при экспорте в ogf, а именно произошло следующая ситуация: была найдена нужная модель для экспорта в игру, но модель имеет свою особенность, ей нельзя выставлять сглаживание выше 20, начинают вылазить артефакты, все это настроено в максе 2012. методом тыка понял, что дело именно в СДК, так как в object формате сглаживание сохраняется так, как я его настроил, а вот уже ogf в игре и в целом переведённый назад в object имеет сглаживание максимальное, что не для каждой модели годится, к сожалению. Кто-нибудь сталкивался с такой проблемой и может что-то подсказать?

Пробовал на версии Юршата и оригинальной, с парой патчей и фиксом окон — результат один. 

10 часов назад, Labadal сказал:

Хочу заспавнить пда, но только после поршня. пробовал так же - не работает

Для физических объектов не работает, для НПС и зверья - работает

Сталкер - наше всё!

Создайте аккаунт или авторизуйтесь, чтобы оставить комментарий

Комментарии могут оставлять только зарегистрированные пользователи

Создать аккаунт

Зарегистрировать новый аккаунт в нашем сообществе. Это несложно!

Зарегистрировать новый аккаунт

Войти

Есть аккаунт? Войти.

Войти
  • Недавно просматривали   0 пользователей

    • Ни один зарегистрированный пользователь не просматривает эту страницу.
×
×
  • Создать...