Total War: WARHAMMER III

Total War: WARHAMMER III

Infinite Ammo Regeneration
Spell  [developer] 1 Feb, 2024 @ 5:38am
lua_mod_log thread
Post the content of your lua_mod_log.txt here. (Can be found in same folder as warhammer3.exe)
< >
Showing 1-12 of 12 comments
Bad Ending 17 Mar, 2024 @ 1:42pm 
The unit [The Daemon's Tongue - Dreadquake Mortar] does not get ammo regen, is this intended?
****************************
Loading Mods
Loading mod file [script\battle\mod\wh3_mod_lua_infammo.lua]
Mod: Infinite Ammo Regeneration Loaded
make_player_units_infammo() called
Get valid scriptunits from Player Army: script_units_sunits_generated_2_1_main: 00000002C68752E0
Unit Type: wh3_dlc23_chd_cha_infernal_castellan, Class: com, Ammo: 45, Artillery: false
Unit Type: wh3_dlc23_chd_inf_infernal_guard_fireglaives, Class: inf_mis, Ammo: 36, Artillery: false
Unit Type: wh3_dlc23_chd_inf_chaos_dwarf_blunderbusses_ror, Class: inf_mis, Ammo: 36, Artillery: false
Unit Type: wh3_dlc23_chd_inf_chaos_dwarf_blunderbusses, Class: inf_mis, Ammo: 36, Artillery: false
Unit Type: wh3_dlc23_chd_inf_chaos_dwarf_blunderbusses, Class: inf_mis, Ammo: 36, Artillery: false
Unit Type: wh3_dlc23_chd_inf_hobgoblin_archers, Class: inf_mis, Ammo: 41, Artillery: false
Unit Type: wh3_dlc23_chd_inf_hobgoblin_archers, Class: inf_mis, Ammo: 41, Artillery: false
Unit Type: wh3_dlc23_chd_inf_hobgoblin_archers, Class: inf_mis, Ammo: 41, Artillery: false
Unit Type: wh3_dlc23_chd_veh_deathshrieker_rocket_launcher, Class: chariot, Ammo: 30, Artillery: false
Unit Type: wh3_dlc23_chd_veh_deathshrieker_rocket_launcher, Class: chariot, Ammo: 30, Artillery: false
Unit Type: wh_dlc08_nor_art_hellcannon_battery, Class: art_fld, Ammo: 4, Artillery: true
deny_player_units_infammo() called
These scriptunits will not get inf ammo from Player Army: script_units_sunits_generated_2_1_main: 00000002C68752E0
Unit Type: wh3_dlc23_chd_cha_drazhoath_the_ashen_bale_taurus_cinderbreath, Class: com, Ammo: 0, Artillery: false
Unit Type: wh3_dlc23_chd_cha_bull_centaur_taurruk, Class: com, Ammo: 0, Artillery: false
Unit Type: wh3_dlc23_chd_cha_gorduz_backstabber_giant_wolf, Class: com, Ammo: 0, Artillery: false
Unit Type: wh3_dlc23_chd_inf_chaos_dwarf_warriors, Class: inf_mel, Ammo: 0, Artillery: false
Unit Type: wh3_dlc23_chd_inf_chaos_dwarf_warriors, Class: inf_mel, Ammo: 0, Artillery: false
Unit Type: wh3_dlc23_chd_inf_hobgoblin_cutthroats, Class: inf_mel, Ammo: 0, Artillery: false
Unit Type: wh3_dlc23_chd_veh_iron_daemon_ror_1dreadquake, Class: chariot, Ammo: 2.25, Artillery: false
Mod [script\battle\mod\wh3_mod_lua_infammo.lua] loaded successfully
****************************

yeah this one here i think
Unit Type: wh3_dlc23_chd_veh_iron_daemon_ror_1dreadquake, Class: chariot, Ammo: 2.25, Artillery: false
Spell  [developer] 18 Mar, 2024 @ 3:03am 
Not intended, but it falls out of the scope of the 'filter rules' I'm using to apply the ammo regen.
Ammo is by entity, and Dreadquake has 8 entities. But is not flagged as artillery, like for example Grudge Throwers.

I think I have a sollution.
I'll add more to the filter rules and see if that helps.

Edit: I have now updated the mod. Hopefully Dreadquakes and any chariots with ammo will get the ammo regen now.
Last edited by Spell; 18 Mar, 2024 @ 4:00am
Bad Ending 18 Mar, 2024 @ 7:36am 
Thank you <3
Bad Ending 29 Mar, 2024 @ 8:00am 
Just got some time to sit down and try it, doesn't work :(

****************************
Loading Mods
Loading mod file [script\battle\mod\wh3_mod_lua_infammo.lua]
Mod: Infinite Ammo Regeneration Loaded
make_player_units_infammo() called
Get valid scriptunits from Player Army: script_units_sunits_generated_2_1_main: 00000002A4548DB0
Unit Type: wh3_dlc23_chd_cha_infernal_castellan, Class: com, Ammo: 45, Artillery: false
Unit Type: wh3_dlc23_chd_inf_infernal_guard_fireglaives, Class: inf_mis, Ammo: 30, Artillery: false
Unit Type: wh3_dlc23_chd_inf_hobgoblin_archers, Class: inf_mis, Ammo: 36, Artillery: false
Unit Type: wh3_dlc23_chd_inf_hobgoblin_archers, Class: inf_mis, Ammo: 36, Artillery: false
Unit Type: wh3_dlc23_chd_inf_hobgoblin_archers, Class: inf_mis, Ammo: 36, Artillery: false
Unit Type: wh3_dlc23_chd_inf_hobgoblin_archers, Class: inf_mis, Ammo: 36, Artillery: false
Unit Type: wh3_dlc23_chd_inf_hobgoblin_archers, Class: inf_mis, Ammo: 36, Artillery: false
Unit Type: wh3_dlc23_chd_inf_hobgoblin_archers, Class: inf_mis, Ammo: 36, Artillery: false
Unit Type: wh3_dlc23_chd_veh_deathshrieker_rocket_launcher, Class: chariot, Ammo: 26, Artillery: false
Unit Type: wh3_dlc23_chd_veh_deathshrieker_rocket_launcher, Class: chariot, Ammo: 26, Artillery: false
deny_player_units_infammo() called
These scriptunits will not get inf ammo from Player Army: script_units_sunits_generated_2_1_main: 00000002A4548DB0
Unit Type: wh3_dlc23_chd_cha_drazhoath_the_ashen_bale_taurus_cinderbreath, Class: com, Ammo: 0, Artillery: false
Unit Type: wh3_dlc23_chd_cha_bull_centaur_taurruk, Class: com, Ammo: 0, Artillery: false
Unit Type: wh3_dlc23_chd_cha_bull_centaur_taurruk, Class: com, Ammo: 0, Artillery: false
Unit Type: wh3_dlc23_chd_cha_bull_centaur_taurruk, Class: com, Ammo: 0, Artillery: false
Unit Type: wh3_dlc23_chd_cha_gorduz_backstabber_giant_wolf, Class: com, Ammo: 0, Artillery: false
Unit Type: wh3_dlc23_chd_inf_chaos_dwarf_warriors, Class: inf_mel, Ammo: 0, Artillery: false
Unit Type: wh3_dlc23_chd_inf_chaos_dwarf_warriors, Class: inf_mel, Ammo: 0, Artillery: false
Unit Type: wh3_dlc23_chd_veh_iron_daemon_1dreadquake, Class: chariot, Ammo: 2, Artillery: false
Unit Type: wh3_dlc23_chd_veh_iron_daemon_1dreadquake, Class: chariot, Ammo: 2, Artillery: false
Unit Type: wh3_dlc23_chd_veh_iron_daemon_1dreadquake, Class: chariot, Ammo: 2, Artillery: false
Mod [script\battle\mod\wh3_mod_lua_infammo.lua] loaded successfully
****************************

dreadquakes still don't get infi ammo
Unit Type: wh3_dlc23_chd_veh_iron_daemon_1dreadquake, Class: chariot, Ammo: 2, Artillery: false
Unit Type: wh3_dlc23_chd_veh_iron_daemon_1dreadquake, Class: chariot, Ammo: 2, Artillery: false
Unit Type: wh3_dlc23_chd_veh_iron_daemon_1dreadquake, Class: chariot, Ammo: 2, Artillery: false
Bad Ending 29 Mar, 2024 @ 8:44am 
necrofex colossus also does not get infi ammo

****************************
Loading Mods
Loading mod file [script\battle\mod\wh3_mod_lua_infammo.lua]
Mod: Infinite Ammo Regeneration Loaded
make_player_units_infammo() called
Get valid scriptunits from Player Army: script_units_sunits_generated_2_1_main: 00000002A47D3D08
Unit Type: wh2_dlc11_cst_cha_gunnery_wight_0, Class: com, Ammo: 49, Artillery: false
Unit Type: wh2_dlc11_cst_inf_zombie_gunnery_mob_1, Class: inf_mis, Ammo: 22, Artillery: false
Unit Type: wh2_dlc11_cst_inf_zombie_gunnery_mob_1, Class: inf_mis, Ammo: 22, Artillery: false
Unit Type: wh2_dlc11_cst_inf_zombie_gunnery_mob_1, Class: inf_mis, Ammo: 22, Artillery: false
Unit Type: wh2_dlc11_cst_inf_zombie_gunnery_mob_1, Class: inf_mis, Ammo: 22, Artillery: false
Unit Type: wh2_dlc11_cst_inf_zombie_gunnery_mob_1, Class: inf_mis, Ammo: 22, Artillery: false
Unit Type: wh2_dlc11_cst_inf_zombie_gunnery_mob_0, Class: inf_mis, Ammo: 22, Artillery: false
Unit Type: wh2_dlc11_cst_inf_zombie_gunnery_mob_0, Class: inf_mis, Ammo: 22, Artillery: false
Unit Type: wh2_dlc11_cst_inf_zombie_gunnery_mob_0, Class: inf_mis, Ammo: 22, Artillery: false
Unit Type: wh2_dlc11_cst_inf_zombie_gunnery_mob_0, Class: inf_mis, Ammo: 22, Artillery: false
Unit Type: wh2_dlc11_cst_inf_zombie_gunnery_mob_0, Class: inf_mis, Ammo: 22, Artillery: false
Unit Type: wh2_dlc11_cst_inf_zombie_gunnery_mob_0, Class: inf_mis, Ammo: 22, Artillery: false
deny_player_units_infammo() called
These scriptunits will not get inf ammo from Player Army: script_units_sunits_generated_2_1_main: 00000002A47D3D08
Unit Type: wh2_dlc11_cst_inf_count_noctilus_0, Class: com, Ammo: 0, Artillery: false
Unit Type: wh2_dlc11_cst_inf_zombie_deckhands_mob_0, Class: inf_mel, Ammo: 0, Artillery: false
Unit Type: wh2_dlc11_cst_inf_zombie_deckhands_mob_0, Class: inf_mel, Ammo: 0, Artillery: false
Unit Type: wh2_dlc11_cst_inf_zombie_deckhands_mob_0, Class: inf_mel, Ammo: 0, Artillery: false
Unit Type: wh2_dlc11_cst_inf_zombie_deckhands_mob_0, Class: inf_mel, Ammo: 0, Artillery: false
Unit Type: wh2_dlc11_cst_inf_zombie_deckhands_mob_0, Class: inf_mel, Ammo: 0, Artillery: false
Unit Type: wh2_dlc11_cst_inf_zombie_deckhands_mob_0, Class: inf_mel, Ammo: 0, Artillery: false
Unit Type: wh2_dlc11_cst_mon_necrofex_colossus_0, Class: inf_mis, Ammo: 4.4000000953674, Artillery: false
Mod [script\battle\mod\wh3_mod_lua_infammo.lua] loaded successfully
****************************

here
Unit Type: wh2_dlc11_cst_mon_necrofex_colossus_0, Class: inf_mis, Ammo: 4.4000000953674, Artillery: false
Spell  [developer] 29 Mar, 2024 @ 5:07pm 
I'm working on it. Thank you so much for reporting it.
Bad Ending 29 Mar, 2024 @ 5:18pm 
No problem! Hope you fix it soon, and thanks. love the mod
Spell  [developer] 29 Mar, 2024 @ 7:07pm 
Mod updated. Both Necrofex and Dreadquake should be resolved now.
(And any other unit that was denied inf ammo that we didn't know about.)
Bad Ending 9 Apr, 2024 @ 1:52am 
found another one

****************************
Loading Mods
Loading mod file [script\battle\mod\wh3_mod_lua_infammo.lua]
Mod: Infinite Ammo Regeneration Loaded
make_player_units_infammo() called
Get valid scriptunits from Player Army: script_units_sunits_generated_1_1_main: 00000002F4EBE230
Unit Type: wh2_dlc14_skv_inf_poison_wind_mortar_ror_0, Class: inf_mis, Ammo: 14, Artillery: false
Unit Type: wh2_dlc12_skv_inf_warplock_jezzails_ror_0, Class: inf_mis, Ammo: 22, Artillery: false
Unit Type: wh2_dlc12_skv_inf_warplock_jezzails_0, Class: inf_mis, Ammo: 22, Artillery: false
Unit Type: wh2_dlc14_skv_inf_poison_wind_mortar_0, Class: inf_mis, Ammo: 14, Artillery: false
Unit Type: wh2_dlc14_skv_inf_poison_wind_mortar_0, Class: inf_mis, Ammo: 14, Artillery: false
Unit Type: wh2_dlc12_skv_inf_ratling_gun_ror_0, Class: inf_mis, Ammo: 270, Artillery: false
Unit Type: wh2_dlc12_skv_inf_ratling_gun_0, Class: inf_mis, Ammo: 270, Artillery: false
Unit Type: wh2_dlc12_skv_inf_ratling_gun_0, Class: inf_mis, Ammo: 270, Artillery: false
Unit Type: wh2_main_skv_art_warp_lightning_cannon, Class: art_fld, Ammo: 1.5714285373688, Artillery: true
Unit Type: wh2_main_skv_art_warp_lightning_cannon, Class: art_fld, Ammo: 1.5714285373688, Artillery: true
Unit Type: wh2_main_skv_art_plagueclaw_catapult, Class: art_fld, Ammo: 1.5714285373688, Artillery: true
Unit Type: wh2_main_skv_art_plagueclaw_catapult, Class: art_fld, Ammo: 1.5714285373688, Artillery: true
deny_player_units_infammo() called
These scriptunits will not get inf ammo from Player Army: script_units_sunits_generated_1_1_main: 00000002F4EBE230
Unit Type: wh2_dlc12_skv_cha_ikit_claw_2, Class: com, Ammo: 2.0799999237061, Artillery: false
Unit Type: wh2_dlc16_skv_cha_chieftain_0, Class: com, Ammo: 0, Artillery: false
Unit Type: wh2_dlc16_skv_cha_chieftain_0, Class: com, Ammo: 0, Artillery: false
Unit Type: wh2_dlc16_skv_cha_chieftain_0, Class: com, Ammo: 0, Artillery: false
Unit Type: wh2_dlc16_skv_cha_chieftain_0, Class: com, Ammo: 0, Artillery: false
Unit Type: wh2_dlc16_skv_cha_chieftain_0, Class: com, Ammo: 0, Artillery: false
Unit Type: wh2_main_skv_cha_warlock_engineer, Class: com, Ammo: 0, Artillery: false
Unit Type: wh2_main_skv_cha_assassin, Class: com, Ammo: 0, Artillery: false
Mod [script\battle\mod\wh3_mod_lua_infammo.lua] loaded successfully
****************************

somehow this time its ikit claw thats not getting the ammo regen
Bad Ending 9 Apr, 2024 @ 1:52am 
this one here

Unit Type: wh2_dlc12_skv_cha_ikit_claw_2, Class: com, Ammo: 2.0799999237061, Artillery: false
Spell  [developer] 9 Apr, 2024 @ 7:44pm 
Updated. Should be working now.
Bad Ending 20 Apr, 2024 @ 7:19am 
thank you for all the updates
< >
Showing 1-12 of 12 comments
Per page: 1530 50