Replies: 1 comment 2 replies
-
Hey whitevamp! Yes, there is a registered function for vehicles with the ADS specialization: Example usage: You can find all available breakdownIds in ADS_Breakdowns.BreakdownRegistry. Just a heads-up: vehicle.spec_AdvancedDamageSystem.activeEffects only contains the effects caused by faults, not the faults themselves. The actual breakdowns are stored in vehicle.spec_AdvancedDamageSystem.activeBreakdowns. However, I highly recommend using the function I mentioned, as it handles all necessary checks (like preventing duplicate breakdowns). Sorry for the delay, I missed your message. If you have any other questions, feel free to ask! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey id577,
I'm the dev behind the Tornado Physics mod. I love the complexity of your Advanced Damage System, and I'm currently writing a compatibility bridge in my mod to detect if a player has your mod installed.
The plan is: If my tornado hits a tractor and detects FS25_AdvancedDamageSystem, instead of applying generic damage, I want to trigger your specific fault codes (like FUEL_PUMP_MALFUNCTION or TRANSMISSION_SLIP) to simulate storm damage.
I just wanted to give you a heads-up as a courtesy. I'm currently looking at injecting faults into vehicle.spec_AdvancedDamageSystem.activeEffects. If you have a preferred 'public' function for other mods to trigger breakdowns, let me know!
Thanks for the great work!
Beta Was this translation helpful? Give feedback.
All reactions