respawnVehicle – Talk

From Bohemia Interactive Community
Revision as of 18:59, 13 July 2007 by Doolittle (talk | contribs)
Jump to navigation Jump to search

There numerous ways this command could be implemented. Here in the BIS forums is just an example. --Sy 12:06, 21 June 2007 (CEST)

Are objects that are marked as respawnable treated any differently than normal objects that aren't set to respawn?? (Besides the respawning part) Meaning for the net code do they transmit more information about themselves? If I script spawned all my vehicles as respawnable 1 time, would the respawn code take care of cleaning up vehicles for me so I don't have to worry about a littered battlefield in a CTI game? --Doolittle 19:10, 21 June 2007 (CEST)

It should be mentioned you need respawnvehicle in description.ext: respawn=3; respawndelay=2; respawnvehicle=3; respawnVehicleDelay=10; --Doolittle 05:16, 13 July 2007 (CEST)

Respawned vehicles (not objects) have full health and fuel etc. if you are referring to 'more info about themselves'.

Eg. if your initial vehicle has half armour then the respawned vehicle will have full armour. You have to use script to manipulate the 'features' or 'attributes' a respawned vehicle will exhibit.

The 'respawnVehicle' command does not 'cleanup' vehicles for you, you have to do that yourself.

Not sure what you are referring to when you say one 'needs' respawnvehicle=3;. You appear to be using it in the context of the description.ext file. 'respawnVehicle' is a scripting command and not a description.ext parameter. --Sy 08:29, 13 July 2007 (CEST)

I was using _veh respawnVehicle [-1] in the hopes that the game would use the description.ext's respawnVehicleDelay, but it didn't seem to. It just used description.ext's respawnDelay. Then I noticed in BISs CTI mission they had respawnvehicle=3; in their description.ext. (But I didn't test that because by that time I had given up. *grin*)
What I meant at the top was... I was just curious why BIS had implemented their own type of respawnable vehicles even though we did that in OFP with scripts. So I was wondering if they were trying to tell us the "better way" to do respawn vehicles is to use their stuff. However, I like my own respawn vehicle scripts... I was just wondering if I should learn to embrace BISs respawn vehicle functions and markers because... maybe they're less taxing on the server... That's what I was wondering. --Doolittle 18:59, 13 July 2007 (CEST)