Project Zomboid

Project Zomboid

Walkie Talkie Models
dtoxic 2023 年 5 月 28 日 上午 2:41
Question
Could you create a version without the use of scripts? just model replacement because the scripts mess up custom walkie talkie stats my server already has
< >
正在显示第 1 - 7 条,共 7 条留言
veightyfive  [开发者] 2023 年 5 月 28 日 上午 8:23 
I can't because changing the world item into a model requires me to edit the script
dtoxic 2023 年 5 月 28 日 上午 8:31 
of course you can,you just need to use lua instead of txt and target the line that is responsible for the model,ill post an example later as right now i am on my phone
dtoxic 2023 年 5 月 28 日 上午 8:32 
in the mean time search for the following mod and look at how it's done First Aid Kit Remodel
dtoxic 2023 年 5 月 28 日 上午 8:47 
try something like this,it;s from the mod i mentioned (this is also in txt)

module Base
{
model LunchBoxMedic_Ground
{
mesh = WorldItems/Clothing/FirstAidKit_Ground,
texture = Clothes/Bag/FirstAidKit,
scale = 0.8,
}
}
veightyfive  [开发者] 2023 年 5 月 29 日 上午 6:36 
no you can’t, bt default the walkie talkies are coded to use sprites. i can’t change that without editing their scripts
dtoxic 2023 年 5 月 29 日 上午 7:48 
Strange i thought you could specify in lua anything to be replaced...ill give it try see if it can be done
dtoxic 2023 年 5 月 29 日 上午 7:50 
btw way could you write up the lines you where replacing so i don't search for them
< >
正在显示第 1 - 7 条,共 7 条留言
每页显示数: 1530 50