Jump to content

Recommended Posts

I have looked all over for a solution to my problem but could not find it on the forums. I have made a custom character mod and have had problems with it before but now, instead of the usual crash, it just won't load. I am able to see my character in the selection and select him and after I do it goes to the loading screen but never loads. Granted I have only waited about fifteen minutes and then gave up and figured it would never load. My question is, is there a problem with my mod or do I have to be more patient. Also here is my mod's lua files. As you will notice the art is not fully completed. I wanted to load the mod to see how it works. Also the light function is newly added but I had the same problem before I added the light to my character.   

modinfo.lua

modmain.lua

speech_professordoc.lua

professordoc.lua

professordoc_none.lua

I have no knowledge about character modding, but this is the error from your log:

[00:02:55]: Spawn request: PROFESSORDOC from [Host] BigCSniper
[00:02:55]: Skin request: (PROFESSORDOC_none) () () () ()
[00:02:55]: Invalid spawn request, defaulting to PROFESSORDOC
[00:02:55]: Can't find prefab professordoc   

So make sure you defined the prefab and spelled it correclty (maybe it is a problem with capital letters?)

Strange, even though it says it can not find the prefab professordoc I have looked in my prefab folder and found the lua file professordoc

I will link it bellow

It is spelt correctly. Does anyone know what spawn request it is talking about when it says defaulting to PROFESSORDOC. I believe it is talking about a code in the lua file or is it talking about an actual file?

 

professordoc.lua

12 hours ago, BigCSniper said:

Strange, even though it says it can not find the prefab professordoc I have looked in my prefab folder and found the lua file professordoc

I will link it bellow

It is spelt correctly. Does anyone know what spawn request it is talking about when it says defaulting to PROFESSORDOC. I believe it is talking about a code in the lua file or is it talking about an actual file?

 

professordoc.lua

 

 

I see orus files the problem its the mayus in the prefab zone of our mondmain if u put PROFESSORDOC and the lua file its professordoc the game cant load it in prefab files need to put the same word in same form i put the example down that line, its a mayus problem only ;)

 

 

PrefabFiles = {
	"PROFESSORDOC",
	"PROFESSORDOC_none",
}


For that


PrefabFiles = {
	"professordoc",
	"professordoc_none",
}

 

 

I went on a crazy renaming spree and changed all PROFESSORDOC names in the lua to professordoc and it worked. :D Thank you very much for helping me figure out the problem. As you can tell I am not that good at creating mods... but I try. :D 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...