Vehicle Repair Stations

RoaRk

New Member
So, I used the mission editor to add some buildings into Chernarus. I successfully added super markets, barracks, heli-pads, school/offices, field hospitals, and regular old hospitals. I also tried to add in some vehicle repair stations "TK_WarfareBVehicleServicePoint_EP1," but they are not working as they did when testing them in the mission editor.

I've seen that placing an ammo crate next to the repair station would work, but there must be some way to make this work as it did in the editor without adding additional "buildings."

I'm comfortable enough with the mission editor, but have not made a trigger work in connection to a building. I'm not sure if setting the building to a trigger is the answer, but it's the way my mind is going. Any help with this would be greatly appreciated.
 
not sure if a radius value is required. Maybe look into the original code of the object to check if there is a radius value you can use to extent the range?
 
It would make sense that its the same value for interacting with the vehicle which is default to 6 meters. Unfortunately its in the dayz code and not the mission files.
 
When I was playing around with repair trucks and built repair structures, I noticed that some of them will only repair certain vehicles. I ended up coming to the conclusion that the vehicle's side has to match (or be friendly to) that of the repair vehicle/structure, although I could be wrong.
 
Load them as a vehicle and it will work. need to be really close and some sides dont work very well but it fuctions.

Would you mind expanding on this a bit more? I'm not really sure what you mean by "loading them as a vehicle." Do you mean add the classname for the structure into the vehicle table?
 
Would you mind sharing the class name you used for yours? I know there are a few repair/refuel trucks, and I just want to make sure that this is going to work after several botched attempts. Thanks for the help!

EDIT: I see that there is a URAL, MTVR, and another repair/refuel vehicle. However, they have seperate class names. For instance, UralRefuel_CDF and UralRepair_CDF. Are they any trucks that are capable of both refueling and repairing or do I just need to add these two seperately? Another concern is the fact that it is a vehicle and not a built station. Are these vehicle repair stations enterable and driveable? I do NOT want people getting in these and driving them around.
 
US_WarfareBVehicleServicePoint_EP1 use this as the class name its not a vehicle but when loaded via database as a vehicle it will repair and refuel.

No they arent enterable its a cargo container with ammoboxes and fuel barrels. The only thing it does is service vehicles. Its possible that the us version will only repair us vehicles but I havent tested it.
 
US_WarfareBVehicleServicePoint_EP1 use this as the class name its not a vehicle but when loaded via database as a vehicle it will repair and refuel.

No they arent enterable its a cargo container with ammoboxes and fuel barrels. The only thing it does is service vehicles. Its possible that the us version will only repair us vehicles but I havent tested it.

Thanks for the class name. I just added these to my server and they are neither repairing or refueling as tested with a Tractor, Ural_Civil, or Police Car. I wonder if there is a generic repair/refuel depot that can work for ALL cars and not just their corresponding "side." I'll try and test with a US car sometime soon.

EDIT: Alright this isn't working at all. I even changed the repair stations to the RU version and tried repairing a UAZ_RU.
 
Back
Top