Disable radial menu

What update are you talking about? Any updates did not eliminate the full screen menu when switching weapons. Only this mod did that.
 
Last edited:
here is a return of this mod, working with latest game patch.

Some patches made by volition did modify the same file that DataSnake had modded, so it needed an update.

Basically, in the patch_uncompressed.vpp_pc, there is a new version of hud.str2_pc
And in patch_compressed.vpp_pc, there is a new version of hud.lua

This later file hud.lua is already found in the hud.str2_pc from patch_uncompressed.vpp_pc, and they have exactly the same content. So, I have no idea why that file is included in patch_compressed.vpp_pc

My update contains both files updated, just to be in sync, even though hud.str2_pc is the important one.

===================================================

In the future, if those files are modified again in another patch, it is easy to update the mod again.

Details regarding what to do are found in this thread:
http://www.saintsrowmods.com/forum/threads/disable-weapon-select-pause.3266/#post-28764

1. Get hud.str2_pc from the patch_uncompressed.vpp_pc packfile, and extract its contents.

2. Open file hud.lua in Notepad++ or other editor

3. find the function (line 969 at present):
function hud_inventory_show()
and rename the function by appending the number 2 so it looks like:
function hud_inventory_show2()

4. find the function (line 1237 at present)
function hud_inventory_set_selected_weapon(selected_weapon_index)

add the following function call inside the function body
Hud_weapon_radial:game_equip_selected_slots()

the result looks like:
function hud_inventory_set_selected_weapon(selected_weapon_index)
Hud_weapon_radial:weapon_highlight(selected_weapon_index)
Hud_weapon_radial:game_equip_selected_slots()
end

5. do the same for function (line 1242 at present)
function hud_inventory_set_selected_grenade(selected_grenade_index)

so that it looks like:
function hud_inventory_set_selected_grenade(selected_grenade_index)
Hud_weapon_radial:weapon_highlight(selected_grenade_index + 8)
Hud_weapon_radial:game_equip_selected_slots()
end

6.save results and repackage hud.str2_pc and update .asm_pc files.
 

Attachments

  • SR4 weapon switching via mouse wheel - no radial menu V1.7z
    148.1 KB · Views: 428
Back
Top