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 4 users and 154 guests online.

Online users

  • GambitUK
  • glockgemini
  • BlueTemplar
  • battlespud

Languages

  • English English
  • French French

Browse archives

« August 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 31
Home » news » forums » Space Empires V » Space Empires V FAQs

Formulas - modding

Submitted by bpleshek on Thu, 2008-07-03 14:00. Space Empires V FAQs

I've noticed this in some of the mods:

Tonnage Space Taken Formula F:Number A formula which returns the amount of tonnage space that this component takes on a vehicle.

But i cannot find out where the formula is set. Any help ?

Brian

‹ Creating the Peace Critical 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: Formulas - modding

Submitted by marhawkman on Fri, 2008-07-04 00:30.

"set"? I don't get it. Most of the time the formula is mindnumbingly simple. such as: "= 30"

» login or register to post comments
Mod Designer

Re: Formulas - modding

Submitted by Fyron on Fri, 2008-07-04 01:51.

Everything after the := is evaluated in-game, and the value returned is used for the size of the component in ship design.


SpaceEmpires.net | Space Empires Wiki

» login or register to post comments
Lord Aries Greymon's picture

Re: Formulas - modding

Submitted by Lord Aries Greymon on Fri, 2008-07-04 10:02.

I realize that you have been answered (twice allready), but this may be more (or less) helpfull.

The formula is set after this, :=

That, followed by a space, is where you "set" a "formula"
As Marhawkman has said, some are mind-numbningly simple formula of 1 to however-many digit numbers. IE: 1 to just shy of infinity

Most are not.
The second most common formula is what most non-mathematicians, non-programmers would recognize as a formula. An example:
Tonnage Structure Formula := 10 * (1 + ((Get_Empire_Tech_Level("Armor")) * 0.1)) * (1 + (([%Level%] -1) * 0.05))
Where * (asterisk) means multiply.

Remember, everything after := IS the formula, however simple it may be.

One of my favorite things, is modifying the Mineral organic and radioactive costs to a fixed number
____________________
LEGEND:

Stock : refers to Space Empires 4 or 5 as purchased, with no additional mods. Considered to "suck".
BM : short for "the Balance Mod" by Captain Kwok.
Un-named Mod, or Un-named's AI Mod : a replacement AI for stock.

» 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:

  • Bigger Map as in Bigger :)
  • Wepons Mod
  • Editing max systems in settings.txt
  • Known SE5 v1.74 Bugs
  • some stuff I use without support for AI - Crew

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:

  • SE5 1.08: Population reproduction bugs
  • Stargate Ship sets, mods
  • Treaties?
  • Script function to find particular component?
  • I can get used to the forum
(c) Strategy First, Inc. All rights reserved.