Project Zomboid

Project Zomboid

Walkie Talkie Models
dtoxic 28 May, 2023 @ 2:41am
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
< >
Showing 1-7 of 7 comments
veightyfive  [developer] 28 May, 2023 @ 8:23am 
I can't because changing the world item into a model requires me to edit the script
dtoxic 28 May, 2023 @ 8:31am 
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 28 May, 2023 @ 8:32am 
in the mean time search for the following mod and look at how it's done First Aid Kit Remodel
dtoxic 28 May, 2023 @ 8:47am 
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  [developer] 29 May, 2023 @ 6:36am 
no you can’t, bt default the walkie talkies are coded to use sprites. i can’t change that without editing their scripts
dtoxic 29 May, 2023 @ 7:48am 
Strange i thought you could specify in lua anything to be replaced...ill give it try see if it can be done
dtoxic 29 May, 2023 @ 7:50am 
btw way could you write up the lines you where replacing so i don't search for them
< >
Showing 1-7 of 7 comments
Per page: 1530 50