Jessy Posted November 20, 2022 Share Posted November 20, 2022 (edited) Hello I would like to change the fuel type and repair kit for the vehicles, but without success. Is there a way to do it? Example of what I would like: items: <property name="RepairTools" value="resourceVehiclesRepairKit"/> entityclasses: <property name="Consumables" value="resourceVehicleElec"/> And last but not least, is it possible that we can't fix them? Thank you for your answers Edited November 20, 2022 by Jessy (see edit history) Link to comment Share on other sites More sharing options...
Iceburg71 Posted November 24, 2022 Share Posted November 24, 2022 I have a mod that does "proper repair kits". But could never figure it out for vehicles. Changed them for everything else in the game, but just not vehicles. A lot is hard coded on vehicles and I have never seen or found a way to get a custom repair kits for a vehicle. Would love it if it happened, though, so I could truly complete my mod. Link to comment Share on other sites More sharing options...
meganoth Posted November 24, 2022 Share Posted November 24, 2022 (edited) You could ask the author of Apocalypse Now mod how he did it to get his vehicle repair kits working. Or check which external mod he included for this (IF he used a mod from someone else for this) and ask the author of that mod. If it just works in xml without changes in C# (what I would normally expect) you could also just read the code of the mod to learn the secret. Edited November 24, 2022 by meganoth (see edit history) Link to comment Share on other sites More sharing options...
bdubyah Posted November 24, 2022 Share Posted November 24, 2022 (edited) Vehicles are hard-coded to use "resourceRepairKit", so that mod likely renamed that one for vehicles, or used C#. The easy way to edit the vanilla repair kit to work how you want for vehicles, then make every other item use a different one. Fuel changes would need C# as well. Edited November 24, 2022 by bdubyah (see edit history) Link to comment Share on other sites More sharing options...
Jessy Posted November 26, 2022 Author Share Posted November 26, 2022 That's what I thought, thanks for your answers anyway! We'll continue to use normal petrol and simple kits Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now