Can't restore original AR50 model with GOTR

I've followed the guides in other posts to the letter and all i seem to do is break the game or the game loads and nothing has changed so if someone could pm me the correctly modified files i would really appreciate it

Edit: After further testing it works if i switch it to a different weapon model entirely but if i switch it to the vanilla AR50 model in the items_inventory.xtbl file it breaks and vanishes in-game
 
Last edited:
I've followed the guides in other posts to the letter and all i seem to do is break the game or the game loads and nothing has changed so if someone could pm me the correctly modified files i would really appreciate it

Edit: After further testing it works if i switch it to a different weapon model entirely but if i switch it to the vanilla AR50 model in the items_inventory.xtbl file it breaks and vanishes in-game
You need to also change Items_3d.xtbl.. and add a line in "preload.tbl": "p_ar50.smesh"
 
i got the model working now I'm just having trouble getting the ui icon to show up even after changing the lines in both the items_3d.xtbl and items_inventory.xtbl files i'm just not sure why
 
i got the model working now I'm just having trouble getting the ui icon to show up even after changing the lines in both the items_3d.xtbl and items_inventory.xtbl files i'm just not sure why
For the icon, you need to edit bitmap.xtbls (depending on which language you're using)

Need to find "ui_hud_inv_w_ar50grenade" and under that, you add this:

<Properties>
<Name>ui_hud_inv_w_ar50</Name>
<StartX>922</StartX>
<StartY>250</StartY>
<ImageWidth>88</ImageWidth>
<ImageHeight>48</ImageHeight>
<PersistFilename>D:\projects\sr2art\Interface\bms\hud\ui_hud_inv_w_ar50.tga</PersistFilename>
</Properties>

But.. if you want to replace Ar50 firework's icon, just search "ui_hud_inv_w_ar50firework"



To make sure, this is how it should look like on each files..

Items_Inventory:

<Inventory_Item>
<Name>ar50</Name>
<DisplayName>AR-50</DisplayName>
<Bitmap>ui_hud_inv_w_ar50</Bitmap>
<Mesh>
<Filename>p_AR50.SMESHX</Filename>
<Preload>true</Preload>
</Mesh>
<Cost>20000</Cost>
<Default_Count>1</Default_Count>
<Max_Inventory>1</Max_Inventory>
<_Editor>
<Category>Ranged</Category>
</_Editor>
</Inventory_Item>

Items_3d:

<Item>
<Name>AR50</Name>
<Mesh>
<Filename>p_AR50.SMESHX</Filename>
<Preload>true</Preload>
</Mesh>
<Touch_Script>give_item</Touch_Script>
<Respawn_Delay>15000</Respawn_Delay>
<_Editor>
<Category>Weapons:Rifle</Category>
</_Editor>
<DisplayName>AR-50</DisplayName>
<Scale_Ambient>false</Scale_Ambient>
<Glow_Type>Weapons</Glow_Type>
<FoleyCollision>ITEM_IMP_FIREARM_DROP</FoleyCollision>
<FoleyTouch>PICKUP_WEAPON</FoleyTouch>
<LargeProp>False</LargeProp>
<Color_Variants></Color_Variants>
</Item>
 
Back
Top