Jump to content
  • 0

Spawn a non persistent vehicle on same place


flow0815

Question

Hey togehter,

 

we have custom military area at the airfield and is just wanted to know if anybody could say how to spawn a custome vehicle in a defined place there.

The vehicle should not be permanent (shold not be the same vehicle after restart, if they can sell it it is okay). After the restart the vehicle should be on the same place again.

So there is always this vehicle setup fresh on restart and the "old" one deleted. I hope you understand what i mean.

 

Gues this should not be to difficult but no idea to get it on. Maybe like a object in arma which i would place in altis.h mapfile?

 

Thanks

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Not sure if this what you are looking for.. Go to a3_epoch_server_settings\configs\maps and open altis.h

 

At the bottom there is a "preferred locations for vehicles" list where you can add coords there. I have personally not tried this so I cant say for sure but it seems correct. Not sure about removing persistence..

Link to comment
Share on other sites

  • 0
  On 8/11/2015 at 12:38 PM, flow0815 said:

Hey togehter,

 

we have custom military area at the airfield and is just wanted to know if anybody could say how to spawn a custome vehicle in a defined place there.

The vehicle should not be permanent (shold not be the same vehicle after restart, if they can sell it it is okay). After the restart the vehicle should be on the same place again.

So there is always this vehicle setup fresh on restart and the "old" one deleted. I hope you understand what i mean.

 

Gues this should not be to difficult but no idea to get it on. Maybe like a object in arma which i would place in altis.h mapfile?

 

Thanks

 

I run it serverside.

example

 

custom_vehicles.sqf

 

  Reveal hidden contents

 

Vehicles respawn to same place after restart.

Link to comment
Share on other sites

  • 0
  On 8/11/2015 at 4:37 PM, READTHESCROLL said:

Not sure if this what you are looking for.. Go to a3_epoch_server_settings\configs\maps and open altis.h

 

At the bottom there is a "preferred locations for vehicles" list where you can add coords there. I have personally not tried this so I cant say for sure but it seems correct. Not sure about removing persistence..

 

thats for when you buy them, it is irrelevant for what he wants to do.

 

  On 8/11/2015 at 12:38 PM, flow0815 said:

Hey togehter,

 

we have custom military area at the airfield and is just wanted to know if anybody could say how to spawn a custome vehicle in a defined place there.

The vehicle should not be permanent (shold not be the same vehicle after restart, if they can sell it it is okay). After the restart the vehicle should be on the same place again.

So there is always this vehicle setup fresh on restart and the "old" one deleted. I hope you understand what i mean.

 

Gues this should not be to difficult but no idea to get it on. Maybe like a object in arma which i would place in altis.h mapfile?

 

Thanks

 

find the locations you want them to spawn, then make a small script to spawn in the vehicles each restart.

 

you can easily make something that would spawn random vehicles in predefined positions.

Link to comment
Share on other sites

  • 0
  On 8/11/2015 at 4:48 PM, SadBoy1981 said:

I run it serverside.

example

 

custom_vehicles.sqf

 

  Reveal hidden contents

 

Vehicles respawn to same place after restart.

 

Do the vehicle stay after resatart or just spawned new? they are not saved to hive i guess? This was the solution i was thinking about. You could use that with macas custom pbo for example

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...