non item criteria

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
Betelgeuse
Fleet Officer
Fleet Officer
Posts: 1920
Joined: Sun Mar 05, 2006 6:31 am

Does anyone know what the format for non item criteria is? Things like station criteria and sysFindObject criteria?

one extra question how does level Curve effect the item tables precisely?
Crying is not a proper retort!
User avatar
FAD
Militia Captain
Militia Captain
Posts: 732
Joined: Thu Aug 10, 2006 5:33 am
Location: Area 51

Betelgeuse wrote: ...how does level Curve effect the item tables precisely?
From what I've seen, for example, if you set an item table to level 5 items with a level curve of 2, there's a chance that you could get items from level 3 through 7.

Not sure about the first question, maybe George will answer that.
User avatar
Periculi
Fleet Officer
Fleet Officer
Posts: 1282
Joined: Sat Oct 13, 2007 7:48 pm
Location: Necroposting in a forum near you

Are you asking about 'locationCriteria'?
User avatar
Betelgeuse
Fleet Officer
Fleet Officer
Posts: 1920
Joined: Sun Mar 05, 2006 6:31 am

locationCriteria is part of it (like what is the difference between + and ++ and what is the outer system)
stationCriteria is another part (what does ! mean)
if you look at the uses of sysFindObject you will see other things too.
Crying is not a proper retort!
User avatar
Periculi
Fleet Officer
Fleet Officer
Posts: 1282
Joined: Sat Oct 13, 2007 7:48 pm
Location: Necroposting in a forum near you

Check out transcendence.xml at the top of the Systems section-

<!-- STAR SYSTEMS *************************************************************

STANDARD LABELS

InnerSystem within 360 light-seconds of star
LifeZone between 360 and 620 light-seconds of star
NearStations within 30 light-seconds of any station (not debris)
OuterSystem beyond 620 light-seconds of star

asteroids among asteroids
asteroidbelt among asteroid belt around star
cratered in orbit around cratered planet/moon
desert in orbit around desert planet/moon
earthlike in orbit around earthlike planet/moon
frost among frost asteroids
gasgiant near gas-giant planet
ice among ice asteroids
methanegiant near methane-giant planet
moon in orbit around large moon
nebulae in a nebula
ocean in orbit around ocean planet/moon
planet in orbit around primary planet
planetary in orbit around planet or large moon
poisonous in orbit around poisonous planet/moon
radioactive in orbit around radioactive planet/moon
ringedgiant near ringed-giant planet
trojan at trojan (or antitrojan) point
volcanic in orbit around volcanic planet/moon

LABEL HIERARCHY

asteroids
asteroidbelt
comet
frost
ice

planetary
moon
cratered
desert
earthlike
ocean
poisonous
radioactive
volcanic
planet
cratered
desert
earthlike
frost
gasgiant
methanegiant
ocean
poisonous
radioactive
ringedgiant
volcanic

trojan
void

-->

+, ++, -, --, and also * and ! can be used with the listed attributes.

! means never or not, as in !primary to never choose a station with the 'primary' attribute. * means any, I think, as in *enemy to choose anything with enemy attribute

+planetary means twice as likely to appear near planetary.
User avatar
Betelgeuse
Fleet Officer
Fleet Officer
Posts: 1920
Joined: Sun Mar 05, 2006 6:31 am

cool thanks now all that is needed is the sysFindObject criteria.
Crying is not a proper retort!
User avatar
Ttech
Fleet Admiral
Fleet Admiral
Posts: 2767
Joined: Tue Nov 06, 2007 12:03 am
Location: Traveling in the TARDIS
Contact:

Periculi wrote:Check out transcendence.xml at the top of the Systems section-

<!-- STAR SYSTEMS *************************************************************

STANDARD LABELS

InnerSystem within 360 light-seconds of star
LifeZone between 360 and 620 light-seconds of star
NearStations within 30 light-seconds of any station (not debris)
OuterSystem beyond 620 light-seconds of star

asteroids among asteroids
asteroidbelt among asteroid belt around star
cratered in orbit around cratered planet/moon
desert in orbit around desert planet/moon
-->

+, ++, -, --, and also * and ! can be used with the listed attributes.

! means never or not, as in !primary to never choose a station with the 'primary' attribute. * means any, I think, as in *enemy to choose anything with enemy attribute

+planetary means twice as likely to appear near planetary.


Astroids among astroids? + ++ - -? oh so locations? Where verthing is placd?


Betelgeuse: IS this wahat you were asking me about?
Image
Image
User avatar
Betelgeuse
Fleet Officer
Fleet Officer
Posts: 1920
Joined: Sun Mar 05, 2006 6:31 am

that list tells me everything I need to know on location criteria Ttech.

Now all I need is to find how what the sysFindObject criteria is. (would be very useful for filtering stations and ships)
Crying is not a proper retort!
User avatar
FAD
Militia Captain
Militia Captain
Posts: 732
Joined: Thu Aug 10, 2006 5:33 am
Location: Area 51

Not sure what criteria you're looking for, but hopefully this bit may help a little;

Code: Select all

(sysFindObject gSource "sEN:20;")
Naturally, the gSource is where the code is being executed from, be it a station, ship or player etc... The "sEN:20;" acts like a parameter distance...the higher the number (20 in this example) the greater the parameter to find the object, in this case.
User avatar
Ttech
Fleet Admiral
Fleet Admiral
Posts: 2767
Joined: Tue Nov 06, 2007 12:03 am
Location: Traveling in the TARDIS
Contact:

Betelgeuse wrote:that list tells me everything I need to know on location criteria Ttech.

Now all I need is to find how what the sysFindObject criteria is. (would be very useful for filtering stations and ships)
aye aye. Captain. :P
Image
Image
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

(sysFindObject source filter) -> list of objects

* G -> Stargates only
* s -> Include ships
* t -> Include stations (including planets)
* T -> Include structure-scale stations
* T:xyz -> Include stations with attribute 'xyz'
* A -> Active objects only (i.e., objects that can attack)
* B:xyz -> Only objects with attribute 'xyz'
* D:xyz -> Only objects with data 'xyz'
* E -> Enemy objects only
* F -> Friendly objects only
* M -> Manufactured objects only (i.e., no planets or asteroids)
* N -> Return only the nearest object to the source
* N:nn -> Return only objects within nn light-seconds
* O:escort -> Ships ordered to escort source
* R:nn -> Return only objects greater than nn light-seconds away


I don't remember where I found it, but it isn't mine.

what FAD posted ("sEN:20;") means "enemy ships wihin 20 light-seconds", if I'm correct.
User avatar
Betelgeuse
Fleet Officer
Fleet Officer
Posts: 1920
Joined: Sun Mar 05, 2006 6:31 am

wow thanks a ton :D
Crying is not a proper retort!
Post Reply