A <device> tag using filter, oh, please!

Post ideas & suggestions you have pertaining to the game here.
Post Reply
User avatar
Periculi
Fleet Officer
Fleet Officer
Posts: 1282
Joined: Sat Oct 13, 2007 7:48 pm
Location: Necroposting in a forum near you

Thinking about random equipment and ways to get the ships to select from a set of choices rather than a static equipment set up, and I was wondering about how possible it would be for ships and stations to be set up to use the filtering system just like the stores and inventory does-

For example, a <device> tag could use something like deviceID="w, +Sung, +Military" rather than requiring a specific &itName

And you know I am only dreaming about this because nothing I try in the tag seems to want to work- no code seems to be allowed.
User avatar
Betelgeuse
Fleet Officer
Fleet Officer
Posts: 1920
Joined: Sun Mar 05, 2006 6:31 am

what would would be easier is to make devices work with tables like this

Code: Select all

<Table>
	<Device chance="50" deviceID="&itNAMIHeavyLauncher;"/>
	<Device chance="50" deviceID="&itNAMIHeavyLauncher;" omnidirectional="true"/>
</Table>
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

wait, I didn't try that.. did it work?

edit- Yeah, um... wow that was a mean crash, no error either.
Last edited by Periculi on Sat Jan 05, 2008 5:54 am, edited 1 time in total.
User avatar
Betelgeuse
Fleet Officer
Fleet Officer
Posts: 1920
Joined: Sun Mar 05, 2006 6:31 am

no sadly, I am hoping it does get introduced
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:

Betelgeuse wrote:what would would be easier is to make devices work with tables like this

Code: Select all

<Table>
	<Device chance="50" deviceID="&itNAMIHeavyLauncher;"/>
	<Device chance="50" deviceID="&itNAMIHeavyLauncher;" omnidirectional="true"/>
</Table>
I already suggested that. Invact I suggested multi tables for the same devices or eg: one has the omni tag another has omni and something or the other has somethign or something 2. :)
So variations of the same weapon.
Image
Image
User avatar
Periculi
Fleet Officer
Fleet Officer
Posts: 1282
Joined: Sat Oct 13, 2007 7:48 pm
Location: Necroposting in a forum near you

Oh, well in that case, *pins award to Ttech there ya go, Happy Suggestion!

/me runs off laughing the laugh of someone two seconds from being locked up in the funny farm (probably: again).

:P
Post Reply