ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
Space restrictors not working

« Previous 10 events | 1 2 | All Messages
Posted by/on
Question/AnswerMake Oldest Up Sort by Ascending
  08:35:48  3 March 2013
profilee-mailreply Message URLTo the Top
te47
Senior Resident
 

 
On forum: 06/03/2010
 

Message edited by:
te47
03/03/2013 8:37:45
Messages: 415
Thanks for the advice, but... I'm not sure if there's something wrong with my level editor or what, but when I double click on "in space restrictions" for NPCs, none of the campfire restrictors show up in the list. In fact, hardly any Dead City specific entities show up. It's mostly just general spawn element types in there, plus a few specific things from certain maps (other than campfire restrictors). I checked the vanilla maps, and it's the same thing there. Should I check "space_restrictor" in the list? Seems far too vague to actually work...

As for the gulag scripts, none of the vanilla ones include any campfire space restrictors in the "in_rest" lines. In fact, none of them even include multiple space restrictors at all. Just a single space restrictor in quotes. I'm all for improvised non-standard workarounds, but I'm not sure what the correct syntax is for multiple entries (assuming that's what you mean when you say I should insert all campfire restrictors). I guess I was hoping for a fix that would make the Dead City exactly the same as all other vanilla maps, but that's probably not too realistic at this point...
  11:06:24  2 March 2013
profilee-mailreply Message URLTo the Top
Bangalore
Robberbaron
(Resident)

 

 
On forum: 02/17/2008
 

Message edited by:
Bangalore
03/02/2013 11:08:46
Messages: 1158
You find restrictions for npc's in all.spawn and in the gulag script:
For all.spawn: in LE, choose npc, search for "in space restrictions" option, double click on it, and the maps space restrictor list will appear. Choose all campfire restrictor, tick them, recompile all.spawn, and test how it works.
In gulag script (for you gulag_deadcity.script), search for lines (or add them if missing) with

in_rest = "", out_rest = "",

and insert into in_rest all campfire restrictor on the map.
It should prevent all npc on that map to enter into campfires - theoretically.
  05:58:30  2 March 2013
profilee-mailreply Message URLTo the Top
te47
Senior Resident
 

 
On forum: 06/03/2010
Messages: 415
Space restrictors not working

I started discussing this in one of my threads from a while ago, but since it had nothing to do with what the thread was originally about (and was never resolved), I thought I'd give it its own thread.

I'm having a problem with the campfire space restrictors in the Dead City map I added to my mod. From what I can tell in the level editor, they're all identical to the working campfire space restrictors in vanilla maps, but none of the Dead City ones are working in-game. The only difference was that they were set to "NOT A restrictor" instead of "IN default restrictor" until recently, but fixing that didn't improve the situation at all (even though that theoretically should have been the whole problem).

Without working space restrictors for campfires, NPCs frequently just walk right into them and die as they try to take their seats. Is there anything else I can try, or anything I might have done wrong that could cause this?
 
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.