BrotatoTips Posted December 12, 2014 Share Posted December 12, 2014 Hi. This is my first time making a mod. i think ive scripted Most of it right? but currently, my issue is that the game refuses to spawn my character into world. when enabled, the mods icons and portraits work fine, but when i go to create a new world with it, when the generating map screen fades to black, the game just closes out due to some error. -Log attached Link to comment Share on other sites More sharing options...
Mobbstar Posted December 12, 2014 Share Posted December 12, 2014 Do you return inst (in fn())(EDIT: Nevermind, don't need that) and MakePlayerCharacter in the prefab file? Link to comment Share on other sites More sharing options...
BrotatoTips Posted December 12, 2014 Author Share Posted December 12, 2014 Im pretty sure. but still new to this. here is the prefab so that you might be able to double check? Link to comment Share on other sites More sharing options...
Mobbstar Posted December 12, 2014 Share Posted December 12, 2014 The issue might be CBK being capitalized. Try putting it to lowercase at the last line. Link to comment Share on other sites More sharing options...
BrotatoTips Posted December 12, 2014 Author Share Posted December 12, 2014 should i change that for every instance i used CBK capitalized in my mod? Link to comment Share on other sites More sharing options...
DragonDePlatino Posted December 12, 2014 Share Posted December 12, 2014 Yeah, it wouldn't be that hard if you use the replace command. Most text editors can do this with Ctrl + H. Simply replace all instances of "CBK" with "cbk" and you're done. Oh, and remember to always back up your mod in a .ZIP folder before you make any big changes. Link to comment Share on other sites More sharing options...
BrotatoTips Posted December 12, 2014 Author Share Posted December 12, 2014 okay. so well, i changed that part to be cbk instead of CBK. i launched the game, and the character did spawn. but now, when i saved the game and re entered it, i was playing as wilsons playable character with his stats and everything. if you request any files, ill attach them if needed. Link to comment Share on other sites More sharing options...
StalkinU Posted December 13, 2014 Share Posted December 13, 2014 Wilson is the default character used whenever a mod gets disabled.Are you sure the mod was still enabled? Link to comment Share on other sites More sharing options...
BrotatoTips Posted December 13, 2014 Author Share Posted December 13, 2014 hi. i have actually fixed this. thanks to them what my issue was was that i was using capitals in my build name. that was causing some form of error with the parts that required a forced capital. so its fixed right now. it didnt know what to do on reentry but it knew how to launch it into a game the first time. thank you for the help. 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.