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 1 user and 245 guests online.

Online users

  • obliwobly

Languages

  • English English
  • French French

Browse archives

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

Sys_Get_All_Visible_Space_Objects_In_System

Submitted by unnamed on Tue, 2007-07-03 19:13. SE:V MODs

Hey Everyone,

Does Sys_Get_All_Visible_Space_Objects_In_System return only space objects visible by sensors, or does it include all items that are visible in system such as planets that are no longer in range of radar?

I'm looking for a function that only returns items within the radar range, and I dont see any from the Scripting Document.

Thanks

-Unnamed

‹ Shipset script problems How Would you mod in new races? ›
» 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.
Mod Designer

Re: Sys_Get_All_Visible_Space_Objects_In_System

Submitted by unnamed on Tue, 2007-07-03 19:28.

If this is only whats visible in sensor range, or there is a function to check only whats in sensor range, I may be able to give the AI a memory.

-unnamed

» login or register to post comments
Captain Kwok's picture
Mod Designer

Re: Sys_Get_All_Visible_Space_Objects_In_System

Submitted by Captain Kwok on Tue, 2007-07-03 19:44.

It makes a list of all the objects that an Empire can see (ie can be currently seen) in a given system.

-----

Space Empires Depot | SE:V Balance Mod

» login or register to post comments
Mod Designer

Re: Sys_Get_All_Visible_Space_Objects_In_System

Submitted by unnamed on Tue, 2007-07-03 19:45.

So even if not in sensor range .... thats what I thought, Thanks Kwok

-unnamed

» login or register to post comments
BlueTemplar's picture

Re: Sys_Get_All _Visible_Space_ Objects_In_System

Submitted by BlueTemplar on Tue, 2007-07-03 20:04.

Thank you. You sucessfully deformed the whole website layout with your one-word subject title.

» login or register to post comments
Mod Designer

Re: Sys_Get_All_Visible_Space_Objects_In_System

Submitted by unnamed on Tue, 2007-07-03 20:11.

Anything I can do to help. Smiling

-Unnamed

» login or register to post comments
Captain Kwok's picture
Mod Designer

Re: Sys_Get_All_Visible_Space_Objects_In_System

Submitted by Captain Kwok on Tue, 2007-07-03 21:01.

unnamed wrote:
So even if not in sensor range .... thats what I thought, Thanks Kwok

That's not quite what I said - things that "currently" can be seen, which would mean what is in sensor range and sight level. However, the AI will be able to remember if a planet not in sensor range belongs to another empire etc.

-----

Space Empires Depot | SE:V Balance Mod

» login or register to post comments
Mod Designer

Re: Sys_Get_All_Visible_Space_Objects_In_System

Submitted by unnamed on Tue, 2007-07-03 22:01.

What exactly is sight level. And how does the AI remember that a planet not in sensor range belongs to another empire. And how do I access that memory?
Thanks Kwok.

-Unnamed

» login or register to post comments
Captain Kwok's picture
Mod Designer

Re: Sys_Get_All_Visible_Space_Objects_In_System

Submitted by Captain Kwok on Tue, 2007-07-03 22:21.

Sensors have a sight range (distance they can see) and a sight level (ability to see in obscuring sectors or to detect cloaked ships).

The AI knows if a planet belongs to another as long as the planet itself has been discovered at some point (since planets are remembered from memory). This is because the script accesses who is the owner of this object - which extends beyond any game play sight level etc. There is no storage of this information.

-----

Space Empires Depot | SE:V Balance Mod

» login or register to post comments
Mod Designer

Re: Sys_Get_All_Visible Space_Objects_In_System

Submitted by unnamed on Tue, 2007-07-03 23:01.

ok fair enough since the program already know who owns the planet. So I could use Sys_Get_Space_Object_Owner with planets the AI has already seen to determine if the there are still enemy colonies on those planets.

hmmmmm

But if I did that it would automatically learn when the enemy colonizes planets, even though it never actually saw those planets colonized.

So I'm going to have to log planets that the computer sees with enemy colonies and then only check those. This is pretty much the path I was going down anyways. Thanks Kwok.

-Unnamed

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

  • Research By Percentage SUCKS
  • Troops/Fighter
  • drone combat?!
  • The mod simply knowns as "New Stuff"
  • Star Trek Trailers.....

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:

  • Impossible To Spend Bonus Research Points on Racial Specialties During Empire Creation
  • I have to say, i'm disapointed.
  • Combat Firing Question
  • Our solarsystem
  • is this a cheat or a bug?
(c) Strategy First, Inc. All rights reserved.