GearCity

GearCity

View Stats:
Hybris 3 Jul, 2023 @ 5:58pm
Is there a XML file for editing values of the sliders of various parts?
I have started making a personal mod to the game and something that I run into with the base game and now in my modded game is that the transmissions can't handle the torque values of most of my engines especially in the early game.

Reading the wiki on how everything is calculated besides the number of gears there are no other variables pulled from the components XML file that would pertain to max torque as its all locked away within the value of the sliders.

Is there a way to mod the sliders values or change how the formula works? Even just adding a simple *2 or *3 to the current output would solve most of my problems.

It would also potentially allow me poke around with other component systems for fun.
Originally posted by Eric.B:
You are correct. There are no other variables to the Maximum Torque Support system outside of the gear count per the game mechanics manual: https://wiki.gearcity.info/doku.php?id=gamemanual:gm_gearboxes_design#maximum_torque_support

There is no way to change the formulas as they're hard-coded into the game. In our Feature Bounty System, we have some bounties to move these formulas to an external scripting language, Angelscript: https://www.ventdev.com/forums/showthread.php?tid=3904 , but we're a long way from getting those bounties funded.

A workaround in GearCity: 2nd Gear could be using a higher "Gear count" value for a named gear. But this would affect all formulas that use the gear count value. It also doesn't work in classic GearCity.

Alternatively, I will open-source the game at some point in the distant future. Although, that could be many years from now.


Sorry, I don't have a good workaround for what you're looking to do.
< >
Showing 1-2 of 2 comments
The author of this thread has indicated that this post answers the original topic.
Eric.B  [developer] 3 Jul, 2023 @ 10:18pm 
You are correct. There are no other variables to the Maximum Torque Support system outside of the gear count per the game mechanics manual: https://wiki.gearcity.info/doku.php?id=gamemanual:gm_gearboxes_design#maximum_torque_support

There is no way to change the formulas as they're hard-coded into the game. In our Feature Bounty System, we have some bounties to move these formulas to an external scripting language, Angelscript: https://www.ventdev.com/forums/showthread.php?tid=3904 , but we're a long way from getting those bounties funded.

A workaround in GearCity: 2nd Gear could be using a higher "Gear count" value for a named gear. But this would affect all formulas that use the gear count value. It also doesn't work in classic GearCity.

Alternatively, I will open-source the game at some point in the distant future. Although, that could be many years from now.


Sorry, I don't have a good workaround for what you're looking to do.
Hybris 3 Jul, 2023 @ 11:25pm 
That pretty much confirms my suspicion. I might play around with the gear count to see if I can get something serviceable in the mean time or ultimately scale back the tweaked power levels to something closer to the original code.
< >
Showing 1-2 of 2 comments
Per page: 1530 50