Sir_Squidly Posted August 1, 2016 Share Posted August 1, 2016 I've been working on a small mod to make some structures craftable, and have just gotten a Marble Pillar fully craftable, however, there is missing the green outline of the structure, which I don't know how to add, if it's supposed to be added. Link to comment https://forums.kleientertainment.com/forums/topic/69271-custom-structure-placement-missing-green-outline/ Share on other sites More sharing options...
Mobbstar Posted August 1, 2016 Share Posted August 1, 2016 you need to add MakePlacer("common/marblepillar_placer","BUILD", "BANK", "ANIM") iirc. Link to comment https://forums.kleientertainment.com/forums/topic/69271-custom-structure-placement-missing-green-outline/#findComment-799219 Share on other sites More sharing options...
Sir_Squidly Posted August 1, 2016 Author Share Posted August 1, 2016 (edited) 2 hours ago, Mobbstar said: you need to add MakePlacer("common/marblepillar_placer","BUILD", "BANK", "ANIM") iirc. I already have this: MakePlacer("marblepillar_placer", "marblepillar", "marblepillar", "idle") Random question: How do I check what needs to be added into these places for making future objects? Edited August 1, 2016 by Sir_Squidly Link to comment https://forums.kleientertainment.com/forums/topic/69271-custom-structure-placement-missing-green-outline/#findComment-799240 Share on other sites More sharing options...
Mobbstar Posted August 1, 2016 Share Posted August 1, 2016 @Sir_Squidly there should be a bit that says "SetBuild", "SetBank" and "PlayAnimation". Those are the things you want to use (in your case, I think the animation needs to be "idle_full") Link to comment https://forums.kleientertainment.com/forums/topic/69271-custom-structure-placement-missing-green-outline/#findComment-799243 Share on other sites More sharing options...
Sir_Squidly Posted August 1, 2016 Author Share Posted August 1, 2016 @Mobbstar This may sound incredibly stupid but ...a bit where? Is there a location where I can check all this? Also, i'm going to try that right now! Link to comment https://forums.kleientertainment.com/forums/topic/69271-custom-structure-placement-missing-green-outline/#findComment-799245 Share on other sites More sharing options...
Mobbstar Posted August 1, 2016 Share Posted August 1, 2016 In the respective prefab file, e.g. data/scripts/prefabs/marbepillar.lua Link to comment https://forums.kleientertainment.com/forums/topic/69271-custom-structure-placement-missing-green-outline/#findComment-799246 Share on other sites More sharing options...
Sir_Squidly Posted August 1, 2016 Author Share Posted August 1, 2016 @Mobbstar Afraid the idle_full did not seem to work, I'll try investigating the prefab of the pillar to see if I could find it out Link to comment https://forums.kleientertainment.com/forums/topic/69271-custom-structure-placement-missing-green-outline/#findComment-799253 Share on other sites More sharing options...
Sir_Squidly Posted August 1, 2016 Author Share Posted August 1, 2016 (edited) @Mobbstar Well then, I just got it finished! It's working properly now which is great! Thank you very much for your assistance good sir! Now, i'm trying to get the random marble tree to work, which is most likely due to the multiple idle animations it has, so i'll probably just try random numbers until it sticks! EDIT: Yup, got it, thank you again for your help! Edited August 1, 2016 by Sir_Squidly Link to comment https://forums.kleientertainment.com/forums/topic/69271-custom-structure-placement-missing-green-outline/#findComment-799259 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