making plugin tags

Discuss Halo 2 modding, progress on figuring things out, mapfiles...you know the drill. Cheating discussion not allowed.
Post Reply
User avatar
grimdoomer




System Engineer

Posts: 1440
Joined: Mon Oct 09, 2006 4:36 pm

making plugin tags

Post 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.
Image
AI Zones in MP | Ambiance | Gravemind Beta v1.1
Aumaan Anubis wrote:Grimdoomer. The first person ever to mod Halo 2 Vista.
User avatar
Prey




Connoisseur Snitch! Pyre Articulatist 500

Posts: 1026
Joined: Wed Dec 27, 2006 6:49 am
Location: UK
Contact:

Re: making plugin tags

Post 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.
Halo 2 Prophet - Skin with ease with the simple 3D point and click interface.
Halo 3 Research Thread - Contribute to the research into Halo 3.
Post Reply