Jump to content

Making a mod to add more variety of TVDinner without chaning model or texture for testing purpose. Heaving issues with missing textures and icon in game.


indori

Recommended Posts

Under Name_items.txt

 

item ButterChicken
{
    DisplayName = Butter Chicken,
    DisplayCategory = Food,
    Type = Food,
    Weight = 0.4,
    Icon = ButterChicken,
    BadCold = true,
    DangerousUncooked = TRUE,
    EatType = plate,
    GoodHot = true,
    IsCookable = TRUE,
    Packaged = TRUE,
    MinutesToCook = 8,
    MinutesToBurn = 12,
    HungerChange = -20,
    UnhappyChange = 15,
    Calories = 600,
    Carbohydrates = 65,
    Lipids = 22,
    Proteins = 28,
    StaticModel = TVDinner,
    WorldStaticModel = ButterChicken,
}

 

Under Name_models_items.txt

 

model ButterChicken
	{

        mesh = WorldItems/TVDinner,
        texture = WorldItems/TVDinner,
        scale = 0.04,
	}



The mod works but textures missing. Tried with and without 3d model part.

Secondly, so "model ButterChicken" name from second script is being referenced from name "WorldStaticModel = ButterChicken" in first script?

issue.png

Link to comment
Share on other sites

Never dealt with models, but for icons you could just try changing the image name to Item_ButterChicken.png  (to match the Icon field).

 

If that doesn't work, try the PZ modder discord - someone on there should know.

 

discord.gg/SReMnbV4V7

Link to comment
Share on other sites

Hi!

I made some 3D objects based on the photos on "Picture of Kate"

 

I realize some points:

 

1_ The png file must begin with "Item_", in your case "Item_TVDinner.png"

 

2_ Be sure that the file is a PNG extension, right clic on the file > properties. Sometimes putting the extension is not enough.

 

3_ Place item isn't the same that drop item, for drop item the game use the Icon where is in the floor, when you put the item the game use the Model.

 

 

 

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...