. . . Posted September 12, 2016 Share Posted September 12, 2016 (edited) Hello, I have a question if someone can answer me if this would be possible or not !!! So, I want to make a player character which follows my character around & does player-ish sort of things like, crafting items (not 100% necessary), using tools to mine, chop, hammer & using weapons to defend itself if it has them in it's inventory. Stuff like what players can do... So, I don't know how to make a custom entity or where I should start... So, can someone tell me if it's possible to make a player character which's not really a player & it uses a brain like entities do? And if it's possible how would I start making this pseudo-player? I basically want my entity to be a clone of my mod character but it uses a brain instead of actually being a player... You know when you c_spawn"wilson" it spawns a Wilson but nobody controls it & it's affected by all things normal players are even though it's not a player! I want to do something like that only instead of the character doing nothing it uses a brain to do stuff & other functions which followers use, would that be possible or is it too advanced for Don't Starve to have npc players? Edited September 13, 2016 by SuperDavid Link to comment https://forums.kleientertainment.com/forums/topic/70088-solved-question-is-it-possible-to-make-a-player-character-whichs-actually-a-npc-who-uses-a-brain/ Share on other sites More sharing options...
DarkXero Posted September 12, 2016 Share Posted September 12, 2016 It is possible. You make an entity with the wilson bank, the character prefab you want build, the SGwilson stategraph, and the brain you want to use (like the shadowwaxwellbrain). You add it the health, the inspectable, the combat components, instead of sanity, temperature, playercontroller, and those useless extras unless you are really a player playing. Pretty much like making any entity. http://steamcommunity.com/sharedfiles/filedetails/?id=431003525 In this mod you can craft little versions of yourself that help you. For single player, some guy made a Wilson that played itself: https://www.youtube.com/watch?v=9PnL-Mr9N4o And also put it to test with many AI Wilsons: https://www.youtube.com/watch?v=w-JvimFUPb0 But you should stick to some follower that works like Maxwell's shadows. Link to comment https://forums.kleientertainment.com/forums/topic/70088-solved-question-is-it-possible-to-make-a-player-character-whichs-actually-a-npc-who-uses-a-brain/#findComment-812803 Share on other sites More sharing options...
. . . Posted September 12, 2016 Author Share Posted September 12, 2016 (edited) Thanks a lot DarkXero!! I'll get those and try my luck !!! Edited September 12, 2016 by SuperDavid Link to comment https://forums.kleientertainment.com/forums/topic/70088-solved-question-is-it-possible-to-make-a-player-character-whichs-actually-a-npc-who-uses-a-brain/#findComment-812807 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now