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 2 utilisateurs et 250 invités en ligne.

Utilisateurs en ligne

  • ekolis
  • Randallw

Languages

  • English English
  • French French

Parcourir les archives

« December 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        
Accueil » news » forums » Support & Feedback » Scenarios & Mods » SE:V MODs

Modding Manual

Soumis par Helker le Sam, 2007-03-17 09:01 SE:V MODs

I remember reading about a modding manual with all the functions and the variables, but I cannot find it anywhere... Is it still to be shipped with the next patch?

Specifically I'm looking for a function or variable that return the population amount on the planet, in order to have the buildings producing quantities based on the population on the planet...

Thanks

‹ Our System AI doesn't accumulate ships in fleet ›
» 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.
Image de Captain Kwok
Mod Designer

Re: Modding Manual

Soumis par Captain Kwok le Sam, 2007-03-17 09:56

The Modding Guide is in the docs folder. Not sure if there is a function that returns the population.

-----

Space Empires Depot | SE:V Balance Mod

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

Re: Modding Manual

Soumis par Helker le Sam, 2007-03-17 10:29

Captain Kwok wrote:
The Modding Guide is in the docs folder. Not sure if there is a function that returns the population.

I'm now officially blind :-|

If that function is not there, is it possible to have it added?

Thank you

Edit:

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

Smiling

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

Re: Modding Manual

Soumis par Captain Kwok le Sam, 2007-03-17 10:36

That's a valid function for the AI scripts - but cannot be used in the data files. Make sure you're looking in the "SE:V Modding" document as opposed to the "SE:V Scripting" one for abilities/functions you can use in the data files.

-----

Space Empires Depot | SE:V Balance Mod

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

Re: Modding Manual

Soumis par Helker le Sam, 2007-03-17 11:18

Captain Kwok wrote:
That's a valid function for the AI scripts - but cannot be used in the data files. Make sure you're looking in the "SE:V Modding" document as opposed to the "SE:V Scripting" one for abilities/functions you can use in the data files.

I see...
Ok, I do not see the variables I need so I guess that my project dies even before it is born Sticking out tongue

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

Re: Modding Manual

Soumis par Brad le Dim, 2007-03-18 19:05

Helker wrote:
Ok, I do not see the variables I need so I guess that my project dies even before it is born :P

You might be able to kludge something like what you want using the population modifier settings in settings.txt. eg set your facility to produce 1, and have a huge number of population production modifiers so a pop of 100 gives 1000%, a pop of 110 gives 1001%, a pop of 2000 gives a 200000000% etc etc (adjust numbers to taste). I don't know if there's a maximum number of population modifiers you can have.

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

Re: Modding Manual

Soumis par Helker le Dim, 2007-03-18 19:48

Brad wrote:
Helker wrote:
Ok, I do not see the variables I need so I guess that my project dies even before it is born :P

You might be able to kludge something like what you want using the population modifier settings in settings.txt. eg set your facility to produce 1, and have a huge number of population production modifiers so a pop of 100 gives 1000%, a pop of 110 gives 1001%, a pop of 2000 gives a 200000000% etc etc (adjust numbers to taste). I don't know if there's a maximum number of population modifiers you can have.

I have to give this a try, thank you! Smiling

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

Re: Modding Manual

Soumis par Grumble314 le Lun, 2007-03-19 21:07

I have a quick question if a field is marked as decimal does that mean you can't use a formula in it and if so how can this change? I want to put a furmula in Engines Per Move but any time I do I get no movement in that class of vehichle Sad Created a new tech called engine efficiency and just want this to subtract a small numer from the engines per move.

edit hmm guess I can just make it add more movement per engine.

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

Re: Modding Manual

Soumis par Captain Kwok le Lun, 2007-03-19 22:23

The modding guide tells you if a field can except a formula or not. The EPM field cannot accept a formula.

-----

Space Empires Depot | SE:V Balance Mod

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

Re: Modding Manual

Soumis par Isopsyco le Jeu, 2007-03-22 20:59

Are there functions not listed in the modding manual? and what about the ones listed as 'not used', are they available to return values or are they defunct code left open?

I was looking for a function to give me coordinates of a vehicle size type during combat, would like to draw bitmap images at function returned coordinates (aka the smoke trail effect I'm still stubbornly trying to model).

A side question in case someone gets to it before I try it in game: does the bitmap effect lines really work in the ship_x.file class.txt?

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

Re: Modding Manual

Soumis par Rilbur le Mar, 2007-05-01 09:37

Brad wrote:
Helker wrote:
Ok, I do not see the variables I need so I guess that my project dies even before it is born :P

You might be able to kludge something like what you want using the population modifier settings in settings.txt. eg set your facility to produce 1, and have a huge number of population production modifiers so a pop of 100 gives 1000%, a pop of 110 gives 1001%, a pop of 2000 gives a 200000000% etc etc (adjust numbers to taste). I don't know if there's a maximum number of population modifiers you can have.

There is probably a limit, but its *VERY* high. Once upon a time I wrote a C++ program to do some work for me... I had 1% resource / ship construction for every 20 million people present. Which required 2 billion people for "full" construction. I then had the program take it all the way out to sphere world population limits. It ran. It may have been slow loading, but it ran.

_______________________
There are 10 types of people in the world:

Those that understand binary, and those that don't.

» 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
  • Is the Patch Process Dead, and Other Thoughts...
  • Known SE5 v1.74 Bugs
  • Babylon 5 Wars SEV Mod Update
  • Space Empires V 1.74

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 :

  • Noob question concerning satellites
  • SEV Bugs
  • More Bugs/Problems
  • 2 Problems: Loading empires and remote recovering of units
  • Using SFC ships in the game
(c) Strategy First, Inc. All rights reserved.