XZodia's Plugins

This is dedicated to all the mods the community wants to share!
Patches only people. No Map files.
User avatar
XZodia
Staff
Posts: 2208
Joined: Sun Dec 09, 2007 2:09 pm
Location: UK
Contact:

Re: XZodia's Plugins

Post by XZodia »

New Complete Plugin Set Released!

I have created a full set of individually verified plugins, combining the structural integrity of H2V data and the hand crafted improvements of my original set.

Enjoy!
Image
JacksonCougar wrote:I find you usually have great ideas.
JacksonCougar wrote:Ah fuck. Why must you always be right? Why.
User avatar
JacksonCougar
Huurcat
Posts: 2460
Joined: Thu Dec 06, 2007 11:30 pm
Location: Somewhere in Canada

Re: XZodia's Plugins

Post by JacksonCougar »

Looks like you cleaned out the extra structs and fields from them?
User avatar
XZodia
Staff
Posts: 2208
Joined: Sun Dec 09, 2007 2:09 pm
Location: UK
Contact:

Re: XZodia's Plugins

Post by XZodia »

I'm not sure what you mean?
Image
JacksonCougar wrote:I find you usually have great ideas.
JacksonCougar wrote:Ah fuck. Why must you always be right? Why.
xxpenguinxx
Posts: 1974
Joined: Sun Jan 27, 2008 4:50 am

Re: XZodia's Plugins

Post by xxpenguinxx »

For the vehicle plugin, the "unused" parts of the spheres are actually the radius of the spheres.

For example:

Code: Select all

<float name="Sphere X" offset="112" visible="True" />
<float name="Sphere Y" offset="116" visible="True" />
<float name="Sphere Z" offset="120" visible="True" />
<unused size="4" name="_Unnamed6" offset="124" visible="True" />
Offset 124 is the radius. I have tested this up to sphere 16. Made some really funky floating vehicles in the process. :lol:
DemonicSandwich wrote:See that? You see that how it is highlighted down here but it's not highlighted right there? Ah, I guess that's what I get for pirating it.
In Soviet Russia, DS touches you. Say it again and I'll do more than touch. ~DS -Oh baby
A cat was licking itself to the sound of potato chips.
User avatar
JacksonCougar
Huurcat
Posts: 2460
Joined: Thu Dec 06, 2007 11:30 pm
Location: Somewhere in Canada

Re: XZodia's Plugins

Post by JacksonCougar »

Indeed, a lot of 'unused' values are real data.
User avatar
XZodia
Staff
Posts: 2208
Joined: Sun Dec 09, 2007 2:09 pm
Location: UK
Contact:

Re: XZodia's Plugins

Post by XZodia »

I tried to catch as many of these as I could, let me know if you find any more.

Gotta catch 'em all.

:P
Image
JacksonCougar wrote:I find you usually have great ideas.
JacksonCougar wrote:Ah fuck. Why must you always be right? Why.
User avatar
XZodia
Staff
Posts: 2208
Joined: Sun Dec 09, 2007 2:09 pm
Location: UK
Contact:

Re: XZodia's Plugins

Post by XZodia »

Revision 1 uploaded. Considering putting this under source control but meh...
Image
JacksonCougar wrote:I find you usually have great ideas.
JacksonCougar wrote:Ah fuck. Why must you always be right? Why.
User avatar
JacksonCougar
Huurcat
Posts: 2460
Joined: Thu Dec 06, 2007 11:30 pm
Location: Somewhere in Canada

Re: XZodia's Plugins

Post by JacksonCougar »

You really should... would make updating plugins easier.
User avatar
XZodia
Staff
Posts: 2208
Joined: Sun Dec 09, 2007 2:09 pm
Location: UK
Contact:

Re: XZodia's Plugins

Post by XZodia »

I did it.
Image
JacksonCougar wrote:I find you usually have great ideas.
JacksonCougar wrote:Ah fuck. Why must you always be right? Why.
xxpenguinxx
Posts: 1974
Joined: Sun Jan 27, 2008 4:50 am

Re: XZodia's Plugins

Post by xxpenguinxx »

Found some more values that are labeled "_unused" but are actually used. There's probably more in this tag.

hlmt.ent:

Code: Select all

<struct name="Variants" offset="80" size="56" maxelements="64" label="Name" visible="True">
  <stringid name="Name" offset="0" visible="True" />
    <unused size="16" name="_Unnamed0" offset="4" visible="True" />
    <struct name="Regions" offset="20" size="20" maxelements="16" label="Region Name" visible="True">
      <stringid name="Region Name" offset="0" visible="True" />
      <unused size="1" name="_Unnamed0" offset="4" visible="True" />
unused size="16". It should be 16 separate bytes, each one referencing the regions. If not properly set, the game will select a random permutation for that region upon spawn, and the damage sections will not work.

"_Unnamed0" under "Region Name" references the Model Variations at offset 112. This may not be used.
Suggested name: "Model Variations Index"

Within that structure there's:

Code: Select all

<struct name="Permutations" offset="8" size="32" maxelements="32" label="Permutation Name" visible="True">
        <stringid name="Permutation Name" offset="0" visible="True" />
        <unused size="1" name="_Unnamed0" offset="4" visible="True" />
"_Unnamded0" references the Permutation chunk within Model Variations. This is used by the game engine.
Suggested Name: "Permutation Index"

Within the same structure again, there's:

Code: Select all

<struct name="States" offset="12" size="24" maxelements="10" label="State" visible="True">
          <stringid name="Permutation Name" offset="0" visible="True" />
          <unused size="1" name="_Unnamed0" offset="4" visible="True" />
"_Unnamded0" references the Permutation chunk within Model Variations. This is used by the game engine.
Suggested Name: "Permutation Index"
DemonicSandwich wrote:See that? You see that how it is highlighted down here but it's not highlighted right there? Ah, I guess that's what I get for pirating it.
In Soviet Russia, DS touches you. Say it again and I'll do more than touch. ~DS -Oh baby
A cat was licking itself to the sound of potato chips.
User avatar
XZodia
Staff
Posts: 2208
Joined: Sun Dec 09, 2007 2:09 pm
Location: UK
Contact:

Re: XZodia's Plugins

Post by XZodia »

Cool, unfortunately I am afaik for a few weeks or I would update this
Image
JacksonCougar wrote:I find you usually have great ideas.
JacksonCougar wrote:Ah fuck. Why must you always be right? Why.
Post Reply