Jump to content

Recommended Posts

I made a mod about a character and a weapon

everything works good on the character side but weapon is functional but not visible 

I tried making the whole weapon file again and it still doesn't work

What did I do wrong? 

Can someone tell me how I edit modmain.lua file when it has custom weapon?

스크린샷(75).png

스크린샷(76).png

Link to comment
https://forums.kleientertainment.com/forums/topic/102498-custom-item-not-visible/
Share on other sites

You need to post us the client and server logs, so we can see what's wrong. Typically, it's a missing or wrongly referenced anim file.

Preferably attach the whole server_log.txt and client_log.txt to a post. You can find them here:

<SystemDriveLetter>:\Users\<UserName>\Documents\Klei\DoNotStarveTogether\Cluster_# (# = 1-5 the placement of your server on the list of servers)
In that folder, you will find a "Master" folder and perhaps also a "Caves" folder. Both should have a server_log.txt in them. Attach those files to a post here, by dragging and dropping them onto the reply you are about to submit.

Go back to
<SystemDriveLetter>:\Users\<UserName>\Documents\Klei\DoNotStarveTogether

...where you should find the file client_log.txt. Attach that one as well.

Here it is

client_log.txt

but I cannot find the server_log.txt

there's only leveldataoverride.lua and modoverrides.lua in it

 

5 hours ago, Ultroman said:

You need to post us the client and server logs, so we can see what's wrong. Typically, it's a missing or wrongly referenced anim file.

Preferably attach the whole server_log.txt and client_log.txt to a post. You can find them here:

<SystemDriveLetter>:\Users\<UserName>\Documents\Klei\DoNotStarveTogether\Cluster_# (# = 1-5 the placement of your server on the list of servers)
In that folder, you will find a "Master" folder and perhaps also a "Caves" folder. Both should have a server_log.txt in them. Attach those files to a post here, by dragging and dropping them onto the reply you are about to submit.

Go back to
<SystemDriveLetter>:\Users\<UserName>\Documents\Klei\DoNotStarveTogether

...where you should find the file client_log.txt. Attach that one as well.

 

client_log.txt

Edited by HEAN
[00:26:32]: WARNING! Could not find region 'dragonspear.tex' from atlas 'images/inventoryimages.xml'. Is the region specified in the atlas?
[00:26:32]: Looking for default texture 'default.tex' from atlas 'images/inventoryimages.xml'.
[00:26:32]: WARNING! Could not find region 'default.tex' from atlas 'images/inventoryimages.xml'. Is the region specified in the atlas?
[00:26:32]: Error Looking for default texture in from atlas 'images/inventoryimages.xml'.

You're doing something wrong with your texture references. Check that your XML's have the right filenames in them.

11 hours ago, Ultroman said:

[00:26:32]: WARNING! Could not find region 'dragonspear.tex' from atlas 'images/inventoryimages.xml'. Is the region specified in the atlas?
[00:26:32]: Looking for default texture 'default.tex' from atlas 'images/inventoryimages.xml'.
[00:26:32]: WARNING! Could not find region 'default.tex' from atlas 'images/inventoryimages.xml'. Is the region specified in the atlas?
[00:26:32]: Error Looking for default texture in from atlas 'images/inventoryimages.xml'.

You're doing something wrong with your texture references. Check that your XML's have the right filenames in them.

I do have the filename right but it seem the game can't read the dragonspear.tex from images/inventoryimages/dragonspear.tex

it keeps reading as inventoryimages.tex

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...