SaintZ

Dynamic Boat Spawns

23 posts in this topic

Anyone know how I can set it so that boats spawn dynamically like vehicles? Got players asking for that and I thought it was a neat idea for Tonoa.

Share this post


Link to post
Share on other sites
8 minutes ago, SaintZ said:

Anyone know how I can set it so that boats spawn dynamically like vehicles? Got players asking for that and I thought it was a neat idea for Tonoa.

create one :)

 

Share this post


Link to post
Share on other sites
Advertisement

ah, wasn't sure if there was a setting I was over looking since there are already dynamic land vehicle spawns, but yeah, really helpful answer....I mean...it was so insightful and I learned so much from it.

Share this post


Link to post
Share on other sites

In your server pbo config.cpp:

		// Stuff to spawn on water
		water[] = 
		{
		};

		// Stuff to spawn on roads
		ground[] = 
		{
			"Exile_Bike_QuadBike_Black",
			"Exile_Bike_QuadBike_Blue",
			"Exile_Bike_QuadBike_Red",
			"Exile_Bike_QuadBike_White",
			"Exile_Bike_QuadBike_Nato",
			"Exile_Bike_QuadBike_Csat",
			"Exile_Bike_QuadBike_Fia",
			"Exile_Bike_QuadBike_Guerilla01",
			"Exile_Bike_QuadBike_Guerilla02",
			"Exile_Car_Volha_Blue",
			"Exile_Car_Volha_White",
			"Exile_Car_Lada_Green",
			"Exile_Car_Lada_Taxi",
			"Exile_Car_TowTractor_White",
			"Exile_Car_UAZ_Open_Green",
			"Exile_Car_UAZ_Green",
			"Exile_Car_LandRover_Ambulance_Desert",
			"Exile_Car_Tractor_Red",
			"Exile_Car_OldTractor_Red",
			"Exile_Car_Octavius_White"
		};

Add whatever water vehicles you want to spawn.

*EDIT* Oh, and General Discussion isn't for support topics. ;)

Edited by BetterDeadThanZed

Share this post


Link to post
Share on other sites
35 minutes ago, BetterDeadThanZed said:

In your server pbo config.cpp:


		// Stuff to spawn on water
		water[] = 
		{
		};

		// Stuff to spawn on roads
		ground[] = 
		{
			"Exile_Bike_QuadBike_Black",
			"Exile_Bike_QuadBike_Blue",
			"Exile_Bike_QuadBike_Red",
			"Exile_Bike_QuadBike_White",
			"Exile_Bike_QuadBike_Nato",
			"Exile_Bike_QuadBike_Csat",
			"Exile_Bike_QuadBike_Fia",
			"Exile_Bike_QuadBike_Guerilla01",
			"Exile_Bike_QuadBike_Guerilla02",
			"Exile_Car_Volha_Blue",
			"Exile_Car_Volha_White",
			"Exile_Car_Lada_Green",
			"Exile_Car_Lada_Taxi",
			"Exile_Car_TowTractor_White",
			"Exile_Car_UAZ_Open_Green",
			"Exile_Car_UAZ_Green",
			"Exile_Car_LandRover_Ambulance_Desert",
			"Exile_Car_Tractor_Red",
			"Exile_Car_OldTractor_Red",
			"Exile_Car_Octavius_White"
		};

Add whatever water vehicles you want to spawn.

*EDIT* Oh, and General Discussion isn't for support topics. ;)

  // Stuff to spawn on water
  water[] =
  {
   "Exile_Boat_MotorBoat_Police",
   "Exile_Boat_MotorBoat_Orange",
   "Exile_Boat_MotorBoat_White",
   "Exile_Boat_RubberDuck_CSAT",
   "Exile_Boat_RubberDuck_Digital",
   "Exile_Boat_RubberDuck_Orange",
   "Exile_Boat_RubberDuck_Blue",
   "Exile_Boat_RubberDuck_Black",
   "Exile_Boat_SDV_CSAT",
   "Exile_Boat_SDV_Digital",
   "Exile_Boat_SDV_Grey"
  };

If that is for spawning dynamic boats and such it no workie.........0 Boats spawning on the server, if there is a config option that turns this on and off then maybe that's the problem but I haven't seen it anywhere.

Didn't really think of it as a support question so much as a "anyone seen anything to be able to do this with" type of thing

  • Like 1

Share this post


Link to post
Share on other sites

If you look in your server files (@ExileServer\addons\exile_server\code\) you will see there is a ExileServer_world_spawnVehicles.sqf but nothing for Boats.

In the file it calles for ground vehicles but not water

_vehicleClassNames = getArray (configFile >> "CfgSettings" >> "VehicleSpawn" >> "ground");

so if you want boats to spawn you have to create a spawn file for them.

Share this post


Link to post
Share on other sites
8 hours ago, Mr Health And Safety said:

If you look in your server files (@ExileServer\addons\exile_server\code\) you will see there is a ExileServer_world_spawnVehicles.sqf but nothing for Boats.

In the file it calles for ground vehicles but not water


_vehicleClassNames = getArray (configFile >> "CfgSettings" >> "VehicleSpawn" >> "ground");

so if you want boats to spawn you have to create a spawn file for them.

Ty very much sir! That worked beautifully.

Share this post


Link to post
Share on other sites
17 hours ago, BetterDeadThanZed said:

In your server pbo config.cpp:


		// Stuff to spawn on water
		water[] = 
		{
		};

		// Stuff to spawn on roads
		ground[] = 
		{
			"Exile_Bike_QuadBike_Black",
			"Exile_Bike_QuadBike_Blue",
			"Exile_Bike_QuadBike_Red",
			"Exile_Bike_QuadBike_White",
			"Exile_Bike_QuadBike_Nato",
			"Exile_Bike_QuadBike_Csat",
			"Exile_Bike_QuadBike_Fia",
			"Exile_Bike_QuadBike_Guerilla01",
			"Exile_Bike_QuadBike_Guerilla02",
			"Exile_Car_Volha_Blue",
			"Exile_Car_Volha_White",
			"Exile_Car_Lada_Green",
			"Exile_Car_Lada_Taxi",
			"Exile_Car_TowTractor_White",
			"Exile_Car_UAZ_Open_Green",
			"Exile_Car_UAZ_Green",
			"Exile_Car_LandRover_Ambulance_Desert",
			"Exile_Car_Tractor_Red",
			"Exile_Car_OldTractor_Red",
			"Exile_Car_Octavius_White"
		};

Add whatever water vehicles you want to spawn.

*EDIT* Oh, and General Discussion isn't for support topics. ;)

wrong, for water isnt any spawncode in the maincode . its just a placeholder

 

look in my signature ther u will find a 

CustomVehicleSpawn.zip

ther u have a code for boat helis ec

Edited by Warsheep
  • Like 3

Share this post


Link to post
Share on other sites
On 7/10/2016 at 0:52 PM, Warsheep said:

wrong, for water isnt any spawncode in the maincode . its just a placeholder

 

look in my signature ther u will find a 


CustomVehicleSpawn.zip

ther u have a code for boat helis ec

Sheep, I love you. Just thought you should know that.

Share this post


Link to post
Share on other sites
6 minutes ago, SaintZ said:

Sheep, I love you. Just thought you should know that.

ya np, but this isnt for exile 1.00 (i dont think so) u can try it but i need to rework this first

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.