ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
Gulag Problem

1 2 | Next 10 events »| All Messages
Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  20:30:46  24 March 2012
profilee-mailreply Message URLTo the Top
olaf1
Senior Resident
 

 
On forum: 01/17/2012
 

Message edited by:
olaf1
03/24/2012 20:37:25
Messages: 240
Gulag Problem

i hav make a gula and then i get a crash

my gula in the all


[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




one of my 3 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



my gualg script

if type == "mar_clear_sky_lager" then
    t = { section = "logic@mar_clear_sky_lager_kamper_001",
       idle = 0,

        prior = 10, state = {0,1},

        in_rest = "", out_rest = ""
    }
    table.insert(sj, t)
    t = { section = "logic@mar_clear_sky_lager_kamper_002",
       idle = 0,

        prior = 10, state = {0,1},

        in_rest = "", out_rest = ""
    }
    table.insert(sj, t)
    t = { section = "logic@mar_clear_sky_lager_kamper_003",
      idle = 0,

        prior = 10, state = {0,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





my gula.ltx

[logic@mar_clear_sky_lager_kamper_001]
active = kamp@mar_clear_sky_lager_kamper_001

[kamp@mar_clear_sky_lager_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



my kamp point in the all

[mar_clear_sky_general_kamper_001_kamp]
points = p0
p0:name = wp00
p0:flags = 0x1
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:flags = 0x1
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:flags = 0x1
p0:position = -57.9094772338867,1.24590361118317,283.974090576172
p0:game_vertex_id = 3402
p0:level_vertex_id = 109085






my crash log

FATAL ERROR

[error]Expression    : fatal error
[error]Function      : CScriptEngine::lua_error
[error]File          : E:\stalker\patch_1_0004\xr_3da\xrGame\script_engine.cpp
[error]Line          : 73
[error]Description   : <no expression>
[error]Arguments     : LUA error: ...adow of chernobyl\gamedata\scripts\se_stalker.script:11: C stack overflow


stack trace:



ot this ero log


 
FATAL ERROR
 
[error]Expression    : fatal error
[error]Function      : CScriptEngine::lua_error
[error]File          : E:\stalker\patch_1_0004\xr_3da\xrGame\script_engine.cpp
[error]Line          : 73
[error]Description   : <no expression>
[error]Arguments     : LUA error: ...hadow of chernobyl\gamedata\scripts\state_mgr.script:192: C stack overflow
 

stack trace:



i hope that anyone help me.

thank you
  20:48:47  24 March 2012
profilee-mailreply Message URLTo the Top
LoNer1
Настоящий Cталкер, Русская Версия
(Resident)

 

 
On forum: 10/23/2009
Messages: 1890
I'm sorry to say this but your "spamming" is pushing all the other threads down, you have already 6/8 threads on the front page. You dont need a thread for each question you have, just keep it in one centered thread please.
  21:05:32  24 March 2012
profilee-mailreply Message URLTo the Top
olaf1
Senior Resident
 

 
On forum: 01/17/2012
Messages: 240
oh sorry

that I was not going

can you help me by my problem or not or a other??

thank you
  21:07:41  24 March 2012
profilee-mailreply Message URLTo the Top
cOldSnake
modeler
(Resident)

 

 
On forum: 07/11/2011
Messages: 197
I never managed to get smart terrain to work,but im pretty shure gulag.ltx wrong.Those 3 NPC-s needs path_walk,for example:

[logic@mar_clear_sky_lager_kamper_001]
active = kamp@mar_clear_sky_lager_kamper_001

[kamp@mar_clear_sky_lager_kamper_001]
center_point = mar_clear_sky_lager_kamper_001
path_walk = mar_clear_sky_lager_kamper_001_task

[logic@mar_clear_sky_lager_kamper_002]
active = kamp@mar_clear_sky_lager_kamper_002

[kamp@mar_clear_sky_lager_kamper_002]
center_point = mar_clear_sky_lager_kamper_001
path_walk = mar_clear_sky_lager_kamper_002_task

[logic@mar_clear_sky_lager_kamper_003]
active = kamp@mar_clear_sky_lager_kamper_003

[kamp@mar_clear_sky_lager_kamper_003]
center_point = mar_clear_sky_lager_kamper_001
path_walk = mar_clear_sky_lager_kamper_003_task

They all have same center_point,and diferent waypoint im auming center point is campfire
  23:03:29  24 March 2012
profilee-mailreply Message URLTo the Top
olaf1
Senior Resident
 

 
On forum: 01/17/2012
Messages: 240
oh thank you

i will test it.
  23:28:28  24 March 2012
profilee-mailreply Message URLTo the Top
SetaKat
Ex modder, Zones only ferret and will someday release a game
(Resident)

 

 
On forum: 02/20/2010
Messages: 6342
Threads created by Olaf1 in the past 2 1/2 months:
Respawns: 8
Gulags: 3
Other: 10
Grand total: 21
Total number of duplicate topic threads: about half of those 21

Creating duplicate topic threads is just spamming. Plain and simple spamming. Early on, we've tried to give you help, but you don't seem to have succeeded in your goals. We're all out of ideas and advice to give you, yet you keep asking for help, or what your doing wrong, even when we've told you we have no idea what your doing wrong, and why it isn't working. You've also been told that we aren't going to make your mod for you.

Given the problems your having, and the number of threads you need to spam create in your attempt to get help, its clear that you've jumped more or less straight into the deep end of the modding pool, and found the water to be much deeper than you thought. So stop, use your brain for once, and move on to shallower waters, and something easier. Get some experience and confidence there, and slowly move onto more difficult tasks. You can't become an expert modder overnight, which is what you seem to be expecting to happen.
  00:09:25  25 March 2012
profilee-mailreply Message URLTo the Top
insanelazarez
Yeah, Good Luck With That...
(Resident)

 

 
On forum: 01/31/2009
 

Message edited by:
insanelazarez
03/25/2012 0:11:34
Messages: 1070

---QUOTATION---
I never managed to get smart terrain to work
---END QUOTATION---



You can't not imagine how lucky you are.

I mean... how quicky they forget that all it takes to change the course of the Zone's history – is the will of a single stalker. Me.

Aha... lol.

I'm joking around, but a single npc... can change the zone. And no smart terrain crap is required. Same goes to news mods like: 'OMG, there's a salame in the fridge'. Or textures with 9000 Gbytes. The result would be an amazing salame, in the fridge under an amazing 'sky texture'... impossible to eat. And at this point, your game is dead... not because of the starvation, but because it's impossible to play it.

Olaf, my advice... Forget the gulag, and create the npcs without the smart terrains. You just need logic.

I'm not messing you. I just think the gulags, are the source of the game's AI limitations. Who wants more npcs, in the stupid camfire?
You are modding stalker, using the worse feature of the game: The smart terrains.
  00:53:52  25 March 2012
profilee-mailreply Message URLTo the Top
cOldSnake
modeler
(Resident)

 

 
On forum: 07/11/2011
Messages: 197

---QUOTATION---
I never managed to get smart terrain to work

You can't not imagine how lucky you are.

I mean... how quicky they forget that all it takes to change the course of the Zone's history – is the will of a single stalker. Me.

Aha... lol.

I'm joking around, but a single npc... can change the zone. And no smart terrain crap is required. Same goes to news mods like: 'OMG, there's a salame in the fridge'. Or textures with 9000 Gbytes. The result would be an amazing salame, in the fridge under an amazing 'sky texture'... impossible to eat. And at this point, your game is dead... not because of the starvation, but because it's impossible to play it.

Olaf, my advice... Forget the gulag, and create the npcs without the smart terrains. You just need logic.

I'm not messing you. I just think the gulags, are the source of the game's AI limitations. Who wants more npcs, in the stupid camfire?
You are modding stalker, using the worse feature of the game: The smart terrains.
---END QUOTATION---


Totaly agree man.Its much more simple to create smart terrain "effect" with logic then with scripts
  04:02:55  25 March 2012
profilee-mailreply Message URLTo the Top
insanelazarez
Yeah, Good Luck With That...
(Resident)

 

 
On forum: 01/31/2009
Messages: 1070

---QUOTATION---
Totaly agree man.Its much more simple to create smart terrain "effect" with logic then with scripts
---END QUOTATION---



I'm not saying the smarts are useless, but to create a new one it's a pain in the ass. But i agree that in specific situations, the smart serves their purpuse. But it's very limitative.

Pretty interesting, would be a 'Portable Smart terrain'. Aha... 'If You like us... Carry us'

Here, Portable stalkers with logic included:

[link]http://www.youtube.com/watch?v=DgPRMMdEtLo[/link]

[link]http://www.youtube.com/watch?v=ntKBmSV0bG0[/link]

Now imagine the smart terrain in your inventory... lol
  12:24:16  25 March 2012
profilee-mailreply Message URLTo the Top
olaf1
Senior Resident
 

 
On forum: 01/17/2012
 

Message edited by:
olaf1
03/25/2012 12:49:08
Messages: 240

---QUOTATION---
I never managed to get smart terrain to work

You can't not imagine how lucky you are.

I mean... how quicky they forget that all it takes to change the course of the Zone's history – is the will of a single stalker. Me.

Aha... lol.

I'm joking around, but a single npc... can change the zone. And no smart terrain crap is required. Same goes to news mods like: 'OMG, there's a salame in the fridge'. Or textures with 9000 Gbytes. The result would be an amazing salame, in the fridge under an amazing 'sky texture'... impossible to eat. And at this point, your game is dead... not because of the starvation, but because it's impossible to play it.

Olaf, my advice... Forget the gulag, and create the npcs without the smart terrains. You just need logic.

I'm not messing you. I just think the gulags, are the source of the game's AI limitations. Who wants more npcs, in the stupid camfire?
You are modding stalker, using the worse feature of the game: The smart terrains.
---END QUOTATION---



but how i can respawn npc´s in a logic script?
i now that the smart trarrain the automatically make the respwan of npc´s

how i can mak it per logic script??

becaus i will spwan new level from a map pack.
 
Each word should be at least 3 characters long.
Search:    
Search conditions:    - spaces as AND    - spaces as OR   
 
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
 

All short dates are in Month-Day-Year format.


 

Copyright © 1995-2021 GSC Game World. All rights reserved.
This site is best viewed in Internet Explorer 4.xx and up and Javascript enabled. Webmaster.
Opera Software products are not supported.
If any problem concerning the site functioning under Opera Software appears apply
to Opera Software technical support service.