IceCube77 Posted May 28, 2015 Share Posted May 28, 2015 Hi, I recently started making a new mod, its gonna be called The Woods. Its going to eventually be a total remake or renovation of Don't Starve, kinda like "Hero In The Dark" is doing. There are gonna be a lot of items and characters, but I only got three now. What I'm not sure of is if the code is different for multiple characters or if I can just copy and paste it for each one? Link to comment Share on other sites More sharing options...
Seiai Posted May 29, 2015 Share Posted May 29, 2015 @IceCube77, need more information. by "code is different for multiple characters", do u mean the code in the prefabfile? well at least the prefabname has to be different, or they will overwrite another. also, if there are no differences, then they are literally the same,so why even make several? Link to comment Share on other sites More sharing options...
IceCube77 Posted May 29, 2015 Author Share Posted May 29, 2015 I meant that I have more then one character and I'm not sure if the code in the modmain.lua file needs to be different for adding more than one character, or if i can just use the same methods over and over again for each character. Also, i made one prefab file for each so I did I do that right at least? Link to comment Share on other sites More sharing options...
Seiai Posted May 29, 2015 Share Posted May 29, 2015 @IceCube77, they will also need their own prefabname each(the first thing u return at the bottom with the MakePlayerCharacter-function) and u will have to take care of everything that comes with that.(eg. adding the prefabfiles in the modmain; adding the characters in the modmain; making animfiles according to that prefabname or setting the build and bank in the prefab to whatever prefabfile u want to use, etc.) if u provide more information on what and how exactly u are trying to do, we can probably help u to do it right/easier. if u want u can also add me on steam for more direct communication: http://steamcommunity.com/profiles/76561197996184319/ Link to comment Share on other sites More sharing options...
IceCube77 Posted May 30, 2015 Author Share Posted May 30, 2015 I'm fine now, I just messed something up with the anim filesSorry for wasting your time @Seiai , I really shouldn't have asked, could have just looked at another mod 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.