Who can fix the errors from my mods?
Posted:
Sun Mar 19, 2017 15:08
by Andrey01
I have errors from my mods Drink/Sweet machines: 1.Every machine looks like one block. 2.It can not drop more of one object.
Drink machine:
viewtopic.php?f=9&t=16599Sweet machine:
viewtopic.php?f=9&t=16499Please, if who can do it you will tell me about it straightly here in this topic
Re: Who can fix the errors from my mods?
Posted:
Mon Mar 20, 2017 19:56
by AiTechEye
Thats easy.
in the "sweet_machine:sweet_machine" and "drink_machine:drink_machine"
remove:
selection_box = svm_cbox,
collision_box = svm_cbox,
add:
drawtype="mesh",
collision_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, 1.5, 0.5}
},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, 1.5, 0.5}
},
in drink_machine\init.lua line: 46
change "pos2_drop" to "pos_drop"
because the variable "pos2_drop" doesn't exist
Re: Who can fix the errors from my mods?
Posted:
Mon Mar 27, 2017 17:37
by Andrey01
I have done all right, but the texture uncorrectly looks like:
Outside viewInside view
Re: Who can fix the errors from my mods?
Posted:
Tue Mar 28, 2017 15:17
by AiTechEye
add
paramtype="light",
paramtype2 = "facedir",
Re: Who can fix the errors from my mods?
Posted:
Thu Mar 30, 2017 18:33
by Andrey01
Thank you for helping, AiTechEye!