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

Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  13:32:09  18 March 2012
profilee-mailreply Message URLTo the Top
olaf1
Senior Resident
 

 
On forum: 01/17/2012
 

Message edited by:
olaf1
03/19/2012 20:57:44
Messages: 240
Smart Terrain

So jet i will testing a smart terrain again and i hope any one can help me

i have writ this in the all.spawn


[1054111]
; cse_abstract properties
section_name = smart_terrain
name = mar_clear_sky_lager
position =  -57.909477233887,1.2459036111832,283.97409057617
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_clear_sky_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



and this by eah npc´s

[smart_terrains]
mar_clear_sky_lager = true
END



that is my gulag script in the gulag_escape.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




function load_states(gname, type)


	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
	

if gulag_type == "mar_clear_sky_lager" then
		return npc_community == "stalker"
	end



and this is my gulag_escape.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 is my way point

[mar_clear_sky_lager_kamper_003_kamp]
points = p0
p0:name = wp00
p0:position = -61.996055603027,0.92057931423187,293.67742919922
p0:game_vertex_id = 3402
p0:level_vertex_id = 106182

[mar_clear_sky_lager_kamper_003_kamp]
points = p0
p0:name = wp00
p0:position = -51.345394134521,1.1859278678894,296.54559326172
p0:game_vertex_id = 3402
p0:level_vertex_id = 114134

[mar_clear_sky_lager_kamper_003_kamp]
points = p0
p0:name = wp00
p0:position = -57.909477233887,1.2459036111832,283.97409057617
p0:game_vertex_id = 3402
p0:level_vertex_id = 109085



can anyone say me what on this is false??

when i start the game the npc´s go away but they shout kamp.

but i don´t knwo what i have to do. yet

can anyone help me.

thank you
  20:58:23  19 March 2012
profilee-mailreply Message URLTo the Top
olaf1
Senior Resident
 

 
On forum: 01/17/2012
Messages: 240
can nobody help me??
 
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.