dock screen help

Freeform discussion about anything related to modding Transcendence.
Post Reply
sdw195
Militia Captain
Militia Captain
Posts: 779
Joined: Wed Nov 18, 2009 1:01 am
Location: Still looking for the csc Antarctica
Contact:

how would you (me) make a ds like dsExchangeBuy but select only items with modifiers= "info" :?:
Bobby
Militia Captain
Militia Captain
Posts: 675
Joined: Wed Jul 25, 2007 7:39 pm

I think this should work:

Code: Select all

			<ListOptions
				dataFrom=	"station"
				list=		"* +info;"
				>
sdw195
Militia Captain
Militia Captain
Posts: 779
Joined: Wed Nov 18, 2009 1:01 am
Location: Still looking for the csc Antarctica
Contact:

it would be for a ship device not a station
(i should have said that)
sdw195
Militia Captain
Militia Captain
Posts: 779
Joined: Wed Nov 18, 2009 1:01 am
Location: Still looking for the csc Antarctica
Contact:

would this do?

<DockScreen UNID="&dstest;"
name= "Ship's Cargo Hold"
type= "itemPicker"
backgroundID= "&rsItemListScreen;"
>

<ListOptions
dataFrom= "player"
list= "* +info;"
/>
Bobby
Militia Captain
Militia Captain
Posts: 675
Joined: Wed Jul 25, 2007 7:39 pm

Yes, list= works the same on stations and the player.
sdw195
Militia Captain
Militia Captain
Posts: 779
Joined: Wed Nov 18, 2009 1:01 am
Location: Still looking for the csc Antarctica
Contact:

how would i add +ID to it
Bobby
Militia Captain
Militia Captain
Posts: 675
Joined: Wed Jul 25, 2007 7:39 pm

add a +id;

Code: Select all

list=          "*U +id;"
all uninstalled ids

Code: Select all

list=          "*U +info;"
all uninstalled objects with the attribute "info"

Code: Select all

list=          "*U +info; +id;"
all uninstalled objects with the attribute info and is also an id


the U is needed so you don't sell your currently installed equipment. I forgot to mention that before. Also, it must be capitalized.

Code: Select all

			*	all categories
			a	armor
			d	device (weapon, shield, drive, etc.)
			f	fuel
			l	launcher weapon only
			m	missile
			r	reactor
			s	shields
			t	miscellaneous
			u	useful (armor coating, ROM, etc.)
			v	drive
			w	weapon (including launchers)
			I	is installed
			D	is damaged
			N	is not damaged
			S	is useable
			U	is not installed

	modifiers:
			+	must have this modifier
			-	must not have this modifier
pulled from an older version of the tdb, but it's still accurate as far as I know. You can use any combination you want.

NUv = not damaged, uninstalled, drives. srw = shields, reactors, and weapons.

I think ~ means "not" ie w~l = weapons that are not launchers.
sdw195
Militia Captain
Militia Captain
Posts: 779
Joined: Wed Nov 18, 2009 1:01 am
Location: Still looking for the csc Antarctica
Contact:

i want it to have +info or +id
Post Reply