orlando gonzalez Posted May 22, 2021 Share Posted May 22, 2021 I want my character to cut a tree with 3 trunks, when collecting grass, he can collect 2 and when breaking stones have a variable percentage of choosing something from a list. I can't find a clear guide or reference for it, can someone guide me? Link to comment https://forums.kleientertainment.com/forums/topic/130172-can-someone-help-me-with-an-action-that-i-want-for-my-character/ Share on other sites More sharing options...
DecDuck Posted May 23, 2021 Share Posted May 23, 2021 These three examples are nothing like each other. - Tree with 3 trunks? Is that with three swings or gets three logs? - (If I remember correctly) Each character has a pickup function which you could override. I don't quite remember the name and/or how to do it. - That would be in boulder code. Use something like AddPrefabPostInit and then do some checks Link to comment https://forums.kleientertainment.com/forums/topic/130172-can-someone-help-me-with-an-action-that-i-want-for-my-character/#findComment-1462833 Share on other sites More sharing options...
orlando gonzalez Posted May 24, 2021 Author Share Posted May 24, 2021 13 hours ago, decduck3 said: Estos tres ejemplos no se parecen en nada. - ¿Árbol con 3 troncos? ¿Eso es con tres columpios o obtiene tres troncos? - (Si mal no recuerdo) Cada personaje tiene una función de captura que podrías anular. No recuerdo bien el nombre y / o cómo hacerlo. - Eso estaría en código de Boulder. Use algo como AddPrefabPostInit y luego haga algunas comprobaciones what I want to do is something like this, my character collects 1 herb, in my inventory instead of receiving only a receipt 2. my character felling 1 tree, dropping 2 logs from the extra felled tree to the ground. When my character breaks 1 rock, there is a chance that he will drop 1 additional mineral or element (gem, stone, mandrake or other). explain me better this time? I'm a novice in moding but I'm still learning, I don't know many things, in ds many things work for me that in dst they don't work for me. Link to comment https://forums.kleientertainment.com/forums/topic/130172-can-someone-help-me-with-an-action-that-i-want-for-my-character/#findComment-1462993 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now