(Keeps Hive Alive)
Go Back   The Hive Workshop - A Warcraft III Modding Site > Gamer's Hub > Warcraft Discussion

Warcraft Discussion Discuss topics related to Blizzard's Warcraft franchise, including Warcraft I, II and III. Ask questions about anything not covered in other forums.
Want to discuss topics related to World of Warcraft? Go to the World of Warcraft Forum.

Reply
 
LinkBack Thread Tools Display Modes
Old 09-03-2008, 04:22 PM   #1 (permalink)
 
Vicboy's Avatar

Banñed & Inactive
 
Join Date: Aug 2007
Posts: 892

Vicboy has little to show at this moment (39)Vicboy has little to show at this moment (39)Vicboy has little to show at this moment (39)Vicboy has little to show at this moment (39)


Can you help me make a formula?

I need a formula for my game show which is called... Deal or No Deal...

But, I can't think of one formula for how the banker will decide to deal...

Can you give me one?

Notes:

Set transferamount[1] = 0
Set transferamount[2] = 1
Set transferamount[3] = 5
Set transferamount[4] = 10
Set transferamount[5] = 25
Set transferamount[6] = 50
Set transferamount[7] = 75
Set transferamount[8] = 100
Set transferamount[9] = 200
Set transferamount[10] = 300
Set transferamount[11] = 400
Set transferamount[12] = 500
Set transferamount[13] = 750
Set transferamount[14] = 1000
Set transferamount[15] = 5000
Set transferamount[16] = 10000
Set transferamount[17] = 25000
Set transferamount[18] = 50000
Set transferamount[19] = 75000
Set transferamount[20] = 100000
Set transferamount[21] = 200000
Set transferamount[22] = 300000
Set transferamount[23] = 400000
Set transferamount[24] = 500000
Set transferamount[25] = 750000
Set transferamount[26] = 1000000

I can take any idea, and any additions...

Please, +rep...
Vicboy is offline   Reply With Quote
Old 09-03-2008, 05:47 PM   #2 (permalink)
 
xD.Schurke's Avatar

Reliefpfeiler
 
Join Date: Feb 2006
Posts: 340

xD.Schurke is on a distinguished road (85)xD.Schurke is on a distinguished road (85)


you could think about a random number, checking the cases which are already opened, if they are the low ones the the banker gives a higher offer lets say random number between highest of the lowest opened cases and lowest of the closed cases, hope u understand^^
xD.Schurke is offline   Reply With Quote
Old 09-03-2008, 05:52 PM   #3 (permalink)
 
Razorbrain's Avatar

Awaiting WAR
 
Join Date: Aug 2006
Posts: 1,127

Razorbrain is on a distinguished road (67)Razorbrain is on a distinguished road (67)


amount of money left to win / amount of bags left

and then, you round downwards
__________________
Quote:
Originally Posted by Inside the Chatroom
[00-25-37] Razorbrain is sitting on the toilet doing private stuff Lirch
[00-25-39] Lirch is sitting on the toilet doing private stuff Razorbrain
[00-25-45] Lirch *censored* Razorbrain in the mouth.
[00-25-50] DrunkenPanda200: WTF?
[00-25-51] Razorbrain: :(
Razorbrain is offline   Reply With Quote
Old 09-03-2008, 06:20 PM   #4 (permalink)
 
Thrikodius's Avatar

Born 2 Rock
 
Join Date: Jun 2007
Posts: 645

Thrikodius will become famous soon enough (119)Thrikodius will become famous soon enough (119)Thrikodius will become famous soon enough (119)


Make a unit for each value, place them somewhere you can't see them and add them all to a unit group. Then when the player picks a bag you just grab a random unit from the unit group and there is your money amount.

Either that or you make one unit with the Zone Indicator model and place 26 of them in the map and add them to a unit group. Set their Custom Values to the different amounts. Then when the player picks a bag you just grab a random unit from the unit group and there is your money amount in the units custom value.

Custom value is set via triggers (Unit - Set Cusom Value).

The name, the values and the randomness you want reminds me of a swedish tv series that went on air a while ago. The players picked a random bag and they won a random amount of money. Never saw the point in watching it. It was called Deal or no Deal to.
__________________
My Campaign: Deathwalker - Rise of the Legend (2 chapters done) (Voice Actors Required)

Latest Coke Death: Beheaded
(Click the pic)
raid1000: Thrikodius fails so hard he actualy wins!
Thrikodius is online now   Reply With Quote
Old 09-03-2008, 06:39 PM   #5 (permalink)
 
Zinive's Avatar

Live and let Live
 
Join Date: Aug 2008
Posts: 152

Zinive has little to show at this moment (12)Zinive has little to show at this moment (12)


Searching the internet if found this formula:

$12,275.30 + (.748 * expected value) + (-2714.74 * number of cases left) + ( -.040 * maximum value left ) + (.0000006986 * expected value squared ) + ( 32.623 * number of cases left squared )

So i thing you should go with what Razorbrain said.
Zinive is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Trigger] Bounce Angle Formula lnfernal Triggers & Scripts 10 08-14-2008 12:43 PM
[JASS] A formula for the Z axle? ShadowMan Triggers & Scripts 16 06-23-2008 10:39 PM
[JASS] Height formula? Tekal Triggers & Scripts 2 03-21-2008 06:49 PM
Anyone know the formula for attack speed? Sven8136 Map Development 4 12-22-2005 05:45 PM
Formula for perfect arc. Drain Pipe Triggers & Scripts 0 03-06-2005 07:07 AM

All times are GMT. The time now is 07:48 AM.






Your link here 
Mortgages | Daily Horoscopes | Mortgage Calculator | Articles directory | Homeowner Loans
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Copyright©Ralle