Home Crush your enemies... and create an EMPIRE!!! Space Empires V -- BUY NOW!!!

User login

  • Create new account
  • Request new password

Navigation

  • news
    • archive
    • blogs
    • books
    • forums
    • recent posts
    • groups
  • image galleries
  • projects & downloads
  • search
  • create content
  • news aggregator

Search

Who's online

There are currently 3 users and 220 guests online.

Online users

  • ForesterSOF
  • Randallw
  • bauscho

Languages

  • English English
  • French French

Browse archives

« November 2008  
Mo Tu We Th Fr Sa Su
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Home » news » forums » Support & Feedback » Scenarios & Mods » SE:V MODs

Geometric Progression

Submitted by Nevyn on Thu, 2007-04-26 09:22. SE:V MODs

1 + 1/2 + 1/3 + 1/4....
Thats what some people have been after I believe when they have been talking about diminishing returns for upgrading facilities.
I'm just brain dead at 2am in the morning and I can't remember how to model this algabreically atm, so if someone has the formula for modeling a geometric progression we can be away with diminishing returns for upgrading them thar research centers.

‹ AI doesn't accumulate ships in fleet ship constuction mods ›
» login or register to post comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Geometric Progression

Submitted by Nevyn on Thu, 2007-04-26 10:31.

*coughs and whimpers* Wouldn't you know it
That particular progression model works out best using a natural log formula

0.5+LN((2n+1)/2) to be exact
Which isn't quite a perfect model of that geometric progression but is damn close.

Now since I'm on my laptop I'm just not sure if you can use a Natural log function inside the Facilities file

» login or register to post comments
Mod Designer

Re: Geometric Progression

Submitted by Gideon on Thu, 2007-04-26 11:36.

Nevyn wrote:
*coughs and whimpers* Wouldn't you know it That particular progression model works out best using a natural log formula

0.5+LN((2n+1)/2) to be exact
Which isn't quite a perfect model of that geometric progression but is damn close.

Now since I'm on my laptop I'm just not sure if you can use a Natural log function inside the Facilities file

0.5+Ln(((2*[%Level%])+1)/2) should do it, assuming you are basing it off of facility level.

From SE5_Modding.pdf:

Ln
(Val1: real): real

The Ln function returns the natural logarithm (Ln(e) = 1) of the real-type expression Val1.

» login or register to post comments

Re: Geometric Progression

Submitted by Nevyn on Thu, 2007-04-26 22:12.

Gideon wrote:
Nevyn wrote:
*coughs and whimpers* Wouldn't you know it That particular progression model works out best using a natural log formula

0.5+LN((2n+1)/2) to be exact
Which isn't quite a perfect model of that geometric progression but is damn close.

Now since I'm on my laptop I'm just not sure if you can use a Natural log function inside the Facilities file

0.5+Ln(((2*[%Level%])+1)/2) should do it, assuming you are basing it off of facility level.

From SE5_Modding.pdf:

Ln
(Val1: real): real

The Ln function returns the natural logarithm (Ln(e) = 1) of the real-type expression Val1.

Whoot! I just didn't have time to check the pdf last night when I posted it.
So all you people wanting a diminishing returns curve, there you have it. Now no longer can you simply pile 50 levels into Applied research and be miles ahead of the computer who has only spent 10, instead your only a fraction faster.

» login or register to post comments
Mod Designer

Re: Geometric Progression

Submitted by Gideon on Fri, 2007-04-27 15:18.

By the way, this is a great idea. Mind if I implement such a curve in my mod? Don't want to go around idea-stealing, but I've always liked the idea of diminishing returns...

» login or register to post comments
Mod Designer

Re: Geometric Progression

Submitted by Fyron on Fri, 2007-04-27 15:53.

It's not clear to me how using basic mathematical constructs could be an issue with "idea-stealing."


SpaceEmpires.net | Space Empires Wiki

» login or register to post comments

Re: Geometric Progression

Submitted by MRing on Fri, 2007-04-27 18:42.

Considering one of the earliest (modern) economists to put the concept of diminishing marginal returns to paper died in 1781 I don't think you'll be stepping on too many toes. Eye-wink It's a pillar of economic theory so if nothing else it sounds more realistic.

» login or register to post comments

Re: Geometric Progression

Submitted by Nevyn on Fri, 2007-04-27 23:03.

Go ahead and use my maths, that was why I posted it, so that people can use in mods.
It works best over a range of 1-20 levels, otherwise the top levels start getting virtually negligible returns.

» login or register to post comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Now on STEAM

Now on STEAM!Space Empires V via STEAMSpace Empires IV via STEAMSTEAM online by Valve Corporation

Popular content

Today's:

  • The mod simply knowns as "New Stuff"
  • Research By Percentage SUCKS
  • Star Trek Trailers.....
  • Space Empires V and VI: Expansions and the Future: Tell the Company What's on Your Wish List
  • Modding How to?

All time:

  • Space Empires V and VI: Expansions and the Future: Tell the Company What's on Your Wish List
  • Space Empires V
  • Gritty Galaxy Fleet Clash
  • Damn Dirty Bugs/Annoyances
  • Space Empires V: General Thoughts, Observations, and Suggestions

Last viewed:

  • The future of IRM.
  • Saving An Empire During Game Creation
  • 4 Questions for making new 3D ship sets
  • What to do with planet production when you don't need any combat oriented stuff?
  • Gid Mod 5.0.0-beta
(c) Strategy First, Inc. All rights reserved.