evafour Posted October 18, 2017 Share Posted October 18, 2017 (edited) Hi guys im new to DST modding but im really interesting in making player AI mod. The problem is dont understand how the game works. I tried making testbrain.lua which contain: local TestBrain = Class(Brain, function(self, inst) Brain._ctor(self, inst) end) function TestBrain:OnStart() print("test") end return TestBrain the in game I spawn wilson and SetBrain to testbrain but it doesnt print anything I already tried to read mod with AI and paste it to testbrain.lua and still doesnt do anything and also i have read this guy code here But its too complicated for someone new like me to understand So if someone dont mind please share some knowledge how to implement the brain to wilson prefab Thanks before and sorry for bad english Edited October 18, 2017 by evafour Link to comment https://forums.kleientertainment.com/forums/topic/83076-help-create-an-ai-mod/ Share on other sites More sharing options...
Serpens Posted October 19, 2017 Share Posted October 19, 2017 maybe this thread helps: Link to comment https://forums.kleientertainment.com/forums/topic/83076-help-create-an-ai-mod/#findComment-964957 Share on other sites More sharing options...
evafour Posted October 22, 2017 Author Share Posted October 22, 2017 I already visit that thread. I found out that in DS i can spawn wilson and SetBrain using pigbrain but in DST i cant. So i try making AI in DS Link to comment https://forums.kleientertainment.com/forums/topic/83076-help-create-an-ai-mod/#findComment-965417 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