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 167 invités en ligne.

Utilisateurs en ligne

  • GambitUK
  • Radecliffe
  • Nick194

Languages

  • English English
  • French French

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

Getting an Object's or Fleet's Current movement left???

Soumis par unnamed le Mar, 2007-11-27 16:17 SE:V MODs

Hey,

Is there a way to get a Object's or Fleet's current movement left??

I see a function for getting an space_object's max speed. Does this return its available movement whatever that is, or does it return its max conceivable speed assuming it has supplies and such (or before executing previous orders).

Also is there a function for getting a Fleet's max speed or current movement points left? (I havent seen one so far).

Any help would be greatly appreciated.

-Unnamed

‹ Can the limit for space yard's be removed? How are space objects numbered ›
» 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.
Mod Designer

Re: Getting an Object's or Fleet's Current movement left???

Soumis par Gideon le Mar, 2007-11-27 16:27

That is how fast it can currently go, not how much movement is left.

To get a fleet's max movement, you would need to do a search through all of the space objects in that fleet, and find the one with the lowest max movement.

I don't think there is a way to get remaining movement, but I could be wrong.

"Only by being constantly at war with evil in all things, including yourself, can you truely know peace."
Download my mod here: GidMod

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

Re: Getting an Object's or Fleet's Current movement left???

Soumis par unnamed le Mar, 2007-11-27 19:10

Thanks Gideon,

Thats what I was afraid of; but at least its doable.

-Unnamed

Unnamed Mod

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

Re: Getting an Object's or Fleet's Current movement left???

Soumis par Isopsyco le Mar, 2007-11-27 20:24

Couldn't you do a compare on the distance to destination and the computed movement points for the ship by component (since it only gives max). I know most mod functions don't work in the script portion so I don't think you can use those.

hhmm, I think you would have to set a bunch of constants for the ship size versus engine movement, but that gets messy and tedious.

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

Re: Getting an Object's or Fleet's Current movement left???

Soumis par Isopsyco le Mar, 2007-11-27 20:29

Sys_Get_Vehicle_Design_Space_Movement will give the space movement by design...Sys_Get_Space_Object_Maximum_Movement gives the current object...Sys_Get_System_Distance_Between_Solar_Systems will give the distance in a weird value, not sure if thats what your looking for...
If I see something I'll post it here for you

Not too many AI modders around, Kwok, Gideon and yourself seem the bulk of them (limited resource pool...)

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

Re: Getting an Object's or Fleet's Current movement left???

Soumis par Captain Kwok le Mar, 2007-11-27 20:32

As Gideon suggested is how I did in the Balance Mod.


Space Empires Depot | SE:V Balance Mod

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

Re: Getting an Object's or Fleet's Current movement left???

Soumis par Gideon le Mar, 2007-11-27 20:42

Isopsyco wrote:
Sys_Get_Vehicle_Design_Space_Movement will give the space movement by design...Sys_Get_Space_Object_Maximum_Movement gives the current object...Sys_Get_System_Distance_Between_Solar_Systems will give the distance in a weird value, not sure if thats what your looking for... If I see something I'll post it here for you

Not too many AI modders around, Kwok, Gideon and yourself seem the bulk of them (limited resource pool...)

Try using Sys_Get_Hex_Distance_Between_Sectors to get the distance between two...uhhh...sectors.

"Only by being constantly at war with evil in all things, including yourself, can you truely know peace."
Download my mod here: GidMod

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

Re: Getting an Object's or Fleet's Current movement left???

Soumis par unnamed le Mer, 2007-11-28 08:58

Thanks Everyone,

I ended up doing what Gideon suggested and Capt. Kwok did. It would be nice to have a function that returns the actual movement points left, but we work with what we have.

-Unnamed

Unnamed Mod

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

  • Issues with Baseship combat pitures
  • Space Empires V 1.74
  • Research By Percentage SUCKS
  • Space Empires V
  • Space Empires V and VI: Expansions and the Future: Tell the Company What's on Your Wish List

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 :

  • Do mothballed ships/bases count towards your vessel limit?
  • Benchmarks for Early Game
  • Very disappointed
  • Mod Install
  • 1.35 bug list
(c) Strategy First, Inc. All rights reserved.