IPB

Welcome Guest ( Log In | Register )

Dropped kits' duration
BF2 SP Freak on ...
post Sep 24 2017, 10:30 PM
Post #1


Private
**

Group: Soldiers
Posts: 26
Joined: 6-August 16
Member No.: 11,722



Hello, everyone. I've been trying to change how long dropped kits remain on the ground. I haven't been able to find a "timetostayaswreck" line in the kits' files. I did search in the "list of important modding threads" & didn't find what I was looking for (doesn't mean it's not there) & if it can be changed, will setting it to "0" make them last forever?
As always, thanks for your time
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies (1 - 7)
Frosty98B
post Sep 25 2017, 05:40 AM
Post #2


Captain
***

Group: Soldiers
Posts: 58
Joined: 11-July 14
From: Slovakia
Member No.: 10,231



QUOTE (BF2 SP Freak on weed @ Sep 24 2017, 10:30 PM) *
will setting it to "0" make them last forever?

Wouldn't rather "-1" value cause them to stay there forever?

This post has been edited by Frosty98B: Sep 25 2017, 05:40 AM


--------------------
Go to the top of the page
 
+Quote Post
Fastj@ck
post Sep 25 2017, 08:05 AM
Post #3


Major
****

Group: Soldiers
Posts: 274
Joined: 24-August 08
From: Germany
Member No.: 5,523



QUOTE
timetostayaswreck


Your close but that is for vehicles or better said PCO's and destroyableObjects.
Open a kit and look for this codeline: My excample is from Project Reality

CODE
ObjectTemplate.timeToLiveAfterDeath 300


This post has been edited by Fastj@ck: Sep 25 2017, 08:06 AM
Go to the top of the page
 
+Quote Post
BF2 SP Freak on ...
post Sep 27 2017, 10:21 PM
Post #4


Private
**

Group: Soldiers
Posts: 26
Joined: 6-August 16
Member No.: 11,722



Aah, so that was it, thank you both
Go to the top of the page
 
+Quote Post
BF2 SP Freak on ...
post Oct 5 2017, 10:44 PM
Post #5


Private
**

Group: Soldiers
Posts: 26
Joined: 6-August 16
Member No.: 11,722



Hello again, sorry to be a pain in the buttocks, but I haven't been able to find any line similar to that in the kits, any ideas?
Go to the top of the page
 
+Quote Post
Death_EnForcer
post Oct 6 2017, 09:53 AM
Post #6


Dictator
Group Icon

Group: BFSP Team
Posts: 2,585
Joined: 17-July 04
From: New Jersey, USA
Member No.: 294



QUOTE (Fastj@ck @ Sep 25 2017, 09:05 AM) *
QUOTE
timetostayaswreck


Your close but that is for vehicles or better said PCO's and destroyableObjects.
Open a kit and look for this codeline: My excample is from Project Reality

CODE
ObjectTemplate.timeToLiveAfterDeath 300


QUOTE
BF2 SP Freak on weed Posted Yesterday, 11:44 PM
Hello again, sorry to be a pain in the buttocks, but I haven't been able to find any line similar to that in the kits, any ideas?


I'm guessing that he's saying that PR mod uses that code to change the time of the kits.
Have you tried adding it to kits?

http://www.realitymod.com/forum/f388-pr-bf...g-commands.html

https://projects.uturista.pt/bf2tech/index.php/BF2_Commands

CODE
objectTemplate.textureName std::string -> std::string
objectTemplate.textureName std::string -> std::string
objectTemplate.textureOffsetVelocity float -> float
objectTemplate.textureTileFactor float -> float
objectTemplate.throwStrength float -> float
objectTemplate.throwStrength2 float -> float
objectTemplate.Timeout float -> float
objectTemplate.timeout float -> float
objectTemplate.timeToGetControl float -> float
objectTemplate.timeToLive RandomDistribution -> RandomDistribution
objectTemplate.timeToLive RandomDistribution -> RandomDistribution
objectTemplate.timeToLive float -> float
objectTemplate.timeToLive RandomDistribution -> RandomDistribution
objectTemplate.timeToLive RandomDistribution -> RandomDistribution
objectTemplate.timeToLive float -> float
objectTemplate.timeToLive float -> float
objectTemplate.timeToLiveAfterDeath float -> float
objectTemplate.timeToLoseControl float -> float
objectTemplate.timeToRemoveTK float -> float
objectTemplate.toggleMouseLook bool -> bool
objectTemplate.toggleWeapon bool -> bool
objectTemplate.tolerance float -> float
objectTemplate.torque float -> float
objectTemplate.tracerConvergeDistance float -> float
objectTemplate.tracerInterval int -> int
objectTemplate.tracerScaler float -> float
objectTemplate.tracerSizeModifier float -> float
Go to the top of the page
 
+Quote Post
BF2 SP Freak on ...
post Oct 6 2017, 10:11 AM
Post #7


Private
**

Group: Soldiers
Posts: 26
Joined: 6-August 16
Member No.: 11,722



It looks like that actually worked, so thanx a lot!
Go to the top of the page
 
+Quote Post
Death_EnForcer
post Oct 6 2017, 07:02 PM
Post #8


Dictator
Group Icon

Group: BFSP Team
Posts: 2,585
Joined: 17-July 04
From: New Jersey, USA
Member No.: 294



QUOTE (BF2 SP Freak on weed @ Oct 6 2017, 11:11 AM) *
It looks like that actually worked, so thanx a lot!

Glad that it works. bigthumb.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th October 2017 - 05:10 PM