Kenichikuro Posted August 12, 2023 Share Posted August 12, 2023 I want to create item can place on ground and i tried write code, but i the game can't load for my mod. Maybe i writed wrong code,so this is my code. I don't have much material about code item can place. This is my frist time i create mod item modmain.lua pot01.lua pot01_placer.lua Link to comment https://forums.kleientertainment.com/forums/topic/150345-need-help-to-create-item-can-place-on-ground/ Share on other sites More sharing options...
Mr.CrazyPotato Posted November 29, 2024 Share Posted November 29, 2024 You don't need placer file. Delete it. I won't be looking into modmain.lua, but your prefab file. First file will be with comments. And consider yourself reading more game files. Programming is more about reading rather writing, go to scripts/prefabs and choose something similar to what you want. I took homesign.lua. pot01_comments.lua pot01_fixed.lua Link to comment https://forums.kleientertainment.com/forums/topic/150345-need-help-to-create-item-can-place-on-ground/#findComment-1764492 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