Post by scoovyhd on Nov 20, 2021 10:07:28 GMT 10
Hello everyone
in this tutorial i will be making a guide on how to change Items that are inside of wooden boxes or any box type in general
so just like before with normal items
i will be editing s1207soft which is the mercs rooftop mission map
so first you want to extract one of the s????soft.arc file (? for the room number)
after you extracted the file you should see a file called
"s1207_k02.lot.xml" (remember to put -xfs in the bat file of the Arc tool to get the XML Files)
once we open an XML file where boxes are in we should see multiple entries like this
<?xml version="1.0" encoding="utf-8"?>
<class name="XFS" type="355479284">
<u32 name="mQuality" value="2"/>
<array name="mSetInfos" type="classref" count="11">
<classref type="1637199632">
<s32 name="mID" value="0"/>
<string name="mInfoClass" value="cSetInfoSmWoodBox"/>
<string name="mUnitClass" value="uSm1491"/>
<classref name="mpInfo" type="1762683860">
<string name="mName" value="item box"/>
<u32 name="mOrder" value="4"/>
<vector3 name="mPosition" x="1055.3037109375" y="12016.8173828125" z="1048.4147949219"/>
<vector3 name="mAngle" x="0.0000000000" y="0.0000000000" z="0.0000000000"/>
<vector3 name="mScale" x="1.0000000000" y="1.0000000000" z="1.0000000000"/>
<class name="mFSM" type="732046243">
<class name="mData" type="1897090369">
<bool name="mAutoDelete" value="false"/>
<classref name="mpArray"/>
</class>
</class>
<vector3 name="mUserPos"/>
<array name="mUserS32" type="s32" count="4">
<s32 value="0"/>
<s32 value="0"/>
<s32 value="0"/>
<s32 value="0"/>
</array>
<array name="mSetInfoFreeS32" type="s32" count="4">
<s32 value="0"/>
<s32 value="0"/>
<s32 value="0"/>
<s32 value="0"/>
</array>
<array name="mSetInfoFreeF32" type="f32" count="4">
<f32 value="0.0000000000"/>
<f32 value="0.0000000000"/>
<f32 value="0.0000000000"/>
<f32 value="0.0000000000"/>
</array>
<bool name="mSetEmStatus" value="false"/>
<u32 name="mEmStatus" value="0"/>
<bool name="MotionCalcOff" value="false"/>
<u32 name="mDropKind" value="277"/>
<u32 name="mAttribute" value="0"/>
the Value we are gonna be changing is
"<u32 name="mDropKind" value="277"/>" (the number is the Item ID)
this is the same process as with changing items around the map so we are gonna be using an item list i made for this process
Item List Download (also includes ArcTool which has everything set up for XML files)
once we have our desired Item ID we are just gonna be replacing the Value to whatever item we want
Note: we cannot spawn Weapons like pistols or shotguns in boxes that crashes the game for whatever reason but we can spawn grenades etc
once you have everything put in just save the text and repack the Arc File
now test it in game if it works then you are Done same as items its very Easy
if you have any other questions ask me in this post
Next tutorial will be how to give enemies Items
Best of luck Modding!
in this tutorial i will be making a guide on how to change Items that are inside of wooden boxes or any box type in general
so just like before with normal items
i will be editing s1207soft which is the mercs rooftop mission map
so first you want to extract one of the s????soft.arc file (? for the room number)
after you extracted the file you should see a file called
"s1207_k02.lot.xml" (remember to put -xfs in the bat file of the Arc tool to get the XML Files)
once we open an XML file where boxes are in we should see multiple entries like this
<?xml version="1.0" encoding="utf-8"?>
<class name="XFS" type="355479284">
<u32 name="mQuality" value="2"/>
<array name="mSetInfos" type="classref" count="11">
<classref type="1637199632">
<s32 name="mID" value="0"/>
<string name="mInfoClass" value="cSetInfoSmWoodBox"/>
<string name="mUnitClass" value="uSm1491"/>
<classref name="mpInfo" type="1762683860">
<string name="mName" value="item box"/>
<u32 name="mOrder" value="4"/>
<vector3 name="mPosition" x="1055.3037109375" y="12016.8173828125" z="1048.4147949219"/>
<vector3 name="mAngle" x="0.0000000000" y="0.0000000000" z="0.0000000000"/>
<vector3 name="mScale" x="1.0000000000" y="1.0000000000" z="1.0000000000"/>
<class name="mFSM" type="732046243">
<class name="mData" type="1897090369">
<bool name="mAutoDelete" value="false"/>
<classref name="mpArray"/>
</class>
</class>
<vector3 name="mUserPos"/>
<array name="mUserS32" type="s32" count="4">
<s32 value="0"/>
<s32 value="0"/>
<s32 value="0"/>
<s32 value="0"/>
</array>
<array name="mSetInfoFreeS32" type="s32" count="4">
<s32 value="0"/>
<s32 value="0"/>
<s32 value="0"/>
<s32 value="0"/>
</array>
<array name="mSetInfoFreeF32" type="f32" count="4">
<f32 value="0.0000000000"/>
<f32 value="0.0000000000"/>
<f32 value="0.0000000000"/>
<f32 value="0.0000000000"/>
</array>
<bool name="mSetEmStatus" value="false"/>
<u32 name="mEmStatus" value="0"/>
<bool name="MotionCalcOff" value="false"/>
<u32 name="mDropKind" value="277"/>
<u32 name="mAttribute" value="0"/>
the Value we are gonna be changing is
"<u32 name="mDropKind" value="277"/>" (the number is the Item ID)
this is the same process as with changing items around the map so we are gonna be using an item list i made for this process
Item List Download (also includes ArcTool which has everything set up for XML files)
once we have our desired Item ID we are just gonna be replacing the Value to whatever item we want
Note: we cannot spawn Weapons like pistols or shotguns in boxes that crashes the game for whatever reason but we can spawn grenades etc
once you have everything put in just save the text and repack the Arc File
now test it in game if it works then you are Done same as items its very Easy
if you have any other questions ask me in this post
Next tutorial will be how to give enemies Items
Best of luck Modding!