hellflood Posted December 13, 2016 Share Posted December 13, 2016 (edited) Hello, so i started modding recently, to start of i was able to decrease maxwell nightmare fuel price for his ilusions, and make them last forever. What i need help with: 1) ________________________________ I dont want the ilusions to retaliate stuff i am getting atacked by, i only want them atacking what i do atack! Example: if i gatter my beeBox and the bees hit me, i dont want my ilusions to fight the Bees! i want them to fight the Bees only if i do atack the Bees. ________________________________ 2) ________________________________ I want that, if i start mining/choping a tree, and i stop, i want the ilusion to keep mining/chopping till i say otherwise ________________________________ 3) ________________________________ PLUS: is possible to make, if i press a specific key, or if i use a specific /something command they just stop mining/chopping/atacking what i just asked for? ________________________________ I was looking shadowwaxwellbrain.lua, and i believe that the answer to the question number 2 is on the funcion local "function KeepWorkingAction(inst, actiontags)", on the "HasStateTags" parameter, but i could not find anywhere what this "HasStateTags" does...... if somoene has any link to a good documentation would be great, http://dontstarveapi.com/ is giving me "Error establishing a database connection" error. Number 3 would need some programing, if someone can give a <link/file/script already on dont starve> that interacts with the user somehow with a key/command would be great! Last but i believe will be the hardest one, i believe the answer for this is on the "behaviours/chaseandattack", i believe i would need to create a ""behaviours/chaseandattack2" with "require "behaviours/chaseandattack"", change what i said somehow, and than change the shadowmaxwell brain to require "behaviours/chaseandattack2" instead of "behaviours/chaseandattack", any guidance would be great. Tl;Dr any good documentation/working API documentation website you guys can give me? Edited December 13, 2016 by hellflood Link to comment https://forums.kleientertainment.com/forums/topic/72487-modding-maxweel/ 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