Sign in to follow this  
hikaruohayashi

Help in Getting Custom Item to Work [DST]

Recommended Posts

Hello everyone in the modding community!

I am working on a few character mods that my friends and I can play on the same server and I've managed to create the first one, adding all the perks I wanted to go with it with the help and advice of these people here. The next step was for me to create a custom weapon available in his start inventory, and I was roughly following this tutorial (although it might already be outdated? I'm not sure. If there's a better tutorial out there, I wouldn't mind being directed to it)


All the images and tex files are done and placed within the mod folder and I copied some of the codes I saw from other mods i have subscribed to with the same sort of feature (the RWBYcharacter mods) and changed the names and other elements accordingly. Although I can't even begin to test if the item works properly, because the game crashes as I load up the server and generates this error log from the screen:

Spoiler


errorlog_zpsccoxwc7e.png

 

 

From what I understand, this means that the bgale.zip in the anim folder is missing? Is that correct? But the file is right inside the set folder. This is my main concern as of now and I have included all the files I currently have been working on for this mod in this post if any of you wish to see it. If anyone also knows how to add these perks to the item, that would help me greatly (but it is secondary):

- add both a wood chopping and rock mining action (can both be done?)
- for those who know of the Ruby and Yang character mod, how is the effect of rushing towards the enemy when the weapon is in hand is implemented.

Salem Rainsworth.rar

Share this post


Link to post
Share on other sites

Can't totally help, but I can tell ya this. In the prefab script, add

    inst:AddComponent("tool")
    inst.components.tool:SetAction(ACTIONS.CHOP,   1)
    inst.components.tool:SetAction(ACTIONS.MINE,   1)

You can change the number to have it be faster or slower.

Edited by icantevenname

Share this post


Link to post
Share on other sites
Lumina    2149

How did you created the anims files ?

Because there are .rar files and the files into seems to be into a folder instead of directly in the .zip.

 

I can't be sure but i guess it's the reason of the problem.

Share this post


Link to post
Share on other sites
29 minutes ago, Lumina said:

How did you created the anims files ?

Because there are .rar files and the files into seems to be into a folder instead of directly in the .zip.

 

I can't be sure but i guess it's the reason of the problem.

I put them all in a folder and then added it to the archive, but oh gosh... When you pointed that out I completely understood why it was having that error |D

Thank you so much.

Share this post


Link to post
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
Sign in to follow this