(SOLVED)Need Help Replacing the AR50 Firework Back To Its Original Version (GOTR)

As beneficial as GoTR is I don't like how some of the weapons are changed. For example the XM8 (AR50 XMAC) without the grenade launcher is changed to the AR50 Firework. It's kind of annoying and seems to have no fix. If anyone has tips on how to remove it please let me know.



Any help is appreciated.
 
Hmm, try to use this files... If it doesnt work i'll try something once im back home. Not sure if the icon is fixed, which i will solve it later.
Go to preload.xtbl and add the smesh model of the ar50 vanilla for the weapon show up
 

Attachments

  • items_inventory.xtbl
    31.1 KB · Views: 154
  • items_3d.xtbl
    120.4 KB · Views: 154
  • store_weapons.xtbl
    10.8 KB · Views: 154
  • weapons.xtbl
    357.5 KB · Views: 163
Hmm, try to use this files... If it doesnt work i'll try something once im back home. Not sure if the icon is fixed, which i will solve it later.
Go to preload.xtbl and add the smesh model of the ar50 vanilla for the weapon show up
Those are the same ones I used.

Do I put this on the top or on bottom ontop of the #End
"p_ar50.smesh"
"p_ar50.g_smesh"
"p_ar50.g_peg"
"p_ar50.peg"
Do I also need to remove anything?
 
It's the same if you put in the end or in the bottom, the idea is that the preload of the main sr2 folder read the model of the ar50
I just did alot of tinkering and possible methods but still no fix. Its annoying that this isn't optional but I guess i'll cope unless another way pops up
 
This is what I did to revert the AR50.

1. Added the lines spaditagamer posted to preload.tbl but instead of dropping it in 1-MODDERS_-_PUT_YOUR_OWN_PERSONAL_MODS_HERE I modified the original preload.tbl in the optional_mod_stuff folder and left it there. I attached my current preload.tbl if you need reference.

001.jpg


2. Edited weapons.xtbl like this (overwriting the AR50 Fireworks section) and dropped it in 1-MODDERS_-_PUT_YOUR_OWN_PERSONAL_MODS_HERE.

Code:
<Weapon>
        <Name>AR50</Name>
        <Weapon_Class>rifle</Weapon_Class>
        <Trigger_Type>burst</Trigger_Type>
        <Magazine_Size>50</Magazine_Size>
        <Range_Max>225</Range_Max>
        <Sound_Radius>50</Sound_Radius>
        <Damage_Max>
            <NPC_Damage>160</NPC_Damage>
            <Player_Damage>40</Player_Damage>
            </Damage_Max>
        <_Editor>
            <Category>Entries:Ranged</Category>
            </_Editor>
        <Ragdoll_Force_Shoot>125</Ragdoll_Force_Shoot>
        <MeleeAttacks>
            <StandingSecondary>ak_stand_ns</StandingSecondary>
            <MovingSecondary>ak_move_ns</MovingSecondary>
            <ProneAttackSecondary>ak_prone_kick</ProneAttackSecondary>
            <Melee_Range>1.4</Melee_Range>
            <StandingSynced>ak_stand</StandingSynced>
            <MovingSynced>ak_move</MovingSynced>
            </MeleeAttacks>
        <Animation_Group>AK</Animation_Group>
        <AI_Range_Max>225</AI_Range_Max>
        <Brass>Rifle</Brass>
        <Muzzle_Effect>muzz_md</Muzzle_Effect>
        <Flags>
            <Flag>clip separate</Flag>
            <Flag>unlockable</Flag>
            </Flags>
        <Clip_Mesh>
            <Filename>p_ar50_mag.SMESHX</Filename>
            <Preload>true</Preload>
            </Clip_Mesh>
        <Category>WPNCAT_RIFLE</Category>
        <PlayerWeaponSpread>
            <SpreadMinMax>
                <Player_Spread_Max>2.5</Player_Spread_Max>
                <Player_Spread_Min>0.2</Player_Spread_Min>
                <SpreadMovementMultipliers>
                    <Movement_Multiplier_Crouch>0.8</Movement_Multiplier_Crouch>
                    <Movement_Multiplier_Walk>1.5</Movement_Multiplier_Walk>
                    <Movement_Multiplier_Run>1.8</Movement_Multiplier_Run>
                    <Movement_Multiplier_Sprint>2.0</Movement_Multiplier_Sprint>
                    <Movement_Multiplier_Vehicle>2.0</Movement_Multiplier_Vehicle>
                    <Movement_Multiplier_Fine_Aim>0.5</Movement_Multiplier_Fine_Aim>
                    </SpreadMovementMultipliers>
                <Movement_Multiplier_Vehicle>1.0</Movement_Multiplier_Vehicle>
                </SpreadMinMax>
            <SpreadDynamics>
                <Player_To_Spread_Max>9</Player_To_Spread_Max>
                <Player_To_Spread_Min>600</Player_To_Spread_Min>
                <SpreadDynamicMultipliers>
                    <Movement_Multiplier_Crouch>1</Movement_Multiplier_Crouch>
                    <Movement_Multiplier_Walk>0.5</Movement_Multiplier_Walk>
                    <Movement_Multiplier_Run>0.25</Movement_Multiplier_Run>
                    <Movement_Multiplier_Sprint>1</Movement_Multiplier_Sprint>
                    <Movement_Multiplier_Vehicle>1</Movement_Multiplier_Vehicle>
                    </SpreadDynamicMultipliers>
                </SpreadDynamics>
            <Movement_Multiplier_Vehicle>1.0</Movement_Multiplier_Vehicle>
            </PlayerWeaponSpread>
        <NPCWeaponSpread>
            <SpreadMinMax>
                <NPC_Spread_Max>5</NPC_Spread_Max>
                <NPC_Spread_Min>0.5</NPC_Spread_Min>
                <SpreadMovementMultipliers>
                    <Movement_Multiplier_Crouch>0.8</Movement_Multiplier_Crouch>
                    <Movement_Multiplier_Walk>1.5</Movement_Multiplier_Walk>
                    <Movement_Multiplier_Run>1.8</Movement_Multiplier_Run>
                    <Movement_Multiplier_Sprint>1.75</Movement_Multiplier_Sprint>
                    <Movement_Multiplier_Vehicle>2.0</Movement_Multiplier_Vehicle>
                    </SpreadMovementMultipliers>
                <SpreadTargetMovementMultipliers>
                    <Target_Movement_Multiplier_Walk>1.15</Target_Movement_Multiplier_Walk>
                    <Target_Movement_Multiplier_Run>1.35</Target_Movement_Multiplier_Run>
                    <Target_Movement_Multiplier_Sprint>1.8</Target_Movement_Multiplier_Sprint>
                    <Target_Movement_Multiplier_Vehicle>1.5</Target_Movement_Multiplier_Vehicle>
                    </SpreadTargetMovementMultipliers>
                </SpreadMinMax>
            <SpreadDynamics>
                <NPC_To_Spread_Max>5</NPC_To_Spread_Max>
                <NPC_To_Spread_Min>650</NPC_To_Spread_Min>
                <SpreadDynamicMultipliers>
                    <Movement_Multiplier_Crouch>1</Movement_Multiplier_Crouch>
                    <Movement_Multiplier_Walk>0.5</Movement_Multiplier_Walk>
                    <Movement_Multiplier_Run>0.25</Movement_Multiplier_Run>
                    <Movement_Multiplier_Sprint>1</Movement_Multiplier_Sprint>
                    <Movement_Multiplier_Vehicle>1</Movement_Multiplier_Vehicle>
                    </SpreadDynamicMultipliers>
                </SpreadDynamics>
            </NPCWeaponSpread>
        <Tracer_Frequency>1</Tracer_Frequency>
        <feedback_name_shot_in_vehicle>IV_WF_RF_M16</feedback_name_shot_in_vehicle>
        <feedback_name_shot_on_foot>OF_WF_RF_M16</feedback_name_shot_on_foot>
        <feedback_name_melee_soft>OF_WF_BS__Default_Soft</feedback_name_melee_soft>
        <feedback_name_melee_hard>OF_WF_BS__Default_Hard</feedback_name_melee_hard>
        <Reload_Clip_Mesh>
            <Filename>p_ar50_mag.SMESHX</Filename>
            </Reload_Clip_Mesh>
        <pickup_info>
            <min_ammo_given>0</min_ammo_given>
            <max_ammo_given>1</max_ammo_given>
            </pickup_info>
        <Time_Management>
            <Refire_Delay>75</Refire_Delay>
            <min>0</min>
            <max>0</max>
            </Time_Management>
        <feedback_name_spinup>Null_Feedback</feedback_name_spinup>
        <Ammo>Bullet Rifle</Ammo>
        <Inv_Slot>rifle</Inv_Slot>
        <Ammo_per_Shot>0</Ammo_per_Shot>
        <Audio>
            <Fire_Sound>SKR9_FIRE_PLAYER</Fire_Sound>
            <NPC_Fire_Sound>SKR9_FIRE_NPC</NPC_Fire_Sound>
            <Secondary_Fire_Sound>RFL_MELEE</Secondary_Fire_Sound>
            <Fire_Release_Sound>SKR9_RELEASE_PLAYER</Fire_Release_Sound>
            <NPC_Fire_Release_Sound>SKR9_RELEASE_NPC</NPC_Fire_Release_Sound>
            <Reload_Sound>M16_RELOAD</Reload_Sound>
            <No_Ammo_Sound>XM8_FIRE_DRY</No_Ammo_Sound>
            <Hit_Wall_Sound>IMP_METAL_HIT</Hit_Wall_Sound>
            <Spinning_Snd_Pitch_End>1</Spinning_Snd_Pitch_End>
            <MeleeSound>
                <ImpactFoleyFlesh>IMP_METAL_HIT_FLESH</ImpactFoleyFlesh>
                </MeleeSound>
            </Audio>
        <Explosion>Exp Fireworks</Explosion>
        <Alt_Trigger_Type>single</Alt_Trigger_Type>
        <Alt_Time_Management>
            <Refire_Delay>1000</Refire_Delay>
            </Alt_Time_Management>
        <Fine_Aim_Animation_Group>Sniper</Fine_Aim_Animation_Group>
        <Alt_Muzzle_Effect>muzz_gren_launch</Alt_Muzzle_Effect>
        <Underwater_Explosion>Underwater Large</Underwater_Explosion>
        <Spinebend_Limits>Rifle</Spinebend_Limits>
        <Strafe_Angles>Rifle</Strafe_Angles>
        <Player_Combat_Ready_MS>3000</Player_Combat_Ready_MS>
        <NPC_Combat_Ready_MS>2000</NPC_Combat_Ready_MS>
        <Tracer_Effect>gun_tracer</Tracer_Effect>
        <feedback_name_shot_in_vehicle_alt>OF_WF_RPG_Launcher</feedback_name_shot_in_vehicle_alt>
        <feedback_name_shot_on_foot_alt>OF_WF_RPG_Launcher</feedback_name_shot_on_foot_alt>
        </Weapon>

I gave it the SKR9 audio setting because its burst is loud af (it was the same as the Bear/Grizzly's turret, which now uses the AR200 audio). I can't seem to fathom if I altered the other weapons.xtbl inside \optional_mod_stuff\modified the same way but for good measure you might do that as well. (Keep backups of everything should you mess up.)

3. Added spaditagamer's items_3d.xtbl and items_inventory.xtbl to 1-MODDERS_-_PUT_YOUR_OWN_PERSONAL_MODS_HERE.

4. Built the patch as usual. The only side effect is that now Civilian Skaters' skateboards are invisible, they just hover above the pavement—ah, well. Also, the other Saints will get the normal AR50 when using the Super Saints cheat (including all other temporary homies like Richie/Luz in Drug Trafficking) so they no longer blow themselves up accidentally with fireworks.

20210527100023_1.jpg


That did the trick for me, hope it'll be useful to you as well.

EDIT. Nope, I'm too stupid to figure out how to attach files (preload.tbl), if you need it PM me.
 
Last edited:
This is what I did to revert the AR50.

1. Added the lines spaditagamer posted to preload.tbl but instead of dropping it in 1-MODDERS_-_PUT_YOUR_OWN_PERSONAL_MODS_HERE I modified the original preload.tbl in the optional_mod_stuff folder and left it there. I attached my current preload.tbl if you need reference.

View attachment 28349

2. Edited weapons.xtbl like this (overwriting the AR50 Fireworks section) and dropped it in 1-MODDERS_-_PUT_YOUR_OWN_PERSONAL_MODS_HERE.

Code:
<Weapon>
        <Name>AR50</Name>
        <Weapon_Class>rifle</Weapon_Class>
        <Trigger_Type>burst</Trigger_Type>
        <Magazine_Size>50</Magazine_Size>
        <Range_Max>225</Range_Max>
        <Sound_Radius>50</Sound_Radius>
        <Damage_Max>
            <NPC_Damage>160</NPC_Damage>
            <Player_Damage>40</Player_Damage>
            </Damage_Max>
        <_Editor>
            <Category>Entries:Ranged</Category>
            </_Editor>
        <Ragdoll_Force_Shoot>125</Ragdoll_Force_Shoot>
        <MeleeAttacks>
            <StandingSecondary>ak_stand_ns</StandingSecondary>
            <MovingSecondary>ak_move_ns</MovingSecondary>
            <ProneAttackSecondary>ak_prone_kick</ProneAttackSecondary>
            <Melee_Range>1.4</Melee_Range>
            <StandingSynced>ak_stand</StandingSynced>
            <MovingSynced>ak_move</MovingSynced>
            </MeleeAttacks>
        <Animation_Group>AK</Animation_Group>
        <AI_Range_Max>225</AI_Range_Max>
        <Brass>Rifle</Brass>
        <Muzzle_Effect>muzz_md</Muzzle_Effect>
        <Flags>
            <Flag>clip separate</Flag>
            <Flag>unlockable</Flag>
            </Flags>
        <Clip_Mesh>
            <Filename>p_ar50_mag.SMESHX</Filename>
            <Preload>true</Preload>
            </Clip_Mesh>
        <Category>WPNCAT_RIFLE</Category>
        <PlayerWeaponSpread>
            <SpreadMinMax>
                <Player_Spread_Max>2.5</Player_Spread_Max>
                <Player_Spread_Min>0.2</Player_Spread_Min>
                <SpreadMovementMultipliers>
                    <Movement_Multiplier_Crouch>0.8</Movement_Multiplier_Crouch>
                    <Movement_Multiplier_Walk>1.5</Movement_Multiplier_Walk>
                    <Movement_Multiplier_Run>1.8</Movement_Multiplier_Run>
                    <Movement_Multiplier_Sprint>2.0</Movement_Multiplier_Sprint>
                    <Movement_Multiplier_Vehicle>2.0</Movement_Multiplier_Vehicle>
                    <Movement_Multiplier_Fine_Aim>0.5</Movement_Multiplier_Fine_Aim>
                    </SpreadMovementMultipliers>
                <Movement_Multiplier_Vehicle>1.0</Movement_Multiplier_Vehicle>
                </SpreadMinMax>
            <SpreadDynamics>
                <Player_To_Spread_Max>9</Player_To_Spread_Max>
                <Player_To_Spread_Min>600</Player_To_Spread_Min>
                <SpreadDynamicMultipliers>
                    <Movement_Multiplier_Crouch>1</Movement_Multiplier_Crouch>
                    <Movement_Multiplier_Walk>0.5</Movement_Multiplier_Walk>
                    <Movement_Multiplier_Run>0.25</Movement_Multiplier_Run>
                    <Movement_Multiplier_Sprint>1</Movement_Multiplier_Sprint>
                    <Movement_Multiplier_Vehicle>1</Movement_Multiplier_Vehicle>
                    </SpreadDynamicMultipliers>
                </SpreadDynamics>
            <Movement_Multiplier_Vehicle>1.0</Movement_Multiplier_Vehicle>
            </PlayerWeaponSpread>
        <NPCWeaponSpread>
            <SpreadMinMax>
                <NPC_Spread_Max>5</NPC_Spread_Max>
                <NPC_Spread_Min>0.5</NPC_Spread_Min>
                <SpreadMovementMultipliers>
                    <Movement_Multiplier_Crouch>0.8</Movement_Multiplier_Crouch>
                    <Movement_Multiplier_Walk>1.5</Movement_Multiplier_Walk>
                    <Movement_Multiplier_Run>1.8</Movement_Multiplier_Run>
                    <Movement_Multiplier_Sprint>1.75</Movement_Multiplier_Sprint>
                    <Movement_Multiplier_Vehicle>2.0</Movement_Multiplier_Vehicle>
                    </SpreadMovementMultipliers>
                <SpreadTargetMovementMultipliers>
                    <Target_Movement_Multiplier_Walk>1.15</Target_Movement_Multiplier_Walk>
                    <Target_Movement_Multiplier_Run>1.35</Target_Movement_Multiplier_Run>
                    <Target_Movement_Multiplier_Sprint>1.8</Target_Movement_Multiplier_Sprint>
                    <Target_Movement_Multiplier_Vehicle>1.5</Target_Movement_Multiplier_Vehicle>
                    </SpreadTargetMovementMultipliers>
                </SpreadMinMax>
            <SpreadDynamics>
                <NPC_To_Spread_Max>5</NPC_To_Spread_Max>
                <NPC_To_Spread_Min>650</NPC_To_Spread_Min>
                <SpreadDynamicMultipliers>
                    <Movement_Multiplier_Crouch>1</Movement_Multiplier_Crouch>
                    <Movement_Multiplier_Walk>0.5</Movement_Multiplier_Walk>
                    <Movement_Multiplier_Run>0.25</Movement_Multiplier_Run>
                    <Movement_Multiplier_Sprint>1</Movement_Multiplier_Sprint>
                    <Movement_Multiplier_Vehicle>1</Movement_Multiplier_Vehicle>
                    </SpreadDynamicMultipliers>
                </SpreadDynamics>
            </NPCWeaponSpread>
        <Tracer_Frequency>1</Tracer_Frequency>
        <feedback_name_shot_in_vehicle>IV_WF_RF_M16</feedback_name_shot_in_vehicle>
        <feedback_name_shot_on_foot>OF_WF_RF_M16</feedback_name_shot_on_foot>
        <feedback_name_melee_soft>OF_WF_BS__Default_Soft</feedback_name_melee_soft>
        <feedback_name_melee_hard>OF_WF_BS__Default_Hard</feedback_name_melee_hard>
        <Reload_Clip_Mesh>
            <Filename>p_ar50_mag.SMESHX</Filename>
            </Reload_Clip_Mesh>
        <pickup_info>
            <min_ammo_given>0</min_ammo_given>
            <max_ammo_given>1</max_ammo_given>
            </pickup_info>
        <Time_Management>
            <Refire_Delay>75</Refire_Delay>
            <min>0</min>
            <max>0</max>
            </Time_Management>
        <feedback_name_spinup>Null_Feedback</feedback_name_spinup>
        <Ammo>Bullet Rifle</Ammo>
        <Inv_Slot>rifle</Inv_Slot>
        <Ammo_per_Shot>0</Ammo_per_Shot>
        <Audio>
            <Fire_Sound>SKR9_FIRE_PLAYER</Fire_Sound>
            <NPC_Fire_Sound>SKR9_FIRE_NPC</NPC_Fire_Sound>
            <Secondary_Fire_Sound>RFL_MELEE</Secondary_Fire_Sound>
            <Fire_Release_Sound>SKR9_RELEASE_PLAYER</Fire_Release_Sound>
            <NPC_Fire_Release_Sound>SKR9_RELEASE_NPC</NPC_Fire_Release_Sound>
            <Reload_Sound>M16_RELOAD</Reload_Sound>
            <No_Ammo_Sound>XM8_FIRE_DRY</No_Ammo_Sound>
            <Hit_Wall_Sound>IMP_METAL_HIT</Hit_Wall_Sound>
            <Spinning_Snd_Pitch_End>1</Spinning_Snd_Pitch_End>
            <MeleeSound>
                <ImpactFoleyFlesh>IMP_METAL_HIT_FLESH</ImpactFoleyFlesh>
                </MeleeSound>
            </Audio>
        <Explosion>Exp Fireworks</Explosion>
        <Alt_Trigger_Type>single</Alt_Trigger_Type>
        <Alt_Time_Management>
            <Refire_Delay>1000</Refire_Delay>
            </Alt_Time_Management>
        <Fine_Aim_Animation_Group>Sniper</Fine_Aim_Animation_Group>
        <Alt_Muzzle_Effect>muzz_gren_launch</Alt_Muzzle_Effect>
        <Underwater_Explosion>Underwater Large</Underwater_Explosion>
        <Spinebend_Limits>Rifle</Spinebend_Limits>
        <Strafe_Angles>Rifle</Strafe_Angles>
        <Player_Combat_Ready_MS>3000</Player_Combat_Ready_MS>
        <NPC_Combat_Ready_MS>2000</NPC_Combat_Ready_MS>
        <Tracer_Effect>gun_tracer</Tracer_Effect>
        <feedback_name_shot_in_vehicle_alt>OF_WF_RPG_Launcher</feedback_name_shot_in_vehicle_alt>
        <feedback_name_shot_on_foot_alt>OF_WF_RPG_Launcher</feedback_name_shot_on_foot_alt>
        </Weapon>

I gave it the SKR9 audio setting because its burst is loud af (it was the same as the Bear/Grizzly's turret, which now uses the AR200 audio). I can't seem to fathom if I altered the other weapons.xtbl inside \optional_mod_stuff\modified the same way but for good measure you might do that as well. (Keep backups of everything should you mess up.)

3. Added spaditagamer's items_3d.xtbl and items_inventory.xtbl to 1-MODDERS_-_PUT_YOUR_OWN_PERSONAL_MODS_HERE.

4. Built the patch as usual. The only side effect is that now Civilian Skaters' skateboards are invisible, they just hover above the pavement—ah, well. Also, the other Saints will get the normal AR50 when using the Super Saints cheat (including all other temporary homies like Richie/Luz in Drug Trafficking) so they no longer blow themselves up accidentally with fireworks.

View attachment 28351

That did the trick for me, hope it'll be useful to you as well.

EDIT. Nope, I'm too stupid to figure out how to attach files (preload.tbl), if you need it PM me.
It worked somewhat. It has its normal functions however the model is still the grenade launcher variant. Thank you though this definetly helps!
 
To change the model you gotta edit items_inventory.xtbl, there you should also be able to control the name and icon it uses.
 
Back
Top