Sorry if this has been asked before but i was wondering whether it is possible to have the wrecks indestructable, if this has been answered before just give me a link
permanent wreck?
Collapse
X
-
jediisaacTags: None -
GameWizard
Re: permanent wreck?
Yep, you can probably change some variable to tweak the time before the explosion of the wreck to 99999 or something, which would essentially leave it for a very long time. This would leave the wreck, however when you have a lot of wrecks on the map that stay, it might build up and cause performance issues. -
Djuice -
Rahabib
Re: permanent wreck?
on somewhat related note. How do you change the vehicle spawn frequency? That way, the vehicle must be destroyed before the next one spawns - or be set to the same time. I have looked in the vehicle tweaks as well as the level cons and server.zip. I cant seem to change the spawn in times. Any way of doing this?Comment
-
excentriker.de
Re: permanent wreck?
its in the level files, server.zip ->>\GameModes\sp1\16\GamePlayObjects.con
under the
just alter the values or insert the whole properties if they don't existCode:rem [ObjectSpawnerTemplate: ...] ObjectTemplate.minSpawnDelay 20 ObjectTemplate.maxSpawnDelay 30
mfgComment
-
Rahabib
Re: permanent wreck?
hmm I tried those. What do those values mean exactly? What does the min and max do? is it a random time between those values?
I thought those values just represent the delay from spawning after capturing a CP not after a wreck. Perhaps I need to experiment more with them.Comment
-
excentriker.de
Re: permanent wreck?
after you capture a neutral flag for the first time , the tanks and other stuff spawn instantly, this are values in seconds for the spanwntime of a single vehicle after it is destroyedComment
-
Megaraptor
Re: permanent wreck?
You can compromise by lengthening "fade" times.Originally posted by DjuicePermanent Wreak = FPS WHORE!!!
Let's face it - in real wars burned out tanks get in the way.
But in BF2 all those wrecks would clog maps like Karkand from end to end if they didn't fade sometime.Comment
-
MarkHawk
Re: permanent wreck?
Anyway to have vehicles only spawn once and never again... even when retaken over?Comment
-
TrevorP
Re: permanent wreck?
I geuss you could make it like spawn to no flag at all I dont know If you can do that havent coded in a while...and then change the respawn time to like 99999....OR maybe have it when it spawns some things way up in the sky gets destroyed that makes them spawn form now on...Comment
-
NoB33r4u
Re: permanent wreck?
theres a minspawndelay and a maxspawndelay for all placed objects. In the individual map files.Originally posted by MarkHawkAnyway to have vehicles only spawn once and never again... even when retaken over?Comment
-
Rahabib
Re: permanent wreck?
I played with those values more and it works. I am not sure why there are two values but I set both of them higher than the stay as wreck values I modded in and now it works fine.Comment
Comment