Sign in to follow this  
Followers 0
I_Shoot_Back

Costum fuelstation,how to simulate?

3 posts in this topic

Hello all,

Having trouble getting costum placed fuel pumps to work proper for vehicle refill.

I have search and came across this:

Tried to apply the script to the initServer.sqf but to no result. Via recipe you can fill a fuel canister,but still can't refill a vehicle.Option get's presented to refuel,but fuel count doesn't go up.

What am I doing wrong?

Edited by I_Shoot_Back

Share this post


Link to post
Share on other sites

I think that it would need to be in initplayer.sqf not server. (possibly in both actually, not sure how mad the server would get if a client started saying hey bro, I'm going to fuel up here)

 

 

There are a couple a3 items that provide fuel feed to vehicles automatically by default. 

This is the newer looking one:

a3\structures_f\ind\fuelstation_small  >  fs_feed_f.p3d

 

This is the older, post-apocalyptic looking one:

a3\structures_f\ind\fuelstation  >  fuelstation_feed_f.p3d

 

 

Edit: ok looked into this more,

go into initserver.sqf, add your fuel feed like so: (change coords, and remove all the other objects in there except for your fs feed)

_objects =
[
["Land_FuelStation_Feed_F",[14619.2,16895.9,0],255.909,0,0,false]
];

then go into initplayerlocal.sqf, and uncomment the line that says #include initserver.sqf

 

pbo it up and try it out.

Edited by wasti

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
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.