Monolithys 0 Posted January 13 Report Share Posted January 13 (edited) Hello all! If it's possible plz help me, where is I can find files, were is panning mechanics shows. I thing add something to create mod and make some new on it's base. ADD: ohh, and knapping mechanics too. I am not so strong programmer, more sysadmin or like it, so i need to look in code and syntax tnx! Edited January 13 by Monolithys Quote Link to post Share on other sites
l33tmaan 69 Posted January 13 Report Share Posted January 13 These links have helped me out. Not much since all they've done is made me realize how little I know what I'm doing, but maybe they'll be more useful to you! https://apidocs.vintagestory.at/api/Vintagestory.API.Common.html https://github.com/anegostudios You'll probably find that stuff under the vssurvivalmod in the second link. Maybe. Quote Link to post Share on other sites
Monolithys 0 Posted January 13 Author Report Share Posted January 13 (edited) Strange and some stupid question: How difficult to make mechanics like "pannable"? attributes: { pannable: true, Edited January 13 by Monolithys Quote Link to post Share on other sites
ZigTheHedge 107 Posted January 15 Report Share Posted January 15 First of all - panning mechanic is bound to it’s action item - the Wooned Pan. All magic is happening in it’s code (OnInteraction* methods to be precise). So, to start making your own “craft” mechanic, you’ll have to find the starting point (trigger item/block), implement item transaction (source item => resulting item) in code of trigger item (with the corresponding character animation if needed), then decide how your mechanic will be present in jsons and patch all existing jsons, which will participate in your crafts. That’s absoutely not an easy task for a beginner. Quote Link to post Share on other sites
Monolithys 0 Posted January 15 Author Report Share Posted January 15 I understand that, so I am seeking different ways to resolve this. Now try to find way: 1. Random loot received/dropped. 2. Multi random loot received/dropped And only one mechanics I see, "Panning" May be mining, when with little chance dropped "crystals". For now I can't find json files with this... Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.