Interesting entries in the .xml files

Started by PZ, May 31, 2012, 11:32:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

PZ

Here's an interesting one in gamemodesconfog.xml

<Gadget archetype="gadgets.Equipped.Watch" count="0" />


...and

<Item category="watch" slot="0" />

nexor

Weird things, wish I could understand just half of the meaning of some of the entries(codes)  ???

PZ

Indeed - and, changing some of them does not seem to make any difference to the game.  For instance bIsSilent sounds like a property that makes a weapon silent, but I discovered that even the dart and 6P9 have this attribute set as "False"

Art Blade

I found those entries (particularly concerning the watch) when we started modding and they are disabled, kind of remnants of what it might have been if they had been allowed to make the game what it was during the very first teasers. I remember you could see that watch somewhere outdoors.
[titlebar]Vision without action is a daydream. Action without vision is a nightmare.[/titlebar]What doesn't kill us, makes us weirder.

PZ

Yes i recall that image which left me wondering what the watch might be used for.

TheStranger

Ah the watch entries. Tried to change them when modding was possible but as said above - it changes nothing :/

Knightmare

There are a lot more gadget settings in 09_gadgets.xml under the world1 and world2 folders.  Here's what I found just looking at the M67 Grenade section:

Spoiler

        <object type="CGadget">
          <value name="hidHasAliasName" type="Bool">False</value>
          <value hash="ECDD88A8" type="BinHex">00000000</value>
          <value hash="A7056326" type="BinHex">6D363700</value>
          <value hash="1BC69C64" type="BinHex">00000000</value>
          <value hash="964D1F02" type="BinHex">00000000</value>
          <value hash="59956AA0" type="BinHex">00007042</value>
          <value hash="F340D459" type="BinHex">00000000</value>
          <value hash="13D349BC" type="BinHex">05000000</value> <!-- maxammo Casual -->
          <value hash="413962DE" type="BinHex">03000000</value> <!-- maxammo Experimented -->
          <value hash="4581901C" type="BinHex">03000000</value> <!-- maxammo Hardcore -->
          <value hash="748E7B33" type="BinHex">02000000</value> <!-- maxammo Infamous -->
          <value hash="2B34D2B0" type="BinHex">00</value>
          <value hash="3D66898C" type="BinHex">7069636B7570732E576561706F6E732E4D363700</value>
          <value hash="B2E41011" type="BinHex">0000803F</value>
          <value hash="F1EFF435" type="BinHex">00</value>

Yep, that's the max ammo for grenades.  The molotov section has the max ammo in the same place.  Here are the values decoded:

Spoiler

        <object type="CGadget">
          <value name="hidHasAliasName" type="Bool">False</value>
          <value hash="ECDD88A8" type="UInt32">0</value>
          <value hash="A7056326" type="String">m67</value>
          <value hash="1BC69C64" type="UInt32">0</value>
          <value hash="964D1F02" type="UInt32">0</value>
          <value hash="59956AA0" type="Float">60</value>
          <value hash="F340D459" type="UInt32">0</value>
          <value hash="13D349BC" type="UInt32">5</value> <!-- maxammo Casual -->
          <value hash="413962DE" type="UInt32">3</value> <!-- maxammo Experimented -->
          <value hash="4581901C" type="UInt32">3</value> <!-- maxammo Hardcore -->
          <value hash="748E7B33" type="UInt32">2</value> <!-- maxammo Infamous -->
          <value hash="2B34D2B0" type="Bool">False</value>
          <value hash="3D66898C" type="String">pickups.Weapons.M67</value>
          <value hash="B2E41011" type="Float">1</value>
          <value hash="F1EFF435" type="Bool">False</value>

You can add this file to your entity overrid patch the usual way.  Now there's no need to mod the bandoliers to change max grenades and molotovs.

PZ


Art Blade

[titlebar]Vision without action is a daydream. Action without vision is a nightmare.[/titlebar]What doesn't kill us, makes us weirder.

Tags:
🡱 🡳

Similar topics (2)