TheSh1tGamer

Spawning Bikes

6 posts in this topic

I seem to have a problem where bikes sapwn in the middle of the road, Kinda deadly when doing 100 down the road,

Is there a way to remove them completely, have looked in server.cofig.pbo, and removed them, but they still appear,

Also changing server time doesnt do anything 

 

Thank you

 

Share this post


Link to post
Share on other sites

exile_server_config.pbo > config.cpp

remove them from your spawn vehicles array:

		/**
		 * These vehicles spawn on server restart close to spawn zones.
		 * They are non-persistent and will despawn on server restart.
		 * Basically they are just used to get away from the spawn zone
		 * faster.
		 *
		 * {Number of vehicles *per* spawn zone, vehicle class name}
		 */
		spawnZoneVehicles[] =
		{
			{2, "Exile_Car_Hatchback_Rusty1"},
			{2, "Exile_Car_Offroad_Rusty1"},
			{6, "Exile_Bike_QuadBike_Guerilla01"}
		};

 

Share this post


Link to post
Share on other sites
Advertisement

Hmm... I like the bikes. I just don´t like them on roads, because they are hard to spot, even when driving with a moderate speed. Maybe there could be some kind of position offset.

Share this post


Link to post
Share on other sites

What I did to avoid this, is to remove all spawn vehicles, and give players option to deploy bike instead of having ambient spawn, bike can only be spawned once per life/death. Seems to do the trick fine for me :)

2 people like this

Share this post


Link to post
Share on other sites
4 hours ago, ka0s said:

What I did to avoid this, is to remove all spawn vehicles, and give players option to deploy bike instead of having ambient spawn, bike can only be spawned once per life/death. Seems to do the trick fine for me :)

Ditto, except i don't have spawn script.

I set my vic grid to 1200 and 3 seems a perfect balance for "Easy mode" server.

Share this post


Link to post
Share on other sites

If you want to get the bikes to spawn randomly inside the spawn area its a simple edit. It is not guaranteed to keep them off the road but there will be more chance of them not being on the road.

In @ExileServer\addons\exile_server\code\ExileServer_world_spawnSpawnZoneVehicles.sqf you need to edit one line.

Find

ExileClient_util_world_findRoadPosition;

and replace with

ExileClient_util_math_getRandomPositionInCircle;

 

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.