1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. It's not long before we will be moving. The new hosting has been setup and the next thing to be done is to change the DNS. When it's changed it may take between 24 to 48 hours to take effect. During this time XLN will be closed so it can be backed up. When the new DNS takes effect, you will see a basic page with a message regarding the move. Note: It may take up to two weeks to get XLN up and running again.
    Dismiss Notice

How Is Profitability Calculated?

Discussion in 'Modding Help Quarter' started by Tortuga, Nov 6, 2014.

  1. Tortuga

    Tortuga Unskilled Worker

    Aug 31, 2014
    Likes Received:
    What is the equation to calculate a company's profitability?

    I had assumed that:
    <MaxMonthlyBenefit>960</MaxMonthlyBenefit> <!--Profitability will never exceed 960-->
    <MaxMonthlyDeficit>-5280</MaxMonthlyDeficit> <!--Losses will never go below 5280-->
    <UpkeepCost>1480</UpkeepCost> <!--1480 subtracted from budget every month??-->

    and that:
    <Layer>LPAS_0</Layer> <!--Profits affected by passenger transport -->
    <Percent>10</Percent> <!--Adds (or substracts a 10%) to the profit depending passenger transport -->
    <WarningPercentThreshold>2.5</WarningPercentThreshold> <!--Triggers a warning, doesn't affect profit-->

    Is that all there is to it? Are resources bought and sold taken into account?

    <ResourceName>ROFF_0</ResourceName> <!--Produces office services -->
    <ResourceNumber>240</ResourceNumber> <!--Produces 240 units -->
    <ResourceUnitMinPriceBenef>17</ResourceUnitMinPriceBenef> <!-- 240*17= 4080 income??-->

    Is this so? What am I missing?

    APXHTEKTON Unskilled Worker

    Jan 11, 2015
    Likes Received:
    interesting view of the problem ... i guess there are multiple layers or tags for financial values in the documentation of the game... Im still a noob in CXL modding but I would rather see what line I need to get exactly what i want,not more... using all 300.000.000 commands for a simple building isn't worth.. but still I would like to know the answer on your question,too ...

  3. bobqwerty

    bobqwerty Executive

    Aug 29, 2014
    Likes Received:
    Yeah, it's almost this. The ressource production is the maximum production given perfect conditions (Jobs + Ressource requirements). The income (MaxMonthlyBenefit tag) will be further increased or decreased given other bonus or malus, such as diversity, etc. (parameters found in Globalsettings and simulation notes). Buildings can have insurance too (budgetagent tag).

Share This Page