Mammoth-MK3


All New Graphics!! A Mammoth Mk3 from Tiberian Wars!, my new rendition of one its just like the t1 atom functionally but with two rocket launchers no flamer or machine gun, This tech can be unlocked after the Atom Bomb and base Tank are researched. James Fire and randomflyingtaco creators of Factorio and Conquer have explicit permission to use and modify the Mammoth-MK3 for use with Factorio and Conquer

Content
3 months ago
1.1 - 2.0
10.4K
Transportation Combat

b 2.0.20 broke the mod

5 months ago

Failed to load mods: Mammoth-MK3/prototypes/item.lua:160: attempt to index global 'item_sounds' (a nil value)
stack traceback:
Mammoth-MK3/prototypes/item.lua:160: in main chunk
[C]: in function 'require'
Mammoth-MK3/data.lua:1: in main chunk

same goes for the SA-T1 mod

5 months ago

from another mod's page if it's any help:

Getting an error with 2.0.16

Failed to load mods: atomic-artillery-reborn/prototypes/item/ammo.lua:29: attempt to index global 'item_sounds' (a nil value)
stack traceback:
atomic-artillery-reborn/prototypes/item/ammo.lua:29: in main chunk
[C]: in function 'require'
atomic-artillery-reborn/data.lua:5: in main chunk

Mods to be disabled:
• atomic-artillery-reborn (1.0.1)

cart1443
9 days ago
(updated 9 days ago)
Figured it out.

Edit ammo.lua with 7zip in:

        C:\Users\[Username]\AppData\Roaming\Factorio\mods\atomic-artillery-reborn_1.0.1.zip\atomic-artillery-reborn_1.0.1\prototypes\item\ammo.lua

And update the sound code reference locations starting at line 29 to:

        inventory_move_sound = "__base__/sound/item/artillery-large-inventory-move.ogg",
        pick_sound = "__base__/sound/item/artillery-large-inventory-pickup.ogg",
        drop_sound = "__base__/sound/item/artillery-large-inventory-move.ogg",

Save, close notepad, save the changes to the archive in 7zi

5 months ago

Same issue

5 months ago

Same :(

5 months ago

sadly same

5 months ago

Confirmed, same issue.

5 months ago

from another mod's page if it's any help:
....

Just confirmed a similar fix works here. Go to ./prototypes/item.lua and change the lines at the bottom from this

inventory_move_sound = item_sounds.ammo_large_inventory_move,
pick_sound = item_sounds.ammo_large_inventory_pickup,
drop_sound = item_sounds.ammo_large_inventory_move,

to this

inventory_move_sound = "__base__/sound/item/ammo-large-inventory-move.ogg",
pick_sound = "__base__/sound/item/ammo-large-inventory-pickup.ogg",
drop_sound = "__base__/sound/item/ammo-large-inventory-move.ogg",

now to fix like a dozen other mods that got broken today =[

5 months ago
(updated 5 months ago)

You can also just add this to the top of the item file

local item_sounds = require("__base__.prototypes.item_sounds")
5 months ago

same error:
Failed to load mods: Mammoth-MK3/prototypes/item.lua:160: attempt to index global 'item_sounds' (a nil value)
stack traceback:
Mammoth-MK3/prototypes/item.lua:160: in main chunk
[C]: in function 'require'
Mammoth-MK3/data.lua:1: in main chunk

5 months ago

idk none of that^ fixed it :(

5 months ago
(updated 5 months ago)

no, it works, you just have to change
local sounds = require("prototypes.entity.sounds")
to
local item_sounds = require("base.prototypes.item_sounds")
in \Mammoth-MK3_1.0.9.zip\Mammoth-MK3_1.0.9\prototypes\item.lua
thank you noxabellus

5 months ago

I will updeate soon, but you can find the fix at the top of the item.lua and mammoth.lua there is a line commented out I put there ready for this bug!

5 months ago

lol I thought I did but that was in my build ooops

This thread has been locked.