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 1 utilisateur et 89 invités en ligne.

Utilisateurs en ligne

  • MondoMage

Languages

  • English English
  • French French

Parcourir les archives

« July 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

Distance determination problem

Image de Isopsyco
Soumis par Isopsyco le Dim, 2008-01-20 13:34 SE:V MODs

I have a problem with how SEV does distance determination: for the component that has the ability Open Warp Point to a distance of X light years doesn't do the script doc functions any good because i don't know what the translation factor is. The only two functions that give me distance (three, but the third tells me where a SY is) distance between two hex/sectors and the other between two systems. the problem with the distance between two systems is that its measured in how many systems one must traverse to get from A to B. Neither one of these is in light years, so how does one determine the max range of a open warp point ability to systems?

‹ Praise to Malfador Some Modding Questions ›
» 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 RogerN

Re: Distance determination problem

Soumis par RogerN le Dim, 2008-01-20 15:12

The distance in light years is measured in quadrant coordinates. Each system is assigned a set of coordinates in the quadrant. These coordinates determine where the system appears in your quadrant map. The distance between them is just calculated using the Pythagorean theorem, regardless of any warps that may or may not connect the systems.

I can't remember if the quadrant coordinates are visible in the game interface or not.

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

Re: Distance determination problem

Soumis par Isopsyco le Dim, 2008-01-20 15:53

I didn't know that, thanks. However, there still is the issue of conversion. I can get light year distances manually but not with any function in the script docs and I didn't see any quadrant coordinate function either so I'm still stuck. So I still can't compare an empire's warp point opening component ability distance to a list of system distances because I have no common unit to compare them with.

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

Re: Distance determination problem

Soumis par Isopsyco le Dim, 2008-01-20 16:31

I should have clarified in the original post, this is an AI scripting issue.

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

Re: Distance determination problem

Soumis par Captain Kwok le Dim, 2008-01-20 17:41

You could use the standard distance measurement between sectors (or between systems) and make some sort of guideline. If the distance between two systems is 100 sectors, you can assume that system is roughly X light years away.

Of course, the best solution is a new built-in function to return the distance in LYs between two systems.


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: Distance determination problem

Soumis par Isopsyco le Dim, 2008-01-20 17:51

Captain Kwok wrote:
You could use the standard distance measurement between sectors (or between systems) and make some sort of guideline. If the distance between two systems is 100 sectors, you can assume that system is roughly X light years away.

Of course, the best solution is a new built-in function to return the distance in LYs between two systems.


Space Empires Depot | SE:V Balance Mod

Captain Kwok, is the standard sector distance between systems include the distance between systems or just a tally of sectors with an additional one for the warp point? I've come to think that there is an assumption that there is a warp point system to connect every system given the functions available (like get_distance_between_systems is measured in how many systems a ship has to pass through) and didn't encompass a possibility of a no warp point game where there wouldn't be any WPs to build a system of connected WPs.

I'm still writing some test functions to check out distances and such with the current functions available to see what values actually are returned.

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

Re: Distance determination problem

Soumis par Captain Kwok le Dim, 2008-01-20 22:45

Oops. I completely neglected the fact that either of those functions needs active WPs to return anything and would therefore be useless in your situation. We just need a new function to return the LY distance, I don't see anyway around it.


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: Distance determination problem

Soumis par Isopsyco le Dim, 2008-01-20 23:39

I've tried the system to system distance and it returns zero with no warp points, so your right about the game requiring WPs for those functions to work.

Always running into hurdles that trip me up.....

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

Re: Distance determination problem

Soumis par battlespud le Lun, 2008-03-24 14:26

NOOOOOOOOOOOOOOOooooooooooooooooooooo dont stop now! What if you just made the ai not car eif its in range and try anyway? just make the systems close together or increase FTL range, at least for a with ai bteta?

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

Re: Distance determination problem

Soumis par Isopsyco le Lun, 2008-03-24 21:01

battlespud wrote:
NOOOOOOOOOOOOOOOooooooooooooooooooooo dont stop now! What if you just made the ai not car eif its in range and try anyway? just make the systems close together or increase FTL range, at least for a with ai bteta?
All is well, Aaron has come through and put a script function in the next patch that I requested. I'll actually get the AI to use FTL drives, I get to try all the tactics I have planned out....

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

Re: Distance determination problem

Soumis par Isopsyco le Dim, 2008-06-22 12:11

I did it, FTL drive mod works, the function does what it advertise it could do. Thanks again to Aaron and crew.

» 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
  • Balance Mod suggestion
  • Babylon 5 Wars SEV Mod Update
  • Space Empires V 1.74
  • Space Empires V

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 :

  • Saving An Empire During Game Creation
  • EvilMod
  • Balance Mod suggestion
  • Can I only use the AI of BM?
  • Unnamed AI version 1.09 available
(c) Strategy First, Inc. All rights reserved.