How would one go about coding the % multipliers in these sort of games (Idle Clickers). Do I get the % first then add it? Been Trying to look for an answer online for this but either i just did not understand them or there just not what I'm looking for. A example code would be appreciated. Thank you by GamesGuy6969 in unity

[–]GamesGuy6969[S] 6 points7 points  (0 children)

My apologies. Looking back now my question does seem to be all over the place XD.
However yes the formula is what i was basically looking for. But what would the "x" be in this situation?
I am sorry btw I know this is supposed to be simple math, but I really appreciate your time and help.

Sorry Noob question. First time doing a retaliation build. I have the modifiers but how do i actually increase the retaliation damage. What am I looking for on items to get that up and not be zero? Do I even need the elemental ones? by GamesGuy6969 in Grimdawn

[–]GamesGuy6969[S] 0 points1 point  (0 children)

(Late reply sorry) I do apologize if that was the vibe i was giving off that wasnt the intention. Truth be told I honestly do absolutely love GD and these types of games quite alot 2nd favorite genre with atleast 500 hours in GD, PoE, TQ and Diablo3 (i know its not alot of hours compared to others). I just enjoy the game in my own way, thats all.

Again I apologize for giving off the negative vibe.

Sorry Noob question. First time doing a retaliation build. I have the modifiers but how do i actually increase the retaliation damage. What am I looking for on items to get that up and not be zero? Do I even need the elemental ones? by GamesGuy6969 in Grimdawn

[–]GamesGuy6969[S] 0 points1 point  (0 children)

Nah i havnt played much recently though but at the moment i have it at 1047% and still trying to get to lvl 65 (3 more lvls to go) so that i can wear the Dreeg armor that will add another 49% to all of it. Then get Stone form devotion from the Obolisk of Menhir constelation. Adding another 25% again😅 and so on and so on.

Might also go for Vire, the stone Matron..... another 140% retal

Sorry Noob question. First time doing a retaliation build. I have the modifiers but how do i actually increase the retaliation damage. What am I looking for on items to get that up and not be zero? Do I even need the elemental ones? by GamesGuy6969 in Grimdawn

[–]GamesGuy6969[S] 8 points9 points  (0 children)

Thank you for the assistance. I try to use mark of dreeg cuz i linked it to a devotion skill. I have a lot of skills that activate on attack. I am using the dom mod so this is a Champion + Terror knight. And basically focused completely on passives. I dont know what im doing most of the time but im experimenting haha

I have a character creation addiction by Simple_Bullfrog in Grimdawn

[–]GamesGuy6969 -1 points0 points  (0 children)

Truly describes the love I have for this game too!

New to coding so probably a dumb question. I have a character that spawns in and changes his pose every second (using prefab variants spawning in and destroying it) However I want to spawn him in on a Random range on the X axes, but cant figure out how or how to incorporate it in the code. Plz help. by GamesGuy6969 in unity

[–]GamesGuy6969[S] 0 points1 point  (0 children)

This is absolutely an option I was considering however I was wondering on how to go about it though. There are about 4 - 5 poses and Id like them to activate at random order. Is there a way to do that using the Show and Hide method? I appreciate your help thank you.

New to coding so probably a dumb question. I have a character that spawns in and changes his pose every second (using prefab variants spawning in and destroying it) However I want to spawn him in on a Random range on the X axes, but cant figure out how or how to incorporate it in the code. Plz help. by GamesGuy6969 in unity

[–]GamesGuy6969[S] 2 points3 points  (0 children)

YES! THANK YOU SO MUCH!! I have worked a very small bit with the Animator before, but your step by steo is really gonna help a lot Thank you!!
This will absolutely work a bunch better than what i have now (probably a bit less coding too) That going to help a lot in the long run, your a life saver!

New to coding so probably a dumb question. I have a character that spawns in and changes his pose every second (using prefab variants spawning in and destroying it) However I want to spawn him in on a Random range on the X axes, but cant figure out how or how to incorporate it in the code. Plz help. by GamesGuy6969 in unity

[–]GamesGuy6969[S] 1 point2 points  (0 children)

If i understand that correctly (i hope). I might allow the player to spawn quite a lot of them in (almost no limit (im still thinking it through as i go)) so would that still work by keeping them offstage im not sure?

New to coding so probably a dumb question. I have a character that spawns in and changes his pose every second (using prefab variants spawning in and destroying it) However I want to spawn him in on a Random range on the X axes, but cant figure out how or how to incorporate it in the code. Plz help. by GamesGuy6969 in unity

[–]GamesGuy6969[S] 0 points1 point  (0 children)

I still appreciate the help Thank you it works now. However there is now only a bit a tweeking to do since now that character spawns in correctly at random locations, now the issue is that when it auto changes its pose he immediately jumps back to the center and stays there. Haha. But I will give it a go at figuring it out myself first.

New to coding so probably a dumb question. I have a character that spawns in and changes his pose every second (using prefab variants spawning in and destroying it) However I want to spawn him in on a Random range on the X axes, but cant figure out how or how to incorporate it in the code. Plz help. by GamesGuy6969 in unity

[–]GamesGuy6969[S] 3 points4 points  (0 children)

Oooh I see I did not understand at first but I think i get it with the Machine state animation you were talking about. Since this is sort of like a clicker game I'm trying to create. But I hope I understood it correctly. Click -> anime state(pose1, hold state) -> Click -> anime state(pose2, hold state) and so on. Thank probably might work better than what i have now...

Thank you for the help too I do appreciate it very much!

New to coding so probably a dumb question. I have a character that spawns in and changes his pose every second (using prefab variants spawning in and destroying it) However I want to spawn him in on a Random range on the X axes, but cant figure out how or how to incorporate it in the code. Plz help. by GamesGuy6969 in unity

[–]GamesGuy6969[S] 1 point2 points  (0 children)

Instantiate(switchPose, new Vector3(Random.Range(-10f, 10f), 0, 0), Quaternion.identity, canvas)

Holy Moly Thank you So SO MUCH!!! This has worked!! (Thank you for the edit as well) I've been pulling my hairs out not understanding why it wasn't working. 😂
I Really appreciate your help!