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, so this is an alternative for those who would like something more sci-fi or have both. 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
28 days ago
1.1 - 2.0
8.13K
Transportation Combat

b 2.0.20 broke the mod

28 days 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

28 days 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

28 days ago

Same issue

28 days ago

Same :(

28 days ago

sadly same

28 days ago

Confirmed, same issue.

28 days 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 =[

28 days ago
(updated 28 days ago)

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

local item_sounds = require("__base__.prototypes.item_sounds")
28 days 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

28 days ago

idk none of that^ fixed it :(

28 days ago
(updated 28 days 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

28 days 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!

28 days ago

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

This thread has been locked.