Gryphon Gear: Rare Beasts of the Track (SEEKING DESIGNER TO COLLAB)

No need to insert any additional lines for basic functionality. It’s as simple as creating an array with one unit for each forward gear in the two lines I circled in red.

I think you’re on the right track though for getting it to work with the ESC! I remember seeing something in the Automation-to-BeamNG “supercharger” mod file. There was a line of code in that separate file that would override any changes I made to the “exhaust burble and pop” in the base camso_engine.jbeam.

Let me see if I can dig that up. Maybe that’ll give us some direction or inspiration. Stay tuned!

EDIT: here it is:z021119_supercharge.zip (2.2 KB)

If you look under each supercharger type, there’s a line of code:

“mainEngine”:
{
//supercharger name
“supercharger”:“supercharger”,
“instantAfterFireCoef”: “$=(($S7Cov22)-15)/100",
“sustainedAfterFireCoef”: "$=(($S7Cov2
2)-15)/50”,
},

And no matter what I did in the camso_engine.jbeam file to change either of the “afterfirecoef” it was overriden by the above line of code in the separate supercharger file. So that got me thinking, perhaps if you were to use similar code in the camso_electronics.jbeam or even create a separate file (similar to the supercharger one and how it’s referenced) I think we’ll get closer to the answer.

EDIT 2: Once we figure this out, we can vary all-wheel drive power distribution by ESC mode too (like the Jeep Grand Cherokee Trackhawk). That’s an idea I’ve been bouncing around as well.

5 Likes