Jump to content

Hand-held weapon textures unable to display


Recommended Posts

Sorry, I am from Taiwan.
English is not very good
But I have no help here.
I recently updated my old mod
I want to add new weapons to him.
At the end, I met this situation.
The item is displayed normally when it is thrown on the ground.

image.png.f4f378bb1a5067766b5852aafc38d928.png
But when I pick it up, it can't be displayed.

image.png.e890c274735d68774bb6904962d606ab.png

I tried to get the files from other mods and it failed.
I keep trying to find the reason, and eventually I fail.
Does anyone know about this situation?

I have provided my MOD file here.

My weapon grammar is taken from kuKat

https://steamcommunity.com/sharedfiles/filedetails/?id=1668895032&searchtext=

 

 

 

YOYO.rar

Edited by alcat
Link to comment
Share on other sites

I believe I've fixed some problems with the code, but I just can't get it to work either. The functions are called as expected, and neither of the "standard" ways seem to work. Try rebuilding the animation zips. They look correct, but they should be showing with the code we have.

kukat_iceaxe.lua

I mostly fiddled with line 13 (in my version). I removed the prefabs list variable in your weapon prefab, since prefabs shouldn't have a reference to themselves (unless they use them).

Link to comment
Share on other sites

On 2019/6/25 at 7:11 AM, Ultroman said:

I believe I've fixed some problems with the code, but I just can't get it to work either. The functions are called as expected, and neither of the "standard" ways seem to work. Try rebuilding the animation zips. They look correct, but they should be showing with the code we have.

kukat_iceaxe.lua

I mostly fiddled with line 13 (in my version). I removed the prefabs list variable in your weapon prefab, since prefabs shouldn't have a reference to themselves (unless they use them).

Thank you very much for your willingness to help me.
Even now, I still don’t understand.
Why can't it show it?:?

But no problem Thank you for trying

I will keep your changes.

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
 Share

×
  • Create New...