ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
how to make a npc never online only ofline

« Previous 10 events | 1 2 3 | Next 10 events »| All Messages
Posted by/on
Question/AnswerMake Oldest Up Sort by Ascending
  04:53:35  2 September 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: 6340
In the all.spawn entry for an NPC

custom_data = <<END
... <- Your logic here
END


Using the custom data variable, and then specifying an ending tag will result in the game assuming everything between the custom_data line and the end tag as custom logic.
Probably not the most accurate explanation, but its what it looks like to me.
  03:52:00  2 September 2012
profilee-mailreply Message URLTo the Top
Storm Shadow
A machine, a Shadow Machine.
(Resident)

 

 
On forum: 11/14/2007
Messages: 1430
how do you ensure that an NPC will actually recognise that i have added [logic] to them???
  18:36:05  1 September 2012
profilee-mailreply Message URLTo the Top
eMphaticBG
(Senior)
 
On forum: 10/26/2011
 

Message edited by:
eMphaticBG
09/01/2012 18:36:22
Messages: 97
it worked for now thank you Vintar .
  18:26:44  1 September 2012
profilee-mailreply Message URLTo the Top
eMphaticBG
(Senior)
 
On forum: 10/26/2011
Messages: 97
Ok.
  17:50:55  1 September 2012
profilee-mailreply Message URLTo the Top
Vintar
a bit of this and a lot of that
(Resident)

 

 
On forum: 08/08/2008
Messages: 6349
Yes, but try my suggestion first.
  16:49:37  1 September 2012
profilee-mailreply Message URLTo the Top
eMphaticBG
(Senior)
 
On forum: 10/26/2011
Messages: 97
you mean a smart terrain right
?
  07:22:20  1 September 2012
profilee-mailreply Message URLTo the Top
Vintar
a bit of this and a lot of that
(Resident)

 

 
On forum: 08/08/2008
Messages: 6349
Try to add
[smart_terrains]
none = true
directly into his custom data. I'm not sure it is read from ltx.
Problem with npcs is that a call to join a gulag is very strong. If the above doesnt work then create a gulag for just him and he will stay.
  22:15:16  31 August 2012
profilee-mailreply Message URLTo the Top
eMphaticBG
(Senior)
 
On forum: 10/26/2011
Messages: 97

---QUOTATION---
[combat_ignore]

[smart_terrains]
none = true

[logic]
active = walker
combat_ignore = combat_ignore

[walker]
combat_ignore_cond = always
path_walk = ivan_point
path_look = ivan_look
meet = meet

[meet]
use = true
use_wpn = true

i tried it didnt work :S
---END QUOTATION---




do i have to make a restrictor or something ?
  21:14:18  31 August 2012
profilee-mailreply Message URLTo the Top
eMphaticBG
(Senior)
 
On forum: 10/26/2011
Messages: 97
[combat_ignore]

[smart_terrains]
none = true

[logic]
active = walker
combat_ignore = combat_ignore

[walker]
combat_ignore_cond = always
path_walk = ivan_point
path_look = ivan_look
meet = meet

[meet]
use = true
use_wpn = true

i tried it didnt work :S
  18:13:08  31 August 2012
profilee-mailreply Message URLTo the Top
Vintar
a bit of this and a lot of that
(Resident)

 

 
On forum: 08/08/2008
Messages: 6349
[combat_ignore]

[logic]
combat_ignore = combat_ignore

[walker]
combat_ignore_cond = always
 
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.