Author Topic: Would a list of every possible unit be of any practical use?  (Read 1940 times)

0 Members and 1 Guest are viewing this topic.

Offline BFG

Would a list of every possible unit be of any practical use?
« on: February 14, 2013, 02:42:05 AM »
I've been thinking about writing a Visual Basic script to list every legal unit in Microsoft Excel or a similar application.  It would include the chassis/reactor/weapon/armor, cost, special abilities, etc.  But before I do, can anyone envision any practical use for such a list?

Estimates are that between 2 and 4 million unique units are possible in SMAX.

Offline testdummy653

Re: Would a list of every possible unit be of any practical use?
« Reply #1 on: February 14, 2013, 02:46:36 AM »
I've been thinking about writing a Visual Basic script to list every legal unit in Microsoft Excel or a similar application.  But before I do, can anyone envision any practical use for such a list?

It might be useful for guide.

Some one could also make a faction that uses the most crappy units possible and use your list.


Offline ete

Re: Would a list of every possible unit be of any practical use?
« Reply #2 on: February 14, 2013, 11:48:30 AM »
Perhaps more worthwhile/possible would be a google spreadsheet (so people don't have to download) with dropdowns for all the unit variables? Once you get spreadsheets with millions of lines, computers don't like it. Old versions can only have 65,536 rows while even the new ones max out at 1,048,576 rows. Four million would require around four sets of columns, probably massively lag any computer opening it, and be a HUGE file to download.

Offline BFG

Re: Would a list of every possible unit be of any practical use?
« Reply #3 on: February 14, 2013, 07:28:49 PM »
Perhaps more worthwhile/possible would be a google spreadsheet (so people don't have to download) with dropdowns for all the unit variables? Once you get spreadsheets with millions of lines, computers don't like it. Old versions can only have 65,536 rows while even the new ones max out at 1,048,576 rows. Four million would require around four sets of columns, probably massively lag any computer opening it, and be a HUGE file to download.
That might make more sense.  If a few more people think this would have a practical purpose (or at least be of interest), I'll probably do both.  I'll do a collection of spreadsheets - one per chassis - to make it more managable, and also a "calculator" that lets you plug in different characteristics to see the cost, etc.

Two things that would help me immensely:
(1) An ACCURATE cost calculation formula that takes all variables into account - not just chassis/weapon/armor/reactor type, but also things such as Industry SE.  (This might help yitzi and kyrub see flaws in the present calculation mechanism?)
(2) A copy of the formula SMACx uses to calculate battle odds (when "Always Confirm Battle Odds" is enabled).  If the weakest possible unit - which I would assume to be something like a Very Green Formers with no armor or enhancements - was set to an arbitrary value of 1, what is the value of, say, a Singularity Quantum Gravship?  I'd like the sheet to include the relative "value" of every single unit in combat.

 

* User

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Select language:

* Community poll

SMAC v.4 SMAX v.2 (or previous versions)
-=-
24 (7%)
XP Compatibility patch
-=-
9 (2%)
Gog version for Windows
-=-
103 (32%)
Scient (unofficial) patch
-=-
40 (12%)
Kyrub's latest patch
-=-
14 (4%)
Yitzi's latest patch
-=-
89 (28%)
AC for Mac
-=-
3 (0%)
AC for Linux
-=-
6 (1%)
Gog version for Mac
-=-
10 (3%)
No patch
-=-
16 (5%)
Total Members Voted: 314
AC2 Wiki Logo
-click pic for wik-

* Random quote

If our society seems more nihilistic than that of previous eras, perhaps this is simply a sign of our maturity as a sentient species. As our collective consciousness expands beyond a crucial point, we are at last ready to accept life's fundamental truth: that life's only purpose is life itself.
~Chairman Sheng-ji Yang 'Looking God in the Eye'

* Select your theme

*
Templates: 5: index (default), PortaMx/Mainindex (default), PortaMx/Frames (default), Display (default), GenericControls (default).
Sub templates: 8: init, html_above, body_above, portamx_above, main, portamx_below, body_below, html_below.
Language files: 4: index+Modifications.english (default), TopicRating/.english (default), PortaMx/PortaMx.english (default), OharaYTEmbed.english (default).
Style sheets: 0: .
Files included: 45 - 1228KB. (show)
Queries used: 36.

[Show Queries]