Overworld skill call on event

You can do that by using a script call in control variable

Say, Variable 1 is your final dice result and Variable 2 is your max dice count.

In game event, in control variable, put this in the script box

rand($game_variables[2])Control Variable 1 = rand($game_variables[2])

So if Variable 2 = 50

Your Variable 1 final dice count will be a random of 0~49
Are those variables depended on Gamble skill? Or is that something entirely different?

BTW I use variables for example like

variable=Lock pick Skill=  the players skill.

variable=Lock pick Check= the amount the skill must beat.

For now I am thinking of a simple Gamble game that consists of two dice, maximum number possible to reach is a double six=12

The aim is to reach the highest number, I'm hoping to have the option for you or the challenger to raise the stakes or forfeit if he feels lucky to beating him on the next roll.
It's the same as lockpick method i told you above just doing the opposite

Lock Pick example

Dice throw = fix throw of 100

Success rate = variable controlled lock pick skill

Gamble example

Dice throw = you control it with variable based on skill

Success rate = fixed rate
Uh... I think I completely lost it there, haha I'm a little confused here but  I will supply you the screenshot of my event so far.

This skill hand out is a little more complex for me, but the end product should be nice and sweet.

ESAqWex.png
Ok.. the 3 conditional check is for? picture displaying i assume?

So it's a dice with 3 faces only?

the final 2 conditional branches can be merged into 1, since it's either win/lose there.

Your GambleSkill Variable = Gamble Master Skill(instead of 1~100, set it on [100 - random 1~skillpoint])

Your other GambleCheck Variable = A fixed success rate

Condition check:

GambleCheck >= GambleSkill (this is correct, works the same as lock pick)

So the smaller GambleSkill is, the bigger the chance in winning.
Oh those 3 random conditional branch handout's are dice sounds, so that way whenever you play it, it doesn't do the same sound effect.

I've tried to decifer what you mean and how to lay it out with the posts regarding this, but sadly I can't understand it.

Might need a visual guide :s sorry about this.
I mean what you did there are correct (almost)

Just change the 1st line in the picture from

rand($game_variables[66])

to

100 - rand($game_variables[66])

Edit: forget this part, you are doing it correctly.

--------

It's actually the same as doing the lock pick, just having the checks opposite.

LockPick wins when Check < Skill

(dice is fixed random of 1-100, skill/success rate is controlled by variable based on skill)

Gamble wins when Dice > SuccessRate

(The dice's max result is controlled base on skill, the success rate is a fixed number)
Am I doing it right like this?

BYNPdEu.png
Yes, that's correct. But ain't that the same as lock pick?

You fixed the random numbers(dice) to 1-100 and have the success rate on variable control.

Thought you want to control the dice throw count? 😛
Oh yeah, I do. Like I want to handle out the dice rolls, I'm just having a hard time understanding how to set it up haha.
Okay.. how should i put this..

Since you wanted something like D&D rules. You should know what 1d4, 2d6 means right?

1 dice roll of 4(faces)

2 dices roll 6 (faces)

So, 1d4 is something like this in Ace

Control Variable 1 = rand(4)+1

and, 2d6 is something like

Control Variable 1 = (rand(6)+1)+(rand(6)+1)

+1 is there because rand() gives a result starting from 0, so rand(4) gives 0~3, rand(4)+1 gives 1~4.

This is how we convert dice rolls in D&D to work in Ace.

----------------------------------------------------------------------------------------------------------------

And to control a dice roll count means we will be having a dynamic number for 1dX.

To do that in Ace, we need another variable be to in place.

So assuming you are using Variable 66 to control the dice faces.

This is how it reads in D&D style, 1d($game_variables[66])

And the actual formula(script call) in Ace is:

Control Variable 1 = rand($game_variables[66])+1

So whatever number you put into Variable 66, Variable 1 will return a random value of 1 ~ [the number you put in Variable 66]

This is how you control the faces(throw count) in Ace. 😉
I just don't get that. I'm sorry but I sat here for a while trying to understand, but I don't 🙁

I'll try to clarify what I have for this set up,

Variable for player skill is Variable 66 Gamble Skill

Variable for challenger's die Variable 67 Gamble Check

Basically the same formula 2 variables we used for lock picking and trap/spot/disarm.

I'm only intending to use 2 die, which is in DnD terms D6, six sided dice 1-12 in total.

I'm terribly sorry for being a numbskull at this point.
Depending on how you want to implement that skill into the math.

It can be shorten down to as simple as:

PC dice roll vs (Player dice roll + skill)

So if 

PC roll < Player roll, player wins.
Well that could give the impression you are actually competing with someone, but it's just scaling on the gamble skill with a die outcome sorta. Like "you rolled a double six!"
Depend on how "real" you want the math to go.

In DDO (Dungeon & Dragon Online), when a rogue stands in front of a trap panel/lock

The lock itself gets a chance to roll a dice vs the dice the rogue is rolling.

This actually gives Lv1 rogue a chance of opening the lock at the expenses of lockpicks.

But the Final Math of win/lose is the same

Lock Dice vs Rogue Dice. If Lock Dice < Rogue Dice, Rogue win.

And since there's 2 random numbers running there, the combinations of win/lose is larger.

Lock Dice is fixed on a max dice count. Say 20. (Difficulty 20 lock), so the lock gets to roll 1d20

Rogue on the other hand, roll differently. 1d(skill) + DEX bonus.

So when the rogue can't open the lock now, pumping up skill points or level up (to increase DEX parameter) will allow the rogue to open the lock easily in the future.

For rolling double dice of 6

(rand(6)+1)+(rand(6)+1)

is more "real" than

rand(12)+1

Because, even digitally, the player is doing 2 dice rolls instead of 1.

Rolling 2 dice of 6 and not 1 dice of 12.

But they all boils down to:

PC (fix or roll) vs Player(fix or roll)

Edit:

Depending on how you want your game play to go.. But games from RM are expected to end in 20-30 hours max. Players are not mentally ready for a system that's too complex compared to online games. So it's best to keep it simple. 😛

(Btw, 20-30 hours is about the length and quality of Final Fantasy Series in full item completion)

And oh, don't try to "think" how it works. Open up a sample project and put the rand() in variables and conditional checks to "see" how it works will prove easier to understand. 😛

Original thread: https://forums.rpgmakerweb.com/threads/overworld-skill-call-on-event.45058/