Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! 2.6/7 » The Bar » Possible new utility for creating testbeds
Re: Possible new utility for creating testbeds Thu, 12 February 2009 21:04 Go to previous messageGo to previous message
PaulCr

 
Chief Warrant Officer 3
Stars! V.I.P

Messages: 187
Registered: February 2007
Location: An Island that kinda look...
m.a@stars wrote on Fri, 13 February 2009 00:37

PaulCr wrote on Thu, 12 February 2009 23:02

at the moment the info.txt just includes Frigate (HullID of 5) who's slots are in the order 1,4,3,2 and orbital fort (HullID or 32) who's slots are in the order 5,2,1,4,3. From what I remember Slot 1 on ships is always used for the engine though. Does anybody know if anybody already has the slot orders, possibly because they may be used in another utility?

If you mean the Slot configuration (position, size, type), as extracted from Stars.exe itself, I use it for my "allitems" infodumper (the one I use to dinamically generate info like the Tech Tree). I think I used some old docs to decode most of it, but had to figure out some things by myself. The infodumper itself is probably complete enough that others might have a use for it. Sherlock


The data structure for designs is included on the website but they basically have a slot count and then later on have 4 bytes for each slot that contain the item category, item id and count. Each slot corresponds to a slot on the design, however they are not in the same order, ie in the data structure for a frigate the engine comes first, then the scanner, general purpose and finally shields. Given people have to put the items in the correct order knowing which slot is which is very useful since if you get it wrong the item just disappears. For those who have the stars technical reference the easiest way would be to write the slot numbers in each box which is what I am doing but I need the numbers to put in first and at the moment that would take a bit of trial and error. I've done the frigate and writing it on the tech manual they come in the order 1,4,3,2.
Eventually I'll probably produce a web page that can be printed displaying the diagrams from the technical reference with the corresponding slot number along the lines of

1432 - Frigate
   
 2
513 - Orbital Fort
 4


With diagrams like these I know that if I want to put a 16 Deltas in the bottom slot of the fort then I look up the CategoryID and ItemID for Deltas and put those value in the Slot4 element for the design in the xml file, without knowing which slot number corresponds to which box in the design you have to use trial and error to get it correct.

Given that most of the code is in the object dll somebody could write a friendlier interface using drag and drop like in stars but they would still need to know which slot number is which.

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Revival of an interesting idea?
Next Topic: 0.2% Minimum Damage
Goto Forum:
  


Current Time: Tue May 14 06:03:43 EDT 2024