ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
Perma-corpse- what is the identifier for the game to make them perma-corpse

Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  15:30:31  16 January 2014
profilee-mailreply Message URLTo the Top
bamah
Senior Resident
 

 
On forum: 02/10/2008
Messages: 911
Perma-corpse- what is the identifier for the game to make them perma-corpse

Like the title says....
What is used by the game to identify the unique NPCs to remain as a perma-corpse?
Story ID
Profile
Visual
spawn "name"
or other means

I'm making a new free-play mod and want to remove the litter. I figured I'd ask and save my self some testing if someone knew definitively.
Thanks
B
  16:19:56  16 January 2014
profilee-mailreply Message URLTo the Top
ddraig
Senior Resident
 

 
On forum: 06/19/2012
Messages: 158
If you mean "Dead on spawn", then I'm pretty sure the only thing they do is set the health to 0 in the all.spawn

It's possible to make a corpse via scripted spawn, but as far as I'm aware it's impossible to spawn an already-dead stalker via scripting, you have to spawn one that's alive and subsequently killed either through a script or the logic files.
  16:47:32  16 January 2014
profilee-mailreply Message URLTo the Top
bamah
Senior Resident
 

 
On forum: 02/10/2008
Messages: 911
No...I mean when a unique or quest NPC dies his corpse is retained by the game. I'm looking for the identifier that is used to keep the corpse in game.
Thanks anyway!
  20:39:31  16 January 2014
profilee-mailreply Message URLTo the Top
Vintar
a bit of this and a lot of that
(Resident)

 

 
On forum: 08/08/2008
Messages: 6349
My guess is story id, or maybe uncheck "can switch offline" flag.
  21:06:01  16 January 2014
profilee-mailreply Message URLTo the Top
bamah
Senior Resident
 

 
On forum: 02/10/2008
Messages: 911
Actually...I think I found it. It's the spawn name. Wolf is my example.
name = esc_wolf
I changed spawn story ID and wolf was still there.
I changed his profile and spawn name from esc_wolf to a new NPC also named "wolf". He disappeared after death, with the elapsed time indicated in;
stalkers.ltx
[stalkers_common]
corpse_remove_game_time_interval = 1 ; hours
stay_after_death_time_interval = 1
Now to test again and if true change all unique or quest NPCs to "other".

@Vintar can you explain the "off line flag" not sure what you mean.
  20:11:32  17 January 2014
profilee-mailreply Message URLTo the Top
Steelyglint
Senior Resident
 

 
On forum: 06/06/2009
Messages: 5171
Using the method you found, can you 'make' a perma corpse?

I mean, rather than taking what is usually a perma corpse and removing its 'perma' status, can you use it to take a random NPC and give them perma corpse status?

It seems to be an entirely random thing in NS. A character can be a perma corpse in one game, and not in another. Some corpses hang around like perma corpses for game days, then you'll pass that spot again and they're no longer there. I don't mean dragged off by a mutant or even just become invisible - the game just seems a bit slow in removing some, a bit too quick in removing others, and just not bothered about litter at all when it comes to the odd few that were never permas before.

.
  22:40:25  17 January 2014
profilee-mailreply Message URLTo the Top
Vintar
a bit of this and a lot of that
(Resident)

 

 
On forum: 08/08/2008
Messages: 6349
It can possibly then be the class that is declared in the profile :

<class>esc_wolf</class>

In the properties of a stalker you will see two flags :

can_switch_offline
can_switch_online

or something like that.
 
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.