Jump to content

Recommended Posts

I'm having an issue with my custom item. It's a hat item, not a hand equipable item. The item is called moonclip and I'm trying to put it into her start inventory.

This is the --

This is the Log I receive when crashing. Could someone help me figure this out? I've been working hours on this, but I can't figure it out. Any help is appreciated!

6bcdf316583a1a7e2ffb935d34180ba9.png

Edited by Oribani
Mod has been fixed, removing file.
Link to comment
https://forums.kleientertainment.com/forums/topic/64462-issue-with-custom-item/
Share on other sites

Thank you! That seemed to be the issue, but now I crash without any logs or whatever.
 I did some adjustments, and now I have a new error.

52b5f8af94fa8684040a7331d668c71d.png

I would really like to get this item working. I'm not sure what I'm doing wrong that's making this so difficult. :/

----

Log

 

Edited by Oribani

That fixed it! As soon as I thought the errors would end, I just simply crash. :? All I did was remove GLOBAL from moonclip and add it to modmain

Log

----

I can't even enter the Character Selection screen anymore. It's almost as if they don't want this mod to work.

The issue seems to be: [00:01:02]: Could not load mod_config_data/modconfiguration_Bunnie   

Edited by Oribani

There seems to be some problem with moonclip anim files - anim/moonclip.zip and anim/swap_moonclip.zip. After I commented out their mentions in moonclip's assets I did not get a crash during load. Unfortunately I have no idea what is wrong with them.

Later crashes I got could be circumvented by changes in moonclip.lua:

inst:AddComponent("waterproofer")

--[[    
    inst:AddComponent("dapperness")
    inst.components.dapperness.dapperness = TUNING.DAPPERNESS_MED
]]

 

Edited by Muche

Thank you so much for all this help! I got the anim assets to work properly, but the item doesn't show up on my character when equipped and disappears from my inventory when I relog. I'm going to try and figure out why, hopefully.

 

The inventory image works, at least.

Edited by Oribani

Thank you! The drop issue is removed, and now there's only one final error.

The item isn't showing up no matter what I do. I've changed the anim.bin file and renamed BUILD files hoping it'd work, but it doesn't.

The item is fine and working properly, but it doesn't appear on my character. It's simply invisible! I can see it equipped with the inventory image and all, but it's invisible on my character. If someone could figure out or give me hints on what's wrong, I'd be forever thankful.

------

Please message me the solution if you find it. This is actually a private mod so I'm not too comfortable releasing all the files. ):

36271194381de1b2f35a4a0c97c5f6e4.png
 

 

Edited by Oribani
22 minutes ago, Oribani said:

Please message me the solution if you find it. This is actually a private mod so I'm not too comfortable releasing all the files. ):

The link has all the files needed for the mod. You have an issue with the animation; you're playing "idle", but in reality the animations are "HAT", "HAT_HAIR", "HAIR" and "HAIR_NOHAT".

1 hour ago, Kzisor said:

The link has all the files needed for the mod. You have an issue with the animation; you're playing "idle", but in reality the animations are "HAT", "HAT_HAIR", "HAIR" and "HAIR_NOHAT".

I'm not sure if I'm doing it wrong, but changing it didn't do anything. It was still invisible.

1 minute ago, Oribani said:

I'm not sure if I'm doing it wrong, but changing it didn't do anything. It was still invisible.

That was for when you drop the item on the ground, it would be invisible because you were playing the wrong animation.

When you're wearing the item, change:

owner.AnimState:OverrideSymbol("swap_hat", "swap_moonclip", "swap_hat")

to

owner.AnimState:OverrideSymbol("swap_hat", "moonclip", "Hat")

and it should appear on your character.

2 minutes ago, Oribani said:

Here's the updated code. I tried doing the adjustments you replied with, but I think I'm doing something wrong.

http://www.mediafire.com/download/jeq54qa8qaqfqv2/moonclip%282%29.lua

Okay, so I just noticed that in your first set of animation files in anim/moonclip.zip there is a folder there. That cannot contain folders it must contain only the anim, build and atlas files.

Edit 3: I finally figured out how to compile my custom item, and now the ZIPs work! But my item is STILL invisible. lol I'm happy I figured out the problem though.

-----

I guess the final issue is.. how to get the item not to be invisible.

Was I suppose to do the .scml file like this or only do idle?

06e5d9704f8d09cf111bb9abf63e3af9.png

Edited by Oribani
2 minutes ago, Oribani said:

omg thank you soo much!!

Now it works, but is there a way I can change the position of it on my character?

It kind of looks weird in the middle of my character's face lol

508c968669f019ee090bfab92a1de488.png756aa9e802b3b2d95f7cffe6f1e219e4.png

 

Open the .scml file and check the default pivot position (double click the image in the right side) then save and recompile the files with the auto compiler.

@Kzisor I have one last favor to ask. Do you mind if you could change the position and size for me? I've been trying to do so myself, but it's not working out. This will probably be my last and only custom item after this experience Q_Q

I want it on the side of the head like this (where the blue dot is, size I want is on the right of the dot) but I'm not really understanding the pivot points.

You've done so much already, I feel bad about asking this ;_; Or maybe you could give me a step by step?

 

Edited by Oribani
3 hours ago, Oribani said:

@Kzisor I have one last favor to ask. Do you mind if you could change the position and size for me? I've been trying to do so myself, but it's not working out. This will probably be my last and only custom item after this experience Q_Q

I want it on the side of the head like this (where the blue dot is, size I want is on the right of the dot) but I'm not really understanding the pivot points.

e34525f22bad7ef1cd76a394ee242ac9.pngf942a7590ad6e50c8a75d2fe32371156.png

You've done so much already, I feel bad about asking this ;_; Or maybe you could give me a step by step?

 

It's all trial and error, doing it yourself will teach you what you need to do in order to make other items. Don't get discouraged keep at it, take a break if need be and work on something else and come back to it at a later time.

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