Jump to content
marshall7788990

raid world war 2 lua hook

Recommended Posts

marshall7788990

RAID: World War II Lua Hook
All This aint mine im going posting normal thread in that leads too unknown cheats
site:

 Please login or register to see this link.
EXP:

Code:
 
  1. managers.experience:debug_add_points( 250000, false )

Looked at old Payday 2 Scripts, this one works with RAID.

A simple Lua hook for RAID: World War II.

Open "LuaMods\keyconfig.lua" to add/modify keybinds. Currently, "user_script.lua" is binded to F5 and contains a small 'replenish' script.

Installation:
Extract everything to the game folder.

Download:
Please login or register to see this link.

Source code:
Please login or register to see this link.

Gold:
Just put it in user_script.lua and press F5 in game.
Gold:

Code:
 
  1. managers.gold_economy._set_total(managers.gold_economy,9999999)
  2. managers.gold_economy._set_current(managers.gold_economy,9999999)

Share this post


Link to post
Share on other sites
Dominator9292

How do I use it? I have no clue or see any guides to make it work.

Share this post


Link to post
Share on other sites
marshall7788990
On 26/12/2017 at 4:05 PM, marshall7788990 said:

check pm 

A simple Lua hook for RAID: World War II.

Open "LuaMods\keyconfig.lua" to add/modify keybinds. Currently, "user_script.lua" is binded to F5 and contains a small 'replenish' script.

Installation:
Extract everything to the game folder.

That's for gold the one below

  1. managers.gold_economy:add_gold(99999)

That's for exp 

  1. local exp = managers.experience.get_total_xp_for_level(managers.experience,40)+1
  2. managers.experience._set_total(managers.experience,exp)
  3. managers.experience._set_current_level(managers.experience,40)
  4. managers.experience.update_progress(managers.experience)

 

  1. --Complete all weapon challenges script by TitaniumLexa
  2. for _,upgrade in pairs(Global.challenge_manager._challenges.weapon_upgrade) do
  3. upgrade._tasks[1]._count = upgrade._tasks[1]._target
  4. upgrade._state = "completed"
  5. end

Thats to unlock weapons 

  1. unlock_weapons = function()
  2. for weapon_id in pairs(Global.blackmarket_manager.weapons) do
  3. managers.upgrades:aquire(weapon_id)
  4. Global.blackmarket_manager.weapons[weapon_id].unlocked = true
  5. end
  6. end

unlock all costumes 

  1. local parts = {
  2. "american_default_upper",
  3. "german_default_upper",
  4. "british_default_upper",
  5. "russian_default_upper",
  6. "american_gangbanger_001_upper",
  7. "russian_commisar_001_upper",
  8. "german_officer_001_upper",
  9. "british_officer_001_upper",
  10. "british_casual_001_upper",
  11. "british_casual_003_upper",
  12. "british_casual_004_upper",
  13. "british_gangbanger_001_upper",
  14. "russian_commisar_002_upper",
  15. "german_gangbanger_001_upper",
  16. "american_gangbanger_002_upper",
  17. "german_officer_002_upper",
  18. "russian_casual_001_upper",
  19. "american_casual_001_upper",
  20. "american_officer_001_upper",
  21. "american_officer_002_upper",
  22. "american_grunt_001_upper",
  23. "german_grunt_001_upper",
  24. "german_grunt_002_upper",
  25. "russian_commisar_003_upper",
  26. "russian_mech_001_upper",
  27. "russian_grunt_001_upper",
  28. "british_casual_002_upper",
  29. "american_gold_jacket_001_upper",
  30. "russian_gold_jacket_001_upper",
  31. "german_gold_jacket_002_upper",
  32. "british_gold_jacket_001_upper",
  33. "german_gangbanger_002_upper",
  34. "american_gangbanger_003_upper",
  35. "russian_grunt_002_upper",
  36. "german_grunt_003_upper",
  37. "british_officer_002_upper",
  38. "american_special_edition_001_upper",
  39. "british_special_edition_001_upper",
  40. "russian_special_edition_001_upper",
  41. "german_special_edition_001_upper",
  42. "british_highlander_jacket_upper",
  43. "american_highlander_jacket_upper",
  44. "russian_highlander_jacket_upper",
  45. "german_highlander_jacket_upper",
  46. "american_default_lower",
  47. "german_default_lower",
  48. "british_default_lower",
  49. "russian_default_lower",
  50. "american_gangbanger_001_lower",
  51. "russian_commisar_001_lower",
  52. "german_officer_001_lower",
  53. "british_officer_001_lower",
  54. "british_casual_001_lower",
  55. "british_casual_003_lower",
  56. "british_casual_004_lower",
  57. "british_gangbanger_001_lower",
  58. "russian_commisar_002_lower",
  59. "german_gangbanger_001_lower",
  60. "american_gangbanger_002_lower",
  61. "german_officer_002_lower",
  62. "russian_casual_001_lower",
  63. "american_casual_001_lower",
  64. "american_officer_001_lower",
  65. "american_officer_002_lower",
  66. "american_grunt_001_lower",
  67. "german_grunt_001_lower",
  68. "german_grunt_002_lower",
  69. "russian_commisar_003_lower",
  70. "russian_mech_001_lower",
  71. "russian_grunt_001_lower",
  72. "british_casual_002_lower",
  73. "german_gangbanger_002_lower",
  74. "american_gangbanger_003_lower",
  75. "russian_grunt_002_lower",
  76. "german_grunt_003_lower",
  77. "british_officer_002_lower",
  78. "british_highlander_jacket_lower",
  79. "german_highlander_jacket_lower",
  80. "russian_highlander_jacket_lower",
  81. "american_highlander_jacket_lower"
  82. }
  83.  
  84. for k,v in pairs(parts) do
  85. managers.character_customization:add_character_customization_to_inventory(v)
  86. end

 

god mode and stamina 

  1. managers.menu_component:post_event("menu_enter")
  2. --God Mode Toggle (WORKS)
  3. if not invulerability2 then
  4. invulerability2 = true
  5. managers.player:player_unit():character_damage():set_invulnerable( true )
  6. --infinite stamina
  7. PlayerMovement.is_stamina_drained = function(self) return false end
  8. managers.mission._fading_debug_output:script().log('[RWW2 TRAINER] - GOD MODE AND INFINITE STAMINA ACTIVATED', Color.green)
  9. else
  10. invulerability2 = false
  11. managers.player:player_unit():character_damage():set_invulnerable( false )
  12. --infinite stamina
  13. PlayerMovement.is_stamina_drained = function(self) return true end
  14. managers.mission._fading_debug_output:script().log('[RWW2 TRAINER] - GOD MODE AND INFINITE STAMINA DEACTIVATED', Color.green)
  15. end

 

Please login or register to see this link.

Share this post


Link to post
Share on other sites
marshall7788990

# 4   Posted (edited)

A simple Lua hook for RAID: World War II.

Open "LuaMods\keyconfig.lua" to add/modify keybinds. Currently, "user_script.lua" is binded to F5 and contains a small 'replenish' script.

Installation:
Extract everything to the game folder.

That's for gold the one below

  1. managers.gold_economy:add_gold(99999)

That's for exp 

  1. local exp = managers.experience.get_total_xp_for_level(managers.experience,40)+1
  2. managers.experience._set_total(managers.experience,exp)
  3. managers.experience._set_current_level(managers.experience,40)
  4. managers.experience.update_progress(managers.experience)

 

  1. --Complete all weapon challenges script by TitaniumLexa
  2. for _,upgrade in pairs(Global.challenge_manager._challenges.weapon_upgrade) do
  3. upgrade._tasks[1]._count = upgrade._tasks[1]._target
  4. upgrade._state = "completed"
  5. end

Thats to unlock weapons 

  1. unlock_weapons = function()
  2. for weapon_id in pairs(Global.blackmarket_manager.weapons) do
  3. managers.upgrades:aquire(weapon_id)
  4. Global.blackmarket_manager.weapons[weapon_id].unlocked = true
  5. end
  6. end

unlock all costumes 

  1. local parts = {
  2. "american_default_upper",
  3. "german_default_upper",
  4. "british_default_upper",
  5. "russian_default_upper",
  6. "american_gangbanger_001_upper",
  7. "russian_commisar_001_upper",
  8. "german_officer_001_upper",
  9. "british_officer_001_upper",
  10. "british_casual_001_upper",
  11. "british_casual_003_upper",
  12. "british_casual_004_upper",
  13. "british_gangbanger_001_upper",
  14. "russian_commisar_002_upper",
  15. "german_gangbanger_001_upper",
  16. "american_gangbanger_002_upper",
  17. "german_officer_002_upper",
  18. "russian_casual_001_upper",
  19. "american_casual_001_upper",
  20. "american_officer_001_upper",
  21. "american_officer_002_upper",
  22. "american_grunt_001_upper",
  23. "german_grunt_001_upper",
  24. "german_grunt_002_upper",
  25. "russian_commisar_003_upper",
  26. "russian_mech_001_upper",
  27. "russian_grunt_001_upper",
  28. "british_casual_002_upper",
  29. "american_gold_jacket_001_upper",
  30. "russian_gold_jacket_001_upper",
  31. "german_gold_jacket_002_upper",
  32. "british_gold_jacket_001_upper",
  33. "german_gangbanger_002_upper",
  34. "american_gangbanger_003_upper",
  35. "russian_grunt_002_upper",
  36. "german_grunt_003_upper",
  37. "british_officer_002_upper",
  38. "american_special_edition_001_upper",
  39. "british_special_edition_001_upper",
  40. "russian_special_edition_001_upper",
  41. "german_special_edition_001_upper",
  42. "british_highlander_jacket_upper",
  43. "american_highlander_jacket_upper",
  44. "russian_highlander_jacket_upper",
  45. "german_highlander_jacket_upper",
  46. "american_default_lower",
  47. "german_default_lower",
  48. "british_default_lower",
  49. "russian_default_lower",
  50. "american_gangbanger_001_lower",
  51. "russian_commisar_001_lower",
  52. "german_officer_001_lower",
  53. "british_officer_001_lower",
  54. "british_casual_001_lower",
  55. "british_casual_003_lower",
  56. "british_casual_004_lower",
  57. "british_gangbanger_001_lower",
  58. "russian_commisar_002_lower",
  59. "german_gangbanger_001_lower",
  60. "american_gangbanger_002_lower",
  61. "german_officer_002_lower",
  62. "russian_casual_001_lower",
  63. "american_casual_001_lower",
  64. "american_officer_001_lower",
  65. "american_officer_002_lower",
  66. "american_grunt_001_lower",
  67. "german_grunt_001_lower",
  68. "german_grunt_002_lower",
  69. "russian_commisar_003_lower",
  70. "russian_mech_001_lower",
  71. "russian_grunt_001_lower",
  72. "british_casual_002_lower",
  73. "german_gangbanger_002_lower",
  74. "american_gangbanger_003_lower",
  75. "russian_grunt_002_lower",
  76. "german_grunt_003_lower",
  77. "british_officer_002_lower",
  78. "british_highlander_jacket_lower",
  79. "german_highlander_jacket_lower",
  80. "russian_highlander_jacket_lower",
  81. "american_highlander_jacket_lower"
  82. }
  83.  
  84. for k,v in pairs(parts) do
  85. managers.character_customization:add_character_customization_to_inventory(v)
  86. end

 

god mode and stamina 

  1. managers.menu_component:post_event("menu_enter")
  2. --God Mode Toggle (WORKS)
  3. if not invulerability2 then
  4. invulerability2 = true
  5. managers.player:player_unit():character_damage():set_invulnerable( true )
  6. --infinite stamina
  7. PlayerMovement.is_stamina_drained = function(self) return false end
  8. managers.mission._fading_debug_output:script().log('[RWW2 TRAINER] - GOD MODE AND INFINITE STAMINA ACTIVATED', Color.green)
  9. else
  10. invulerability2 = false
  11. managers.player:player_unit():character_damage():set_invulnerable( false )
  12. --infinite stamina
  13. PlayerMovement.is_stamina_drained = function(self) return true end
  14. managers.mission._fading_debug_output:script().log('[RWW2 TRAINER] - GOD MODE AND INFINITE STAMINA DEACTIVATED', Color.green)
  15. end

 

RwwLuaHook.rar

image.png

 

 

if it wont let you download it from the file below try this

Please login or register to see this link.

Edited by marshall7788990

Share this post


Link to post
Share on other sites
Dominator9292

Ok I downloaded the file and copy and pasted the codes but one problem. I just wont load into my game.

Share this post


Link to post
Share on other sites
marshall7788990
10 hours ago, Dominator9292 said:

Ok I downloaded the file and copy and pasted the codes but one problem. I just wont load into my game.

i'll look into it for you

Share this post


Link to post
Share on other sites
Dominator9292

Any new releases for the mods?

Share this post


Link to post
Share on other sites
marshall7788990
On 10/02/2018 at 4:33 PM, Dominator9292 said:

Any new releases for the mods?

did you paste the codes in the right place

Share this post


Link to post
Share on other sites
Dominator9292
On 2/13/2018 at 9:34 AM, marshall7788990 said:

did you paste the codes in the right place

Yeah but it breaks the replenish script and does not load up the mods.

Share this post


Link to post
Share on other sites
marshall7788990
1 hour ago, Dominator9292 said:

Yeah but it breaks the replenish script and does not load up the mods.

it works for me

Share this post


Link to post
Share on other sites
H33LLSS

Can someone help me with a PM me how to instal this into the correct file.
Thanks. 

Share this post


Link to post
Share on other sites
H33LLSS

Someone inboxed me yesterday with a URL but the site has not been paid for by the owner and there is no way to get the lua.hook can someone upload it to a share site and put a URL here?

Share this post


Link to post
Share on other sites
kalvinalvaro

Please login or register to see this link.

Share this post


Link to post
Share on other sites
marshall7788990
On 7/28/2018 at 10:21 AM, kalvinalvaro said:

Please login or register to see this link.

thank you

Share this post


Link to post
Share on other sites

Your content will need to be approved by a moderator

Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×