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

Connexion utilisateur

  • Créer un nouveau compte
  • Demander un nouveau mot de passe

Navigation

  • news
    • archive
    • blogs
    • books
    • forums
    • recent posts
    • groups
  • image galleries
  • projects & downloads
  • search
  • create content
  • agrégateur de nouvelles

Rechercher

Qui est en ligne

Il y a actuellement 3 utilisateurs et 133 invités en ligne.

Utilisateurs en ligne

  • mudshark
  • Captain Kwok
  • Cicero

Languages

  • English English
  • French French

Parcourir les archives

« Juillet 2008  
Lu Ma Me Je Ve Sa Di
  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      
Accueil » news » forums » Support & Feedback » Scenarios & Mods » SE:V MODs

Population-drven Economy

Soumis par Helker le Sam, 2007-03-17 11:05 SE:V MODs

I want to create a mod which gives a great importance to the population of the Empire. One of the thing I have to modify is the facilities output, which I want to be based on the population on the planet instead of a fixed amount, but how can I do that?

The standard formula for an Organics Farm Facility, for example, is the following:

Ability 1 Amount 1 Formula := 3000 + (([%Level%] - 1) * 100)

Which produces 3000 + 100 per level of the facility after the first.

I'd like to modify it with something like 300 per 1000 units of population, up to 3000 per facility. With a bonus for higher facility level. (The actual numbers have to be defined...)

Is something like this even possible or I'm just wasting time?

Something simplier would be to just multiply the standard output with the percentage of the population on the planet ( [Current_Population] / [Total_population] )...

‹ Help with mod debugging Planetary Pictures & Models ›
» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur "Sauvegarder les paramètres" pour activer vos changements.

Re: Population-drven Economy

Soumis par Mylon le Dim, 2007-03-18 01:48

You can do this, however you need to edit the last bits in the setting.txt file. You won't be able to edit this in the facilities file. And, unfortunately, there's no formula function available. It took me a good long while to create a custom curve so mineral production ramps up pretty quickly at low pops but is overtaken by production at later pops. This makes heavy pop planets the industry, and new planets the mining colonies. Smiling

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Population-drven Economy

Soumis par zelos le Dim, 2007-03-18 02:25

where, to what and how did you manish this?

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Population-drven Economy

Soumis par Mylon le Lun, 2007-03-19 04:23

Open up settings.txt - It's the last block of text in that file. Think of how to want population to work and also plot the important data points along the production and SY rate curves you have chosen. Unfortunately, it does not take formulas, so you'll have to input data points. This process is slow and annoying, unfortunately.

It set it up so that SY Rate goes linerally to 100% at 1 billion, and the square root of the population (in billions) thereafter. Production runs at the cubic root the whole way, again, using 1 billion as a the "base". Colonies with small populations will produce more minerals than they manufacture. Conversely, colonies with big populations manufacture more than they produce. Getting a good size population for your empire is important.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Population-drven Economy

Soumis par Grumble314 le Lun, 2007-03-19 05:20

Try
http://imagemodserver.mine.nu/other/MM/SE5/Tools/SE4+5PopModifier.zip
By Suicide Junkie creates the entries from a formula then just copy it into the settings.txt

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Population-drven Economy

Soumis par Mylon le Lun, 2007-03-19 05:56

Damn. That could have saved me like, an hour or two. I should really learn to use this pyhton thing I have to create this stuff by script. Smiling

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Mod Designer

Re: Population-drven Economy

Soumis par Gideon le Dim, 2007-04-08 16:08

Grumble314 wrote:
Try http://imagemodserver.mine.nu/other/MM/SE5/Tools/SE4+5PopModifier.zip By Suicide Junkie creates the entries from a formula then just copy it into the settings.txt

Unfortunatly, this software will only perform the most basic functions. I need it to accept exp entries, or at least accept the long hand version.

The math I'm trying (unsuccessfully) to get it to use is: 500-400*(EXP(-0.000075*[%Pop%])).

The software sees EXP as a variable.

This long hand version: 500-400*((5+(1/[%Pop%]))^(-0.000046*[%Pop%])) causes the software to choke on an exception (probably divide by zero, even though it gives you no zero pop entry on the chart).

So, this software is basically unusable for me.

Edit for typoes.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Mod Designer

Re: Population-drven Economy

Soumis par Fyron le Dim, 2007-04-08 20:22

Then write your own script? Learn a little python and you can do it in 5 minutes...


SpaceEmpires.net | Space Empires Wiki

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Population-drven Economy

Soumis par Galvorte le Lun, 2007-05-14 21:34

Is there any way to change Research and Intel output to not use the production value?

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Population-drven Economy

Soumis par edge1218 le Jeu, 2008-03-20 19:39

Sys_Get_Planet_Population: long
planet_id: long
This function returns the total population on a planet. The planet_id is the ID
of the space object.

This combined with use of the Max population value per planet size would give you the percentage. I am pretty sure it would need to be scripted.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Population-drven Economy

Soumis par rahlubenru le Dim, 2008-03-23 15:02

so since it doesn't take formulas then having efficiency as
%planet pop used/%facility space used
with max at 100%, maybe 120% would be impossible then it'd probably want to be linear until 100 then exponentially declining to 120% or an S curve, I can't remeber the maths that makes one, ^3?

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur "Sauvegarder les paramètres" pour activer vos changements.

Now on STEAM

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

Contenu populaire

Aujourd'hui :

  • Research By Percentage SUCKS
  • Space Empires V 1.74
  • Governmet mod/patch/addon
  • Tweaking the planet art without going all the way to FQM
  • Shipsets, Empires, and dead AIs

Depuis toujours :

  • 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

Dernier accès :

  • scripts
  • I am so impressed!
  • Some Ships not appearing but no errors??@!@?!?@!??? BrAiNZzz
  • Stuipd Question
  • Temporal Technology: WHY?
(c) Strategy First, Inc. All rights reserved.