Diddl3s

Chernarus Map: How to allow players to fill water bottles at pumps?

12 posts in this topic

Advertisement

One way: Place the appropriate items on the map.

Use the new Eden editor... follow these instructions.

The other way... open your config.cpp in your mission file and add the class name to the following array:

	class WaterSource
	{
		name = "Water tanks, barrels, coolers or pumps";
		models[] = 	
		{
			"barrelwater_f", 
			"barrelwater_grey_f",
			"waterbarrel_f",
			"watertank_f",
			"stallwater_f",
			"waterpump_01_f",
			"water_source_f"
		};
	};

 

Share this post


Link to post
Share on other sites
3 hours ago, taikonaut said:

Thanks for the reply, much appreciated!

The following code does not work, do you know if I am missing anything else ?

	class CleanWaterSource
	{
		name = "Water cooler";
		models[] = 	
		{
			"Land_Pumpa",
			"watercooler"
		};
	};

 

I have also tried the following with no success:

	class WaterSource
	{
		name = "Water tanks, barrels, coolers or pumps";
		models[] = 	
		{
			"barrelwater_f", 
			"barrelwater_grey_f",
			"waterbarrel_f",
			"watertank_f",
			"stallwater_f",
			"waterpump_01_f",
			"Land_Pumpa",
			"water_source_f"
		};
	};

 

Share this post


Link to post
Share on other sites

Thanks for the reply :)

Yes, I have had an empty bottle in the inventory. I used the recipe to try to fill it with water, as would be done at the Watercooler.

 

Any idea what I might have wrong other than that ?

Share this post


Link to post
Share on other sites

    class WaterSource
    {
        name = "Water tanks, barrels, coolers or pumps";
        models[] =     
        {

            // Chernarus
            "misc_wellpump.p3d",
            "pumpa.p3d"
        };
    };
 

    class FuelSource
    {
        name = "Fuel pumps, stations or barrels";
        models[] = 
        {
            "fuel_tank_big.p3d",
            "fuel_tank_stairs.p3d",
            "a_fuelstation_feed.p3d",
            "ind_fuelstation_feed_ep1.p3d",
            "fuelstation_feed_pmc.p3d",
            "ind_tanksmall2.p3d",
            "ind_tanksmall.p3d",
            "wagon_tanker.p3d"
        };    
    };
 

  • Like 1

Share this post


Link to post
Share on other sites
On 17. 4. 2016 at 2:06 PM, expru said:

    class WaterSource
    {
        name = "Water tanks, barrels, coolers or pumps";
        models[] =     
        {

            // Chernarus
            "misc_wellpump.p3d",
            "pumpa.p3d"
        };
    };
 

    class FuelSource
    {
        name = "Fuel pumps, stations or barrels";
        models[] = 
        {
            "fuel_tank_big.p3d",
            "fuel_tank_stairs.p3d",
            "a_fuelstation_feed.p3d",
            "ind_fuelstation_feed_ep1.p3d",
            "fuelstation_feed_pmc.p3d",
            "ind_tanksmall2.p3d",
            "ind_tanksmall.p3d",
            "wagon_tanker.p3d"
        };    
    };
 

Nice :-)

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.