Hello,
Everything was working fine I successfully created a construction file and the models (Assest_default Type) loaded into game the models loaded correctly so i thought fantastic i will add some more models to the construction file so all my models would be available in the one spot in the landscaping menu after I added more i loaded up the game and revived n internal error when i click on any of the models I added to the construction file. Even the original models.
The console returns the following error message:
Error message:
error: res/config/base_mod.lua:1057: attempt to call upvalue 'fn' (a nil value)
stack traceback:
=[C](-1): fn
@res/config/base_mod.lua(1057): ?
@res/config/base_config.lua(42): ?
Key: game/config/ConstructWithModules
In file: urban_games/train_fever/src/Lib/lua/State.cpp:753
In function: void __cdecl lua::State::Call(int,int)
I went back into my construction file where I had added aprox 29 models referenced and started removing what I had added and the error continues. Thought maybe there is a limit to the amount that could be listed in the construction file.
I have looked over the construction file and it all looks correct everything points to the right direction.
Attached is my construction file and a screen shot of the error.
Please help before I loose all my hair as im currently pulling it out trying to work out what i have done wrong and I have lovely hair lol.