Page 1 of 1

Item Collection (itmc) - Completed

Posted: Tue Mar 04, 2008 11:57 pm
by Aumaan Anubis
Overview
Tag - Item Collection (itmc)
Use - Item references


Tag Layout

Code: Select all

<uint name="Unused Spawn Time   (in seconds, 0 = default)" offset="8" visible="True" />
<Reflexive name="Item Permutations" offset="0" visible="true" chunksize="16">
    <float name="Weight" offset="0" />
    <tag name="Item" offset="4"  />
    <id name="Item" offset="8"  />
    <unused offset="12" size="4" />
</Reflexive>
Notes:


_________________
Anyone wanna tell me if this is right? I just attempted to do what Grim told me to do :oops:

Re: Item Collection (itmc)

Posted: Wed Mar 05, 2008 12:10 am
by XZodia
why are you doing these in xml? hard code them in c#

Re: Item Collection (itmc)

Posted: Wed Mar 05, 2008 12:15 am
by Aumaan Anubis
Aumaan Anubis wrote:I just attempted to do what Grim told me to do :oops:
I'm not yet at the point where I'd know how to do that.

Re: Item Collection (itmc)

Posted: Wed Mar 05, 2008 12:43 am
by XZodia
that comment was actually directed at grim I just assumed it was him who posted it >_<

Re: Item Collection (itmc)

Posted: Wed Mar 05, 2008 12:47 am
by Grimdoomer
I am but its like the samething in code. I prefer it in this format.

Re: Item Collection (itmc)

Posted: Wed Mar 05, 2008 1:36 am
by OwnZ joO
We using reflective Binary Reading like in Engineer for these tags?

Re: Item Collection (itmc)

Posted: Wed Mar 05, 2008 1:38 am
by Grimdoomer
Well im trying to make a final format for these befor I go too far. But I can't seem to find one that works flawlessly, but yes kinda, but I have them all in one file.

Re: Item Collection (itmc)

Posted: Wed Mar 05, 2008 2:18 am
by XZodia
it helps to have each chunk hold its offset