al12rs wrote:Hi, i wanted to ask if there was a way to add a new spawn point to a vehicle already on the map but keeping the original. For exemple to add apache heli on B base in Heavy Metal or some new static mounted weapons like AA or TOW other than the ones that already exist. So in the end it is about adding spawn points to vehicles.
Only way that you can add new vehicle spawns is to copy the existing map into a new one, which players would have to manually download before joining your server. It's pretty complicated and not worth the effort.
Although, as you read in the first post, some maps have extra vehicles already there so you can use them (and keep the mod server sided only so everyone could join). Easiest way to check if there are any extra vehicles is to search for e.g. "/ah64" and check how many spawns does it have. If it had 2 or more, you could edit the second one and place it where ever you wanted. You would also see that it spawns on a round end trigger, which can be changed to flag capped trigger just by coping the guid of the trigger of some other vehicle in the corresponding base to the vehicle you wanted to edit, so it spawns at the right time.
al12rs wrote:Do you know what these lines mean and if they might help?
<field name="RespawnRange">15.0</field> //no idea, might be the range in which no other might spawn.
<field name="SpawnAreaRadius">2.5</field> //probably the area in which it can spawn.
maybe by reducing the first and increasing the second, allowing MultipleSpawns and increasing MaxVehicles...
If all conditions allow multiple vehicles on a spawn point, RespawnRange
determines how far, in meters, can the first vehicle be away from the spawn point, in order to spawn a second one. SpawnAreaRadius
is a circle that is, in this case, 2.5 meters in half-diameter, it specifies that in order to spawn a vehicle, no other vehicles can be in that radius. It basically says that it needs some space to spawn, so that it wouldn't spawn into another vehicle and cause damage when spawning, or some other bugs.