RedRock911 Posted March 14, 2015 Share Posted March 14, 2015 Ok!So I was designing a follower for my Mod "Flapjack" and I ran into a ton of scripting issues.I've recruited a Mentor, stripped the code, and finally junked the bad scripting and have started right on down to the basics. I'm starting fresh with the creature mod tutorial (which everyone should look at before modding) My problem is with my prefabs of course! With the help of Corrosive, I have found out that in my old scriptsthe character wasn't being seen by the game to load, during the initialization. So while messing with it, I nevercould get the script to run. Anywhere from line errors in the lua, to orphaned resources. So I chunked it. When you have garbage in, expect garbage out. Now the current issue: I am returning a nul value in modmain.lua, or my prefab (it varies depending what i'm trying to fix) I get errors letting me know that their are no "creature" prefabs available. So I must of deleted something out of modmain.lua, or I am incorrectly writing something in the script. But I can't seem to see it.I have the files here, I am basically running the gauntlet of the tutorials today, to get my follower portion of my mod corrected.Below are a portion of the error log.txt, and the creature mod I am working on, If someone can let me know my error, I would appreciate it. Link to comment Share on other sites More sharing options...
przemolsz Posted March 14, 2015 Share Posted March 14, 2015 You must add your custom creature to games prefab list, in modmain.lua:PrefabFiles = {"knuckles"} Link to comment Share on other sites More sharing options...
RedRock911 Posted March 14, 2015 Author Share Posted March 14, 2015 You must add your custom creature to games prefab list, in modmain.lua:PrefabFiles = {"knuckles"}OMG! I that was so funny! I didn't even notice! You sir, win.... Link to comment Share on other sites More sharing options...
RedRock911 Posted March 15, 2015 Author Share Posted March 15, 2015 That fixed it. Thank you! Link to comment Share on other sites More sharing options...
RedRock911 Posted March 15, 2015 Author Share Posted March 15, 2015 the next problem I'm running into is the Strategraph tutorial. I used wilson as my anime bank, and i have this error, "Could not find anim [run] in bank [wilson]" I get that I need to change that to something else. But what should I change it too? Anyone with a stratograph? The creature does spawn up, but since the game can't find the available file, the game gets rid of him. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.