![]() |
![]() |
|
#1
|
||||
|
||||
|
Hallo,
Where can I regulate how long and if a tank wreck stays on the map and how long it burns for? Am looking at making a tank wreck stay mod. Thanks Alan |
|
#2
|
|||
|
|||
|
Look for "MinDestroyedLifeSpan" and "MaxDestroyedLifeSpan" in the ROVehicle class. On dedicated servers, I believe they are destroyed within 2 seconds serverside. On the host, they are destroyed to whatever MaxDestroyedLifeSpan is set to. On the client, they are destroyed to what MinDestroyedLifeSpan is set to.
|
|
#3
|
||||
|
||||
|
Hallo,
Thanks for your help. I ended up solving this one myself by extending the treadcraft class and adding this line TimeTilDissapear=500.000000 That is 500 seconds. Seems to work but if there is a better way of doing it that is easier on the server pls let me know. Thanks Alan |
![]() |
| Thread Tools | |
| Display Modes | |
|
|