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 Newest Up Sort by Descending
  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 .
  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???
  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.
  05:14:57  2 September 2012
profilee-mailreply Message URLTo the Top
Storm Shadow
A machine, a Shadow Machine.
(Resident)

 

 
On forum: 11/14/2007
Messages: 1430

---QUOTATION---
In the all.spawn entry for an NPC

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


---END QUOTATION---


Yeah, i get this much, but for me when I do this, the NPCs dont do any of the things i've put into their custom data.... ...i dont get it.
  15:02:04  2 September 2012
profilee-mailreply Message URLTo the Top
eMphaticBG
(Senior)
 
On forum: 10/26/2011
 

Message edited by:
eMphaticBG
09/02/2012 15:04:30
Messages: 97
here how i ve done

custom_data = <<END
[smart_terrains]
none = true

[logic]
cfg = scripts\tcz\ivan.ltx
END

edit
and it works very good
  15:06:41  2 September 2012
profilee-mailreply Message URLTo the Top
Storm Shadow
A machine, a Shadow Machine.
(Resident)

 

 
On forum: 11/14/2007
Messages: 1430

---QUOTATION---
here how i ve done

custom_data = <<END
[smart_terrains]
none = true

[logic]
cfg = scripts\tcz\ivan.ltx
END

edit
and it works very good
---END QUOTATION---



i've done that too, but mine still dont work. i dont know why. they dont crash or anything, just have no effect at all.

what does active = have to be set to?
  17:43:53  2 September 2012
profilee-mailreply Message URLTo the Top
eMphaticBG
(Senior)
 
On forum: 10/26/2011
Messages: 97
man what is the script
what kind ?
write it
  22:00:12  2 September 2012
profilee-mailreply Message URLTo the Top
Storm Shadow
A machine, a Shadow Machine.
(Resident)

 

 
On forum: 11/14/2007
Messages: 1430
[logic]

Im having a hard time getting some new logics to work. it's as if the NPC's dont even recognise that i have added [logic] to them

i dont really know that much about logic, but i have assigned them active = ... (well at least i think i've done this correctly.

to make it easier to play with, i've given them a cfg = script in the their all.spawn entries.

one of them is the existing NPC esc_soldier_commander who is the commander at the rail over bridge in cordon that you need to bribe to get past. im just trying to give him a new trader scheme, so that he will sell different ammo types as you progress.

the other is esc_aliVe_stalker_4 who a new NPC added by aliVe mod, but then deactivated. i re-activated him as DC who lives under the bridge in cordon. Im just trying to give him some meet logic.

I feel like there's somthing missing!!!!! is there some extra command i need to give them somewhere to activate them to use logic? have i messed up the active = so that no logic will work at all!!??? i just dont know!
  23:20:19  2 September 2012
profilee-mailreply Message URLTo the Top
eMphaticBG
(Senior)
 
On forum: 10/26/2011
Messages: 97
i told you just write the damn logic

u said meet huh
here a example :


[smart_terrains]
none = true

[logic]
active = walker

[walker]
path_walk = gringo_point
path_look = gringo_look
meet = meet


[meet]
use = true
use_wpn = true

! notice
meet = meet
and the

[meet]
use = true
use_wpn = true

that inportant for meet logic
  23:22:37  2 September 2012
profilee-mailreply Message URLTo the Top
eMphaticBG
(Senior)
 
On forum: 10/26/2011
 

Message edited by:
eMphaticBG
09/02/2012 23:25:41
Messages: 97
here a script for trader

[combat_ignore]

[smart_terrains]
none = true

[logic]
active = walker
trade = misc\tcz\ivan.ltx
combat_ignore = combat_ignore

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

[meet]
use = true
use_wpn = true

or u must add

trade = ivan.ltx(example)
in the [logic]

edit:
i readen ur post well
i havet 1 same
i sugest u dont use the logic script from another folder like
scripts\pri\ ect. it may bug i havet this bug
i sugest u make a new folder and there place the ltx file
 
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-2020 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.