ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
Of smart terrains, space restrictors and gulags

« Previous 10 events | 1 2 3 4 5 6 7 8 9 ... 13 | Next 10 events »| All Messages
Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  18:29:30  2 February 2011
profilee-mailreply Message URLTo the Top
crucifist
(Senior)
 
On forum: 12/14/2009
 

Message edited by:
crucifist
02/02/2011 18:34:36
Messages: 105
Here, I have worked a little:

alife_***.ltx:


[9094]
; cse_abstract properties
section_name = respawn
name = gen_stalker_respawn_1
position = -110.88652038574,37.427352905273,-480.15625
direction = -0.0328151993453503,-0.00691708410158753,-0.207787200808525

; cse_alife_object properties
game_vertex_id = 2966
distance = 16.7999992370605
level_vertex_id = 191156
object_flags = 0xffffff3e
custom_data = <<END
[respawn]
respawn_section = gen_stalker_respawn_1,gen_stalker_respawn_2
;max_count = 10
;min_count = 3
max_spawn = 2
idle_spawn = often
END

; cse_shape properties
shapes = shape0
shape0:type = sphere
shape0:offset = 0,0,0
shape0:radius = 1

; cse_alife_space_restrictor properties
restrictor_type = 0

; se_respawn properties



spawn_section.ltx:


[gen_stalker_respawn_1]:stalker
$spawn 				= "respawn\gen_stalker_respawn_1"
character_profile	= sim_stalker_master
spec_rank = master
community = stalker

[gen_stalker_respawn_2]:stalker
$spawn 				= "respawn\gen_stalker_respawn_2"
character_profile	= sim_stalker_master
spec_rank = master
community = stalker



smart_terrain_presets.ltx:


[l13_generators]
monolith		= novice, experienced, veteran, master
pseudo_gigant	= normal, strong
cat 			= normal, strong
giant			= normal, strong
stalker              = novice, experienced, veteran, master




There is a smart terrains near my respawn point filled with stalker. I kill them, use a function to accelerate the speed time, change map and wait during 9 days. No respawn ...

I don't know why ...
  20:30:16  2 February 2011
profilee-mailreply Message URLTo the Top
gannebamm
has abondened XRay and uses Unity3D now
(Resident)

 

 
On forum: 05/02/2007
Messages: 1077
se_respawn.script ?
look into this table:

local simMaxCount = {
	stalker_novice = 53, --...-- , stalker_master = 10, ...


and higher the master number to 99.

and most likely its better to use a vanilla respawn section like "esc_stalker_1" (not tested!) first.
: esc_
: : means its a escape level respawn section

: _stalker_
: : means its community is stalker

: _1
: : means its the first respawn section of this type
  22:42:18  2 February 2011
profilee-mailreply Message URLTo the Top
Stalkerstein
Senior Resident
 

 
On forum: 04/24/2010
Messages: 1975
What does 'smart terrain' mean?
  22:55:57  2 February 2011
profilee-mailreply Message URLTo the Top
crucifist
(Senior)
 
On forum: 12/14/2009
Messages: 105
You mean that I haven't understood something Stalkerstein?

gannebamm: I have change the value in the se_respawn.script, to 99. But in the mod that I use, this value was set to 20 ...

Still not working. Even after 10 or 11 days.
  12:28:21  3 February 2011
profilee-mailreply Message URLTo the Top
gannebamm
has abondened XRay and uses Unity3D now
(Resident)

 

 
On forum: 05/02/2007
Messages: 1077
You try to get the respawner work at generators level? I´ve heard from kany that there are some issues with new levels regarding respawners/smartterrains and AI sometimes. So maybe you should try to get a very simple garbage respawner working and using basic vanilla sections so you could be shure that there arent any issues with these part of the code.
Best would be to duplicate a respawner in garbage and altering its respawn sections to some other vanilla section and look if it works.


@stalkerstein:
smartterrains are places npcs/mutants do jobs.
eg:
bridge post of military is a smartterrain
loner rookie village is a smartterrain
and many many many more (every camp where stalker sit and talk are smartterrains)
  12:34:25  3 February 2011
profilee-mailreply Message URLTo the Top
Vintar
a bit of this and a lot of that
(Resident)

 

 
On forum: 08/08/2008
Messages: 6349
Smart terrains are where npc's get their jobs from. Before, they used to get jobs from traders but this was changed for various reasons.
  12:53:48  3 February 2011
profilee-mailreply Message URLTo the Top
Robberbaron
Bangalore
(Resident)

 

 
On forum: 08/06/2009
 

Message edited by:
Robberbaron
02/03/2011 13:14:44
Messages: 614

---QUOTATION---
You try to get the respawner work at generators level? I´ve heard from kany that there are some issues with new levels regarding respawners/smartterrains and AI sometimes.
---END QUOTATION---



Let me correct this.
There are no issues with generators level or with other new levels itself.
What Kany reported, that happened only with my very first experimental build two years ago. Mostly thanks to an incompatible xrAI tool (and deficiency of knowledge), that build had incorrect ai maps, and bad graph and spawn.

Since then we have a full compatible xrAI. It all depends from the knowledge of the build maker, but with the latest xrAI tool the smart terrains/respawners and ai should work perfectly. The cause must be something else.
  14:38:17  3 February 2011
profilee-mailreply Message URLTo the Top
crucifist
(Senior)
 
On forum: 12/14/2009
Messages: 105
I have to add that I have seen that the sections are called because in my respawn section, I forgot to delete a respawn section. So the game crashed with an error like "unknown section "respawn_generators_3". It was called after 6 days. I don't have the error anymore. But it doesn't seem to spawn.

Is it possible to call the respawn manually to test it?
  14:55:43  3 February 2011
profilee-mailreply Message URLTo the Top
gannebamm
has abondened XRay and uses Unity3D now
(Resident)

 

 
On forum: 05/02/2007
 

Message edited by:
gannebamm
02/03/2011 14:56:09
Messages: 1077
se_respawn.script:

function spawn(name)
  local spawner = respawners[name]
  if spawner == nil then
    return
  end
...


eg.

function spawner_test()
  se_respawn.spawn(gen_stalker_respawn_1)
end


This function should be called from somewhat. eg. you could bind it to a key in mainmenu, look into the wiki for keybinding in main menu. This needs some basic knowledge of LUA.

@Rubber Baron
thx for claryfiing this!
  15:38:58  3 February 2011
profilee-mailreply Message URLTo the Top
Robberbaron
Bangalore
(Resident)

 

 
On forum: 08/06/2009
Messages: 614

---QUOTATION---

@Rubber Baron
thx for claryfiing this!
---END QUOTATION---



It doesn't change the fact, that we don't know, how did crucifist merged the generators level, or from which mappack did he grab it. I believe only in what i can open in level editor and check it with xrai.
 
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.