Who can fix the errors from my mods?

User avatar
Andrey01
Member
 
Posts: 431
Joined: Wed Oct 19, 2016 15:18
In-game: Andrey01

Who can fix the errors from my mods?

by Andrey01 » Sun Mar 19, 2017 15:08

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=16599

Sweet machine:
viewtopic.php?f=9&t=16499

Please, if who can do it you will tell me about it straightly here in this topic
 

User avatar
AiTechEye
Member
 
Posts: 409
Joined: Fri May 29, 2015 21:14

Re: Who can fix the errors from my mods?

by AiTechEye » Mon Mar 20, 2017 19:56

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
Alive AI Mine/Build AI NPC
Gravitygun HL2
Portalgun Portal
Marssurvive Survive on mars
Bows bows + arrows
SoundCloud (Music)
SoundCloud (Classic)
YouTube
 

User avatar
Andrey01
Member
 
Posts: 431
Joined: Wed Oct 19, 2016 15:18
In-game: Andrey01

Re: Who can fix the errors from my mods?

by Andrey01 » Mon Mar 27, 2017 17:37

I have done all right, but the texture uncorrectly looks like:
Outside view
Image
Inside view
Image
 

User avatar
AiTechEye
Member
 
Posts: 409
Joined: Fri May 29, 2015 21:14

Re: Who can fix the errors from my mods?

by AiTechEye » Tue Mar 28, 2017 15:17

add

paramtype="light",
paramtype2 = "facedir",
Alive AI Mine/Build AI NPC
Gravitygun HL2
Portalgun Portal
Marssurvive Survive on mars
Bows bows + arrows
SoundCloud (Music)
SoundCloud (Classic)
YouTube
 

User avatar
Andrey01
Member
 
Posts: 431
Joined: Wed Oct 19, 2016 15:18
In-game: Andrey01

Re: Who can fix the errors from my mods?

by Andrey01 » Thu Mar 30, 2017 18:33

Thank you for helping, AiTechEye!
 


Return to Modding Discussion

Who is online

Users browsing this forum: No registered users and 5 guests

cron