Page 2 of 2
Re: Games not loading models
Posted: 13 Oct 2013, 14:10
by FLOZi
Quickest way if you don't intend to change how units are spawned is;
1. Make a new .lua file under LuaRules/Gadgets/
2. Put this in it
Code: Select all
return include("luagadgets/gadgets/game_spawn.lua")
Re: Games not loading models
Posted: 15 Oct 2013, 02:59
by The_Igishly_Co
The following is my error report from launching the Knorke game, with my own custom models of course...
Re: Games not loading models
Posted: 15 Oct 2013, 03:15
by smoth
it is all here in the document. here is what you need to look at.
[f=0000000] [unitdefs.lua] Error: removed simplefactory unitDef, missing model file (jux_factory.s3o)
[f=0000000] [unitdefs.lua] Error: removed the "simplefactory" entry from the "buildervehicle" build menu
odds are your model is not in /objects3d/
[f=0000000] Error: LuaRules::RunCallIn: error = 2, GameStart, [string "LuaRules/Gadgets/game_spawn.lua"]:71: [CreateUnit()]: bad unitDef name: simplefactory
stack traceback:
[C]: in function 'CreateUnit'
[string "LuaRules/Gadgets/game_spawn.lua"]:71: in function 'SpawnStartUnit'
[string "LuaRules/Gadgets/game_spawn.lua"]:113: in function 'GameStart'
[string "LuaGadgets/gadgets.lua"]:932: in function <[string "LuaGadgets/gadgets.lua"]:930>
Re: Games not loading models
Posted: 15 Oct 2013, 06:58
by The_Igishly_Co
smoth wrote:it is all here in the document. here is what you need to look at.
[f=0000000] [unitdefs.lua] Error: removed simplefactory unitDef, missing model file (jux_factory.s3o)
[f=0000000] [unitdefs.lua] Error: removed the "simplefactory" entry from the "buildervehicle" build menu
odds are your model is not in /objects3d/
[f=0000000] Error: LuaRules::RunCallIn: error = 2, GameStart, [string "LuaRules/Gadgets/game_spawn.lua"]:71: [CreateUnit()]: bad unitDef name: simplefactory
stack traceback:
[C]: in function 'CreateUnit'
[string "LuaRules/Gadgets/game_spawn.lua"]:71: in function 'SpawnStartUnit'
[string "LuaRules/Gadgets/game_spawn.lua"]:113: in function 'GameStart'
[string "LuaGadgets/gadgets.lua"]:932: in function <[string "LuaGadgets/gadgets.lua"]:930>
PROBLEM SOLVED, thank you SO much, all of you!
-Lots o' love: The Igishly Company