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

olaf1

Пользователи
  • Число публикаций

    29
  • Регистрация

  • Последнее посещение

  • AMKoin

    0 [Подарить AMKoin]

Весь контент пользователя olaf1

  1. olaf1

    Скриптование

    У меня есть вопрос о LW группы мод АМК. В этом пространстве, как я могу появляться NPC мод? Respwnen, но не раз? У этого, но это уже verscuht программное обеспечение устанавливается только не всегда аварии и ничего в журнале
  2. olaf1

    Скриптование

    Вы имеете в виду это произойдет в конце концов? Я уже сделал это здесь
  3. olaf1

    Скриптование

    Вы можете дать мне небольшой пример простого кода для этого? спасибо
  4. olaf1

    Скриптование

    Однажды я спросил ее один надеюсь, что я ответил на него так или иначе? Я хотел бы знать, можно ли написать скрипт с файла LTX и сохранить то, если да, то как? Благодарю вас, прежде чем
  5. olaf1

    Скриптование

    Oh i have some misspelling in englisch sorry for that but that can you make too in Russian. And this i have read ,too but it is not that what i will by that the npcґs where delet from the List(clear) and this give by me a cras as i have test it. But i will respwan NPCґs. But i donґt know how i can save it and i have not find somthing abut it (which I do believe) This is the problem not the re_spwan.script that i donґt need. The re_spwan.script is only i think for gulags and by me the gualgs get a crash and i have make all but it work not. And then i have found a text in the englisch forum of GSC-Forum that logic script are better then the gulags then i will make logic script but the NPCґs respwan by this not ;( And then i have an Idea that i can writ a script the spwan script is easy but the repswan that i donґt can and is very hard. But this where very nice when you ot an other can help me. I donґt know why this only make how it wants speak the npcґs are spwan when i save and load the game again but this i donґt will and i have not find somethinh about that. I hope that anyone will help me. Thnak you.
  6. olaf1

    Скриптование

    So you want that I write better in English. I have a problem if I ever will, and reload again and again the NPC's as often as I want but I want to reload respectively only if they want to be, respectively, they are dead. I've heard that you can grab something eo something similar or something like packet: w_u16 (self.m_restrictor_id) But I know that I do not look as good that would be very nice if someone would do this for me. the code is better than the time_global as level.get_time_hours ? I test this. I would like to save this and have also saved and can read it but I know myself so unfortunately not so well marked and not a tutorial for it i hope that is better to understand for you and other.
  7. olaf1

    Скриптование

    Я прошу следующее У меня есть скрипт, который будет сидеть НПС respwanen но проблема в том, что они gespwant снова и снова anchdem я перезагрузить его, а не тогда, когда они умерли, что они на самом деле. Как мне справиться с этой, так как скрипт хранится и как я могу взять эту я знаю, к сожалению, пока нет. Благодарю вас, прежде чем
  8. Я говорил вам, но как только варят Что: D Можно ли с помощью NPC логики с логикой сценария сценарий только respwanen? что ColR_iT говорит верно, когда я делаю это, и это я сделал эту работу много раз, но я хочу bespawnen уровне, и эти NPC будет, даже если они мертвы вернуться в свои позиции, но она нуждается в respwaner но, к сожалению я не знаю как это работает и будет нужна ваша помощь. потому, что кто-то знает ответ? спасибо
  9. Artos, Но если вы мне не нужны ГУЛАГа, я бы тогда сделать замечание и ходить там в качестве отправной точки all.spwan писать и там
  10. Artos, может, но в моде вики, но я использовал его в качестве схемы книгу сейчас, или я ошибаюсь? Камп просто означает, что он должен сидеть в таком месте, или нет? Я буду заказывать сейчас, но больше не ГУЛАГ OK! Я не могу ни [smart_terrains] = правда или я могу использовать его даже не беспокоиться? или я должен предпочитать точки ходьбы nehem? как сейчас с repswan воли NPC, который автоматически становится игрой или мне нужно для чего? спасибо
  11. Artos, У меня здесь в spawn_sections.ltx
  12. Artos я читал на другом форуме, что вы хотите и должны были пойти лагерях предпочитают работать с логикой сценариев. Мне было просто интересно, если это возможно слишком respwanen NPC логики с помощью сценария? или мне нужно сценарий?
  13. как я могу скрипт logic NPC икры новой?
  14. Artos, Я забыл, что изменения, но это то же самое он сделал, когда я изменил gebniss кто-то может помочь мне тогда? спасибо Добавлено через 59 мин.: но я получаю сообщение об ошибке после того, как я изменил мой новый Gulag сценарий
  15. У меня есть проблема, когда я делаю ГУЛАГ мой НПС уйти но это не дает сбоя или неисправности my gualg in the all.spwan
  16. olaf1

    Gulag Problem

    i have a problem when i make a gualg my npc´s go away but it give not a crash or a fault my gualg in the all.spwan [9764] ; cse_abstract properties section_name = smart_terrain name = mar_lager position = -57.9094772338867,1.24590361118317,283.974090576172 direction = 0.062321275472641,0.00316426996141672,0.0140644172206521 ; cse_alife_object properties game_vertex_id = 3402 distance = 4.19999980926514 level_vertex_id = 109085 object_flags = 0xffffffbe custom_data = <<END [smart_terrain] type = mar_lager capacity = 3 squad = 1 groups = 5 END ; cse_shape properties shapes = shape0 shape0:type = box shape0:axis_x = 5.05180025100708,0,0 shape0:axis_y = 0,3.38140106201172,0 shape0:axis_z = 0,0,5.05180025100708 shape0:offset = 0,0,0 ; cse_alife_space_restrictor properties restrictor_type = 3 ; se_smart_terrain properties my npc´s [9761] ; cse_abstract properties section_name = stalker name = mar_clear_sky_kamper_000 position = -61.9960556030273,0.920579314231873,293.677429199219 direction = -0.693360865116119,0,-0.608751595020294 ; cse_alife_trader_abstract properties character_profile = mar_clear_sky ; cse_alife_object properties game_vertex_id = 3402 distance = 9.80000019073486 level_vertex_id = 106182 object_flags = 0xffffffbf custom_data = <<END [smart_terrains] mar_lager = true END ; cse_visual properties visual_name = actors\neytral\stalker_neytral_balon_1 ; cse_alife_creature_abstract properties g_team = 0 g_squad = 0 g_group = 0 health = 1 dynamic_out_restrictions = dynamic_in_restrictions = upd:health = 1 upd:timestamp = 0 upd:creature_flags = 0 upd:position = -61.9960556030273,0.920579314231873,293.677429199219 upd:o_model = 0 upd:o_torso = -0.793360888957977,0,-0.608751595020294 upd:g_team = 0 upd:g_squad = 0 upd:g_group = 0 ; cse_alife_monster_abstract properties upd:next_game_vertex_id = 65535 upd:prev_game_vertex_id = 65535 upd:distance_from_point = 0 upd:distance_to_point = 0 ; cse_alife_human_abstract properties predicate5 = 2,0,2,1,1 predicate4 = 2,2,2,0 ; cse_ph_skeleton properties upd:start_dialog = ; se_stalker properties [9762] ; cse_abstract properties section_name = stalker name = mar_clear_sky_kamper_001 position = -51.3453941345215,1.1859278678894,296.545593261719 direction = -0.693360865116119,0,-0.608751595020294 ; cse_alife_trader_abstract properties character_profile = mar_clear_sky ; cse_alife_object properties game_vertex_id = 3402 distance = 9.80000019073486 level_vertex_id = 114134 object_flags = 0xffffffbf custom_data = <<END [smart_terrains] mar_lager = true END ; cse_visual properties visual_name = actors\neytral\stalker_neytral_balon_1 ; cse_alife_creature_abstract properties g_team = 0 g_squad = 0 g_group = 0 health = 1 dynamic_out_restrictions = dynamic_in_restrictions = upd:health = 1 upd:timestamp = 0 upd:creature_flags = 0 upd:position = -51.3453941345215,1.1859278678894,296.545593261719 upd:o_model = 0 upd:o_torso = -0.793360888957977,0,-0.608751595020294 upd:g_team = 0 upd:g_squad = 0 upd:g_group = 0 ; cse_alife_monster_abstract properties upd:next_game_vertex_id = 65535 upd:prev_game_vertex_id = 65535 upd:distance_from_point = 0 upd:distance_to_point = 0 ; cse_alife_human_abstract properties predicate5 = 2,0,2,1,1 predicate4 = 2,2,2,0 ; cse_ph_skeleton properties upd:start_dialog = ; se_stalker properties [9763] ; cse_abstract properties section_name = stalker name = mar_clear_sky_kamper_002 position = -57.9094772338867,1.24590361118317,283.974090576172 direction = -0.693360865116119,0,-0.608751595020294 ; cse_alife_trader_abstract properties character_profile = mar_clear_sky ; cse_alife_object properties game_vertex_id = 3402 distance = 9.80000019073486 level_vertex_id = 109085 object_flags = 0xffffffbf custom_data = <<END [smart_terrains] mar_lager = true END ; cse_visual properties visual_name = actors\neytral\stalker_neytral_balon_1 ; cse_alife_creature_abstract properties g_team = 0 g_squad = 0 g_group = 0 health = 1 dynamic_out_restrictions = dynamic_in_restrictions = upd:health = 1 upd:timestamp = 0 upd:creature_flags = 0 upd:position = -57.9094772338867,1.24590361118317,283.974090576172 upd:o_model = 0 upd:o_torso = -0.793360888957977,0,-0.608751595020294 upd:g_team = 0 upd:g_squad = 0 upd:g_group = 0 ; cse_alife_monster_abstract properties upd:next_game_vertex_id = 65535 upd:prev_game_vertex_id = 65535 upd:distance_from_point = 0 upd:distance_to_point = 0 ; cse_alife_human_abstract properties predicate5 = 2,0,2,1,1 predicate4 = 2,2,2,0 ; cse_ph_skeleton properties upd:start_dialog = ; se_stalker properties and this is my gulag script if type == "mar_clear_sky_lager" then t = { section = "logic@mar_clear_sky_lager_kamper_001", idle = 0, prior = 5, state = {0}, squad = squad, group = groups[1], in_rest = "", out_rest = "" } table.insert(sj, t) t = { section = "logic@mar_clear_sky_lager_kamper_002", idle = 0, prior = 5, state = {0}, squad = squad, group = groups[1], in_rest = "", out_rest = "" } table.insert(sj, t) t = { section = "logic@mar_clear_sky_lager_kamper_003", idle = 0, prior = 5, state = {0}, squad = squad, group = groups[1], in_rest = "", out_rest = "" } table.insert(sj, t) end if type == "mar_clear_sky_lager" then return function(gulag) if level.get_time_hours() >= 7 and level.get_time_hours() <= 22 then return 0 -- day else return 1 -- night end end if gulag_type == "mar_clear_sky_lager" then return npc_community == "stalker" end and this are my point for the kamp point in the gulag ltx [logic@mar_clear_sky_lager_kamper_001] active = kamp@mar_clear_sky_lager_kamper_001 [kamp@mar_clear_sky_general_kamper_001] center_point = kamp [logic@mar_clear_sky_lager_kamper_002] active = kamp@mar_clear_sky_lager_kamper_002 [kamp@mar_clear_sky_lager_kamper_002] center_point = kamp [logic@mar_clear_sky_lager_kamper_003] active = kamp@mar_clear_sky_lager_kamper_003 [kamp@mar_clear_sky_lager_kamper_003] center_point = kamp and this are my points in the all.spwan [mar_clear_sky_general_kamper_001_kamp] points = p0 p0:name = wp00 p0:position = -61.9960556030273,0.920579314231873,293.677429199219 p0:game_vertex_id = 3402 p0:level_vertex_id = 106182 [mar_clear_sky_general_kamper_002_kamp] points = p0 p0:name = wp00 p0:position = -51.3453941345215,1.1859278678894,296.545593261719 p0:game_vertex_id = 3402 p0:level_vertex_id = 114134 [mar_clear_sky_general_kamper_003_kamp] points = p0 p0:name = wp00 p0:position = -57.9094772338867,1.24590361118317,283.974090576172 p0:game_vertex_id = 3402 p0:level_vertex_id = 109085 i hope that anyone can help me and can say what is the problem in this gualg thank you
  17. olaf1

    Скриптование

    Как я могу продолжать использовать, потому что, когда я делаю это с помощью скрипта и хочет использовать его в качестве условного if? Я даже не могу в результате чего я if npc then return npc:alive() == false end if npc:alive() == false then ...... кто-то может помочь мне, потому что? спасибо
  18. olaf1

    Скриптование

    Как я могу спросить, если NPC мертв в сценарии? какой из них подходит? local npc local npc_dead = db.storage[npc:id()].death или npc = level_object_by_sid(p[1]) return not npc or not npc:alive() или иного сценария? может ли кто-нибудь сказать мне об этом спасибо
  19. olaf1

    Скриптование

    Я могу хранить данные, предназначенные или функции? было бы очень приятно для меня jemadn помогает, потому что у меня есть сценарий все NPC, когда я приглашаю spwant новый, но я просто хочу, даже если они мертвы потому, что кто-то может сказать, как я могу сделать это
  20. olaf1

    Скриптование

    Artos, Извините, но я не могу понять, что вы говорите с Вашими ответами russic. respwan_npc = { ["mar_clear_sky_respawn_1"] = true, [2] = false, [3] = false, ... [NNN] = false, ["mar_clear_sky_respawn_2"] = true, ["mar_clear_sky_respawn_3"] = true, } Что я могу участвовать в этом? что это [NNN] = false спасибо
  21. olaf1

    Скриптование

    Этот код предназначен для проверки respwan_npc второй позади = истинное, если он верен ему в таблице (respwan_table) NPC gespwant вплоть до уровня , а затем положил обратно в таблице respwan_npc значение ложной for npc,spwan in pairs(respwan_npc)do if spwan == true then respwan_table[alife():create("mar_clear_sky_respawn_1", pos, lvi, gvi).id] = true table.insert(respwan_npc,2,false) end end
  22. olaf1

    Скриптование

    can anyone help me?? i have write a script wich shll respwan npcґs in any level i hope you can see what for what is and i hope that anyone help me. when you have question to my script the ask me.
  23. olaf1

    Скриптование

    Sorry that i make a new psot but i donґt knwo how i can at it on my i will make a script what respwan npc i have write a script first what all npcґs spwant and then are this npcґs incold in a table
  24. olaf1

    Скриптование

    i have make a script witch shall repswan npc
×
×
  • Создать...