1. Are you planning to upload your awesome tool to Hive? Please review the rules here.
    July 9, 2018: The rules for the Tool Section have been revised. Please be sure to read the revisions.
    Dismiss Notice
  2. Join Texturing Contest #30 now in a legendary battle of mythological creatures!
    Dismiss Notice
  3. The Aftermath has been revealed for the 19th Terraining Contest! Be sure to check out the Results and see what came out of it.
    Dismiss Notice
  4. Melee Mapping Contest #3 - Results are out! Congratulate the winners and check plenty of new 4v4 melee maps designed for this competition!
    Dismiss Notice
  5. The winners of our cinematic soundtrack competition have been decided! Step by the Music Contest #11 - Results to check the entries and congratulate the winners!
    Dismiss Notice
  6. Check out the Staff job openings thread.
    Dismiss Notice

UpgradeCostCalculator V1.00

Submitted by Bloody_Turds
This bundle is marked as approved. It works and satisfies the submission rules.
Calculates the total, and cost per level for upgrades.

Written in C++ (code below)

If the program doesnt work, you may not have the latest version of .net framework
If your problem is still unresolved, post here, for troubleshooting

Keywords:
upgrades, calculator, balance
Contents

UpgradeCostCalculator V1.00 (Binary)

Reviews
Moderator
13:50, 13th Feb 2010 TriggerHappy: Would prefer some kind of GUI, but useful nonetheless.
  1. 13:50, 13th Feb 2010
    TriggerHappy:

    Would prefer some kind of GUI, but useful nonetheless.
     
  2. Bloody_Turds

    Bloody_Turds

    Joined:
    Jan 23, 2007
    Messages:
    1,262
    Resources:
    16
    Models:
    14
    Packs:
    1
    Tools:
    1
    Resources:
    16
    Hope you find it useful, even though its fairly simple

    Program may also be used for Hero Experience needed, since they fall under the same formula.

    Feel free to do whatever you wish with the source code, I dont even care if you credit me.
    Source Code
    Code (Text):
    #include "stdafx.h"
    #include <iostream>

    using namespace std;

    int _tmain(int argc, _TCHAR* argv[])
    {
        char quit;
        do {
        int levels, sum = 0, current = 0, inc = 0, base = 0;
       

        cout << "Enter the number of Levels: ";
        cin >> levels;
        cout << "Enter the base cost: ";
        cin >> base;
        cout << "Enter the Increment value: ";
        cin >> inc;
        while (current < levels)
        {sum = sum + base+(inc*current);
        current++;
        cout << "Level " << current << " Level Cost: " << base+(inc*(current-1)) <<  "    Total Cost: " << sum << endl;
       
        };
        cout << endl << "The Grand Total Cost is: " << sum << endl <<endl;


        //Reset
        cout << "Type 'R' to reset the program: ";
        cin >> quit;
        cout << endl << endl;
        } while ( quit == 'R' || quit == 'r'  );
        return 0;
    }
     
    Last edited: Feb 12, 2010
  3. crimson fire

    crimson fire

    Joined:
    Sep 17, 2009
    Messages:
    395
    Resources:
    0
    Resources:
    0
    hmm its neat, simple and useful ^^
     
  4. InfernalTater

    InfernalTater

    Joined:
    Jul 12, 2008
    Messages:
    2,956
    Resources:
    36
    Models:
    32
    Icons:
    2
    Packs:
    1
    Tutorials:
    1
    Resources:
    36
    It's extremely simple... I can do that stuff in 20 seconds using methods I learned in middle school...
     
  5. Zeatherann

    Zeatherann

    Joined:
    Nov 25, 2008
    Messages:
    1,303
    Resources:
    6
    Skins:
    1
    Tools:
    1
    Maps:
    4
    Resources:
    6
    Maybe learn and SFML/SDL, it's cross platform for linux/mac/windows, and is used for GUI/sounds/ect, and is still C++.

    Also, i might be motivated enough to post my own version of this with my appended ideas, but probably not as i'm very lazy.
     
  6. MasterTrainer

    MasterTrainer

    Joined:
    Apr 14, 2012
    Messages:
    2,768
    Resources:
    3
    Icons:
    1
    Maps:
    1
    Spells:
    1
    Resources:
    3
    Cool; I might be able to use this in balancing my map.