Page 1 of 1

making plugin tags

Posted: Thu Sep 20, 2007 10:34 am
by grimdoomer
i was woundering how to find these values

Code: Select all

<short name="Rounds Recharged (per second)" offset="4" visible="True" /> 
    <short name="Initial Rounds" offset="6" visible="True" /> 
    <short name="Max Rounds" offset="8" visible="True" /> 
    <short name="Max Rounds Loaded" offset="10" visible="True" /> 
    <short name="Max Rounds Held" offset="12" visible="True" /> 
    <float name="Reload Time(seconds)" offset="16" visible="False" /> 
    <short name="Rounds Reloaded" offset="20" visible="True" /> 
i know im suppost to be in hex work shop but when i look at plugins it says offset ex 20 but when i go to find offset in hex work shop it goes to the 20 character and its a dot. so is there a tut or something or can some one help please and yes i know that plugins are already made but its for another perpose.

Re: making plugin tags

Posted: Thu Sep 20, 2007 11:31 am
by Prey
grimdoomer wrote:i was woundering how to find these values

Code: Select all

<short name="Rounds Recharged (per second)" offset="4" visible="True" /> 
    <short name="Initial Rounds" offset="6" visible="True" /> 
    <short name="Max Rounds" offset="8" visible="True" /> 
    <short name="Max Rounds Loaded" offset="10" visible="True" /> 
    <short name="Max Rounds Held" offset="12" visible="True" /> 
    <float name="Reload Time(seconds)" offset="16" visible="False" /> 
    <short name="Rounds Reloaded" offset="20" visible="True" /> 
i know im suppost to be in hex work shop but when i look at plugins it says offset ex 20 but when i go to find offset in hex work shop it goes to the 20 character and its a dot. so is there a tut or something or can some one help please and yes i know that plugins are already made but its for another perpose.
It's not offset 20 in the map file, that number is relevant to the meta of the tag. So you can either open up the map and then goto tag.MetaOffset + offsetInPlugin, or extract the meta, open that up, and then just goto offsetInPlugin.

As for it just being a 'dot', that actually means that there is no ASCII character for that byte, or it is actually the dot character. ASCII only runs from 0 - 255. If it is a dot then 99% of the time that does actually mean that there is no character there, and the byte is in-fact a value, or part of a value.

As for how plugins are first conceived, a scan is first done (preferably by an application) which maps out the idents and reflexives and stores them in the plugin. Then the meta's are compared amongst all the map to find any similarities and that is also stored in the plugin. 'tis how I do it anyway.

Then all that is left to do is for someone to find out what the remaining unmapped meta is, and to also change values and view the results on the xbox, thus figuring out what does what.