Jump to content
MakeWebGames

Creating crimes in V2


Jesse60905

Recommended Posts

I wrote this guide and I will post it here as it is very detailed and should help loads in creating crimes in V2.

 

This is the formula.

((WILL*0.8)/2.5)+(LEVEL/4)

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

((WILL*0.8)/2.5)

This formula decides how the user's will affects their crimes success rate.

Lets show a few examples.

Example 1a.

((WILL*0.7)/17)

User's will: 100

You start by running the functions in the parentheses.

So it would end up being:

((70)/17)

After that you just run the formula

70/17

Which Equals:

4.1176470588235294117647058823529

So using that formula on a user with 100 will would give them a 4.1176470588235294117647058823529% chance of the user succeeding.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Example 2a.

((WILL*0.4)/39)

User's will: 531

You start by running the functions in the parentheses.

So it would end up being:

((212.4)/39)

After that you just run the formula

212.4/39

Which Equals:

5.4461538461538461538461538461538

So using that formula on a user with 531 will would give them a 5.4461538461538461538461538461538% chance of the user succeeding.

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

(LEVEL/4)

This pretty much explains itself.

This formula decides how the user's level affects a user's chance of succeeding a crime.

Lets show a few more examples.

Example 1b.

(LEVEL/21)

User's level: 51

Basically all you would be doing is:

51/21

So just run the formula which equals:

2.4285714285714285714285714285714

So if this was the only formula the user would have a 2.4285714285714285714285714285714% chance of succeeding.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Example 2b.

(LEVEL/54)

User's level: 98

As the other formula goes:

98/54

So that would equal:

1.8148148148148148148148148148148

If that was the only formula the user would have a 1.8148148148148148148148148148148% chance of succeeding.

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

Now we combine the formulas...

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

Formula 1

Example 1a+example 1b

4.1176470588235294117647058823529+2.4285714285714285714285714285714=6.546218487394957983193277310923

So by combining the 2 formulas with each-other the chance of succeeding the crime is 6.546218487394957983193277310923%.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Formula 2

Example 2a+example 2b

4.1176470588235294117647058823529+1.8148148148148148148148148148148=5.932461873638344226579520697166

So by combining the 2 formulas with each-other the chance of succeeding the crime is 5.932461873638344226579520697166%.

I hope you like this guide. I didn't know where to post it but I was hoping it would help people that own V2 but have no idea of how to create crimes. Please don't post negative comments about this as I am trying to help. If you have any criticism then I would gladly accept it to improve my guide. Also feel free to post it on your site or even edit and repost it whereever lol. For all I care copy it and repost it right under this and call it your own. Same topic or w/e. Thanks...

Link to comment
Share on other sites

  • 2 weeks later...

Re: Creating crimes in V2

If you own a game and dont know how to make crimes then you are off to a bad start.

Tutorial=good. Hopefully it will help the people that didnt bother to learn how to code before getting a game make a decent game instead of letting it rot like half the games out there!

Link to comment
Share on other sites

Re: Creating crimes in V2

I dont know about anybody else but i am sick and tired of some of more experienced coders in here saying shit like ...you should already know that, and if you dont know that you shouldnt be a game owner..I guess all the experienced coders woke up one morning and they knew everything about php and mysql.I thought these forums were here to help people, and not a place for the more experienced coders to put down somebody who doesnt know as much....Good post Jesse60905, very helpful

Link to comment
Share on other sites

  • 6 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...