Page 1 of 1
Time To Live After Death
Posted: Thu Mar 08, 2012 8:26 pm
by Waldek
I have increased the time within corpses stay visible after death in ObjectTemplate.timeToLiveAfterDeath. It works good when I create my own game (offline) however bodies dissapear after default 10 seconds in online servers. Why? Is there something that I need to do yet? Sadly I havent stumpled upon similiar topic so far
Re: Time To Live After Death
Posted: Thu Mar 08, 2012 10:14 pm
by Swaffy
It would have to be changed server-side, I believe.
Re: Time To Live After Death
Posted: Fri Mar 09, 2012 3:34 am
by Nathaniel
This needs to be changed server-side in ObjectSpawnTemplates.con and the value at the end can range from 0-9999
Example:
ObjectTemplate.Active USSoldier
ObjectTemplate.TimeToLiveAfterDeath 9999
Re: Time To Live After Death
Posted: Fri Mar 09, 2012 4:53 am
by Swaffy
The problem with having a butt load of bodies on the map is that it increases CPU overhead.
A nice midpoint for having that for Co-Op is about one minute.
A nice midpoint for having that for Multiplayer is about two minutes.
If you set the time higher for Co-Op, a lot of bots will be dying and causing lag because of the bodies laying all over the map...
Re: Time To Live After Death
Posted: Fri Mar 09, 2012 12:05 pm
by Waldek
So server side only, I've understood,

Re: Time To Live After Death
Posted: Sun Jan 12, 2014 10:02 am
by 4399cxyd
Waldek wrote:So server side only, I've understood,

No ,friend.download it:
http://pan.baidu.com/s/1zRQLg
and replace the original file,you will see bot have 255!

wish you good luck .
Re: Time To Live After Death
Posted: Sun Jan 12, 2014 10:10 am
by 4399cxyd
Waldek wrote:So server side only, I've understood,

Download it here, and replace the original file :
http://pan.baidu.com/s/1zRQLg
wish you good luck !
